mirror of https://github.com/YosysHQ/yosys.git
fix iverilog compatibility for new case expr tests
This commit is contained in:
parent
207af4196b
commit
e0e4dfb55e
|
@ -1,7 +1,7 @@
|
|||
module top(
|
||||
output logic [5:0] out
|
||||
);
|
||||
always_comb begin
|
||||
initial begin
|
||||
out = '0;
|
||||
case (1'b1 << 1)
|
||||
2'b10: out = '1;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module top(
|
||||
output logic [5:0] out
|
||||
);
|
||||
always_comb begin
|
||||
initial begin
|
||||
out = '0;
|
||||
case ($bits (out)) 6:
|
||||
case ($size (out)) 6:
|
||||
|
|
Loading…
Reference in New Issue