OpenFPGA/abc_with_bb_support/simple.v

24 lines
298 B
Verilog

// Test enable circuitry
module simple(clock,
enable,
value_out
);
input clock;
input enable;
reg temp;
output value_out;
always @(posedge clock)
begin
if (enable == 1'b1) begin
temp <= 1'b0;
end
end
assign value_out = temp;
endmodule