AR# 6861: V2.1i COREGEN USER GUIDE, MTI, VHDL flow: 'Error xxxmyadder8.vhd(20): near "myadder8_top" expecting COMPONENT' in VHDL testbench example
AR# 6861
|
V2.1i COREGEN USER GUIDE, MTI, VHDL flow: 'Error xxxmyadder8.vhd(20): near "myadder8_top" expecting COMPONENT' in VHDL testbench example
描述
Keywords: coregen, user, guide, vhdl, component
Urgency: standard
General Description: The MTI ModelSIM/VHDL simulator issues the following error on the sample VHDL testbench file copied from the User Guide:
# ERROR: /<path_to_testbench_myadder8.vhd>(20): near "myadder8_top": expecting: COMPONENT
解决方案
There is a syntax error in the example testbench file, testbench.vhd. The END statement for the COMPONENT corresponding to the top level design block should read,