3
0
Fork 0
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:
SergeyDegtyar 2019-08-28 09:47:03 +03:00
parent 980830f7b8
commit 2270ead09f
31 changed files with 863 additions and 0 deletions

13
tests/ecp5/div_mod.v Normal file
View 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