mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-03 02:29:09 +00:00
More xsthammer improvements (using xst 14.5 now)
This commit is contained in:
parent
0c6ffc4c65
commit
7f6c83a853
6 changed files with 50 additions and 70 deletions
|
|
@ -8,6 +8,14 @@ input I;
|
|||
output O = !I;
|
||||
endmodule
|
||||
|
||||
module LUT1(O, I0);
|
||||
parameter INIT = 0;
|
||||
input I0;
|
||||
wire [1:0] lutdata = INIT;
|
||||
wire [0:0] idx = { I0 };
|
||||
output O = lutdata[idx];
|
||||
endmodule
|
||||
|
||||
module LUT2(O, I0, I1);
|
||||
parameter INIT = 0;
|
||||
input I0, I1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue