STAR-future's picture
add chips/yosys (part 7)
055c19b verified
Raw History Blame Contribute Delete
128 Bytes
module adlatch( input d, rst, en, output reg q );
always @* begin
if (rst)
q = 0;
else if (en)
q = d;
end
endmodule