data/full_repos/permissive/217697217/problems/05_hex_counter/counter.v
[Errno 2] No such file or directory: 'preprocess.output'
data/verilator_xmls/93a97eb6-6e23-49df-93f6-43a47ca5f500.xml
module counter #(parameter W = 16)(
    input clk,

    output [W - 1:0]q
);
reg [W-1:0]cnt = 0;
assign q = cnt;
always @(posedge clk) begin
        cnt <= cnt + 1'b1;
end





endmodule
module counter #(parameter W = 16)(
    input clk,

    output [W - 1:0]q
);

reg [W-1:0]cnt = 0;
assign q = cnt;
always @(posedge clk) begin
        cnt <= cnt + 1'b1;
end





endmodule