Editor Debug
❓ Question: My simulation compilation is failing with message :-
Error: Specified --top-module '<design>' was not found in design. How do I start debugging?
✅ Answer
Check the design and testbench name given in the design_config.tcl file vs what is present in the top-level Verilog and testbench Verilog files.
They must match exactly and are case sensitive.
❓ Question: My simulation compilation is failing with Error and Warning messages as follows:
%Warning-IMPLICIT: /home/demo/catalyzer_projects/mac/inputs/design/CLA4.v:68:9: Signal definition not found, creating implicitly: 't20'
: ... Suggested alternative: 't10'
68 | not n29(t20, t19);
%Error-BLKANDNBLK: /home/demo/catalyzer_projects/mac/inputs/design/MAC.v:43:12: Unsupported: Blocked and non-blocking assignments to same variable: 'tb_mac.m1.A'
43 | reg [15:0] A, B;
| ^
/home/demo/catalyzer_projects/mac/inputs/design/MAC.v:69:3: ... Location of blocking assignment
69 | A = 16'b0;
How do I start debugging?
✅ Answer
Ideally, review the RTL for the reported Errors and Warnings and fix the code.
However, if you want to waive them off temporarily, you can add the following option to your design_config.tcl:
set ::env(SIM_COMPILE_OPTIONS) "--Wno-BLKANDNBLK --Wno-IMPLICIT"
🔎 Note: It's strongly recommended to fix the reported issues rather than waive them. Suppressing them may hide real design problems and could lead to flow failure at a later stage.
❓ Question: In Simulation seeing this error
%Error: /home/demo/catalyzer_projects/sdram_controller/inputs/design/sdrc_req_gen.v:97:10: Cannot find include file: 'sdrc_define.vh'
97 | `include "sdrc_define.vh"
| ^~~~~~~~~~~~~~~~
%Error: /home/demo/catalyzer_projects/sdram_controller/inputs/design/sdrc_req_gen.v:97:10: This may be because there's no search path specified with -I<dir>.
97 | `include "sdrc_define.vh"
✅ Answer
This mean that the tool is not able to see the include files, you can provide include file path using following, add such lines into inputs/src.f
+incdir+inputs/verilog/rtl/