data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl/ahb_arbiter.v
1: b"%Error: data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl/ahb_arbiter.v:38: Cannot find file containing module: 'start'\n    start dut1(.hclk(hclk),\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl,data/full_repos/permissive/176449044/start\n             data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl,data/full_repos/permissive/176449044/start.v\n             data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl,data/full_repos/permissive/176449044/start.sv\n             start\n             start.v\n             start.sv\n             obj_dir/start\n             obj_dir/start.v\n             obj_dir/start.sv\n%Error: data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl/ahb_arbiter.v:47: Cannot find file containing module: 'prio'\n    prio dut2(.clk(hclk),\n    ^~~~\n%Error: data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl/ahb_arbiter.v:52: Cannot find file containing module: 'grant'\n    grant dut3(.hclk(hclk),\n    ^~~~~\n%Error: data/full_repos/permissive/176449044/AHB/AHB_SV_TB/rtl/ahb_arbiter.v:62: Cannot find file containing module: 'arbiter'\n    arbiter dut4(.hclk(hclk),\n    ^~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module ahb_arbiter (

    input hclk,
    input hrst_n,

    input [15:0]  hbusreqx,
    input [15:0]  hlockx,

    input [31:0]  haddr,
    input [15:0]  hsplitx,
    input [1:0]   htrans,
    input [2:0]   hburst,
    input [1:0]   hresp,
    input         hready,

    output [15:0] hgrantx,
    output [3:0]  hmaster,
    output        hmastlock
);

reg [24:0] prio;
reg [15:0] grant;
reg        ho;




    start dut1(.hclk(hclk),
               .hrst_n(hrst_n),
               .hbusreqx(hbusreqx),
               .hlockx(hlockx),
               .hsplitx(hsplitx),
               .hresp(hresp),
               .prio(prio),
               .grant(grant));

    prio dut2(.clk(hclk),
              .rst_n(hrst_n),
              .hgrantx(hgrantx),
              .prio(prio));

    grant dut3(.hclk(hclk),
               .hrst_n(hrst_n),
               .hready(hready),
               .htrans(htrans),
               .hburst(hburst),
               .hresp(hresp),
               .hmastlock(hmastlock),
               .hgrantx(hgrantx),
               .ho(ho));

    arbiter dut4(.hclk(hclk),
                 .hrst_n(hrst_n),
                 .hlockx(hlockx),
                 .hready(hready),
                 .ho(ho),
                 .grant(grant),
                 .hgrantx(hgrantx),
                 .hmaster(hmaster),
                 .hmastlock(hmastlock));
    
endmodule
module ahb_arbiter (

    input hclk,
    input hrst_n,

    input [15:0]  hbusreqx,
    input [15:0]  hlockx,

    input [31:0]  haddr,
    input [15:0]  hsplitx,
    input [1:0]   htrans,
    input [2:0]   hburst,
    input [1:0]   hresp,
    input         hready,

    output [15:0] hgrantx,
    output [3:0]  hmaster,
    output        hmastlock
);


reg [24:0] prio;
reg [15:0] grant;
reg        ho;




    start dut1(.hclk(hclk),
               .hrst_n(hrst_n),
               .hbusreqx(hbusreqx),
               .hlockx(hlockx),
               .hsplitx(hsplitx),
               .hresp(hresp),
               .prio(prio),
               .grant(grant));

    prio dut2(.clk(hclk),
              .rst_n(hrst_n),
              .hgrantx(hgrantx),
              .prio(prio));

    grant dut3(.hclk(hclk),
               .hrst_n(hrst_n),
               .hready(hready),
               .htrans(htrans),
               .hburst(hburst),
               .hresp(hresp),
               .hmastlock(hmastlock),
               .hgrantx(hgrantx),
               .ho(ho));

    arbiter dut4(.hclk(hclk),
                 .hrst_n(hrst_n),
                 .hlockx(hlockx),
                 .hready(hready),
                 .ho(ho),
                 .grant(grant),
                 .hgrantx(hgrantx),
                 .hmaster(hmaster),
                 .hmastlock(hmastlock));
    
endmodule