data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh
1: b'%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:45: Cannot find include file: widths.vh\n`include "widths.vh" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa,data/full_repos/permissive/498471995/widths.vh\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa,data/full_repos/permissive/498471995/widths.vh.v\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa,data/full_repos/permissive/498471995/widths.vh.sv\n             widths.vh\n             widths.vh.v\n             widths.vh.sv\n             obj_dir/widths.vh\n             obj_dir/widths.vh.v\n             obj_dir/widths.vh.sv\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:46: Cannot find include file: types.vh\n`include "types.vh" \n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:213: Define or directive not defined: \'`EXT_TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_TYPE_W\'\nfunction [ `EXT_TYPE_W - 1 : 0 ] tlp_to_trellis_type;\n           ^~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:214: Define or directive not defined: \'`FMT_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_FMT_W\'\n    input [`FMT_W + `TYPE_W - 1 : 0 ] tlp_type;\n           ^~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:214: Define or directive not defined: \'`TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_EP_W\'\n    input [`FMT_W + `TYPE_W - 1 : 0 ] tlp_type;\n                    ^~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:218: Define or directive not defined: \'`TRLS_REQ_RD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_REQ_RD\'\n            {{3\'bx0x},5\'b00000}: tlp_to_trellis_type = `TRLS_REQ_RD;\n                                                       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:218: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            {{3\'bx0x},5\'b00000}: tlp_to_trellis_type = `TRLS_REQ_RD;\n                                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:219: Define or directive not defined: \'`TRLS_REQ_WR\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_REQ_WR\'\n            {{3\'bx1x},5\'b00000}: tlp_to_trellis_type = `TRLS_REQ_WR;\n                                                       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:219: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            {{3\'bx1x},5\'b00000}: tlp_to_trellis_type = `TRLS_REQ_WR;\n                                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:220: Define or directive not defined: \'`TRLS_CPL_ND\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_CPL_ND\'\n            {{3\'bx00},5\'b01010}: tlp_to_trellis_type = `TRLS_CPL_ND;\n                                                       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:220: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            {{3\'bx00},5\'b01010}: tlp_to_trellis_type = `TRLS_CPL_ND;\n                                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:221: Define or directive not defined: \'`TRLS_CPL_WD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_CPL_WD\'\n            {{3\'bx10},5\'b01010}: tlp_to_trellis_type = `TRLS_CPL_WD;\n                                                       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:221: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            {{3\'bx10},5\'b01010}: tlp_to_trellis_type = `TRLS_CPL_WD;\n                                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:222: Define or directive not defined: \'`TRLS_MSG_ND\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_MSG_ND\'\n            {{3\'bx01},5\'b10001}: tlp_to_trellis_type = `TRLS_MSG_ND;  \n                                                       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:222: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            {{3\'bx01},5\'b10001}: tlp_to_trellis_type = `TRLS_MSG_ND;  \n                                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:223: Define or directive not defined: \'`TRLS_MSG_WD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_MSG_WD\'\n            {{3\'bx11},5\'b10001}: tlp_to_trellis_type = `TRLS_MSG_WD;  \n                                                       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:223: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            {{3\'bx11},5\'b10001}: tlp_to_trellis_type = `TRLS_MSG_WD;  \n                                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:224: Define or directive not defined: \'`TRLS_REQ_RD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_REQ_RD\'\n            default:     tlp_to_trellis_type = `TRLS_REQ_RD;\n                                               ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:224: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n            default:     tlp_to_trellis_type = `TRLS_REQ_RD;\n                                                           ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:230: Define or directive not defined: \'`FMT_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_FMT_W\'\nfunction [`FMT_W + `TYPE_W - 1 : 0 ] trellis_to_tlp_type;\n          ^~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:230: Define or directive not defined: \'`TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_EP_W\'\nfunction [`FMT_W + `TYPE_W - 1 : 0 ] trellis_to_tlp_type;\n                   ^~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:231: Define or directive not defined: \'`EXT_TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_TYPE_W\'\n    input  [`EXT_TYPE_W - 1 : 0 ]    trellis_type;\n            ^~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:233: Define or directive not defined: \'`FMT_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_FMT_W\'\n    reg [`FMT_W + `TYPE_W - 1 : 0 ]  temp;\n         ^~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:233: Define or directive not defined: \'`TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_EP_W\'\n    reg [`FMT_W + `TYPE_W - 1 : 0 ]  temp;\n                  ^~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:237: Define or directive not defined: \'`TRLS_REQ_RD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_REQ_RD\'\n            `TRLS_REQ_RD: temp = {{3\'bx0x},5\'b00000};\n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:237: syntax error, unexpected \':\', expecting endcase\n            `TRLS_REQ_RD: temp = {{3\'bx0x},5\'b00000};\n                        ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:238: Define or directive not defined: \'`TRLS_REQ_WR\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_REQ_WR\'\n            `TRLS_REQ_WR: temp = {{3\'bx1x},5\'b00000};\n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:239: Define or directive not defined: \'`TRLS_CPL_ND\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_CPL_ND\'\n            `TRLS_CPL_ND: temp = {{3\'bx00},5\'b01010};\n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:240: Define or directive not defined: \'`TRLS_CPL_WD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_CPL_WD\'\n            `TRLS_CPL_WD: temp = {{3\'bx10},5\'b01010};\n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:241: Define or directive not defined: \'`TRLS_MSG_ND\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_MSG_ND\'\n            `TRLS_MSG_ND: temp = {{3\'bx01},5\'b10001};  \n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:242: Define or directive not defined: \'`TRLS_MSG_WD\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_MSG_WD\'\n            `TRLS_MSG_WD: temp = {{3\'bx11},5\'b10001};  \n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:246: Define or directive not defined: \'`FMT_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_FMT_W\'\n        trellis_to_tlp_type = {temp[`FMT_W +`TYPE_W - 1 : `TYPE_W + 1], hdrlen_wr, temp[`TYPE_W-1:0]};\n                                    ^~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:246: Define or directive not defined: \'`TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_EP_W\'\n        trellis_to_tlp_type = {temp[`FMT_W +`TYPE_W - 1 : `TYPE_W + 1], hdrlen_wr, temp[`TYPE_W-1:0]};\n                                            ^~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:246: Define or directive not defined: \'`TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_EP_W\'\n        trellis_to_tlp_type = {temp[`FMT_W +`TYPE_W - 1 : `TYPE_W + 1], hdrlen_wr, temp[`TYPE_W-1:0]};\n                                                          ^~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_riffa_dma_v1_0_0/hdl/riffa/tlp.vh:246: Define or directive not defined: \'`TYPE_W\'\n                                                                                                                                          : ... Suggested alternative: \'`TLP_EP_W\'\n        trellis_to_tlp_type = {temp[`FMT_W +`TYPE_W - 1 : `TYPE_W + 1], hdrlen_wr, temp[`TYPE_W-1:0]};\n                                                                                        ^~~~~~~\n%Error: Exiting due to 35 error(s)\n'
function [ `EXT_TYPE_W - 1 : 0 ] tlp_to_trellis_type;
    input [`FMT_W + `TYPE_W - 1 : 0 ] tlp_type;
    begin

        casex(tlp_type)
            `TLP_REQ_RD: tlp_to_trellis_type = `TRLS_REQ_RD;
            `TLP_REQ_WR: tlp_to_trellis_type = `TRLS_REQ_WR;
            `TLP_CPL_ND: tlp_to_trellis_type = `TRLS_CPL_ND;
            `TLP_CPL_WD: tlp_to_trellis_type = `TRLS_CPL_WD;
            `TLP_MSG_ND: tlp_to_trellis_type = `TRLS_MSG_ND;
            `TLP_MSG_WD: tlp_to_trellis_type = `TRLS_MSG_WD;
            default:     tlp_to_trellis_type = `TRLS_REQ_RD;
        endcase

   end
endfunction
function [ `EXT_TYPE_W - 1 : 0 ] tlp_to_trellis_type;

    input [`FMT_W + `TYPE_W - 1 : 0 ] tlp_type;
    begin

        casex(tlp_type)
            `TLP_REQ_RD: tlp_to_trellis_type = `TRLS_REQ_RD;
            `TLP_REQ_WR: tlp_to_trellis_type = `TRLS_REQ_WR;
            `TLP_CPL_ND: tlp_to_trellis_type = `TRLS_CPL_ND;
            `TLP_CPL_WD: tlp_to_trellis_type = `TRLS_CPL_WD;
            `TLP_MSG_ND: tlp_to_trellis_type = `TRLS_MSG_ND;
            `TLP_MSG_WD: tlp_to_trellis_type = `TRLS_MSG_WD;
            default:     tlp_to_trellis_type = `TRLS_REQ_RD;
        endcase

   end
endfunction