data/full_repos/permissive/40656238/test/picorv32_rtl/opicorv32_memif_wrap.v
1: b"%Error: data/full_repos/permissive/40656238/test/picorv32_rtl/opicorv32_memif_wrap.v:170: Cannot find file containing module: 'picorv32_memif'\n    picorv32_memif\n    ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/40656238/test/picorv32_rtl,data/full_repos/permissive/40656238/picorv32_memif\n             data/full_repos/permissive/40656238/test/picorv32_rtl,data/full_repos/permissive/40656238/picorv32_memif.v\n             data/full_repos/permissive/40656238/test/picorv32_rtl,data/full_repos/permissive/40656238/picorv32_memif.sv\n             picorv32_memif\n             picorv32_memif.v\n             picorv32_memif.sv\n             obj_dir/picorv32_memif\n             obj_dir/picorv32_memif.v\n             obj_dir/picorv32_memif.sv\n%Error: data/full_repos/permissive/40656238/test/picorv32_rtl/opicorv32_memif_wrap.v:174: Cannot find file containing module: 'opicorv32_memif'\n    opicorv32_memif\n    ^~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module opicorv32_memif_wrap (
    mem_do_wdata,
    mem_do_rdata,
    mem_do_prefetch,
    mem_wordsize,
    mem_rdata,
    mem_do_rinst,
    mem_ready,
    next_pc,
    reg_op2,
    reg_op1,
    resetn,
    clk,
    mem_done,
    mem_valid,
    mem_instr,
    mem_addr,
    mem_wdata,
    mem_wstrb,
    mem_rdata_latched,
    mem_rdata_q,
    mem_rdata_word,
    mem_la_read,
    mem_la_write,
    mem_la_addr,
    mem_la_wdata,
    mem_la_wstrb
);

    input mem_do_wdata;
    input mem_do_rdata;
    input mem_do_prefetch;
    input [1:0] mem_wordsize;
    input [31:0] mem_rdata;
    input mem_do_rinst;
    input mem_ready;
    input [31:0] next_pc;
    input [31:0] reg_op2;
    input [31:0] reg_op1;
    input resetn;
    input clk;
    output mem_done;
    output mem_valid;
    output mem_instr;
    output [31:0] mem_addr;
    output [31:0] mem_wdata;
    output [3:0] mem_wstrb;
    output [31:0] mem_rdata_latched;
    output [31:0] mem_rdata_q;
    output [31:0] mem_rdata_word;
    output mem_la_read;
    output mem_la_write;
    output [31:0] mem_la_addr;
    output [31:0] mem_la_wdata;
    output [3:0] mem_la_wstrb;


    wire [3:0] _1515;
    wire [3:0] _1501;
    wire [3:0] compare_mem_la_wstrb;
    wire [3:0] _1517;
    wire [31:0] _1518;
    wire [31:0] _1502;
    wire [31:0] compare_mem_la_wdata;
    wire [31:0] _1520;
    wire [31:0] _1521;
    wire [31:0] _1503;
    wire [31:0] compare_mem_la_addr;
    wire [31:0] _1523;
    wire _1524;
    wire _1504;
    wire compare_mem_la_write;
    wire _1526;
    wire _1527;
    wire _1505;
    wire compare_mem_la_read;
    wire _1529;
    wire [31:0] _1530;
    wire [31:0] _1506;
    wire [31:0] compare_mem_rdata_word;
    wire [31:0] _1532;
    wire [31:0] _1533;
    wire [31:0] _1507;
    wire [31:0] compare_mem_rdata_q;
    wire [31:0] _1535;
    wire [31:0] _1536;
    wire [31:0] _1508;
    wire [31:0] compare_mem_rdata_latched;
    wire [31:0] _1538;
    wire [3:0] _1539;
    wire [3:0] _1509;
    wire [3:0] compare_mem_wstrb;
    wire [3:0] _1541;
    wire [31:0] _1542;
    wire [31:0] _1510;
    wire [31:0] compare_mem_wdata;
    wire [31:0] _1544;
    wire [31:0] _1545;
    wire [31:0] _1511;
    wire [31:0] compare_mem_addr;
    wire [31:0] _1547;
    wire _1548;
    wire _1512;
    wire compare_mem_instr;
    wire _1550;
    wire _1551;
    wire _1513;
    wire compare_mem_valid;
    wire _1553;
    wire [236:0] _1498;
    wire _1554;
    wire [236:0] _1500;
    wire _1514;
    wire compare_mem_done;
    wire _1556;


    assign _1515 = _1498[236:233];
    assign _1501 = _1500[236:233];
    assign compare_mem_la_wstrb = _1501 ^ _1515;
    assign _1517 = compare_mem_la_wstrb ^ _1515;
    assign _1518 = _1498[232:201];
    assign _1502 = _1500[232:201];
    assign compare_mem_la_wdata = _1502 ^ _1518;
    assign _1520 = compare_mem_la_wdata ^ _1518;
    assign _1521 = _1498[200:169];
    assign _1503 = _1500[200:169];
    assign compare_mem_la_addr = _1503 ^ _1521;
    assign _1523 = compare_mem_la_addr ^ _1521;
    assign _1524 = _1498[168:168];
    assign _1504 = _1500[168:168];
    assign compare_mem_la_write = _1504 ^ _1524;
    assign _1526 = compare_mem_la_write ^ _1524;
    assign _1527 = _1498[167:167];
    assign _1505 = _1500[167:167];
    assign compare_mem_la_read = _1505 ^ _1527;
    assign _1529 = compare_mem_la_read ^ _1527;
    assign _1530 = _1498[166:135];
    assign _1506 = _1500[166:135];
    assign compare_mem_rdata_word = _1506 ^ _1530;
    assign _1532 = compare_mem_rdata_word ^ _1530;
    assign _1533 = _1498[134:103];
    assign _1507 = _1500[134:103];
    assign compare_mem_rdata_q = _1507 ^ _1533;
    assign _1535 = compare_mem_rdata_q ^ _1533;
    assign _1536 = _1498[102:71];
    assign _1508 = _1500[102:71];
    assign compare_mem_rdata_latched = _1508 ^ _1536;
    assign _1538 = compare_mem_rdata_latched ^ _1536;
    assign _1539 = _1498[70:67];
    assign _1509 = _1500[70:67];
    assign compare_mem_wstrb = _1509 ^ _1539;
    assign _1541 = compare_mem_wstrb ^ _1539;
    assign _1542 = _1498[66:35];
    assign _1510 = _1500[66:35];
    assign compare_mem_wdata = _1510 ^ _1542;
    assign _1544 = compare_mem_wdata ^ _1542;
    assign _1545 = _1498[34:3];
    assign _1511 = _1500[34:3];
    assign compare_mem_addr = _1511 ^ _1545;
    assign _1547 = compare_mem_addr ^ _1545;
    assign _1548 = _1498[2:2];
    assign _1512 = _1500[2:2];
    assign compare_mem_instr = _1512 ^ _1548;
    assign _1550 = compare_mem_instr ^ _1548;
    assign _1551 = _1498[1:1];
    assign _1513 = _1500[1:1];
    assign compare_mem_valid = _1513 ^ _1551;
    assign _1553 = compare_mem_valid ^ _1551;
    picorv32_memif
        the_picorv32_memif
        ( .clk(clk), .resetn(resetn), .reg_op1(reg_op1), .reg_op2(reg_op2), .next_pc(next_pc), .mem_ready(mem_ready), .mem_do_rinst(mem_do_rinst), .mem_rdata(mem_rdata), .mem_wordsize(mem_wordsize), .mem_do_prefetch(mem_do_prefetch), .mem_do_rdata(mem_do_rdata), .mem_do_wdata(mem_do_wdata), .mem_la_wstrb(_1498[236:233]), .mem_la_wdata(_1498[232:201]), .mem_la_addr(_1498[200:169]), .mem_la_write(_1498[168:168]), .mem_la_read(_1498[167:167]), .mem_rdata_word(_1498[166:135]), .mem_rdata_q(_1498[134:103]), .mem_rdata_latched(_1498[102:71]), .mem_wstrb(_1498[70:67]), .mem_wdata(_1498[66:35]), .mem_addr(_1498[34:3]), .mem_instr(_1498[2:2]), .mem_valid(_1498[1:1]), .mem_done(_1498[0:0]) );
    assign _1554 = _1498[0:0];
    opicorv32_memif
        the_opicorv32_memif
        ( .clk(clk), .resetn(resetn), .reg_op1(reg_op1), .reg_op2(reg_op2), .next_pc(next_pc), .mem_ready(mem_ready), .mem_do_rinst(mem_do_rinst), .mem_rdata(mem_rdata), .mem_wordsize(mem_wordsize), .mem_do_prefetch(mem_do_prefetch), .mem_do_rdata(mem_do_rdata), .mem_do_wdata(mem_do_wdata), .mem_la_wstrb(_1500[236:233]), .mem_la_wdata(_1500[232:201]), .mem_la_addr(_1500[200:169]), .mem_la_write(_1500[168:168]), .mem_la_read(_1500[167:167]), .mem_rdata_word(_1500[166:135]), .mem_rdata_q(_1500[134:103]), .mem_rdata_latched(_1500[102:71]), .mem_wstrb(_1500[70:67]), .mem_wdata(_1500[66:35]), .mem_addr(_1500[34:3]), .mem_instr(_1500[2:2]), .mem_valid(_1500[1:1]), .mem_done(_1500[0:0]) );
    assign _1514 = _1500[0:0];
    assign compare_mem_done = _1514 ^ _1554;
    assign _1556 = compare_mem_done ^ _1554;




    assign mem_done = _1556;
    assign mem_valid = _1553;
    assign mem_instr = _1550;
    assign mem_addr = _1547;
    assign mem_wdata = _1544;
    assign mem_wstrb = _1541;
    assign mem_rdata_latched = _1538;
    assign mem_rdata_q = _1535;
    assign mem_rdata_word = _1532;
    assign mem_la_read = _1529;
    assign mem_la_write = _1526;
    assign mem_la_addr = _1523;
    assign mem_la_wdata = _1520;
    assign mem_la_wstrb = _1517;

