Open nachiket opened 11 months ago
@nachiket The SDC generator has been out-of-date for a while. Currently, our focus is on improving the netlist and testbench generators. Afterwards, we will fix the bugs on SDC. My suggestion is to check the SDC files and adapt for your needs for now.
Similar problem has already been stated in other issue #784 . We are aware of the bugs and will try to fix it the earliest we can.
SDC files generated by OpenFPGA have buggy Verilog module hierarchy paths. I had a makeshift script to fixup the paths but it seems to have gotten worse, unless I'm doing things wrongly.
I run the following:
The task.conf here uses
k6_N10_tileable_40nm.xml
,openfpga_flow/openfpga_shell_scripts/fix_device_route_chan_width_example_script.openfpga
, and a 2x2 FPGA with W=20For example, for a simple 2x2 FPGA design, I wrote a synthesis TCL that includes a bunch of SDC import.
I check the SDC file
Note the last weird string "sb_01_/sb_02_/chany_top_out" which should really be "sb_0_2/chany_top_out". This happens extensively in all generated SDC files.
Is there any suggestions for where we could look to start debugging this?