mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 12:50:33 +00:00
Add tests for ECP5 architecture
This commit is contained in:
parent
7e8f7f4c59
commit
11f330ed22
40 changed files with 3201 additions and 0 deletions
13
tests/ecp5/div_mod.v
Normal file
13
tests/ecp5/div_mod.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