mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 03:31:24 +00:00
Share common tests
This commit is contained in:
parent
ab98f2dccf
commit
5603595e5c
103 changed files with 179 additions and 1317 deletions
13
tests/arch/common/add_sub.v
Normal file
13
tests/arch/common/add_sub.v
Normal file
|
@ -0,0 +1,13 @@
|
|||
module top
|
||||
(
|
||||
input [3:0] x,
|
||||
input [3:0] y,
|
||||
|
||||
output [3:0] A,
|
||||
output [3:0] B
|
||||
);
|
||||
|
||||
assign A = x + y;
|
||||
assign B = x - y;
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue