data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv
1: b'%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:24: Unsupported: virtual or generic interfaces\nmodule pss_wrapper(interface ahb,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:25: Unsupported: virtual or generic interfaces\n                   interface spi,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:26: Unsupported: virtual or generic interfaces\n                   interface gpi,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:27: Unsupported: virtual or generic interfaces\n                   interface gpo,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:28: Unsupported: virtual or generic interfaces\n                   interface gpoe,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:29: Unsupported: virtual or generic interfaces\n                   interface icpit,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:30: Unsupported: virtual or generic interfaces\n                   interface uart_rx,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:31: Unsupported: virtual or generic interfaces\n                   interface uart_tx,\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/rtl/pss/rtl/pss_wrapper.sv:32: Unsupported: virtual or generic interfaces\n                   interface modem);\n                   ^~~~~~~~~\n%Error: Exiting due to 9 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module pss_wrapper(interface ahb,
                   interface spi,
                   interface gpi,
                   interface gpo,
                   interface gpoe,
                   interface icpit,
                   interface uart_rx,
                   interface uart_tx,
                   interface modem);

wire baud;

pss DUT(
        .HCLK(ahb.HCLK),
        .HRESETn(ahb.HRESETn),
        .HADDR(ahb.HADDR),
        .HTRANS(ahb.HTRANS),
        .HWRITE(ahb.HWRITE),
        .HSIZE(ahb.HSIZE),
        .HBURST(ahb.HBURST),
        .HPROT(ahb.HPROT),
        .HWDATA(ahb.HWDATA),
        .HSEL(ahb.HSEL),
        .HRDATA(ahb.HRDATA),
        .HREADY(ahb.HREADY),
        .HRESP(ahb.HRESP),

        .spi_cs(spi.cs),
        .spi_clk(spi.clk),
        .spi_mosi(spi.mosi),
        .spi_miso(spi.miso),

        .gpi(gpi.gpio),
        .gpo(gpo.gpio),
        .gpoe(gpoe.gpio),

        .rxd(uart_rx.sdata),
        .txd(uart_tx.sdata),

        .rts(modem.rts_pad_o),
        .cts(modem.cts_pad_i),
        .dtr(modem.dtr_pad_o),
        .dsr(modem.dsr_pad_i),
        .ri(modem.ri_pad_i),
        .dcd(modem.dcd_pad_i),
        .baud(baud),

        .IREQ(icpit.IREQ[4:0]),
        .IRQ(icpit.IRQ));

endmodule
module pss_wrapper(interface ahb,
                   interface spi,
                   interface gpi,
                   interface gpo,
                   interface gpoe,
                   interface icpit,
                   interface uart_rx,
                   interface uart_tx,
                   interface modem);


wire baud;

pss DUT(
        .HCLK(ahb.HCLK),
        .HRESETn(ahb.HRESETn),
        .HADDR(ahb.HADDR),
        .HTRANS(ahb.HTRANS),
        .HWRITE(ahb.HWRITE),
        .HSIZE(ahb.HSIZE),
        .HBURST(ahb.HBURST),
        .HPROT(ahb.HPROT),
        .HWDATA(ahb.HWDATA),
        .HSEL(ahb.HSEL),
        .HRDATA(ahb.HRDATA),
        .HREADY(ahb.HREADY),
        .HRESP(ahb.HRESP),

        .spi_cs(spi.cs),
        .spi_clk(spi.clk),
        .spi_mosi(spi.mosi),
        .spi_miso(spi.miso),

        .gpi(gpi.gpio),
        .gpo(gpo.gpio),
        .gpoe(gpoe.gpio),

        .rxd(uart_rx.sdata),
        .txd(uart_tx.sdata),

        .rts(modem.rts_pad_o),
        .cts(modem.cts_pad_i),
        .dtr(modem.dtr_pad_o),
        .dsr(modem.dsr_pad_i),
        .ri(modem.ri_pad_i),
        .dcd(modem.dcd_pad_i),
        .baud(baud),

        .IREQ(icpit.IREQ[4:0]),
        .IRQ(icpit.IRQ));

endmodule