mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 21:50:54 +00:00
Add tests for ecp5 architecture.
This commit is contained in:
parent
aad9bad326
commit
134d3fea90
31 changed files with 865 additions and 0 deletions
13
tests/ecp5/add_sub.v
Normal file
13
tests/ecp5/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