I 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 ---