endmodule
module opicorv32_memif_wrap (
    mem_do_wdata,
    mem_do_rdata,
    mem_do_prefetch,
    mem_wordsize,
    mem_rdata,
    mem_do_rinst,
    mem_ready,
    next_pc,
    reg_op2,
    reg_op1,
    resetn,
    clk,
    mem_done,
    mem_valid,
    mem_instr,
    mem_addr,
    mem_wdata,
    mem_wstrb,
    mem_rdata_latched,
    mem_rdata_q,
    mem_rdata_word,
    mem_la_read,
    mem_la_write,
    mem_la_addr,
    mem_la_wdata,
    mem_la_wstrb
);


    input mem_do_wdata;
    input mem_do_rdata;
    input mem_do_prefetch;
    input [1:0] mem_wordsize;
    input [31:0] mem_rdata;
    input mem_do_rinst;
    input mem_ready;
    input [31:0] next_pc;
    input [31:0] reg_op2;
    input [31:0] reg_op1;
    input resetn;
    input clk;
    output mem_done;
    output mem_valid;
    output mem_instr;
    output [31:0] mem_addr;
    output [31:0] mem_wdata;
    output [3:0] mem_wstrb;
    output [31:0] mem_rdata_latched;
    output [31:0] mem_rdata_q;
    output [31:0] mem_rdata_word;
    output mem_la_read;
    output mem_la_write;
    output [31:0] mem_la_addr;
    output [31:0] mem_la_wdata;
    output [3:0] mem_la_wstrb;


    wire [3:0] _1515;
    wire [3:0] _1501;
    wire [3:0] compare_mem_la_wstrb;
    wire [3:0] _1517;
    wire [31:0] _1518;
    wire [31:0] _1502;
    wire [31:0] compare_mem_la_wdata;
    wire [31:0] _1520;
    wire [31:0] _1521;
    wire [31:0] _1503;
    wire [31:0] compare_mem_la_addr;
    wire [31:0] _1523;
    wire _1524;
    wire _1504;
    wire compare_mem_la_write;
    wire _1526;
    wire _1527;
    wire _1505;
    wire compare_mem_la_read;
    wire _1529;
    wire [31:0] _1530;
    wire [31:0] _1506;
    wire [31:0] compare_mem_rdata_word;
    wire [31:0] _1532;
    wire [31:0] _1533;
    wire [31:0] _1507;
    wire [31:0] compare_mem_rdata_q;
    wire [31:0] _1535;
    wire [31:0] _1536;
    wire [31:0] _1508;
    wire [31:0] compare_mem_rdata_latched;
    wire [31:0] _1538;
    wire [3:0] _1539;
    wire [3:0] _1509;
    wire [3:0] compare_mem_wstrb;
    wire [3:0] _1541;
    wire [31:0] _1542;
    wire [31:0] _1510;
    wire [31:0] compare_mem_wdata;
    wire [31:0] _1544;
    wire [31:0] _1545;
    wire [31:0] _1511;
    wire [31:0] compare_mem_addr;
    wire [31:0] _1547;
    wire _1548;
    wire _1512;
    wire compare_mem_instr;
    wire _1550;
    wire _1551;
    wire _1513;
    wire compare_mem_valid;
    wire _1553;
    wire [236:0] _1498;
    wire _1554;
    wire [236:0] _1500;
    wire _1514;
    wire compare_mem_done;
    wire _1556;


    assign _1515 = _1498[236:233];
    assign _1501 = _1500[236:233];
    assign compare_mem_la_wstrb = _1501 ^ _1515;
    assign _1517 = compare_mem_la_wstrb ^ _1515;
    assign _1518 = _1498[232:201];
    assign _1502 = _1500[232:201];
    assign compare_mem_la_wdata = _1502 ^ _1518;
    assign _1520 = compare_mem_la_wdata ^ _1518;
    assign _1521 = _1498[200:169];
    assign _1503 = _1500[200:169];
    assign compare_mem_la_addr = _1503 ^ _1521;
    assign _1523 = compare_mem_la_addr ^ _1521;
    assign _1524 = _1498[168:168];
    assign _1504 = _1500[168:168];
    assign compare_mem_la_write = _1504 ^ _1524;
    assign _1526 = compare_mem_la_write ^ _1524;
    assign _1527 = _1498[167:167];
    assign _1505 = _1500[167:167];
    assign compare_mem_la_read = _1505 ^ _1527;
    assign _1529 = compare_mem_la_read ^ _1527;
    assign _1530 = _1498[166:135];
    assign _1506 = _1500[166:135];
    assign compare_mem_rdata_word = _1506 ^ _1530;
    assign _1532 = compare_mem_rdata_word ^ _1530;
    assign _1533 = _1498[134:103];
    assign _1507 = _1500[134:103];
    assign compare_mem_rdata_q = _1507 ^ _1533;
    assign _1535 = compare_mem_rdata_q ^ _1533;
    assign _1536 = _1498[102:71];
    assign _1508 = _1500[102:71];
    assign compare_mem_rdata_latched = _1508 ^ _1536;
    assign _1538 = compare_mem_rdata_latched ^ _1536;
    assign _1539 = _1498[70:67];
    assign _1509 = _1500[70:67];
    assign compare_mem_wstrb = _1509 ^ _1539;
    assign _1541 = compare_mem_wstrb ^ _1539;
    assign _1542 = _1498[66:35];
    assign _1510 = _1500[66:35];
    assign compare_mem_wdata = _1510 ^ _1542;
    assign _1544 = compare_mem_wdata ^ _1542;
    assign _1545 = _1498[34:3];
    assign _1511 = _1500[34:3];
    assign compare_mem_addr = _1511 ^ _1545;
    assign _1547 = compare_mem_addr ^ _1545;
    assign _1548 = _1498[2:2];
    assign _1512 = _1500[2:2];
    assign compare_mem_instr = _1512 ^ _1548;
    assign _1550 = compare_mem_instr ^ _1548;
    assign _1551 = _1498[1:1];
    assign _1513 = _1500[1:1];
    assign compare_mem_valid = _1513 ^ _1551;
    assign _1553 = compare_mem_valid ^ _1551;
    picorv32_memif
        the_picorv32_memif
        ( .clk(clk), .resetn(resetn), .reg_op1(reg_op1), .reg_op2(reg_op2), .next_pc(next_pc), .mem_ready(mem_ready), .mem_do_rinst(mem_do_rinst), .mem_rdata(mem_rdata), .mem_wordsize(mem_wordsize), .mem_do_prefetch(mem_do_prefetch), .mem_do_rdata(mem_do_rdata), .mem_do_wdata(mem_do_wdata), .mem_la_wstrb(_1498[236:233]), .mem_la_wdata(_1498[232:201]), .mem_la_addr(_1498[200:169]), .mem_la_write(_1498[168:168]), .mem_la_read(_1498[167:167]), .mem_rdata_word(_1498[166:135]), .mem_rdata_q(_1498[134:103]), .mem_rdata_latched(_1498[102:71]), .mem_wstrb(_1498[70:67]), .mem_wdata(_1498[66:35]), .mem_addr(_1498[34:3]), .mem_instr(_1498[2:2]), .mem_valid(_1498[1:1]), .mem_done(_1498[0:0]) );
    assign _1554 = _1498[0:0];
    opicorv32_memif
        the_opicorv32_memif
        ( .clk(clk), .resetn(resetn), .reg_op1(reg_op1), .reg_op2(reg_op2), .next_pc(next_pc), .mem_ready(mem_ready), .mem_do_rinst(mem_do_rinst), .mem_rdata(mem_rdata), .mem_wordsize(mem_wordsize), .mem_do_prefetch(mem_do_prefetch), .mem_do_rdata(mem_do_rdata), .mem_do_wdata(mem_do_wdata), .mem_la_wstrb(_1500[236:233]), .mem_la_wdata(_1500[232:201]), .mem_la_addr(_1500[200:169]), .mem_la_write(_1500[168:168]), .mem_la_read(_1500[167:167]), .mem_rdata_word(_1500[166:135]), .mem_rdata_q(_1500[134:103]), .mem_rdata_latched(_1500[102:71]), .mem_wstrb(_1500[70:67]), .mem_wdata(_1500[66:35]), .mem_addr(_1500[34:3]), .mem_instr(_1500[2:2]), .mem_valid(_1500[1:1]), .mem_done(_1500[0:0]) );
    assign _1514 = _1500[0:0];
    assign compare_mem_done = _1514 ^ _1554;
    assign _1556 = compare_mem_done ^ _1554;




    assign mem_done = _1556;
    assign mem_valid = _1553;
    assign mem_instr = _1550;
    assign mem_addr = _1547;
    assign mem_wdata = _1544;
    assign mem_wstrb = _1541;
    assign mem_rdata_latched = _1538;
    assign mem_rdata_q = _1535;
    assign mem_rdata_word = _1532;
    assign mem_la_read = _1529;
    assign mem_la_write = _1526;
    assign mem_la_addr = _1523;
    assign mem_la_wdata = _1520;
    assign mem_la_wstrb = _1517;

endmodule