aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/port_sign_extend.v
Commit message (Collapse)AuthorAgeFilesLines
* genrtlil: fix signed port connection codegen failuresZachary Snow2021-02-051-4/+18
| | | | | | | | 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.
* genrtlil: fix mux2rtlil generated wire signednessZachary Snow2020-12-221-4/+9
|
* Sign extend port connections where necessaryZachary Snow2020-12-181-0/+76
- Signed cell outputs are sign extended when bound to larger wires - Signed connections are sign extended when bound to larger cell inputs - Sign extension is performed in hierarchy and flatten phases - genrtlil indirects signed constants through signed wires - Other phases producing RTLIL may need to be updated to preserve signedness information - Resolves #1418 - Resolves #2265