mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-04 09:07:42 +00:00
Add tests for Xilinx UG901 examples
This commit is contained in:
parent
0d037bf9d8
commit
2ae7dec530
89 changed files with 2962 additions and 0 deletions
19
tests/xilinx_ug901/black_box_1.v
Normal file
19
tests/xilinx_ug901/black_box_1.v
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Black Box
|
||||
// black_box_1.v
|
||||
//
|
||||
(* black_box *) module black_box1 (in1, in2, dout);
|
||||
input in1, in2;
|
||||
output dout;
|
||||
endmodule
|
||||
|
||||
module black_box_1 (DI_1, DI_2, DOUT);
|
||||
input DI_1, DI_2;
|
||||
output DOUT;
|
||||
|
||||
black_box1 U1 (
|
||||
.in1(DI_1),
|
||||
.in2(DI_2),
|
||||
.dout(DOUT)
|
||||
);
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue