data/full_repos/permissive/415491487/design_src/soc.v
1: b"%Error: data/full_repos/permissive/415491487/design_src/soc.v:24: Cannot find file containing module: 'imem'\n    imem #(.mem_size(32)) rom(.clk(sysclk), .addr(iaddr), .data(idata));\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/415491487/design_src,data/full_repos/permissive/415491487/imem\n             data/full_repos/permissive/415491487/design_src,data/full_repos/permissive/415491487/imem.v\n             data/full_repos/permissive/415491487/design_src,data/full_repos/permissive/415491487/imem.sv\n             imem\n             imem.v\n             imem.sv\n             obj_dir/imem\n             obj_dir/imem.v\n             obj_dir/imem.sv\n%Error: data/full_repos/permissive/415491487/design_src/soc.v:25: Cannot find file containing module: 'dpdmem'\n    dpdmem #(.mem_size(2048)) ram(.clk(sysclk), .waddr(dwaddr), .wdata(dwdata), .raddr(draddr), .rdata(drdata), .wen(1'b1));\n    ^~~~~~\n%Error: Exiting due to 2 error(s)\n"
module soc(
    input sysclk,
    output pio1,
    output pio2
);
    
    reg rst;

    wire [23:0] iaddr;
    wire [23:0] idata;
    
    wire [23:0] dwaddr;
    wire [23:0] dwdata;
    wire [23:0] draddr;
    wire [23:0] drdata;
    
    reg [24:0] imem[3:0];
    

    imem #(.mem_size(32)) rom(.clk(sysclk), .addr(iaddr), .data(idata));
    dpdmem #(.mem_size(2048)) ram(.clk(sysclk), .waddr(dwaddr), .wdata(dwdata), .raddr(draddr), .rdata(drdata), .wen(1'b1));
    

    
    assign pio1 = drdata[0];
    assign pio2 = sysclk;
    
endmodule
module soc(
    input sysclk,
    output pio1,
    output pio2
);

    
    reg rst;

    wire [23:0] iaddr;
    wire [23:0] idata;
    
    wire [23:0] dwaddr;
    wire [23:0] dwdata;
    wire [23:0] draddr;
    wire [23:0] drdata;
    
    reg [24:0] imem[3:0];
    

    imem #(.mem_size(32)) rom(.clk(sysclk), .addr(iaddr), .data(idata));
    dpdmem #(.mem_size(2048)) ram(.clk(sysclk), .waddr(dwaddr), .wdata(dwdata), .raddr(draddr), .rdata(drdata), .wen(1'b1));
    

    
    assign pio1 = drdata[0];
    assign pio2 = sysclk;
    
endmodule