module aq_hpcp_adder_sel(
  event01_adder,
  event02_adder,
  event03_adder,
  event04_adder,
  event05_adder,
  event06_adder,
  event07_adder,
  event08_adder,
  event09_adder,
  event10_adder,
  event11_adder,
  event12_adder,
  event13_adder,
  event14_adder,
  event15_adder,
  event16_adder,
  event17_adder,
  event18_adder,
  event19_adder,
  event20_adder,
  event21_adder,
  event22_adder,
  event23_adder,
  event24_adder,
  event25_adder,
  event26_adder,
  event27_adder,
  event28_adder,
  event29_adder,
  event30_adder,
  event31_adder,
  event32_adder,
  event33_adder,
  event34_adder,
  event35_adder,
  event36_adder,
  event37_adder,
  event38_adder,
  event39_adder,
  event40_adder,
  event41_adder,
  event42_adder,
  mhpmcntx_adder,
  mhpmevtx_value
);

// &Ports; @23
input           event01_adder; 
input           event02_adder; 
input           event03_adder; 
input           event04_adder; 
input           event05_adder; 
input           event06_adder; 
input           event07_adder; 
input           event08_adder; 
input           event09_adder; 
input           event10_adder; 
input           event11_adder; 
input           event12_adder; 
input           event13_adder; 
input           event14_adder; 
input           event15_adder; 
input           event16_adder; 
input           event17_adder; 
input           event18_adder; 
input           event19_adder; 
input           event20_adder; 
input           event21_adder; 
input           event22_adder; 
input           event23_adder; 
input           event24_adder; 
input           event25_adder; 
input           event26_adder; 
input           event27_adder; 
input           event28_adder; 
input           event29_adder; 
input           event30_adder; 
input           event31_adder; 
input           event32_adder; 
input           event33_adder; 
input           event34_adder; 
input           event35_adder; 
input           event36_adder; 
input           event37_adder; 
input           event38_adder; 
input           event39_adder; 
input           event40_adder; 
input           event41_adder; 
input           event42_adder; 
input   [63:0]  mhpmevtx_value; 
output          mhpmcntx_adder; 

// &Regs; @24
reg             mhpmcntx_adder; 

// &Wires @25
wire            event01_adder; 
wire            event02_adder; 
wire            event03_adder; 
wire            event04_adder; 
wire            event05_adder; 
wire            event06_adder; 
wire            event07_adder; 
wire            event08_adder; 
wire            event09_adder; 
wire            event10_adder; 
wire            event11_adder; 
wire            event12_adder; 
wire            event13_adder; 
wire            event14_adder; 
wire            event15_adder; 
wire            event16_adder; 
wire            event17_adder; 
wire            event18_adder; 
wire            event19_adder; 
wire            event20_adder; 
wire            event21_adder; 
wire            event22_adder; 
wire            event23_adder; 
wire            event24_adder; 
wire            event25_adder; 
wire            event26_adder; 
wire            event27_adder; 
wire            event28_adder; 
wire            event29_adder; 
wire            event30_adder; 
wire            event31_adder; 
wire            event32_adder; 
wire            event33_adder; 
wire            event34_adder; 
wire            event35_adder; 
wire            event36_adder; 
wire            event37_adder; 
wire            event38_adder; 
wire            event39_adder; 
wire            event40_adder; 
wire            event41_adder; 
wire            event42_adder; 
wire    [63:0]  mhpmevtx_value; 




// &Force("bus","mhpmevtx_value",63,0); @29
// &CombBeg; @30
always @( event06_adder
       or event41_adder
       or event07_adder
       or event21_adder
       or event32_adder
       or event10_adder
       or event13_adder
       or event05_adder
       or event04_adder
       or event19_adder
       or event36_adder
       or event29_adder
       or event15_adder
       or event16_adder
       or event11_adder
       or event39_adder
       or event33_adder
       or event27_adder
       or event20_adder
       or event17_adder
       or event23_adder
       or event24_adder
       or event01_adder
       or event26_adder
       or event30_adder
       or event25_adder
       or event09_adder
       or event42_adder
       or event34_adder
       or event02_adder
       or event03_adder
       or event28_adder
       or event35_adder
       or event37_adder
       or event18_adder
       or event38_adder
       or event31_adder
       or event12_adder
       or event40_adder
       or mhpmevtx_value[5:0]
       or event14_adder
       or event22_adder
       or event08_adder)
begin
case(mhpmevtx_value[5:0])
  6'd1   : mhpmcntx_adder = event01_adder;
  6'd2   : mhpmcntx_adder = event02_adder;
  6'd3   : mhpmcntx_adder = event03_adder;
  6'd4   : mhpmcntx_adder = event04_adder;
  6'd5   : mhpmcntx_adder = event05_adder;
  6'd6   : mhpmcntx_adder = event06_adder;
  6'd7   : mhpmcntx_adder = event07_adder;
  6'd8   : mhpmcntx_adder = event08_adder;
  6'd9   : mhpmcntx_adder = event09_adder;
  6'd10  : mhpmcntx_adder = event10_adder;
  6'd11  : mhpmcntx_adder = event11_adder;
  6'd12  : mhpmcntx_adder = event12_adder;
  6'd13  : mhpmcntx_adder = event13_adder;
  6'd14  : mhpmcntx_adder = event14_adder;
  6'd15  : mhpmcntx_adder = event15_adder;
  6'd16  : mhpmcntx_adder = event16_adder;
  6'd17  : mhpmcntx_adder = event17_adder;
  6'd18  : mhpmcntx_adder = event18_adder;
  6'd19  : mhpmcntx_adder = event19_adder;
  6'd20  : mhpmcntx_adder = event20_adder;
  6'd21  : mhpmcntx_adder = event21_adder;
  6'd22  : mhpmcntx_adder = event22_adder;
  6'd23  : mhpmcntx_adder = event23_adder;
  6'd24  : mhpmcntx_adder = event24_adder;
  6'd25  : mhpmcntx_adder = event25_adder;
  6'd26  : mhpmcntx_adder = event26_adder;
  6'd27  : mhpmcntx_adder = event27_adder;
  6'd28  : mhpmcntx_adder = event28_adder;
  6'd29  : mhpmcntx_adder = event29_adder;
  6'd30  : mhpmcntx_adder = event30_adder;
  6'd31  : mhpmcntx_adder = event31_adder;
  6'd32  : mhpmcntx_adder = event32_adder;
  6'd33  : mhpmcntx_adder = event33_adder;
  6'd34  : mhpmcntx_adder = event34_adder;
  6'd35  : mhpmcntx_adder = event35_adder;
  6'd36  : mhpmcntx_adder = event36_adder;
  6'd37  : mhpmcntx_adder = event37_adder;
  6'd38  : mhpmcntx_adder = event38_adder;
  6'd39  : mhpmcntx_adder = event39_adder;
  6'd40  : mhpmcntx_adder = event40_adder;
  6'd41  : mhpmcntx_adder = event41_adder;
  6'd42  : mhpmcntx_adder = event42_adder;
  default: mhpmcntx_adder = 1'bx;
endcase
// &CombEnd; @76
end

// &ModuleEnd; @78
endmodule