mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-25 12:36:02 +00:00
Added GreenPak inverter support
This commit is contained in:
parent
b0a28c793c
commit
2386885f22
3 changed files with 13 additions and 4 deletions
|
@ -40,6 +40,10 @@ module GP_DFFSR(input D, CLK, nSR, output reg Q);
|
|||
end
|
||||
endmodule
|
||||
|
||||
module GP_INV(input IN, output OUT);
|
||||
assign OUT = ~IN;
|
||||
endmodule
|
||||
|
||||
module GP_2LUT(input IN0, IN1, output OUT);
|
||||
parameter [3:0] INIT = 0;
|
||||
assign OUT = INIT[{IN1, IN0}];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue