data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:99: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2);\n            ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:101: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2);\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:103: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2);\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:111: Unsupported: Ignoring delay on this delayed statement.\n            #PERIOD;\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:118: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2);\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:120: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2);\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:137: Unsupported: Ignoring delay on this delayed statement.\n            #TIMEOUT;\n            ^\n%Error: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:143: Unsupported or unknown PLI call: $dumpfile\n            $dumpfile("fragment_interpolator_Test.vcd");\n            ^~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:144: Unsupported or unknown PLI call: $dumpvars\n            $dumpvars(0,fragment_interpolator_Test);\n            ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/test/fragment_interpolator/fragment_interpolator_Test.v:145: Unsupported: Ignoring delay on this delayed statement.\n            #1;\n            ^\n%Error: Exiting due to 2 error(s), 8 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module v0ROM #(
    parameter DATA_WIDTH=32,
    parameter ADDR_WIDTH=4
)(
    input      [ADDR_WIDTH-1:0] read_addr,
    input                       read_clk,
    input                       re,
    output reg [DATA_WIDTH-1:0] q
);
    
    reg [DATA_WIDTH-1:0] rom [0:2**ADDR_WIDTH-1];
    initial begin
        $readmemh ("v0ROM.mem", rom);
    end

    always @(posedge read_clk) begin
        if (re) begin
            q <= rom[read_addr];
        end
    end
    
endmodule
module v0ROM #(
    parameter DATA_WIDTH=32,
    parameter ADDR_WIDTH=4
)(
    input      [ADDR_WIDTH-1:0] read_addr,
    input                       read_clk,
    input                       re,
    output reg [DATA_WIDTH-1:0] q
);

    
    reg [DATA_WIDTH-1:0] rom [0:2**ADDR_WIDTH-1];
    initial begin
        $readmemh ("v0ROM.mem", rom);
    end

    always @(posedge read_clk) begin
        if (re) begin
            q <= rom[read_addr];
        end
    end
    
endmodule