data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v
 line:580: before: "if"
1: b'%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:71: 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/190755935/src/pipe/rtl,data/full_repos/permissive/190755935/../../pipe/rtl/pipe_defs.v\n             data/full_repos/permissive/190755935/src/pipe/rtl,data/full_repos/permissive/190755935/../../pipe/rtl/pipe_defs.v.v\n             data/full_repos/permissive/190755935/src/pipe/rtl,data/full_repos/permissive/190755935/../../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/190755935/src/pipe/rtl/pipe_utils.v:77: Define or directive not defined: \'`PS_def\'\nmodule p_pack_payload #( parameter PipeSpec = `PS_def ) (\n                                              ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:77: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_pack_payload #( parameter PipeSpec = `PS_def ) (\n                                                      ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:78: Define or directive not defined: \'`P_Payload_w\'\n        input [`P_Payload_w(PipeSpec)-1:0] payload,\n               ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:79: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0]   pipe\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:82: Define or directive not defined: \'`P_Payload_m\'\n    assign pipe[`P_Payload_m(PipeSpec):0] = payload;\n                ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:86: Define or directive not defined: \'`PS_def\'\nmodule p_unpack_payload #( parameter PipeSpec = `PS_def ) (\n                                                ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:86: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_unpack_payload #( parameter PipeSpec = `PS_def ) (\n                                                        ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:87: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0]       pipe,\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:88: Define or directive not defined: \'`P_Payload_w\'\n        output [`P_Payload_w(PipeSpec)-1:0] payload\n                ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:91: Define or directive not defined: \'`P_Payload_m\'\n    assign payload  = pipe[`P_Payload_m(PipeSpec):0];\n                           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:99: Define or directive not defined: \'`PS_def\'\nmodule p_pack_valid_ready #( parameter PipeSpec = `PS_def ) (\n                                                  ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:99: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_pack_valid_ready #( parameter PipeSpec = `PS_def ) (\n                                                          ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:102: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:105: Define or directive not defined: \'`P_Valid_b\'\n    assign pipe[ `P_Valid_b(PipeSpec) ] = valid;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:106: Define or directive not defined: \'`P_Ready_b\'\n    assign ready = pipe[ `P_Ready_b(PipeSpec) ];\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:110: Define or directive not defined: \'`PS_def\'\nmodule p_pack_valid #( parameter PipeSpec = `PS_def ) (\n                                            ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:110: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_pack_valid #( parameter PipeSpec = `PS_def ) (\n                                                    ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:112: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:115: Define or directive not defined: \'`P_Valid_b\'\n    assign pipe[ `P_Valid_b(PipeSpec) ] = valid;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:119: Define or directive not defined: \'`PS_def\'\nmodule p_unpack_valid_ready #( parameter PipeSpec = `PS_def ) (\n                                                    ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:119: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_unpack_valid_ready #( parameter PipeSpec = `PS_def ) (\n                                                            ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:120: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe,\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:125: Define or directive not defined: \'`P_Valid_b\'\n    assign valid = pipe[ `P_Valid_b(PipeSpec) ];\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:126: Define or directive not defined: \'`P_Ready_b\'\n    assign pipe[ `P_Ready_b(PipeSpec) ] = ready;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:130: Define or directive not defined: \'`PS_def\'\nmodule p_monitor_valid_ready #( parameter PipeSpec = `PS_def ) (\n                                                     ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:130: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_monitor_valid_ready #( parameter PipeSpec = `PS_def ) (\n                                                             ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:131: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe,\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:136: Define or directive not defined: \'`P_Valid_b\'\n    assign valid = pipe[ `P_Valid_b(PipeSpec) ];\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:137: Define or directive not defined: \'`P_Ready_b\'\n    assign ready = pipe[ `P_Ready_b(PipeSpec) ];\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:145: Define or directive not defined: \'`PS_def\'\nmodule p_pack_start_stop #( parameter PipeSpec = `PS_def ) (\n                                                 ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:145: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_pack_start_stop #( parameter PipeSpec = `PS_def ) (\n                                                         ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:148: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:152: Define or directive not defined: \'`P_Start_w\'\n        if ( `P_Start_w( PipeSpec ) )\n             ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:153: Define or directive not defined: \'`P_Start_b\'\n            assign pipe[ `P_Start_b(PipeSpec) ] = start;\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:154: Define or directive not defined: \'`P_Stop_w\'\n        if ( `P_Stop_w( PipeSpec ) )\n             ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:155: Define or directive not defined: \'`P_Stop_b\'\n            assign pipe[ `P_Stop_b(PipeSpec) ]  = stop;\n                         ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:160: Define or directive not defined: \'`PS_def\'\nmodule p_unpack_start_stop #( parameter PipeSpec = `PS_def ) (\n                                                   ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:160: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_unpack_start_stop #( parameter PipeSpec = `PS_def ) (\n                                                           ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:161: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0] pipe,\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:167: Define or directive not defined: \'`P_Start_w\'\n        if ( `P_Start_w( PipeSpec ) )\n             ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:168: Define or directive not defined: \'`P_Start_b\'\n            assign start = pipe[ `P_Start_b(PipeSpec) ];\n                                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:171: Define or directive not defined: \'`P_Stop_w\'\n        if ( `P_Stop_w( PipeSpec ) )\n             ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:172: Define or directive not defined: \'`P_Stop_b\'\n            assign stop  = pipe[ `P_Stop_b(PipeSpec) ];\n                                 ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:183: Define or directive not defined: \'`PS_def\'\nmodule p_pack_data #( parameter PipeSpec = `PS_def ) (\n                                           ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:183: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule p_pack_data #( parameter PipeSpec = `PS_def ) (\n                                                   ^\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:184: Define or directive not defined: \'`P_Data_w\'\n        input [`P_Data_w(PipeSpec)-1:0] data,\n               ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:185: Define or directive not defined: \'`P_m\'\n        inout [`P_m(PipeSpec):0]      pipe\n               ^~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:189: Define or directive not defined: \'`P_Data_w\'\n        if ( `P_Data_w( PipeSpec ) )\n             ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/pipe/rtl/pipe_utils.v:190: Define or directive not defined: \'`P_Data_m\'\n            assign pipe[ `P_Data_m(PipeSpec):`P_Data_l(PipeSpec) ] = data;\n                         ^~~~~~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
module p_pack_ssdvrp #( parameter PipeSpec = `PS_def ) (
        input                               start,
        input                               stop,
        input [`P_Data_w(PipeSpec)-1:0]     data,
        input                               valid,
        output                              ready,

        inout [`P_w(PipeSpec)-1:0]          pipe
    );

    generate
        if ( `P_Start_w( PipeSpec ) )
            assign pipe[ `P_Start_b(PipeSpec) ] = start;
        if ( `P_Stop_w( PipeSpec ) )
            assign pipe[ `P_Stop_b(PipeSpec) ]  = stop;
    endgenerate

    assign pipe[ `P_Data_w(PipeSpec)-1:`P_Data_l(PipeSpec) ] = data;
    assign pipe[ `P_Valid_b(PipeSpec) ] = valid;
    assign ready = pipe[ `P_Ready_b(PipeSpec) ];

endmodule
module p_pack_ssdvrp #( parameter PipeSpec = `PS_def ) (
        input                               start,
        input                               stop,
        input [`P_Data_w(PipeSpec)-1:0]     data,
        input                               valid,
        output                              ready,

        inout [`P_w(PipeSpec)-1:0]          pipe
    );


    generate
        if ( `P_Start_w( PipeSpec ) )
            assign pipe[ `P_Start_b(PipeSpec) ] = start;
        if ( `P_Stop_w( PipeSpec ) )
            assign pipe[ `P_Stop_b(PipeSpec) ]  = stop;
    endgenerate

    assign pipe[ `P_Data_w(PipeSpec)-1:`P_Data_l(PipeSpec) ] = data;
    assign pipe[ `P_Valid_b(PipeSpec) ] = valid;
    assign ready = pipe[ `P_Ready_b(PipeSpec) ];

endmodule