3
0
Fork 0
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:
Andrew Zonenberg 2016-04-01 21:18:29 -07:00
parent b0a28c793c
commit 2386885f22
3 changed files with 13 additions and 4 deletions

View file

@ -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}];