mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-04 09:07:42 +00:00
Add tests for ecp5
This commit is contained in:
parent
980830f7b8
commit
2270ead09f
31 changed files with 863 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