test: add verilog/controller.v source fixture
This commit is contained in:
5
verilog/controller.v
Normal file
5
verilog/controller.v
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
module controller(input clk, d, output reg q);
|
||||||
|
always @(posedge clk) begin
|
||||||
|
if (d) q <= 1'b1; else q <= 1'b0;
|
||||||
|
end
|
||||||
|
endmodule
|
||||||
Reference in New Issue
Block a user