data/full_repos/permissive/163728837/src/idist_rom.v
None: at end of input
1: b'%Error: data/full_repos/permissive/163728837/src/idist_rom.v:14: Cannot find include file: idist.rom\n`include "idist.rom" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/163728837/src,data/full_repos/permissive/163728837/idist.rom\n             data/full_repos/permissive/163728837/src,data/full_repos/permissive/163728837/idist.rom.v\n             data/full_repos/permissive/163728837/src,data/full_repos/permissive/163728837/idist.rom.sv\n             idist.rom\n             idist.rom.v\n             idist.rom.sv\n             obj_dir/idist.rom\n             obj_dir/idist.rom.v\n             obj_dir/idist.rom.sv\n%Error: Exiting due to 1 error(s)\n'
module idist_rom (
    input clk,
    input [9:0] addr,
    output [15:0] idist
    );

reg [15:0] idists [1023:0];

reg [15:0] idist_d, idist_q;

assign idist = idist_q;

initial begin
`include "idist.rom"
end

always @(*) begin
    if (addr < 10'd1023)
        idist_d = idists[addr];
    else
        idist_d = 16'd0;
end

always @(posedge clk) begin
    idist_q <= idist_d;
end

endmodule
module idist_rom (
    input clk,
    input [9:0] addr,
    output [15:0] idist
    );


reg [15:0] idists [1023:0];

reg [15:0] idist_d, idist_q;

assign idist = idist_q;

initial begin
`include "idist.rom"
end

always @(*) begin
    if (addr < 10'd1023)
        idist_d = idists[addr];
    else
        idist_d = 16'd0;
end

always @(posedge clk) begin
    idist_q <= idist_d;
end

endmodule