mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-01 07:40:42 +00:00
initial import
This commit is contained in:
commit
7764d0ba1d
481 changed files with 54634 additions and 0 deletions
25
tests/no-icarus/autowire.v
Normal file
25
tests/no-icarus/autowire.v
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
module test01(a, b, y);
|
||||
|
||||
input [3:0] a, b;
|
||||
output [3:0] y;
|
||||
|
||||
assign temp1 = a + b;
|
||||
assign temp2 = ~temp1;
|
||||
assign y = temp2;
|
||||
|
||||
endmodule
|
||||
|
||||
// ------------------------------
|
||||
|
||||
module test02(a, b, y);
|
||||
|
||||
input [3:0] a, b;
|
||||
output [3:0] y;
|
||||
|
||||
test01 test01_cell(A, B, Y);
|
||||
|
||||
assign A = a, B = b, y = Y;
|
||||
|
||||
endmodule
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue