1
0
mirror of synced 2026-02-22 15:37:11 +00:00
Files
YosysHQ.yosys/tests
whitequark 9f0892159e flatten, techmap: don't canonicalize tpl driven bits via sigmap.
For connection `assign a = b;`, `sigmap(a)` returns `b`. This is
exactly the opposite of the desired canonicalization for driven bits.
Consider the following code:

    module foo(inout a, b);
      assign a = b;
    endmodule
    module bar(output c);
      foo f(c, 1'b0);
    endmodule

Before this commit, the inout ports would be swapped after flattening
(and cause a crash while attempting to drive a constant value).

This issue was introduced in 9f772eb9.

Fixes #2183.
2020-08-26 16:29:42 +00:00
..
2019-07-16 12:44:26 -07:00
2015-06-19 14:08:46 +02:00
2020-08-07 13:21:03 +02:00
2016-12-11 10:58:49 +01:00
2015-05-18 11:15:49 +02:00