mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 19:47:55 +00:00
Add smoke tests to tests/xilinx
This commit is contained in:
parent
ca7a58bcc8
commit
757c476f62
30 changed files with 656 additions and 10 deletions
13
tests/xilinx/div_mod.v
Normal file
13
tests/xilinx/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