Pass -top flag to VCS to avoid simulating non-tops

This commit is contained in:
Jerry Zhao
2024-03-19 23:49:08 -07:00
parent 7b3d3e54bd
commit 4ce6198b86

View File

@@ -51,6 +51,7 @@ VCS_NONCC_OPTS = \
-sverilog +systemverilogext+.sv+.svi+.svh+.svt -assert svaext +libext+.sv \
+v2k +verilog2001ext+.v95+.vt+.vp +libext+.v \
-debug_pp \
-top $(TB) \
+incdir+$(GEN_COLLATERAL_DIR) \
$(addprefix +incdir+,$(EXT_INCDIRS))