mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 16:33:19 +00:00
Replaced RTLIL::Const::str with generic decoder method
This commit is contained in:
parent
a2d053694b
commit
93a70959f3
21 changed files with 125 additions and 84 deletions
|
@ -33,7 +33,7 @@ always @*
|
|||
4'b1001: y = 16'h123abc;
|
||||
4'b1010: y = 16'o1234567;
|
||||
4'b1011: y = 16'd3456789;
|
||||
4'b1100: y = "foobar";
|
||||
4'b1100: y = { "foo", "bar" };
|
||||
4'b1101: y = "foobarfoobarfoobar";
|
||||
4'b1110: y = 16'h1;
|
||||
4'b1111: y = a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue