mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-29 11:55:52 +00:00
Adding latch tests for shift&mask AST dynamic part-select enhancements
This commit is contained in:
parent
5c426d2bff
commit
3c2a1171ff
18 changed files with 326 additions and 69 deletions
12
tests/various/dynamic_part_select/latch_1990.v
Normal file
12
tests/various/dynamic_part_select/latch_1990.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
module latch_1990 #(
|
||||
parameter BUG = 1
|
||||
) (
|
||||
(* nowrshmsk = !BUG *)
|
||||
output reg [1:0] x
|
||||
);
|
||||
wire z = 0;
|
||||
integer i;
|
||||
always @*
|
||||
for (i = 0; i < 2; i=i+1)
|
||||
x[z^i] = z^i;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue