abs-tudelft / vhdeps

VHDL dependency analyzer
Apache License 2.0
21 stars 1 forks source link

Error: (vsim-3170) Could not find 'wordmatch_simtop_tc' #37

Open joosthooz opened 3 years ago

joosthooz commented 3 years ago

When running the vhdeps script in the wikipedia search demo, questasim is unable to locate the testbench.

# ** Error: (vsim-3170) Could not find 'wordmatch_simtop_tc'.
#         Searched libraries:
#             /tmp/tmpkgw0_t6s/unisim
# Error loading design

To reproduce:

git clone https://github.com/joosthooz/wiki-search-alveo.git
cd wiki-search-alveo/hardware
./run-vhdeps.sh vsim work.WordMatch_SimTop_tc

Jeroen and I found a workaround:

./run-vhdeps.sh vsim work:WordMatch_SimTop_tc

The run-vhdeps.sh script is:

vhdeps "$@" -i vhdl -i fletcher/hardware -i tta_rtl -i tta_support_rtl -x unisim:$XILINX_VIVADO/data/vhdl/src/unisims/unisim_VCOMP.vhd
joosthooz commented 3 years ago

In some cases it says:

...
# Compiling (-work work -quiet -2008): WordMatch_SimTop_tc.vhd
# vsim -novopt unisim.wordmatch_simtop_tc 

So using unisim instead of work (don't know where unisim comes from)