nextpnr/generic/examples/simple.v
David Shah 50fd8aa01f generic: Place a single SLICE
Signed-off-by: David Shah <dave@ds0.me>
2019-04-02 15:30:01 +01:00

15 lines
220 B
Verilog

(* blackbox *)
module SLICE_LUT4(
input I0, I1, I2, I3,
input CLK,
output Q
);
parameter INIT = 16'h0000;
parameter FF_USED = 1'b0;
endmodule
module top(input a, output q);
SLICE_LUT4 sl_i(.I0(a), .Q(q));
endmodule