mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
added tests for new verilog features
This commit is contained in:
parent
744e518467
commit
3af7c69d1e
2 changed files with 38 additions and 7 deletions
15
tests/simple/arraycells.v
Normal file
15
tests/simple/arraycells.v
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
module test001(a, b, c, y);
|
||||
input a;
|
||||
input [31:0] b, c;
|
||||
input [31:0] y;
|
||||
|
||||
aoi12 p [31:0] (a, b, c, y);
|
||||
endmodule
|
||||
|
||||
module aoi12(a, b, c, y);
|
||||
input a, b, c;
|
||||
output y;
|
||||
assign y = ~((a & b) | c);
|
||||
endmodule
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue