Forum Discussion
Altera_Forum
Honored Contributor
15 years agoVHDL Use Clause Error
Hi, When I try to compile in Signal Compiler I get the error: "Error (10481): VHDL Use Clause error at FIRFilter_FIRSubBlock2_AddSubsystem.vhd(28): design library "fpc" does not contain prim...
Altera_Forum
Honored Contributor
15 years agoI found I had to do a few other things to get the Standard Blockset Test-Bench to work:
First I had to make sure the "Turn on coverage in testbenches" option on the Advanced Blockset Control block was off. Then I had to alter the above aaa_add_msim.tcl file a little. When specifying the directory paths, make sure only forward-slashes are used - no back-slashes --- Quote Start --- set base_dir "<path to your DSPBA rtl directory>"# this is still required for elsewhere set tbbase_dir "<path to your DSPB testbench directory>"# this is the one starting tb_ set quartus_dir $::env(QUARTUS_ROOTDIR) if [info exists ::env(DSPBA_HDL_DIR)] { set dspba_hdl_dir $::env(DSPBA_HDL_DIR) } else { set dspba_hdl_dir $quartus_dir/dspba/Libraries } file delete -force $tbbase_dir/fpc vlib fpc vmap fpc $tbbase_dir/fpc vcom -quiet -93 -work $tbbase_dir/fpc "$dspba_hdl_dir/vhdl/fpc/hcc_package.vhd" vcom -quiet -93 -work $tbbase_dir/fpc "$dspba_hdl_dir/vhdl/fpc/math_package.vhd" vcom -quiet -93 -work $tbbase_dir/fpc "$dspba_hdl_dir/vhdl/fpc/hcc_implementation.vhd" vcom -quiet -93 -work $tbbase_dir/fpc "$dspba_hdl_dir/vhdl/fpc/math_implementation.vhd" vcom -quiet -93 -work $tbbase_dir/fpc "$dspba_hdl_dir/vhdl/fpc/fpc_library_package.vhd" vcom -quiet -93 -work $tbbase_dir/fpc "$dspba_hdl_dir/vhdl/fpc/fpc_library.vhd" --- Quote End ---