Sign in
foss-fpga-tools
/
symbiflow-arch-defs
/
refs/heads/bot-conda-lock-update
/
.
/
lattice
/
ecp5
/
primitives
/
slice
/
LUT2
/
LUT2.sim.v
blob: a9bbb79f53ee8c65620013fe84b3069ac14a4720 [
file
] [
log
] [
blame
] [
edit
]
`default_nettype none
module LUT2(input A, B, output Z);
parameter [3:0] INIT = 4'h0;
wire [1:0] s1 = B ? INIT[ 3:2] : INIT[1:0];
assign Z = A ? s1[1] : s1[0];
endmodule