mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-05 09:04:08 +00:00
This fixes binding signed memory reads, signed unary expressions, and signed complex SigSpecs to ports. This also sets `is_signed` for wires generated from signed params when -pwires is used. Though not necessary for any of the current usages, `is_signed` is now appropriately set when the `extendWidth` helper is used.
30 lines
421 B
Plaintext
30 lines
421 B
Plaintext
read_verilog -nomem2reg port_sign_extend.v
|
|
hierarchy
|
|
flatten
|
|
proc
|
|
memory
|
|
equiv_make ref act equiv
|
|
equiv_simple
|
|
equiv_status -assert
|
|
|
|
delete
|
|
|
|
read_verilog -nomem2reg port_sign_extend.v
|
|
flatten
|
|
proc
|
|
memory
|
|
equiv_make ref act equiv
|
|
equiv_simple
|
|
equiv_status -assert
|
|
|
|
delete
|
|
|
|
read_verilog -nomem2reg port_sign_extend.v
|
|
hierarchy
|
|
proc
|
|
memory
|
|
equiv_make ref act equiv
|
|
prep -flatten -top equiv
|
|
equiv_induct
|
|
equiv_status -assert
|