data/full_repos/permissive/458737381/src/verilog-parser/tests/pcx_dp_macc_l.v
1: b'%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/pcx_dp_macc_l.v:29: Cannot find include file: sys.h\n`include "sys.h" // system level definition file which contains the  \n         ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/458737381/src/verilog-parser/tests,data/full_repos/permissive/458737381/sys.h\n             data/full_repos/permissive/458737381/src/verilog-parser/tests,data/full_repos/permissive/458737381/sys.h.v\n             data/full_repos/permissive/458737381/src/verilog-parser/tests,data/full_repos/permissive/458737381/sys.h.sv\n             sys.h\n             sys.h.v\n             sys.h.sv\n             obj_dir/sys.h\n             obj_dir/sys.h.v\n             obj_dir/sys.h.sv\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/pcx_dp_macc_l.v:32: Cannot find include file: iop.h\n`include "iop.h" \n         ^~~~~~~\n%Error: Exiting due to 2 error(s)\n'
module pcx_dp_macc_l(

   data_out_px_l, scan_out, shiftenable_buf, 

   arb_pcxdp_qsel1_pa, arb_pcxdp_qsel0_pa, arb_pcxdp_grant_pa, 
   arb_pcxdp_shift_px, arb_pcxdp_q0_hold_pa, src_pcx_data_pa, 
   data_crit_px_l, data_ncrit_px_l, rclk, scan_in, shiftenable
   );	

   output [129:0] data_out_px_l;
   output 		   scan_out;
   output 		   shiftenable_buf;
   
   input  	           arb_pcxdp_qsel1_pa;
   input  	           arb_pcxdp_qsel0_pa;
   input 		   arb_pcxdp_grant_pa;
   input 		   arb_pcxdp_shift_px;
   input 		   arb_pcxdp_q0_hold_pa;
   
   input [129:0]  src_pcx_data_pa;
   input [129:0]  data_crit_px_l;   
   input [129:0]  data_ncrit_px_l;   

   input 		   rclk;

   input 		   scan_in;
   input 		   shiftenable;
   
   wire 		   grant_px;
   wire [129:0]   q0_datain_pa;
   wire [129:0]   q1_dataout, q0_dataout;
   wire [129:0]   data_px_l;
   wire 		   clkq0, clkq1;

   reg 			   clkenq0, clkenq1;





assign shiftenable_buf  =  shiftenable;


wire   se_l ;
assign se_l  = ~shiftenable ;


clken_buf ck0 (
	       .clk  (clkq0),
	       .rclk (rclk),
	       .enb_l(~arb_pcxdp_q0_hold_pa),
	       .tmb_l(se_l));

clken_buf ck1 (
	       .clk  (clkq1),
	       .rclk (rclk),
	       .enb_l(~arb_pcxdp_qsel1_pa),
	       .tmb_l(se_l));
   
   

   


   dff_s   #(1) dff_pcx_grin_r(
	    .din           (arb_pcxdp_grant_pa),
	    .q             (grant_px),
	    .clk           (rclk),
	    .se            (1'b0),
	    .si            (1'b0),
	    .so            ());


   
   dff_s   #(130) dff_pcx_datain_q1(
	    .din           (src_pcx_data_pa[129:0]),
	    .q             (q1_dataout[129:0]),
	    .clk           (clkq1),
	    .se            (1'b0),
	    .si            (),
	    .so            ());


 
assign q0_datain_pa[129:0] = 
             (arb_pcxdp_qsel0_pa ? src_pcx_data_pa[129:0] : 130'd0) |
	     (arb_pcxdp_shift_px ? q1_dataout[129:0] : 130'd0) ;
  
   
   dff_s   #(130) dff_pcx_datain_q0(
	    .din           (q0_datain_pa[129:0]),
	    .q             (q0_dataout[129:0]),
	    .clk           (clkq0),
	    .se            (1'b0),
	    .si            (),
	    .so            ());
   assign data_px_l[129:0] = ~(grant_px ? q0_dataout[129:0]:130'd0);
   assign data_out_px_l[129:0] = data_px_l[129:0] & data_crit_px_l[129:0] & data_ncrit_px_l[129:0];
   
 	 





   


endmodule
module pcx_dp_macc_l(

   data_out_px_l, scan_out, shiftenable_buf, 

   arb_pcxdp_qsel1_pa, arb_pcxdp_qsel0_pa, arb_pcxdp_grant_pa, 
   arb_pcxdp_shift_px, arb_pcxdp_q0_hold_pa, src_pcx_data_pa, 
   data_crit_px_l, data_ncrit_px_l, rclk, scan_in, shiftenable
   );
	

   output [129:0] data_out_px_l;
   output 		   scan_out;
   output 		   shiftenable_buf;
   
   input  	           arb_pcxdp_qsel1_pa;
   input  	           arb_pcxdp_qsel0_pa;
   input 		   arb_pcxdp_grant_pa;
   input 		   arb_pcxdp_shift_px;
   input 		   arb_pcxdp_q0_hold_pa;
   
   input [129:0]  src_pcx_data_pa;
   input [129:0]  data_crit_px_l;   
   input [129:0]  data_ncrit_px_l;   

   input 		   rclk;

   input 		   scan_in;
   input 		   shiftenable;
   
   wire 		   grant_px;
   wire [129:0]   q0_datain_pa;
   wire [129:0]   q1_dataout, q0_dataout;
   wire [129:0]   data_px_l;
   wire 		   clkq0, clkq1;

   reg 			   clkenq0, clkenq1;





assign shiftenable_buf  =  shiftenable;


wire   se_l ;
assign se_l  = ~shiftenable ;


clken_buf ck0 (
	       .clk  (clkq0),
	       .rclk (rclk),
	       .enb_l(~arb_pcxdp_q0_hold_pa),
	       .tmb_l(se_l));

clken_buf ck1 (
	       .clk  (clkq1),
	       .rclk (rclk),
	       .enb_l(~arb_pcxdp_qsel1_pa),
	       .tmb_l(se_l));
   
   

   


   dff_s   #(1) dff_pcx_grin_r(
	    .din           (arb_pcxdp_grant_pa),
	    .q             (grant_px),
	    .clk           (rclk),
	    .se            (1'b0),
	    .si            (1'b0),
	    .so            ());


   
   dff_s   #(130) dff_pcx_datain_q1(
	    .din           (src_pcx_data_pa[129:0]),
	    .q             (q1_dataout[129:0]),
	    .clk           (clkq1),
	    .se            (1'b0),
	    .si            (),
	    .so            ());


 
assign q0_datain_pa[129:0] = 
             (arb_pcxdp_qsel0_pa ? src_pcx_data_pa[129:0] : 130'd0) |
	     (arb_pcxdp_shift_px ? q1_dataout[129:0] : 130'd0) ;
  
   
   dff_s   #(130) dff_pcx_datain_q0(
	    .din           (q0_datain_pa[129:0]),
	    .q             (q0_dataout[129:0]),
	    .clk           (clkq0),
	    .se            (1'b0),
	    .si            (),
	    .so            ());
   assign data_px_l[129:0] = ~(grant_px ? q0_dataout[129:0]:130'd0);
   assign data_out_px_l[129:0] = data_px_l[129:0] & data_crit_px_l[129:0] & data_ncrit_px_l[129:0];
   
 	 





   


endmodule