Conversation
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
|
I see some errors that look like tool issues on your side, eg ng45/swerv [2026-02-10T22:12:14.527Z] [2026-02-10 22:12:13.459] [info] [KeplerFormal.cpp:263] Found top design: swerv |
A lot of issues are regarding instances that need to be cleaned before dumping the verilog through "write_verilog -remove_cells", will need to edit it one by one but there might be also tool issues indeed among the tests. Working on cleaning it all one by one and will update the pr right after. |
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
|
We filtered the majority of config issues. Some issues remain on the tool that we are solving. There is also one issue in the verilog parsing level for which @xtofalex have some comments: Parser error: syntax error, unexpected ESCAPED_IDENTIFIER_TK, expecting '( |
|
There is a pending fix for a Verilog escaping issue. Perhaps that is what you are seeing. What does that line look like? |
It very might well be the case here. Will let @xtofalex comment on what he saw. |
|
In case it is a pending fix, I can disable it for now in the related test cases. |
We saw an escaping issue coming from the OpenSTA Verilog dumper when reading results/ihp-sg13g2/ibex/base/4_before_rsz_lec.v %Error: 4_before_rsz_lec.v:70061:7: syntax error, unexpected IDENTIFIER-for-type, expecting ')'
70061 | .Y\[32:1\]({net462,
| ^~~~~~~~~~~~~~~~~
... See the manual at https://verilator.org/verilator_doc.html?v=5.044 for more assistance.
%Error: Exiting due to 1 error(s)
zsh: exit 1 verilator --lint-only -Wall 4_before_rsz_lec.vThe line should be: ".\Y[32:1] ({net462,". From quick analysis, the problem comes from: where in "void VerilogWriter::writeInstBusPin" : fprintf(stream_, ".%s({", network_->name(port));should be replace with something like in "void VerilogWriter::writeInstPin" : string net_vname = netVerilogName(net_name);@maliberty, If this is not related to the pending fix you are referring to, I can open an issue in OpenSTA. |
Signed-off-by: nanocoh <noam.chn1@gmail.com>
Signed-off-by: nanocoh <noam.chn1@gmail.com>
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
c8c391f to
1d3c987
Compare
Signed-off-by: nanocoh <noam.chn1@gmail.com>
Signed-off-by: nanocoh <noam.chn1@gmail.com>
…/OpenROAD-flow-scripts-KF into signoff-single-commit
maliberty
left a comment
There was a problem hiding this comment.
I'm curious about the ones with DISABLE_LEC_CHECK=1 - do you plan to look at those later?
flow/scripts/cts.tcl
Outdated
| run_equivalence_test | ||
| } | ||
| if { [env_var_exists_and_non_empty LEC_CHECK] } { | ||
| if { ![env_var_exists_and_non_empty DISABLE_LEC_CHECK] } { |
There was a problem hiding this comment.
The variable should be defined and documented in variables.yaml (e.g. EQUIVALENCE_CHECK). It is better to have positive names to avoid having double negatives like DISABLE_LEC_CHECK=false. Let's use LEC_CHECK with the default=1.
| proc write_lec_verilog { filename } { | ||
| if { [env_var_exists_and_non_empty REMOVE_CELLS_FOR_EQY] } { | ||
| write_verilog -remove_cells $::env(REMOVE_CELLS_FOR_EQY) $::env(RESULTS_DIR)/$filename | ||
| if { [env_var_exists_and_non_empty REMOVE_CELLS_FOR_LEC] } { |
There was a problem hiding this comment.
REMOVE_CELLS_FOR_LEC in variables.yaml
| export MACRO_PLACE_HALO ?= 3 3 | ||
|
|
||
| export ROUTING_LAYER_ADJUSTMENT = 0.3 | ||
| export REMOVE_CELLS_FOR_LEC = TAPCELL* No newline at end of file |
There was a problem hiding this comment.
It would be better to put this in the platform rather than every design's config.mk. Use ?= so it can be overridden if needed.
…lls in platform instead of designs Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
We disabled all designs with the pending fix for Verilog escaping. We will of-course turn them on and verify them in another pr when the fix is integrated. |
Signed-off-by: nanocoh <noam.chn1@gmail.com>
No description provided.