data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v
None: at end of input
1: b'%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:32: Cannot find include file: ../../pipe/rtl/pipe_defs.v\n`include "../../pipe/rtl/pipe_defs.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/166556094/usb,data/full_repos/permissive/166556094/../../pipe/rtl/pipe_defs.v\n             data/full_repos/permissive/166556094/usb,data/full_repos/permissive/166556094/../../pipe/rtl/pipe_defs.v.v\n             data/full_repos/permissive/166556094/usb,data/full_repos/permissive/166556094/../../pipe/rtl/pipe_defs.v.sv\n             ../../pipe/rtl/pipe_defs.v\n             ../../pipe/rtl/pipe_defs.v.v\n             ../../pipe/rtl/pipe_defs.v.sv\n             obj_dir/../../pipe/rtl/pipe_defs.v\n             obj_dir/../../pipe/rtl/pipe_defs.v.v\n             obj_dir/../../pipe/rtl/pipe_defs.v.sv\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:34: Define or directive not defined: \'`PS_d8\'\nmodule usb_uart  #( parameter PipeSpec = `PS_d8 ) (\n                                         ^~~~~~\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:34: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule usb_uart  #( parameter PipeSpec = `PS_d8 ) (\n                                                ^\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:42: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe_in,\n               ^~~~\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:43: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe_out,\n               ^~~~\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:48: Define or directive not defined: \'`P_Data_m\'\n    wire [`P_Data_m(PipeSpec):0] in_data;\n          ^~~~~~~~~\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:52: Define or directive not defined: \'`P_Data_m\'\n    wire [`P_Data_m(PipeSpec):0] out_data;\n          ^~~~~~~~~\n%Error: data/full_repos/permissive/166556094/usb/usb_uart_ecp5.v:56: syntax error, unexpected IDENTIFIER\n    p_unpack_data #( .PipeSpec( PipeSpec ) ) in_unpack_data( .pipe(pipe_in), .data(in_data) );\n    ^~~~~~~~~~~~~\n%Error: Exiting due to 8 error(s)\n'
module usb_uart  #( parameter PipeSpec = `PS_d8 ) (
        input  clk_48mhz,
        input reset,


        inout  pin_usb_p,
        inout  pin_usb_n,

        inout [`P_m(PipeSpec):0] pipe_in,
        inout [`P_m(PipeSpec):0] pipe_out,

        output [11:0] debug
    );

    wire [`P_Data_m(PipeSpec):0] in_data;
    wire                     in_valid;
    wire                     in_ready;

    wire [`P_Data_m(PipeSpec):0] out_data;
    wire                     out_valid;
    wire                     out_ready;

    p_unpack_data #( .PipeSpec( PipeSpec ) ) in_unpack_data( .pipe(pipe_in), .data(in_data) );
    p_unpack_valid_ready #( .PipeSpec( PipeSpec ) ) in_unpack_valid_ready( .pipe(pipe_in), .valid(in_valid), .ready(in_ready) );


    usb_uart_np  u_u_np(
            clk_48mhz, reset,

            pin_usb_p, pin_usb_n,

            in_data, in_valid, in_ready,
            out_data, out_valid, out_ready,

            debug
        );

    p_pack_data #( .PipeSpec( PipeSpec ) ) out_pack_d( .data(out_data), .pipe(pipe_out) );
    p_pack_valid_ready #( .PipeSpec( PipeSpec ) ) out_pack_vr( .valid(out_valid), .ready(out_ready), .pipe(pipe_out) );

endmodule
module usb_uart  #( parameter PipeSpec = `PS_d8 ) (
        input  clk_48mhz,
        input reset,


        inout  pin_usb_p,
        inout  pin_usb_n,

        inout [`P_m(PipeSpec):0] pipe_in,
        inout [`P_m(PipeSpec):0] pipe_out,

        output [11:0] debug
    );


    wire [`P_Data_m(PipeSpec):0] in_data;
    wire                     in_valid;
    wire                     in_ready;

    wire [`P_Data_m(PipeSpec):0] out_data;
    wire                     out_valid;
    wire                     out_ready;

    p_unpack_data #( .PipeSpec( PipeSpec ) ) in_unpack_data( .pipe(pipe_in), .data(in_data) );
    p_unpack_valid_ready #( .PipeSpec( PipeSpec ) ) in_unpack_valid_ready( .pipe(pipe_in), .valid(in_valid), .ready(in_ready) );


    usb_uart_np  u_u_np(
            clk_48mhz, reset,

            pin_usb_p, pin_usb_n,

            in_data, in_valid, in_ready,
            out_data, out_valid, out_ready,

            debug
        );

    p_pack_data #( .PipeSpec( PipeSpec ) ) out_pack_d( .data(out_data), .pipe(pipe_out) );
    p_pack_valid_ready #( .PipeSpec( PipeSpec ) ) out_pack_vr( .valid(out_valid), .ready(out_ready), .pipe(pipe_out) );

endmodule