Replies: 1 comment
-
Talking to Nina and Jannis:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
cc @gussmith23
We're trying to use Yosys to remove attributes from the following file:
We do this by sending the file to the
proc
pass of Yosys, i.e., by runningyosys -p "read_verilog -sv <filepath>; proc; write_verilog -noattr"
. This gives the following output:Are these two files equivalent? It's my understanding that in the output above, the value being assigned to
_0_
in the above is unsigned, while in the original file it is signed. I believe this signedness difference manifests because according to the Verilog standard, "a value assigned to a reg variable or a net shall be treated as an unsigned value unless the reg variable or nethas been explicitly declared to be signed."
Am curious for your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions