data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v
1: b'%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:59: Cannot find file containing module: \'tc141_fflopx\'\ntc141_fflopx #(ADDR+1,{ADDR+1{1\'b0}},1)   cr_addr(rclk,rrst,nxt_addr,addr);\n^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp,data/full_repos/permissive/530013823/tc141_fflopx\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp,data/full_repos/permissive/530013823/tc141_fflopx.v\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp,data/full_repos/permissive/530013823/tc141_fflopx.sv\n             tc141_fflopx\n             tc141_fflopx.v\n             tc141_fflopx.sv\n             obj_dir/tc141_fflopx\n             obj_dir/tc141_fflopx.v\n             obj_dir/tc141_fflopx.sv\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:62: Cannot find file containing module: \'tc141_fflopx\'\ntc141_fflopx #(ADDR+1,{ADDR+1{1\'b0}},1)    cr_gaddr(rclk,rrst,nxt_gaddr,gaddr);\n^~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:65: Operator ADD expects 9 bits on the RHS, but RHS\'s VARREF \'inc\' generates 1 bits.\n                                                                                                                                           : ... In instance af4eos_agg_rprt_ctrl\nassign              nxt_addr = addr + inc;\n                                    ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:66: Cannot find file containing module: \'af4eos_agg_bin2gray\'\naf4eos_agg_bin2gray #(ADDR+1) bin2gray(nxt_addr,nxt_gaddr);\n^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:68: Cannot find file containing module: \'tc141_fflopx\'\ntc141_fflopx #(ADDR+1,{ADDR+1{1\'b0}},1)   crgwprt1(rclk,rrst,gwprt ,gwprt1);\n^~~~~~~~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:69: Cannot find file containing module: \'tc141_fflopx\'\ntc141_fflopx #(ADDR+1,{ADDR+1{1\'b0}},1)   crgwprt2(rclk,rrst,gwprt1,gwprt2);\n^~~~~~~~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/rtl/libp/af4eos_agg_rprt_ctrl.v:76: Cannot find file containing module: \'fflopnx\'\nfflopnx #(1,1)       cr_rempty(rclk,rrst,empty,rempty);\n^~~~~~~\n%Error: Exiting due to 6 error(s), 1 warning(s)\n'
module af4eos_agg_rprt_ctrl
    (
     rrst,
     rclk,
     ren,
     raddr,
     grprt,
     gwprt,
     rempty,
     rdy
     
     );



parameter           ADDR = 8;



input               rrst;
input               rclk;
input               ren;
output [ADDR-1:0]   raddr;
output [ADDR:0]     grprt;
input [ADDR:0]      gwprt;
output              rempty;
output              rdy;



wire                rrst;
wire                rclk;
wire                ren;
wire [ADDR-1:0]     raddr;
wire [ADDR:0]       grprt;
wire [ADDR:0]       gwprt;
wire                rempty;
wire                rdy;



wire [ADDR:0]       addr;
wire [ADDR:0]       nxt_addr;
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)   cr_addr(rclk,rrst,nxt_addr,addr);
wire [ADDR:0]       gaddr;
wire [ADDR:0]       nxt_gaddr;
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)    cr_gaddr(rclk,rrst,nxt_gaddr,gaddr);
wire                inc;
assign              inc = (~rempty) & ren;
assign              nxt_addr = addr + inc;
af4eos_agg_bin2gray #(ADDR+1) bin2gray(nxt_addr,nxt_gaddr);
wire [ADDR:0]       gwprt1,gwprt2;
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)   crgwprt1(rclk,rrst,gwprt ,gwprt1);
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)   crgwprt2(rclk,rrst,gwprt1,gwprt2);
wire                empty;
assign              empty = (nxt_gaddr==gwprt2);


assign              raddr = addr[ADDR-1:0];
assign              grprt = gaddr;
fflopnx #(1,1)       cr_rempty(rclk,rrst,empty,rempty);
assign              rdy = ~rrst;



endmodule
module af4eos_agg_rprt_ctrl
    (
     rrst,
     rclk,
     ren,
     raddr,
     grprt,
     gwprt,
     rempty,
     rdy
     
     );




parameter           ADDR = 8;



input               rrst;
input               rclk;
input               ren;
output [ADDR-1:0]   raddr;
output [ADDR:0]     grprt;
input [ADDR:0]      gwprt;
output              rempty;
output              rdy;



wire                rrst;
wire                rclk;
wire                ren;
wire [ADDR-1:0]     raddr;
wire [ADDR:0]       grprt;
wire [ADDR:0]       gwprt;
wire                rempty;
wire                rdy;



wire [ADDR:0]       addr;
wire [ADDR:0]       nxt_addr;
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)   cr_addr(rclk,rrst,nxt_addr,addr);
wire [ADDR:0]       gaddr;
wire [ADDR:0]       nxt_gaddr;
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)    cr_gaddr(rclk,rrst,nxt_gaddr,gaddr);
wire                inc;
assign              inc = (~rempty) & ren;
assign              nxt_addr = addr + inc;
af4eos_agg_bin2gray #(ADDR+1) bin2gray(nxt_addr,nxt_gaddr);
wire [ADDR:0]       gwprt1,gwprt2;
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)   crgwprt1(rclk,rrst,gwprt ,gwprt1);
tc141_fflopx #(ADDR+1,{ADDR+1{1'b0}},1)   crgwprt2(rclk,rrst,gwprt1,gwprt2);
wire                empty;
assign              empty = (nxt_gaddr==gwprt2);


assign              raddr = addr[ADDR-1:0];
assign              grprt = gaddr;
fflopnx #(1,1)       cr_rempty(rclk,rrst,empty,rempty);
assign              rdy = ~rrst;



endmodule