You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then,you can simulate them by the above testbench,
please note that include"syn_yosys" should changed to include"rtl.v" when you simulate the rtl.v.
Looking forward to your reply.
Expected Behavior
The simulation before and after synthesis is consistent.
Actual Behavior
Inconsistent output before and after synthesis.
The text was updated successfully, but these errors were encountered:
My comments from #4693 (comment) also apply here. I am unable to reproduce the differences you see and get the same values before and after synthesis when simulated with iverilog. I cannot reproduce the file2.txt you show.
Again the results in your file2.txt are impossible for the verilog you show. In your testcase, y is assigned {wire8, 1'h0}. wire8 is only 16 bits wide so only the 17 LSBs of y could possibly have a non-zero value yet file2.txt shows non-zero values in many other places.
If you still believe there is a bug here, please provide a small, self-contained input file showing missynthesis with an explanation of what you expect the output to be, rather than a testbench that is hard to debug due to the random values. Such a testbench is fine for fuzzing, but it is not helpful for those trying to help triage your issue - particularly when I am unable to reproduce your testbench results.
#1047 is a good example of how to report a bug found by a fuzzer in a way that is easy to triage and fix.
Version
0.46+135
On which OS did this happen?
ubuntu22.04
Reproduction Steps
My Verilog original design is as follows:
The content of the testbench file is as follows:
Commands used for synthesis:
then,you can simulate them by the above testbench,
please note that
include"syn_yosys"
should changed toinclude"rtl.v"
when you simulate the rtl.v.Looking forward to your reply.
Expected Behavior
The simulation before and after synthesis is consistent.
Actual Behavior
Inconsistent output before and after synthesis.
The text was updated successfully, but these errors were encountered: