//
// Generated by Bluespec Compiler, version 2018.10.beta1 (build e1df8052c, 2018-10-17)
//
//
//
//
// Ports:
// Name                         I/O  size props
// RDY_hart0_server_reset_request_put  O     1 reg
// hart0_server_reset_response_get  O     1 reg
// RDY_hart0_server_reset_response_get  O     1 reg
// imem_master_awvalid            O     1
// imem_master_awid               O     4 reg
// imem_master_awaddr             O    64 reg
// imem_master_awlen              O     8 reg
// imem_master_awsize             O     3 reg
// imem_master_awburst            O     2 reg
// imem_master_awlock             O     1 reg
// imem_master_awcache            O     4 reg
// imem_master_awprot             O     3 reg
// imem_master_awqos              O     4 reg
// imem_master_awregion           O     4 reg
// imem_master_wvalid             O     1
// imem_master_wid                O     4 reg
// imem_master_wdata              O    64 reg
// imem_master_wstrb              O     8 reg
// imem_master_wlast              O     1 reg
// imem_master_bready             O     1
// imem_master_arvalid            O     1
// imem_master_arid               O     4 reg
// imem_master_araddr             O    64 reg
// imem_master_arlen              O     8 reg
// imem_master_arsize             O     3 reg
// imem_master_arburst            O     2 reg
// imem_master_arlock             O     1 reg
// imem_master_arcache            O     4 reg
// imem_master_arprot             O     3 reg
// imem_master_arqos              O     4 reg
// imem_master_arregion           O     4 reg
// imem_master_rready             O     1
// dmem_master_awvalid            O     1
// dmem_master_awid               O     4 reg
// dmem_master_awaddr             O    64 reg
// dmem_master_awlen              O     8 reg
// dmem_master_awsize             O     3 reg
// dmem_master_awburst            O     2 reg
// dmem_master_awlock             O     1 reg
// dmem_master_awcache            O     4 reg
// dmem_master_awprot             O     3 reg
// dmem_master_awqos              O     4 reg
// dmem_master_awregion           O     4 reg
// dmem_master_wvalid             O     1
// dmem_master_wid                O     4 reg
// dmem_master_wdata              O    64 reg
// dmem_master_wstrb              O     8 reg
// dmem_master_wlast              O     1 reg
// dmem_master_bready             O     1
// dmem_master_arvalid            O     1
// dmem_master_arid               O     4 reg
// dmem_master_araddr             O    64 reg
// dmem_master_arlen              O     8 reg
// dmem_master_arsize             O     3 reg
// dmem_master_arburst            O     2 reg
// dmem_master_arlock             O     1 reg
// dmem_master_arcache            O     4 reg
// dmem_master_arprot             O     3 reg
// dmem_master_arqos              O     4 reg
// dmem_master_arregion           O     4 reg
// dmem_master_rready             O     1
// RDY_set_verbosity              O     1 const
// CLK                            I     1 clock
// RST_N                          I     1 reset
// hart0_server_reset_request_put  I     1 reg
// imem_master_awready            I     1
// imem_master_wready             I     1
// imem_master_bvalid             I     1
// imem_master_bid                I     4 reg
// imem_master_bresp              I     2 reg
// imem_master_arready            I     1
// imem_master_rvalid             I     1
// imem_master_rid                I     4 reg
// imem_master_rdata              I    64 reg
// imem_master_rresp              I     2 reg
// imem_master_rlast              I     1 reg
// dmem_master_awready            I     1
// dmem_master_wready             I     1
// dmem_master_bvalid             I     1
// dmem_master_bid                I     4 reg
// dmem_master_bresp              I     2 reg
// dmem_master_arready            I     1
// dmem_master_rvalid             I     1
// dmem_master_rid                I     4 reg
// dmem_master_rdata              I    64 reg
// dmem_master_rresp              I     2 reg
// dmem_master_rlast              I     1 reg
// m_external_interrupt_req_set_not_clear  I     1 reg
// s_external_interrupt_req_set_not_clear  I     1 reg
// software_interrupt_req_set_not_clear  I     1 reg
// timer_interrupt_req_set_not_clear  I     1 reg
// nmi_req_set_not_clear          I     1
// set_verbosity_verbosity        I     4 reg
// set_verbosity_logdelay         I    64 reg
// EN_hart0_server_reset_request_put  I     1
// EN_set_verbosity               I     1
// EN_hart0_server_reset_response_get  I     1
//
// Combinational paths from inputs to outputs:
//   (imem_master_awready, imem_master_wready) -> imem_master_bready
//   (imem_master_awready,
//    imem_master_wready,
//    imem_master_arready,
//    dmem_master_awready,
//    dmem_master_wready) -> imem_master_rready
//   (imem_master_awready,
//    imem_master_wready,
//    dmem_master_awready,
//    dmem_master_wready,
//    dmem_master_arready) -> dmem_master_rready
//   (dmem_master_awready, dmem_master_wready) -> dmem_master_bready
//
//

`ifdef BSV_ASSIGNMENT_DELAY
`else
  `define BSV_ASSIGNMENT_DELAY
`endif

`ifdef BSV_POSITIVE_RESET
  `define BSV_RESET_VALUE 1'b1
  `define BSV_RESET_EDGE posedge
`else
  `define BSV_RESET_VALUE 1'b0
  `define BSV_RESET_EDGE negedge
`endif

module mkCPU(CLK,
	     RST_N,

	     hart0_server_reset_request_put,
	     EN_hart0_server_reset_request_put,
	     RDY_hart0_server_reset_request_put,

	     EN_hart0_server_reset_response_get,
	     hart0_server_reset_response_get,
	     RDY_hart0_server_reset_response_get,

	     imem_master_awvalid,

	     imem_master_awid,

	     imem_master_awaddr,

	     imem_master_awlen,

	     imem_master_awsize,

	     imem_master_awburst,

	     imem_master_awlock,

	     imem_master_awcache,

	     imem_master_awprot,

	     imem_master_awqos,

	     imem_master_awregion,

	     imem_master_awready,

	     imem_master_wvalid,

	     imem_master_wid,

	     imem_master_wdata,

	     imem_master_wstrb,

	     imem_master_wlast,

	     imem_master_wready,

	     imem_master_bvalid,
	     imem_master_bid,
	     imem_master_bresp,

	     imem_master_bready,

	     imem_master_arvalid,

	     imem_master_arid,

	     imem_master_araddr,

	     imem_master_arlen,

	     imem_master_arsize,

	     imem_master_arburst,

	     imem_master_arlock,

	     imem_master_arcache,

	     imem_master_arprot,

	     imem_master_arqos,

	     imem_master_arregion,

	     imem_master_arready,

	     imem_master_rvalid,
	     imem_master_rid,
	     imem_master_rdata,
	     imem_master_rresp,
	     imem_master_rlast,

	     imem_master_rready,

	     dmem_master_awvalid,

	     dmem_master_awid,

	     dmem_master_awaddr,

	     dmem_master_awlen,

	     dmem_master_awsize,

	     dmem_master_awburst,

	     dmem_master_awlock,

	     dmem_master_awcache,

	     dmem_master_awprot,

	     dmem_master_awqos,

	     dmem_master_awregion,

	     dmem_master_awready,

	     dmem_master_wvalid,

	     dmem_master_wid,

	     dmem_master_wdata,

	     dmem_master_wstrb,

	     dmem_master_wlast,

	     dmem_master_wready,

	     dmem_master_bvalid,
	     dmem_master_bid,
	     dmem_master_bresp,

	     dmem_master_bready,

	     dmem_master_arvalid,

	     dmem_master_arid,

	     dmem_master_araddr,

	     dmem_master_arlen,

	     dmem_master_arsize,

	     dmem_master_arburst,

	     dmem_master_arlock,

	     dmem_master_arcache,

	     dmem_master_arprot,

	     dmem_master_arqos,

	     dmem_master_arregion,

	     dmem_master_arready,

	     dmem_master_rvalid,
	     dmem_master_rid,
	     dmem_master_rdata,
	     dmem_master_rresp,
	     dmem_master_rlast,

	     dmem_master_rready,

	     m_external_interrupt_req_set_not_clear,

	     s_external_interrupt_req_set_not_clear,

	     software_interrupt_req_set_not_clear,

	     timer_interrupt_req_set_not_clear,

	     nmi_req_set_not_clear,

	     set_verbosity_verbosity,
	     set_verbosity_logdelay,
	     EN_set_verbosity,
	     RDY_set_verbosity);
  input  CLK;
  input  RST_N;

  // action method hart0_server_reset_request_put
  input  hart0_server_reset_request_put;
  input  EN_hart0_server_reset_request_put;
  output RDY_hart0_server_reset_request_put;

  // actionvalue method hart0_server_reset_response_get
  input  EN_hart0_server_reset_response_get;
  output hart0_server_reset_response_get;
  output RDY_hart0_server_reset_response_get;

  // value method imem_master_m_awvalid
  output imem_master_awvalid;

  // value method imem_master_m_awid
  output [3 : 0] imem_master_awid;

  // value method imem_master_m_awaddr
  output [63 : 0] imem_master_awaddr;

  // value method imem_master_m_awlen
  output [7 : 0] imem_master_awlen;

  // value method imem_master_m_awsize
  output [2 : 0] imem_master_awsize;

  // value method imem_master_m_awburst
  output [1 : 0] imem_master_awburst;

  // value method imem_master_m_awlock
  output imem_master_awlock;

  // value method imem_master_m_awcache
  output [3 : 0] imem_master_awcache;

  // value method imem_master_m_awprot
  output [2 : 0] imem_master_awprot;

  // value method imem_master_m_awqos
  output [3 : 0] imem_master_awqos;

  // value method imem_master_m_awregion
  output [3 : 0] imem_master_awregion;

  // value method imem_master_m_awuser

  // action method imem_master_m_awready
  input  imem_master_awready;

  // value method imem_master_m_wvalid
  output imem_master_wvalid;

  // value method imem_master_m_wid
  output [3 : 0] imem_master_wid;

  // value method imem_master_m_wdata
  output [63 : 0] imem_master_wdata;

  // value method imem_master_m_wstrb
  output [7 : 0] imem_master_wstrb;

  // value method imem_master_m_wlast
  output imem_master_wlast;

  // value method imem_master_m_wuser

  // action method imem_master_m_wready
  input  imem_master_wready;

  // action method imem_master_m_bvalid
  input  imem_master_bvalid;
  input  [3 : 0] imem_master_bid;
  input  [1 : 0] imem_master_bresp;

  // value method imem_master_m_bready
  output imem_master_bready;

  // value method imem_master_m_arvalid
  output imem_master_arvalid;

  // value method imem_master_m_arid
  output [3 : 0] imem_master_arid;

  // value method imem_master_m_araddr
  output [63 : 0] imem_master_araddr;

  // value method imem_master_m_arlen
  output [7 : 0] imem_master_arlen;

  // value method imem_master_m_arsize
  output [2 : 0] imem_master_arsize;

  // value method imem_master_m_arburst
  output [1 : 0] imem_master_arburst;

  // value method imem_master_m_arlock
  output imem_master_arlock;

  // value method imem_master_m_arcache
  output [3 : 0] imem_master_arcache;

  // value method imem_master_m_arprot
  output [2 : 0] imem_master_arprot;

  // value method imem_master_m_arqos
  output [3 : 0] imem_master_arqos;

  // value method imem_master_m_arregion
  output [3 : 0] imem_master_arregion;

  // value method imem_master_m_aruser

  // action method imem_master_m_arready
  input  imem_master_arready;

  // action method imem_master_m_rvalid
  input  imem_master_rvalid;
  input  [3 : 0] imem_master_rid;
  input  [63 : 0] imem_master_rdata;
  input  [1 : 0] imem_master_rresp;
  input  imem_master_rlast;

  // value method imem_master_m_rready
  output imem_master_rready;

  // value method dmem_master_m_awvalid
  output dmem_master_awvalid;

  // value method dmem_master_m_awid
  output [3 : 0] dmem_master_awid;

  // value method dmem_master_m_awaddr
  output [63 : 0] dmem_master_awaddr;

  // value method dmem_master_m_awlen
  output [7 : 0] dmem_master_awlen;

  // value method dmem_master_m_awsize
  output [2 : 0] dmem_master_awsize;

  // value method dmem_master_m_awburst
  output [1 : 0] dmem_master_awburst;

  // value method dmem_master_m_awlock
  output dmem_master_awlock;

  // value method dmem_master_m_awcache
  output [3 : 0] dmem_master_awcache;

  // value method dmem_master_m_awprot
  output [2 : 0] dmem_master_awprot;

  // value method dmem_master_m_awqos
  output [3 : 0] dmem_master_awqos;

  // value method dmem_master_m_awregion
  output [3 : 0] dmem_master_awregion;

  // value method dmem_master_m_awuser

  // action method dmem_master_m_awready
  input  dmem_master_awready;

  // value method dmem_master_m_wvalid
  output dmem_master_wvalid;

  // value method dmem_master_m_wid
  output [3 : 0] dmem_master_wid;

  // value method dmem_master_m_wdata
  output [63 : 0] dmem_master_wdata;

  // value method dmem_master_m_wstrb
  output [7 : 0] dmem_master_wstrb;

  // value method dmem_master_m_wlast
  output dmem_master_wlast;

  // value method dmem_master_m_wuser

  // action method dmem_master_m_wready
  input  dmem_master_wready;

  // action method dmem_master_m_bvalid
  input  dmem_master_bvalid;
  input  [3 : 0] dmem_master_bid;
  input  [1 : 0] dmem_master_bresp;

  // value method dmem_master_m_bready
  output dmem_master_bready;

  // value method dmem_master_m_arvalid
  output dmem_master_arvalid;

  // value method dmem_master_m_arid
  output [3 : 0] dmem_master_arid;

  // value method dmem_master_m_araddr
  output [63 : 0] dmem_master_araddr;

  // value method dmem_master_m_arlen
  output [7 : 0] dmem_master_arlen;

  // value method dmem_master_m_arsize
  output [2 : 0] dmem_master_arsize;

  // value method dmem_master_m_arburst
  output [1 : 0] dmem_master_arburst;

  // value method dmem_master_m_arlock
  output dmem_master_arlock;

  // value method dmem_master_m_arcache
  output [3 : 0] dmem_master_arcache;

  // value method dmem_master_m_arprot
  output [2 : 0] dmem_master_arprot;

  // value method dmem_master_m_arqos
  output [3 : 0] dmem_master_arqos;

  // value method dmem_master_m_arregion
  output [3 : 0] dmem_master_arregion;

  // value method dmem_master_m_aruser

  // action method dmem_master_m_arready
  input  dmem_master_arready;

  // action method dmem_master_m_rvalid
  input  dmem_master_rvalid;
  input  [3 : 0] dmem_master_rid;
  input  [63 : 0] dmem_master_rdata;
  input  [1 : 0] dmem_master_rresp;
  input  dmem_master_rlast;

  // value method dmem_master_m_rready
  output dmem_master_rready;

  // action method m_external_interrupt_req
  input  m_external_interrupt_req_set_not_clear;

  // action method s_external_interrupt_req
  input  s_external_interrupt_req_set_not_clear;

  // action method software_interrupt_req
  input  software_interrupt_req_set_not_clear;

  // action method timer_interrupt_req
  input  timer_interrupt_req_set_not_clear;

  // action method nmi_req
  input  nmi_req_set_not_clear;

  // action method set_verbosity
  input  [3 : 0] set_verbosity_verbosity;
  input  [63 : 0] set_verbosity_logdelay;
  input  EN_set_verbosity;
  output RDY_set_verbosity;

  // signals for module outputs
  wire [63 : 0] dmem_master_araddr,
		dmem_master_awaddr,
		dmem_master_wdata,
		imem_master_araddr,
		imem_master_awaddr,
		imem_master_wdata;
  wire [7 : 0] dmem_master_arlen,
	       dmem_master_awlen,
	       dmem_master_wstrb,
	       imem_master_arlen,
	       imem_master_awlen,
	       imem_master_wstrb;
  wire [3 : 0] dmem_master_arcache,
	       dmem_master_arid,
	       dmem_master_arqos,
	       dmem_master_arregion,
	       dmem_master_awcache,
	       dmem_master_awid,
	       dmem_master_awqos,
	       dmem_master_awregion,
	       dmem_master_wid,
	       imem_master_arcache,
	       imem_master_arid,
	       imem_master_arqos,
	       imem_master_arregion,
	       imem_master_awcache,
	       imem_master_awid,
	       imem_master_awqos,
	       imem_master_awregion,
	       imem_master_wid;
  wire [2 : 0] dmem_master_arprot,
	       dmem_master_arsize,
	       dmem_master_awprot,
	       dmem_master_awsize,
	       imem_master_arprot,
	       imem_master_arsize,
	       imem_master_awprot,
	       imem_master_awsize;
  wire [1 : 0] dmem_master_arburst,
	       dmem_master_awburst,
	       imem_master_arburst,
	       imem_master_awburst;
  wire RDY_hart0_server_reset_request_put,
       RDY_hart0_server_reset_response_get,
       RDY_set_verbosity,
       dmem_master_arlock,
       dmem_master_arvalid,
       dmem_master_awlock,
       dmem_master_awvalid,
       dmem_master_bready,
       dmem_master_rready,
       dmem_master_wlast,
       dmem_master_wvalid,
       hart0_server_reset_response_get,
       imem_master_arlock,
       imem_master_arvalid,
       imem_master_awlock,
       imem_master_awvalid,
       imem_master_bready,
       imem_master_rready,
       imem_master_wlast,
       imem_master_wvalid;

  // register cfg_logdelay
  reg [63 : 0] cfg_logdelay;
  wire [63 : 0] cfg_logdelay$D_IN;
  wire cfg_logdelay$EN;

  // register cfg_verbosity
  reg [3 : 0] cfg_verbosity;
  wire [3 : 0] cfg_verbosity$D_IN;
  wire cfg_verbosity$EN;

  // register imem_rg_f3
  reg [2 : 0] imem_rg_f3;
  wire [2 : 0] imem_rg_f3$D_IN;
  wire imem_rg_f3$EN;

  // register imem_rg_instr_15_0
  reg [15 : 0] imem_rg_instr_15_0;
  wire [15 : 0] imem_rg_instr_15_0$D_IN;
  wire imem_rg_instr_15_0$EN;

  // register imem_rg_mstatus_MXR
  reg imem_rg_mstatus_MXR;
  wire imem_rg_mstatus_MXR$D_IN, imem_rg_mstatus_MXR$EN;

  // register imem_rg_pc
  reg [63 : 0] imem_rg_pc;
  reg [63 : 0] imem_rg_pc$D_IN;
  wire imem_rg_pc$EN;

  // register imem_rg_priv
  reg [1 : 0] imem_rg_priv;
  wire [1 : 0] imem_rg_priv$D_IN;
  wire imem_rg_priv$EN;

  // register imem_rg_satp
  reg [63 : 0] imem_rg_satp;
  wire [63 : 0] imem_rg_satp$D_IN;
  wire imem_rg_satp$EN;

  // register imem_rg_sstatus_SUM
  reg imem_rg_sstatus_SUM;
  wire imem_rg_sstatus_SUM$D_IN, imem_rg_sstatus_SUM$EN;

  // register imem_rg_tval
  reg [63 : 0] imem_rg_tval;
  reg [63 : 0] imem_rg_tval$D_IN;
  wire imem_rg_tval$EN;

  // register rg_cur_priv
  reg [1 : 0] rg_cur_priv;
  reg [1 : 0] rg_cur_priv$D_IN;
  wire rg_cur_priv$EN;

  // register rg_mstatus_MXR
  reg rg_mstatus_MXR;
  wire rg_mstatus_MXR$D_IN, rg_mstatus_MXR$EN;

  // register rg_next_pc
  reg [63 : 0] rg_next_pc;
  reg [63 : 0] rg_next_pc$D_IN;
  wire rg_next_pc$EN;

  // register rg_run_on_reset
  reg rg_run_on_reset;
  wire rg_run_on_reset$D_IN, rg_run_on_reset$EN;

  // register rg_sstatus_SUM
  reg rg_sstatus_SUM;
  wire rg_sstatus_SUM$D_IN, rg_sstatus_SUM$EN;

  // register rg_start_CPI_cycles
  reg [63 : 0] rg_start_CPI_cycles;
  wire [63 : 0] rg_start_CPI_cycles$D_IN;
  wire rg_start_CPI_cycles$EN;

  // register rg_start_CPI_instrs
  reg [63 : 0] rg_start_CPI_instrs;
  wire [63 : 0] rg_start_CPI_instrs$D_IN;
  wire rg_start_CPI_instrs$EN;

  // register rg_state
  reg [3 : 0] rg_state;
  reg [3 : 0] rg_state$D_IN;
  wire rg_state$EN;

  // register stage1_rg_full
  reg stage1_rg_full;
  reg stage1_rg_full$D_IN;
  wire stage1_rg_full$EN;

  // register stage2_rg_full
  reg stage2_rg_full;
  reg stage2_rg_full$D_IN;
  wire stage2_rg_full$EN;

  // register stage2_rg_resetting
  reg stage2_rg_resetting;
  wire stage2_rg_resetting$D_IN, stage2_rg_resetting$EN;

  // register stage2_rg_stage2
  reg [365 : 0] stage2_rg_stage2;
  wire [365 : 0] stage2_rg_stage2$D_IN;
  wire stage2_rg_stage2$EN;

  // register stage3_rg_full
  reg stage3_rg_full;
  reg stage3_rg_full$D_IN;
  wire stage3_rg_full$EN;

  // register stage3_rg_stage3
  reg [174 : 0] stage3_rg_stage3;
  wire [174 : 0] stage3_rg_stage3$D_IN;
  wire stage3_rg_stage3$EN;

  // ports of submodule csr_regfile
  reg [63 : 0] csr_regfile$csr_trap_actions_xtval;
  reg [3 : 0] csr_regfile$csr_trap_actions_exc_code;
  reg [1 : 0] csr_regfile$csr_ret_actions_from_priv;
  wire [193 : 0] csr_regfile$csr_trap_actions;
  wire [129 : 0] csr_regfile$csr_ret_actions;
  wire [64 : 0] csr_regfile$read_csr;
  wire [63 : 0] csr_regfile$csr_trap_actions_pc,
		csr_regfile$mav_csr_write_word,
		csr_regfile$read_csr_mcycle,
		csr_regfile$read_csr_minstret,
		csr_regfile$read_mstatus,
		csr_regfile$read_satp,
		csr_regfile$read_sstatus;
  wire [27 : 0] csr_regfile$read_misa;
  wire [11 : 0] csr_regfile$access_permitted_1_csr_addr,
		csr_regfile$access_permitted_2_csr_addr,
		csr_regfile$csr_counter_read_fault_csr_addr,
		csr_regfile$mav_csr_write_csr_addr,
		csr_regfile$mav_read_csr_csr_addr,
		csr_regfile$read_csr_csr_addr,
		csr_regfile$read_csr_port2_csr_addr;
  wire [4 : 0] csr_regfile$interrupt_pending,
	       csr_regfile$ma_update_fcsr_fflags_flags;
  wire [2 : 0] csr_regfile$read_frm;
  wire [1 : 0] csr_regfile$access_permitted_1_priv,
	       csr_regfile$access_permitted_2_priv,
	       csr_regfile$csr_counter_read_fault_priv,
	       csr_regfile$csr_trap_actions_from_priv,
	       csr_regfile$interrupt_pending_cur_priv,
	       csr_regfile$ma_update_mstatus_fs_fs;
  wire csr_regfile$EN_csr_minstret_incr,
       csr_regfile$EN_csr_ret_actions,
       csr_regfile$EN_csr_trap_actions,
       csr_regfile$EN_debug,
       csr_regfile$EN_ma_update_fcsr_fflags,
       csr_regfile$EN_ma_update_mstatus_fs,
       csr_regfile$EN_mav_csr_write,
       csr_regfile$EN_mav_read_csr,
       csr_regfile$EN_server_reset_request_put,
       csr_regfile$EN_server_reset_response_get,
       csr_regfile$RDY_server_reset_request_put,
       csr_regfile$RDY_server_reset_response_get,
       csr_regfile$access_permitted_1,
       csr_regfile$access_permitted_1_read_not_write,
       csr_regfile$access_permitted_2,
       csr_regfile$access_permitted_2_read_not_write,
       csr_regfile$csr_trap_actions_interrupt,
       csr_regfile$csr_trap_actions_nmi,
       csr_regfile$m_external_interrupt_req_set_not_clear,
       csr_regfile$nmi_pending,
       csr_regfile$nmi_req_set_not_clear,
       csr_regfile$s_external_interrupt_req_set_not_clear,
       csr_regfile$software_interrupt_req_set_not_clear,
       csr_regfile$timer_interrupt_req_set_not_clear,
       csr_regfile$wfi_resume;

  // ports of submodule f_reset_reqs
  wire f_reset_reqs$CLR,
       f_reset_reqs$DEQ,
       f_reset_reqs$D_IN,
       f_reset_reqs$D_OUT,
       f_reset_reqs$EMPTY_N,
       f_reset_reqs$ENQ,
       f_reset_reqs$FULL_N;

  // ports of submodule f_reset_rsps
  wire f_reset_rsps$CLR,
       f_reset_rsps$DEQ,
       f_reset_rsps$D_IN,
       f_reset_rsps$D_OUT,
       f_reset_rsps$EMPTY_N,
       f_reset_rsps$ENQ,
       f_reset_rsps$FULL_N;

  // ports of submodule fpr_regfile
  wire [63 : 0] fpr_regfile$read_rs1,
		fpr_regfile$read_rs2,
		fpr_regfile$read_rs3,
		fpr_regfile$write_rd_rd_val;
  wire [4 : 0] fpr_regfile$read_rs1_port2_rs1,
	       fpr_regfile$read_rs1_rs1,
	       fpr_regfile$read_rs2_rs2,
	       fpr_regfile$read_rs3_rs3,
	       fpr_regfile$write_rd_rd;
  wire fpr_regfile$EN_server_reset_request_put,
       fpr_regfile$EN_server_reset_response_get,
       fpr_regfile$EN_write_rd,
       fpr_regfile$RDY_server_reset_request_put,
       fpr_regfile$RDY_server_reset_response_get;

  // ports of submodule gpr_regfile
  wire [63 : 0] gpr_regfile$read_rs1,
		gpr_regfile$read_rs2,
		gpr_regfile$write_rd_rd_val;
  wire [4 : 0] gpr_regfile$read_rs1_port2_rs1,
	       gpr_regfile$read_rs1_rs1,
	       gpr_regfile$read_rs2_rs2,
	       gpr_regfile$write_rd_rd;
  wire gpr_regfile$EN_server_reset_request_put,
       gpr_regfile$EN_server_reset_response_get,
       gpr_regfile$EN_write_rd,
       gpr_regfile$RDY_server_reset_request_put,
       gpr_regfile$RDY_server_reset_response_get;

  // ports of submodule near_mem
  reg [63 : 0] near_mem$imem_req_addr;
  reg [1 : 0] near_mem$dmem_req_op;
  reg near_mem$imem_req_mstatus_MXR, near_mem$imem_req_sstatus_SUM;
  wire [63 : 0] near_mem$dmem_master_araddr,
		near_mem$dmem_master_awaddr,
		near_mem$dmem_master_rdata,
		near_mem$dmem_master_wdata,
		near_mem$dmem_req_addr,
		near_mem$dmem_req_satp,
		near_mem$dmem_req_store_value,
		near_mem$dmem_word64,
		near_mem$imem_master_araddr,
		near_mem$imem_master_awaddr,
		near_mem$imem_master_rdata,
		near_mem$imem_master_wdata,
		near_mem$imem_pc,
		near_mem$imem_req_satp;
  wire [31 : 0] near_mem$imem_instr;
  wire [7 : 0] near_mem$dmem_master_arlen,
	       near_mem$dmem_master_awlen,
	       near_mem$dmem_master_wstrb,
	       near_mem$imem_master_arlen,
	       near_mem$imem_master_awlen,
	       near_mem$imem_master_wstrb,
	       near_mem$server_fence_request_put;
  wire [6 : 0] near_mem$dmem_req_amo_funct7;
  wire [3 : 0] near_mem$dmem_exc_code,
	       near_mem$dmem_master_arcache,
	       near_mem$dmem_master_arid,
	       near_mem$dmem_master_arqos,
	       near_mem$dmem_master_arregion,
	       near_mem$dmem_master_awcache,
	       near_mem$dmem_master_awid,
	       near_mem$dmem_master_awqos,
	       near_mem$dmem_master_awregion,
	       near_mem$dmem_master_bid,
	       near_mem$dmem_master_rid,
	       near_mem$dmem_master_wid,
	       near_mem$imem_exc_code,
	       near_mem$imem_master_arcache,
	       near_mem$imem_master_arid,
	       near_mem$imem_master_arqos,
	       near_mem$imem_master_arregion,
	       near_mem$imem_master_awcache,
	       near_mem$imem_master_awid,
	       near_mem$imem_master_awqos,
	       near_mem$imem_master_awregion,
	       near_mem$imem_master_bid,
	       near_mem$imem_master_rid,
	       near_mem$imem_master_wid;
  wire [2 : 0] near_mem$dmem_master_arprot,
	       near_mem$dmem_master_arsize,
	       near_mem$dmem_master_awprot,
	       near_mem$dmem_master_awsize,
	       near_mem$dmem_req_f3,
	       near_mem$imem_master_arprot,
	       near_mem$imem_master_arsize,
	       near_mem$imem_master_awprot,
	       near_mem$imem_master_awsize,
	       near_mem$imem_req_f3;
  wire [1 : 0] near_mem$dmem_master_arburst,
	       near_mem$dmem_master_awburst,
	       near_mem$dmem_master_bresp,
	       near_mem$dmem_master_rresp,
	       near_mem$dmem_req_priv,
	       near_mem$imem_master_arburst,
	       near_mem$imem_master_awburst,
	       near_mem$imem_master_bresp,
	       near_mem$imem_master_rresp,
	       near_mem$imem_req_priv;
  wire near_mem$EN_dmem_req,
       near_mem$EN_imem_req,
       near_mem$EN_server_fence_i_request_put,
       near_mem$EN_server_fence_i_response_get,
       near_mem$EN_server_fence_request_put,
       near_mem$EN_server_fence_response_get,
       near_mem$EN_server_reset_request_put,
       near_mem$EN_server_reset_response_get,
       near_mem$EN_sfence_vma,
       near_mem$RDY_server_fence_i_request_put,
       near_mem$RDY_server_fence_i_response_get,
       near_mem$RDY_server_fence_request_put,
       near_mem$RDY_server_fence_response_get,
       near_mem$RDY_server_reset_request_put,
       near_mem$RDY_server_reset_response_get,
       near_mem$dmem_exc,
       near_mem$dmem_master_arlock,
       near_mem$dmem_master_arready,
       near_mem$dmem_master_arvalid,
       near_mem$dmem_master_awlock,
       near_mem$dmem_master_awready,
       near_mem$dmem_master_awvalid,
       near_mem$dmem_master_bready,
       near_mem$dmem_master_bvalid,
       near_mem$dmem_master_rlast,
       near_mem$dmem_master_rready,
       near_mem$dmem_master_rvalid,
       near_mem$dmem_master_wlast,
       near_mem$dmem_master_wready,
       near_mem$dmem_master_wvalid,
       near_mem$dmem_req_mstatus_MXR,
       near_mem$dmem_req_sstatus_SUM,
       near_mem$dmem_valid,
       near_mem$imem_exc,
       near_mem$imem_is_i32_not_i16,
       near_mem$imem_master_arlock,
       near_mem$imem_master_arready,
       near_mem$imem_master_arvalid,
       near_mem$imem_master_awlock,
       near_mem$imem_master_awready,
       near_mem$imem_master_awvalid,
       near_mem$imem_master_bready,
       near_mem$imem_master_bvalid,
       near_mem$imem_master_rlast,
       near_mem$imem_master_rready,
       near_mem$imem_master_rvalid,
       near_mem$imem_master_wlast,
       near_mem$imem_master_wready,
       near_mem$imem_master_wvalid,
       near_mem$imem_valid;

  // ports of submodule soc_map
  wire [63 : 0] soc_map$m_is_IO_addr_addr,
		soc_map$m_is_mem_addr_addr,
		soc_map$m_is_near_mem_IO_addr_addr,
		soc_map$m_pc_reset_value;

  // ports of submodule stage1_f_reset_reqs
  wire stage1_f_reset_reqs$CLR,
       stage1_f_reset_reqs$DEQ,
       stage1_f_reset_reqs$EMPTY_N,
       stage1_f_reset_reqs$ENQ,
       stage1_f_reset_reqs$FULL_N;

  // ports of submodule stage1_f_reset_rsps
  wire stage1_f_reset_rsps$CLR,
       stage1_f_reset_rsps$DEQ,
       stage1_f_reset_rsps$EMPTY_N,
       stage1_f_reset_rsps$ENQ,
       stage1_f_reset_rsps$FULL_N;

  // ports of submodule stage2_f_reset_reqs
  wire stage2_f_reset_reqs$CLR,
       stage2_f_reset_reqs$DEQ,
       stage2_f_reset_reqs$EMPTY_N,
       stage2_f_reset_reqs$ENQ,
       stage2_f_reset_reqs$FULL_N;

  // ports of submodule stage2_f_reset_rsps
  wire stage2_f_reset_rsps$CLR,
       stage2_f_reset_rsps$DEQ,
       stage2_f_reset_rsps$EMPTY_N,
       stage2_f_reset_rsps$ENQ,
       stage2_f_reset_rsps$FULL_N;

  // ports of submodule stage2_fbox
  wire [63 : 0] stage2_fbox$req_v1,
		stage2_fbox$req_v2,
		stage2_fbox$req_v3,
		stage2_fbox$word_fst;
  wire [6 : 0] stage2_fbox$req_f7, stage2_fbox$req_opcode;
  wire [4 : 0] stage2_fbox$req_rs2, stage2_fbox$word_snd;
  wire [2 : 0] stage2_fbox$req_rm;
  wire stage2_fbox$EN_req,
       stage2_fbox$EN_server_reset_request_put,
       stage2_fbox$EN_server_reset_response_get,
       stage2_fbox$RDY_server_reset_request_put,
       stage2_fbox$RDY_server_reset_response_get,
       stage2_fbox$valid;

  // ports of submodule stage2_mbox
  wire [63 : 0] stage2_mbox$req_v1, stage2_mbox$req_v2, stage2_mbox$word;
  wire [3 : 0] stage2_mbox$set_verbosity_verbosity;
  wire [2 : 0] stage2_mbox$req_f3;
  wire stage2_mbox$EN_req,
       stage2_mbox$EN_req_reset,
       stage2_mbox$EN_rsp_reset,
       stage2_mbox$EN_set_verbosity,
       stage2_mbox$req_is_OP_not_OP_32,
       stage2_mbox$valid;

  // ports of submodule stage3_f_reset_reqs
  wire stage3_f_reset_reqs$CLR,
       stage3_f_reset_reqs$DEQ,
       stage3_f_reset_reqs$EMPTY_N,
       stage3_f_reset_reqs$ENQ,
       stage3_f_reset_reqs$FULL_N;

  // ports of submodule stage3_f_reset_rsps
  wire stage3_f_reset_rsps$CLR,
       stage3_f_reset_rsps$DEQ,
       stage3_f_reset_rsps$EMPTY_N,
       stage3_f_reset_rsps$ENQ,
       stage3_f_reset_rsps$FULL_N;

  // rule scheduling signals
  wire CAN_FIRE_RL_imem_rl_assert_fail,
       CAN_FIRE_RL_imem_rl_fetch_next_32b,
       CAN_FIRE_RL_rl_WFI_resume,
       CAN_FIRE_RL_rl_finish_FENCE,
       CAN_FIRE_RL_rl_finish_FENCE_I,
       CAN_FIRE_RL_rl_finish_SFENCE_VMA,
       CAN_FIRE_RL_rl_pipe,
       CAN_FIRE_RL_rl_reset_complete,
       CAN_FIRE_RL_rl_reset_from_WFI,
       CAN_FIRE_RL_rl_reset_start,
       CAN_FIRE_RL_rl_show_pipe,
       CAN_FIRE_RL_rl_stage1_CSRR_S_or_C,
       CAN_FIRE_RL_rl_stage1_CSRR_W,
       CAN_FIRE_RL_rl_stage1_FENCE,
       CAN_FIRE_RL_rl_stage1_FENCE_I,
       CAN_FIRE_RL_rl_stage1_SFENCE_VMA,
       CAN_FIRE_RL_rl_stage1_WFI,
       CAN_FIRE_RL_rl_stage1_interrupt,
       CAN_FIRE_RL_rl_stage1_restart_after_csrrx,
       CAN_FIRE_RL_rl_stage1_trap,
       CAN_FIRE_RL_rl_stage1_xRET,
       CAN_FIRE_RL_rl_stage2_nonpipe,
       CAN_FIRE_RL_rl_trap_fetch,
       CAN_FIRE_RL_stage1_rl_reset,
       CAN_FIRE_RL_stage2_rl_reset_begin,
       CAN_FIRE_RL_stage2_rl_reset_end,
       CAN_FIRE_RL_stage3_rl_reset,
       CAN_FIRE_dmem_master_m_arready,
       CAN_FIRE_dmem_master_m_awready,
       CAN_FIRE_dmem_master_m_bvalid,
       CAN_FIRE_dmem_master_m_rvalid,
       CAN_FIRE_dmem_master_m_wready,
       CAN_FIRE_hart0_server_reset_request_put,
       CAN_FIRE_hart0_server_reset_response_get,
       CAN_FIRE_imem_master_m_arready,
       CAN_FIRE_imem_master_m_awready,
       CAN_FIRE_imem_master_m_bvalid,
       CAN_FIRE_imem_master_m_rvalid,
       CAN_FIRE_imem_master_m_wready,
       CAN_FIRE_m_external_interrupt_req,
       CAN_FIRE_nmi_req,
       CAN_FIRE_s_external_interrupt_req,
       CAN_FIRE_set_verbosity,
       CAN_FIRE_software_interrupt_req,
       CAN_FIRE_timer_interrupt_req,
       WILL_FIRE_RL_imem_rl_assert_fail,
       WILL_FIRE_RL_imem_rl_fetch_next_32b,
       WILL_FIRE_RL_rl_WFI_resume,
       WILL_FIRE_RL_rl_finish_FENCE,
       WILL_FIRE_RL_rl_finish_FENCE_I,
       WILL_FIRE_RL_rl_finish_SFENCE_VMA,
       WILL_FIRE_RL_rl_pipe,
       WILL_FIRE_RL_rl_reset_complete,
       WILL_FIRE_RL_rl_reset_from_WFI,
       WILL_FIRE_RL_rl_reset_start,
       WILL_FIRE_RL_rl_show_pipe,
       WILL_FIRE_RL_rl_stage1_CSRR_S_or_C,
       WILL_FIRE_RL_rl_stage1_CSRR_W,
       WILL_FIRE_RL_rl_stage1_FENCE,
       WILL_FIRE_RL_rl_stage1_FENCE_I,
       WILL_FIRE_RL_rl_stage1_SFENCE_VMA,
       WILL_FIRE_RL_rl_stage1_WFI,
       WILL_FIRE_RL_rl_stage1_interrupt,
       WILL_FIRE_RL_rl_stage1_restart_after_csrrx,
       WILL_FIRE_RL_rl_stage1_trap,
       WILL_FIRE_RL_rl_stage1_xRET,
       WILL_FIRE_RL_rl_stage2_nonpipe,
       WILL_FIRE_RL_rl_trap_fetch,
       WILL_FIRE_RL_stage1_rl_reset,
       WILL_FIRE_RL_stage2_rl_reset_begin,
       WILL_FIRE_RL_stage2_rl_reset_end,
       WILL_FIRE_RL_stage3_rl_reset,
       WILL_FIRE_dmem_master_m_arready,
       WILL_FIRE_dmem_master_m_awready,
       WILL_FIRE_dmem_master_m_bvalid,
       WILL_FIRE_dmem_master_m_rvalid,
       WILL_FIRE_dmem_master_m_wready,
       WILL_FIRE_hart0_server_reset_request_put,
       WILL_FIRE_hart0_server_reset_response_get,
       WILL_FIRE_imem_master_m_arready,
       WILL_FIRE_imem_master_m_awready,
       WILL_FIRE_imem_master_m_bvalid,
       WILL_FIRE_imem_master_m_rvalid,
       WILL_FIRE_imem_master_m_wready,
       WILL_FIRE_m_external_interrupt_req,
       WILL_FIRE_nmi_req,
       WILL_FIRE_s_external_interrupt_req,
       WILL_FIRE_set_verbosity,
       WILL_FIRE_software_interrupt_req,
       WILL_FIRE_timer_interrupt_req;

  // inputs to muxes for submodule ports
  reg [63 : 0] MUX_csr_regfile$mav_csr_write_2__VAL_2;
  wire [63 : 0] MUX_near_mem$imem_req_2__VAL_1,
		MUX_near_mem$imem_req_2__VAL_2,
		MUX_near_mem$imem_req_2__VAL_5;
  wire [3 : 0] MUX_csr_regfile$csr_trap_actions_5__VAL_1,
	       MUX_rg_state$write_1__VAL_1,
	       MUX_rg_state$write_1__VAL_2,
	       MUX_rg_state$write_1__VAL_3;
  wire MUX_csr_regfile$mav_csr_write_1__SEL_1,
       MUX_gpr_regfile$write_rd_1__SEL_2,
       MUX_gpr_regfile$write_rd_1__SEL_3,
       MUX_imem_rg_f3$write_1__SEL_1,
       MUX_imem_rg_f3$write_1__SEL_2,
       MUX_imem_rg_mstatus_MXR$write_1__SEL_4,
       MUX_imem_rg_pc$write_1__SEL_4,
       MUX_near_mem$imem_req_1__SEL_6,
       MUX_rg_cur_priv$write_1__SEL_1,
       MUX_rg_mstatus_MXR$write_1__SEL_1,
       MUX_rg_next_pc$write_1__SEL_1,
       MUX_rg_state$write_1__SEL_1,
       MUX_rg_state$write_1__SEL_10,
       MUX_rg_state$write_1__SEL_11,
       MUX_rg_state$write_1__SEL_2,
       MUX_rg_state$write_1__SEL_3,
       MUX_rg_state$write_1__SEL_4,
       MUX_rg_state$write_1__SEL_6,
       MUX_rg_state$write_1__SEL_7,
       MUX_rg_state$write_1__SEL_8,
       MUX_rg_state$write_1__SEL_9,
       MUX_stage1_rg_full$write_1__VAL_2,
       MUX_stage2_rg_full$write_1__VAL_2;

  // remaining internal signals
  reg [63 : 0] CASE_theResult__607_BITS_6_TO_0_0b100011_alu_o_ETC__q23,
	       CASE_theResult__607_BITS_6_TO_0_0b1100111_data_ETC__q22,
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557,
	       _theResult_____1_fst__h16245,
	       alu_outputs___1_val1__h15039,
	       rs1_val__h23782,
	       value__h6429,
	       value__h6490,
	       x_out_bypass_rd_val__h6725,
	       x_out_data_to_stage2_addr__h14648,
	       x_out_data_to_stage2_val1__h14649,
	       x_out_data_to_stage3_rd_val__h6250,
	       x_out_fbypass_rd_val__h6874;
  reg [4 : 0] x_out_bypass_rd__h6724,
	      x_out_data_to_stage2_rd__h14647,
	      x_out_data_to_stage3_fpr_flags__h6249,
	      x_out_data_to_stage3_rd__h6246,
	      x_out_fbypass_rd__h6873;
  reg [3 : 0] CASE_rg_cur_priv_0b0_8_0b1_9_11__q15,
	      CASE_theResult__607_BITS_14_TO_12_0b0_4_0b1_5_11__q17,
	      CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18,
	      CASE_theResult__607_BITS_31_TO_20_0b0_CASE_rg__ETC__q16,
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1260,
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282,
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1285,
	      alu_outputs_exc_code__h15680,
	      x_out_trap_info_exc_code__h6466;
  reg [2 : 0] CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19,
	      IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373;
  reg [1 : 0] CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q1,
	      CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2,
	      CASE_stage2_rg_stage2_BITS_267_TO_265_1_IF_NOT_ETC__q3;
  reg CASE_theResult__607_BITS_6_TO_0_0b1000011_NOT__ETC__q11,
      CASE_theResult__607_BITS_6_TO_0_0b1000011_theR_ETC__q13,
      CASE_theResult__607_BITS_6_TO_0_0b11_NOT_theRe_ETC__q12,
      CASE_theResult__607_BITS_6_TO_0_0b11_theResult_ETC__q14,
      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004,
      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1012,
      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021,
      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194,
      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1202,
      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697,
      IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d153,
      IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163,
      IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d198,
      IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d232;
  wire [127 : 0] csr_regfile_read_csr_mcycle__6_MINUS_rg_start__ETC___d2005;
  wire [63 : 0] IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1558,
		IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1559,
		IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1576,
		IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1432,
		IF_csr_regfile_read_csr_IF_NOT_stage1_rg_full__ETC___d1952,
		SEXT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLU_ETC___d1441,
		_theResult_____1_fst__h16238,
		_theResult_____1_fst__h16273,
		_theResult_____1_fst_rd_val__h6703,
		_theResult_____1_snd_fst_rd_val__h6859,
		_theResult_____2_fst_rd_val__h6700,
		_theResult_____2_snd_rd_val__h6856,
		_theResult____h28496,
		_theResult___fst__h16363,
		_theResult___fst__h16370,
		_theResult___fst__h16490,
		_theResult___fst_rd_val__h6714,
		_theResult___snd__h18728,
		_theResult___snd_rd_val__h6865,
		alu_outputs___1_addr__h14775,
		alu_outputs___1_addr__h14799,
		alu_outputs___1_addr__h14828,
		alu_outputs___1_addr__h15117,
		alu_outputs___1_addr__h15141,
		alu_outputs___1_val1__h14946,
		alu_outputs___1_val1__h14987,
		alu_outputs___1_val1__h15013,
		alu_outputs___1_val1__h15058,
		alu_outputs___1_val1__h15077,
		alu_outputs___1_val1__h15428,
		alu_outputs___1_val1__h15452,
		alu_outputs___1_val1__h15653,
		alu_outputs___1_val2__h15143,
		branch_target__h14754,
		cpi__h28498,
		cpifrac__h28499,
		data_to_stage2_addr__h14637,
		data_to_stage3_rd_val__h6144,
		delta_CPI_cycles__h28494,
		delta_CPI_instrs___1__h28531,
		delta_CPI_instrs__h28495,
		fall_through_pc__h14598,
		frs1_val_bypassed__h4626,
		frs2_val_bypassed__h4631,
		next_pc___1__h18221,
		next_pc__h18219,
		rd_val___1__h16226,
		rd_val___1__h16234,
		rd_val___1__h16241,
		rd_val___1__h16248,
		rd_val___1__h16255,
		rd_val___1__h16262,
		rd_val___1__h18759,
		rd_val___1__h18790,
		rd_val___1__h18844,
		rd_val___1__h18873,
		rd_val___1__h18927,
		rd_val___1__h18975,
		rd_val___1__h18981,
		rd_val___1__h19026,
		rd_val__h14531,
		rd_val__h14574,
		rd_val__h18622,
		rd_val__h18674,
		rd_val__h18696,
		rd_val__h19313,
		rd_val__h19369,
		rd_val__h19422,
		rs1_val__h23289,
		rs1_val_bypassed__h4615,
		rs2_val_bypassed__h4621,
		trap_info_tval__h18051,
		val__h14533,
		val__h14576,
		value__h18109,
		x__h28497,
		x_out_data_to_stage2_val2__h14650,
		x_out_data_to_stage2_val3__h14651,
		x_out_next_pc__h14611,
		y__h24086;
  wire [31 : 0] IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d590,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d591,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d592,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d593,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d594,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d595,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d597,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d599,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d601,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d603,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d604,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d605,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d607,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d608,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d609,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d611,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d613,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d614,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d616,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d617,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d618,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d619,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d620,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d621,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d622,
		IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d623,
		_theResult____h4607,
		_theResult___fst__h7200,
		_theResult___fst__h7228,
		alu_outputs___1_addr5117_BITS_31_TO_0__q21,
		instr___1__h7021,
		instr__h10146,
		instr__h10318,
		instr__h10487,
		instr__h10676,
		instr__h10865,
		instr__h10982,
		instr__h11160,
		instr__h11279,
		instr__h11374,
		instr__h11510,
		instr__h11646,
		instr__h11782,
		instr__h11920,
		instr__h12058,
		instr__h12216,
		instr__h12312,
		instr__h12465,
		instr__h12664,
		instr__h12815,
		instr__h13854,
		instr__h14007,
		instr__h14206,
		instr__h14357,
		instr__h4605,
		instr__h7300,
		instr__h7445,
		instr__h7637,
		instr__h7832,
		instr__h8061,
		instr__h8515,
		instr__h8631,
		instr__h8696,
		instr__h9013,
		instr__h9351,
		instr__h9535,
		instr__h9664,
		instr__h9891,
		instr_out___1__h7170,
		instr_out___1__h7202,
		instr_out___1__h7230,
		rs1_val_bypassed615_BITS_31_TO_0_MINUS_rs2_val_ETC__q10,
		rs1_val_bypassed615_BITS_31_TO_0_PLUS_rs2_val__ETC__q9,
		rs1_val_bypassed615_BITS_31_TO_0_SRL_rs2_val_b_ETC__q8,
		rs1_val_bypassed615_BITS_31_TO_0__q7,
		tmp__h18872,
		v32__h15047,
		x__h18793,
		x__h18847,
		x__h18984,
		x__h19029,
		x_out_data_to_stage2_instr__h14645;
  wire [20 : 0] SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d401,
		theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q5;
  wire [19 : 0] imm20__h9403;
  wire [12 : 0] SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426,
		theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q4;
  wire [11 : 0] imm12__h10159,
		imm12__h10355,
		imm12__h10692,
		imm12__h12313,
		imm12__h12665,
		imm12__h7301,
		imm12__h7638,
		imm12__h9275,
		imm12__h9944,
		offset__h8008,
		theResult__607_BITS_31_TO_20__q20,
		theResult__607_BITS_31_TO_25_CONCAT_theResult__ETC__q6;
  wire [9 : 0] funct10__h15025, nzimm10__h10157, nzimm10__h9942;
  wire [8 : 0] offset__h12227, offset__h8640;
  wire [7 : 0] offset__h12599, offset__h7071;
  wire [6 : 0] offset__h7580;
  wire [5 : 0] imm6__h9273, shamt__h14931;
  wire [4 : 0] offset_BITS_4_TO_0___h12940,
	       offset_BITS_4_TO_0___h7569,
	       offset_BITS_4_TO_0___h8000,
	       rd__h7640,
	       rs1__h7639;
  wire [3 : 0] IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1220,
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1224,
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1262,
	       IF_NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_P_ETC___d1214,
	       IF_NOT_csr_regfile_read_mstatus__8_BITS_14_TO__ETC___d1270,
	       IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287,
	       IF_rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7__ETC___d1258,
	       alu_outputs___1_exc_code__h15424,
	       cur_verbosity__h3134,
	       x_out_trap_info_exc_code__h18054;
  wire [2 : 0] rm__h15556, x_out_data_to_stage2_rounding_mode__h14653;
  wire [1 : 0] IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d258,
	       IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d284,
	       IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289,
	       IF_near_mem_dmem_valid__25_AND_NOT_near_mem_dm_ETC___d256,
	       IF_near_mem_dmem_valid__25_THEN_IF_near_mem_dm_ETC___d128,
	       IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132,
	       IF_stage2_mbox_valid__29_THEN_2_ELSE_1___d130,
	       IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137,
	       IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265,
	       sxl__h5045,
	       uxl__h5046;
  wire IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1750,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688,
       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690,
       IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1043,
       IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1050,
       IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1235,
       IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d2002,
       IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627,
       IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629,
       NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_ETC___d733,
       NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1824,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1895,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1897,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1900,
       NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1914,
       NOT_csr_regfile_read_mstatus__8_BITS_14_TO_13__ETC___d1190,
       NOT_near_mem_imem_exc__48_031_AND_IF_IF_NOT_ne_ETC___d1353,
       NOT_near_mem_imem_exc__48_031_AND_IF_IF_NOT_ne_ETC___d1403,
       NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d317,
       NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d322,
       NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1760,
       NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1771,
       NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1779,
       NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632,
       _0_OR_0_OR_near_mem_imem_exc__48_OR_IF_IF_NOT_n_ETC___d1893,
       csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1753,
       csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1758,
       csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1764,
       csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d411,
       csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d417,
       csr_regfile_read_mstatus__8_BITS_14_TO_13_9_EQ_ETC___d1000,
       fpr_regfile_RDY_server_reset_request_put__697__ETC___d1709,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1603,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1606,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1609,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1612,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1615,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1618,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1621,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1624,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1627,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1630,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1633,
       near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1636,
       near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8,
       near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d639,
       near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d641,
       near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309,
       near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029,
       near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210,
       near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1749,
       near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647,
       rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7_EQ__ETC___d1256,
       rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917,
       rg_state_6_EQ_3_766_AND_stage3_rg_full_6_OR_NO_ETC___d1785,
       stage2_f_reset_rsps_i_notEmpty__720_AND_stage3_ETC___d1729,
       stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d672,
       stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d680;

  // action method hart0_server_reset_request_put
  assign RDY_hart0_server_reset_request_put = f_reset_reqs$FULL_N ;
  assign CAN_FIRE_hart0_server_reset_request_put = f_reset_reqs$FULL_N ;
  assign WILL_FIRE_hart0_server_reset_request_put =
	     EN_hart0_server_reset_request_put ;

  // actionvalue method hart0_server_reset_response_get
  assign hart0_server_reset_response_get = f_reset_rsps$D_OUT ;
  assign RDY_hart0_server_reset_response_get = f_reset_rsps$EMPTY_N ;
  assign CAN_FIRE_hart0_server_reset_response_get = f_reset_rsps$EMPTY_N ;
  assign WILL_FIRE_hart0_server_reset_response_get =
	     EN_hart0_server_reset_response_get ;

  // value method imem_master_m_awvalid
  assign imem_master_awvalid = near_mem$imem_master_awvalid ;

  // value method imem_master_m_awid
  assign imem_master_awid = near_mem$imem_master_awid ;

  // value method imem_master_m_awaddr
  assign imem_master_awaddr = near_mem$imem_master_awaddr ;

  // value method imem_master_m_awlen
  assign imem_master_awlen = near_mem$imem_master_awlen ;

  // value method imem_master_m_awsize
  assign imem_master_awsize = near_mem$imem_master_awsize ;

  // value method imem_master_m_awburst
  assign imem_master_awburst = near_mem$imem_master_awburst ;

  // value method imem_master_m_awlock
  assign imem_master_awlock = near_mem$imem_master_awlock ;

  // value method imem_master_m_awcache
  assign imem_master_awcache = near_mem$imem_master_awcache ;

  // value method imem_master_m_awprot
  assign imem_master_awprot = near_mem$imem_master_awprot ;

  // value method imem_master_m_awqos
  assign imem_master_awqos = near_mem$imem_master_awqos ;

  // value method imem_master_m_awregion
  assign imem_master_awregion = near_mem$imem_master_awregion ;

  // action method imem_master_m_awready
  assign CAN_FIRE_imem_master_m_awready = 1'd1 ;
  assign WILL_FIRE_imem_master_m_awready = 1'd1 ;

  // value method imem_master_m_wvalid
  assign imem_master_wvalid = near_mem$imem_master_wvalid ;

  // value method imem_master_m_wid
  assign imem_master_wid = near_mem$imem_master_wid ;

  // value method imem_master_m_wdata
  assign imem_master_wdata = near_mem$imem_master_wdata ;

  // value method imem_master_m_wstrb
  assign imem_master_wstrb = near_mem$imem_master_wstrb ;

  // value method imem_master_m_wlast
  assign imem_master_wlast = near_mem$imem_master_wlast ;

  // action method imem_master_m_wready
  assign CAN_FIRE_imem_master_m_wready = 1'd1 ;
  assign WILL_FIRE_imem_master_m_wready = 1'd1 ;

  // action method imem_master_m_bvalid
  assign CAN_FIRE_imem_master_m_bvalid = 1'd1 ;
  assign WILL_FIRE_imem_master_m_bvalid = 1'd1 ;

  // value method imem_master_m_bready
  assign imem_master_bready = near_mem$imem_master_bready ;

  // value method imem_master_m_arvalid
  assign imem_master_arvalid = near_mem$imem_master_arvalid ;

  // value method imem_master_m_arid
  assign imem_master_arid = near_mem$imem_master_arid ;

  // value method imem_master_m_araddr
  assign imem_master_araddr = near_mem$imem_master_araddr ;

  // value method imem_master_m_arlen
  assign imem_master_arlen = near_mem$imem_master_arlen ;

  // value method imem_master_m_arsize
  assign imem_master_arsize = near_mem$imem_master_arsize ;

  // value method imem_master_m_arburst
  assign imem_master_arburst = near_mem$imem_master_arburst ;

  // value method imem_master_m_arlock
  assign imem_master_arlock = near_mem$imem_master_arlock ;

  // value method imem_master_m_arcache
  assign imem_master_arcache = near_mem$imem_master_arcache ;

  // value method imem_master_m_arprot
  assign imem_master_arprot = near_mem$imem_master_arprot ;

  // value method imem_master_m_arqos
  assign imem_master_arqos = near_mem$imem_master_arqos ;

  // value method imem_master_m_arregion
  assign imem_master_arregion = near_mem$imem_master_arregion ;

  // action method imem_master_m_arready
  assign CAN_FIRE_imem_master_m_arready = 1'd1 ;
  assign WILL_FIRE_imem_master_m_arready = 1'd1 ;

  // action method imem_master_m_rvalid
  assign CAN_FIRE_imem_master_m_rvalid = 1'd1 ;
  assign WILL_FIRE_imem_master_m_rvalid = 1'd1 ;

  // value method imem_master_m_rready
  assign imem_master_rready = near_mem$imem_master_rready ;

  // value method dmem_master_m_awvalid
  assign dmem_master_awvalid = near_mem$dmem_master_awvalid ;

  // value method dmem_master_m_awid
  assign dmem_master_awid = near_mem$dmem_master_awid ;

  // value method dmem_master_m_awaddr
  assign dmem_master_awaddr = near_mem$dmem_master_awaddr ;

  // value method dmem_master_m_awlen
  assign dmem_master_awlen = near_mem$dmem_master_awlen ;

  // value method dmem_master_m_awsize
  assign dmem_master_awsize = near_mem$dmem_master_awsize ;

  // value method dmem_master_m_awburst
  assign dmem_master_awburst = near_mem$dmem_master_awburst ;

  // value method dmem_master_m_awlock
  assign dmem_master_awlock = near_mem$dmem_master_awlock ;

  // value method dmem_master_m_awcache
  assign dmem_master_awcache = near_mem$dmem_master_awcache ;

  // value method dmem_master_m_awprot
  assign dmem_master_awprot = near_mem$dmem_master_awprot ;

  // value method dmem_master_m_awqos
  assign dmem_master_awqos = near_mem$dmem_master_awqos ;

  // value method dmem_master_m_awregion
  assign dmem_master_awregion = near_mem$dmem_master_awregion ;

  // action method dmem_master_m_awready
  assign CAN_FIRE_dmem_master_m_awready = 1'd1 ;
  assign WILL_FIRE_dmem_master_m_awready = 1'd1 ;

  // value method dmem_master_m_wvalid
  assign dmem_master_wvalid = near_mem$dmem_master_wvalid ;

  // value method dmem_master_m_wid
  assign dmem_master_wid = near_mem$dmem_master_wid ;

  // value method dmem_master_m_wdata
  assign dmem_master_wdata = near_mem$dmem_master_wdata ;

  // value method dmem_master_m_wstrb
  assign dmem_master_wstrb = near_mem$dmem_master_wstrb ;

  // value method dmem_master_m_wlast
  assign dmem_master_wlast = near_mem$dmem_master_wlast ;

  // action method dmem_master_m_wready
  assign CAN_FIRE_dmem_master_m_wready = 1'd1 ;
  assign WILL_FIRE_dmem_master_m_wready = 1'd1 ;

  // action method dmem_master_m_bvalid
  assign CAN_FIRE_dmem_master_m_bvalid = 1'd1 ;
  assign WILL_FIRE_dmem_master_m_bvalid = 1'd1 ;

  // value method dmem_master_m_bready
  assign dmem_master_bready = near_mem$dmem_master_bready ;

  // value method dmem_master_m_arvalid
  assign dmem_master_arvalid = near_mem$dmem_master_arvalid ;

  // value method dmem_master_m_arid
  assign dmem_master_arid = near_mem$dmem_master_arid ;

  // value method dmem_master_m_araddr
  assign dmem_master_araddr = near_mem$dmem_master_araddr ;

  // value method dmem_master_m_arlen
  assign dmem_master_arlen = near_mem$dmem_master_arlen ;

  // value method dmem_master_m_arsize
  assign dmem_master_arsize = near_mem$dmem_master_arsize ;

  // value method dmem_master_m_arburst
  assign dmem_master_arburst = near_mem$dmem_master_arburst ;

  // value method dmem_master_m_arlock
  assign dmem_master_arlock = near_mem$dmem_master_arlock ;

  // value method dmem_master_m_arcache
  assign dmem_master_arcache = near_mem$dmem_master_arcache ;

  // value method dmem_master_m_arprot
  assign dmem_master_arprot = near_mem$dmem_master_arprot ;

  // value method dmem_master_m_arqos
  assign dmem_master_arqos = near_mem$dmem_master_arqos ;

  // value method dmem_master_m_arregion
  assign dmem_master_arregion = near_mem$dmem_master_arregion ;

  // action method dmem_master_m_arready
  assign CAN_FIRE_dmem_master_m_arready = 1'd1 ;
  assign WILL_FIRE_dmem_master_m_arready = 1'd1 ;

  // action method dmem_master_m_rvalid
  assign CAN_FIRE_dmem_master_m_rvalid = 1'd1 ;
  assign WILL_FIRE_dmem_master_m_rvalid = 1'd1 ;

  // value method dmem_master_m_rready
  assign dmem_master_rready = near_mem$dmem_master_rready ;

  // action method m_external_interrupt_req
  assign CAN_FIRE_m_external_interrupt_req = 1'd1 ;
  assign WILL_FIRE_m_external_interrupt_req = 1'd1 ;

  // action method s_external_interrupt_req
  assign CAN_FIRE_s_external_interrupt_req = 1'd1 ;
  assign WILL_FIRE_s_external_interrupt_req = 1'd1 ;

  // action method software_interrupt_req
  assign CAN_FIRE_software_interrupt_req = 1'd1 ;
  assign WILL_FIRE_software_interrupt_req = 1'd1 ;

  // action method timer_interrupt_req
  assign CAN_FIRE_timer_interrupt_req = 1'd1 ;
  assign WILL_FIRE_timer_interrupt_req = 1'd1 ;

  // action method nmi_req
  assign CAN_FIRE_nmi_req = 1'd1 ;
  assign WILL_FIRE_nmi_req = 1'd1 ;

  // action method set_verbosity
  assign RDY_set_verbosity = 1'd1 ;
  assign CAN_FIRE_set_verbosity = 1'd1 ;
  assign WILL_FIRE_set_verbosity = EN_set_verbosity ;

  // submodule csr_regfile
  mkCSR_RegFile csr_regfile(.CLK(CLK),
			    .RST_N(RST_N),
			    .access_permitted_1_csr_addr(csr_regfile$access_permitted_1_csr_addr),
			    .access_permitted_1_priv(csr_regfile$access_permitted_1_priv),
			    .access_permitted_1_read_not_write(csr_regfile$access_permitted_1_read_not_write),
			    .access_permitted_2_csr_addr(csr_regfile$access_permitted_2_csr_addr),
			    .access_permitted_2_priv(csr_regfile$access_permitted_2_priv),
			    .access_permitted_2_read_not_write(csr_regfile$access_permitted_2_read_not_write),
			    .csr_counter_read_fault_csr_addr(csr_regfile$csr_counter_read_fault_csr_addr),
			    .csr_counter_read_fault_priv(csr_regfile$csr_counter_read_fault_priv),
			    .csr_ret_actions_from_priv(csr_regfile$csr_ret_actions_from_priv),
			    .csr_trap_actions_exc_code(csr_regfile$csr_trap_actions_exc_code),
			    .csr_trap_actions_from_priv(csr_regfile$csr_trap_actions_from_priv),
			    .csr_trap_actions_interrupt(csr_regfile$csr_trap_actions_interrupt),
			    .csr_trap_actions_nmi(csr_regfile$csr_trap_actions_nmi),
			    .csr_trap_actions_pc(csr_regfile$csr_trap_actions_pc),
			    .csr_trap_actions_xtval(csr_regfile$csr_trap_actions_xtval),
			    .interrupt_pending_cur_priv(csr_regfile$interrupt_pending_cur_priv),
			    .m_external_interrupt_req_set_not_clear(csr_regfile$m_external_interrupt_req_set_not_clear),
			    .ma_update_fcsr_fflags_flags(csr_regfile$ma_update_fcsr_fflags_flags),
			    .ma_update_mstatus_fs_fs(csr_regfile$ma_update_mstatus_fs_fs),
			    .mav_csr_write_csr_addr(csr_regfile$mav_csr_write_csr_addr),
			    .mav_csr_write_word(csr_regfile$mav_csr_write_word),
			    .mav_read_csr_csr_addr(csr_regfile$mav_read_csr_csr_addr),
			    .nmi_req_set_not_clear(csr_regfile$nmi_req_set_not_clear),
			    .read_csr_csr_addr(csr_regfile$read_csr_csr_addr),
			    .read_csr_port2_csr_addr(csr_regfile$read_csr_port2_csr_addr),
			    .s_external_interrupt_req_set_not_clear(csr_regfile$s_external_interrupt_req_set_not_clear),
			    .software_interrupt_req_set_not_clear(csr_regfile$software_interrupt_req_set_not_clear),
			    .timer_interrupt_req_set_not_clear(csr_regfile$timer_interrupt_req_set_not_clear),
			    .EN_server_reset_request_put(csr_regfile$EN_server_reset_request_put),
			    .EN_server_reset_response_get(csr_regfile$EN_server_reset_response_get),
			    .EN_mav_read_csr(csr_regfile$EN_mav_read_csr),
			    .EN_mav_csr_write(csr_regfile$EN_mav_csr_write),
			    .EN_ma_update_fcsr_fflags(csr_regfile$EN_ma_update_fcsr_fflags),
			    .EN_ma_update_mstatus_fs(csr_regfile$EN_ma_update_mstatus_fs),
			    .EN_csr_trap_actions(csr_regfile$EN_csr_trap_actions),
			    .EN_csr_ret_actions(csr_regfile$EN_csr_ret_actions),
			    .EN_csr_minstret_incr(csr_regfile$EN_csr_minstret_incr),
			    .EN_debug(csr_regfile$EN_debug),
			    .RDY_server_reset_request_put(csr_regfile$RDY_server_reset_request_put),
			    .RDY_server_reset_response_get(csr_regfile$RDY_server_reset_response_get),
			    .read_csr(csr_regfile$read_csr),
			    .read_csr_port2(),
			    .mav_read_csr(),
			    .mav_csr_write(),
			    .read_frm(csr_regfile$read_frm),
			    .read_misa(csr_regfile$read_misa),
			    .read_mstatus(csr_regfile$read_mstatus),
			    .read_sstatus(csr_regfile$read_sstatus),
			    .read_ustatus(),
			    .read_satp(csr_regfile$read_satp),
			    .csr_trap_actions(csr_regfile$csr_trap_actions),
			    .RDY_csr_trap_actions(),
			    .csr_ret_actions(csr_regfile$csr_ret_actions),
			    .RDY_csr_ret_actions(),
			    .read_csr_minstret(csr_regfile$read_csr_minstret),
			    .read_csr_mcycle(csr_regfile$read_csr_mcycle),
			    .read_csr_mtime(),
			    .access_permitted_1(csr_regfile$access_permitted_1),
			    .access_permitted_2(csr_regfile$access_permitted_2),
			    .csr_counter_read_fault(),
			    .csr_mip_read(),
			    .interrupt_pending(csr_regfile$interrupt_pending),
			    .wfi_resume(csr_regfile$wfi_resume),
			    .nmi_pending(csr_regfile$nmi_pending),
			    .RDY_debug());

  // submodule f_reset_reqs
  FIFO2 #(.width(32'd1), .guarded(32'd1)) f_reset_reqs(.RST(RST_N),
						       .CLK(CLK),
						       .D_IN(f_reset_reqs$D_IN),
						       .ENQ(f_reset_reqs$ENQ),
						       .DEQ(f_reset_reqs$DEQ),
						       .CLR(f_reset_reqs$CLR),
						       .D_OUT(f_reset_reqs$D_OUT),
						       .FULL_N(f_reset_reqs$FULL_N),
						       .EMPTY_N(f_reset_reqs$EMPTY_N));

  // submodule f_reset_rsps
  FIFO2 #(.width(32'd1), .guarded(32'd1)) f_reset_rsps(.RST(RST_N),
						       .CLK(CLK),
						       .D_IN(f_reset_rsps$D_IN),
						       .ENQ(f_reset_rsps$ENQ),
						       .DEQ(f_reset_rsps$DEQ),
						       .CLR(f_reset_rsps$CLR),
						       .D_OUT(f_reset_rsps$D_OUT),
						       .FULL_N(f_reset_rsps$FULL_N),
						       .EMPTY_N(f_reset_rsps$EMPTY_N));

  // submodule fpr_regfile
  mkFPR_RegFile fpr_regfile(.CLK(CLK),
			    .RST_N(RST_N),
			    .read_rs1_port2_rs1(fpr_regfile$read_rs1_port2_rs1),
			    .read_rs1_rs1(fpr_regfile$read_rs1_rs1),
			    .read_rs2_rs2(fpr_regfile$read_rs2_rs2),
			    .read_rs3_rs3(fpr_regfile$read_rs3_rs3),
			    .write_rd_rd(fpr_regfile$write_rd_rd),
			    .write_rd_rd_val(fpr_regfile$write_rd_rd_val),
			    .EN_server_reset_request_put(fpr_regfile$EN_server_reset_request_put),
			    .EN_server_reset_response_get(fpr_regfile$EN_server_reset_response_get),
			    .EN_write_rd(fpr_regfile$EN_write_rd),
			    .RDY_server_reset_request_put(fpr_regfile$RDY_server_reset_request_put),
			    .RDY_server_reset_response_get(fpr_regfile$RDY_server_reset_response_get),
			    .read_rs1(fpr_regfile$read_rs1),
			    .read_rs1_port2(),
			    .read_rs2(fpr_regfile$read_rs2),
			    .read_rs3(fpr_regfile$read_rs3));

  // submodule gpr_regfile
  mkGPR_RegFile gpr_regfile(.CLK(CLK),
			    .RST_N(RST_N),
			    .read_rs1_port2_rs1(gpr_regfile$read_rs1_port2_rs1),
			    .read_rs1_rs1(gpr_regfile$read_rs1_rs1),
			    .read_rs2_rs2(gpr_regfile$read_rs2_rs2),
			    .write_rd_rd(gpr_regfile$write_rd_rd),
			    .write_rd_rd_val(gpr_regfile$write_rd_rd_val),
			    .EN_server_reset_request_put(gpr_regfile$EN_server_reset_request_put),
			    .EN_server_reset_response_get(gpr_regfile$EN_server_reset_response_get),
			    .EN_write_rd(gpr_regfile$EN_write_rd),
			    .RDY_server_reset_request_put(gpr_regfile$RDY_server_reset_request_put),
			    .RDY_server_reset_response_get(gpr_regfile$RDY_server_reset_response_get),
			    .read_rs1(gpr_regfile$read_rs1),
			    .read_rs1_port2(),
			    .read_rs2(gpr_regfile$read_rs2));

  // submodule near_mem
  mkNear_Mem near_mem(.CLK(CLK),
		      .RST_N(RST_N),
		      .dmem_master_arready(near_mem$dmem_master_arready),
		      .dmem_master_awready(near_mem$dmem_master_awready),
		      .dmem_master_bid(near_mem$dmem_master_bid),
		      .dmem_master_bresp(near_mem$dmem_master_bresp),
		      .dmem_master_bvalid(near_mem$dmem_master_bvalid),
		      .dmem_master_rdata(near_mem$dmem_master_rdata),
		      .dmem_master_rid(near_mem$dmem_master_rid),
		      .dmem_master_rlast(near_mem$dmem_master_rlast),
		      .dmem_master_rresp(near_mem$dmem_master_rresp),
		      .dmem_master_rvalid(near_mem$dmem_master_rvalid),
		      .dmem_master_wready(near_mem$dmem_master_wready),
		      .dmem_req_addr(near_mem$dmem_req_addr),
		      .dmem_req_amo_funct7(near_mem$dmem_req_amo_funct7),
		      .dmem_req_f3(near_mem$dmem_req_f3),
		      .dmem_req_mstatus_MXR(near_mem$dmem_req_mstatus_MXR),
		      .dmem_req_op(near_mem$dmem_req_op),
		      .dmem_req_priv(near_mem$dmem_req_priv),
		      .dmem_req_satp(near_mem$dmem_req_satp),
		      .dmem_req_sstatus_SUM(near_mem$dmem_req_sstatus_SUM),
		      .dmem_req_store_value(near_mem$dmem_req_store_value),
		      .imem_master_arready(near_mem$imem_master_arready),
		      .imem_master_awready(near_mem$imem_master_awready),
		      .imem_master_bid(near_mem$imem_master_bid),
		      .imem_master_bresp(near_mem$imem_master_bresp),
		      .imem_master_bvalid(near_mem$imem_master_bvalid),
		      .imem_master_rdata(near_mem$imem_master_rdata),
		      .imem_master_rid(near_mem$imem_master_rid),
		      .imem_master_rlast(near_mem$imem_master_rlast),
		      .imem_master_rresp(near_mem$imem_master_rresp),
		      .imem_master_rvalid(near_mem$imem_master_rvalid),
		      .imem_master_wready(near_mem$imem_master_wready),
		      .imem_req_addr(near_mem$imem_req_addr),
		      .imem_req_f3(near_mem$imem_req_f3),
		      .imem_req_mstatus_MXR(near_mem$imem_req_mstatus_MXR),
		      .imem_req_priv(near_mem$imem_req_priv),
		      .imem_req_satp(near_mem$imem_req_satp),
		      .imem_req_sstatus_SUM(near_mem$imem_req_sstatus_SUM),
		      .server_fence_request_put(near_mem$server_fence_request_put),
		      .EN_server_reset_request_put(near_mem$EN_server_reset_request_put),
		      .EN_server_reset_response_get(near_mem$EN_server_reset_response_get),
		      .EN_imem_req(near_mem$EN_imem_req),
		      .EN_dmem_req(near_mem$EN_dmem_req),
		      .EN_server_fence_i_request_put(near_mem$EN_server_fence_i_request_put),
		      .EN_server_fence_i_response_get(near_mem$EN_server_fence_i_response_get),
		      .EN_server_fence_request_put(near_mem$EN_server_fence_request_put),
		      .EN_server_fence_response_get(near_mem$EN_server_fence_response_get),
		      .EN_sfence_vma(near_mem$EN_sfence_vma),
		      .RDY_server_reset_request_put(near_mem$RDY_server_reset_request_put),
		      .RDY_server_reset_response_get(near_mem$RDY_server_reset_response_get),
		      .imem_valid(near_mem$imem_valid),
		      .imem_is_i32_not_i16(near_mem$imem_is_i32_not_i16),
		      .imem_pc(near_mem$imem_pc),
		      .imem_instr(near_mem$imem_instr),
		      .imem_exc(near_mem$imem_exc),
		      .imem_exc_code(near_mem$imem_exc_code),
		      .imem_tval(),
		      .imem_master_awvalid(near_mem$imem_master_awvalid),
		      .imem_master_awid(near_mem$imem_master_awid),
		      .imem_master_awaddr(near_mem$imem_master_awaddr),
		      .imem_master_awlen(near_mem$imem_master_awlen),
		      .imem_master_awsize(near_mem$imem_master_awsize),
		      .imem_master_awburst(near_mem$imem_master_awburst),
		      .imem_master_awlock(near_mem$imem_master_awlock),
		      .imem_master_awcache(near_mem$imem_master_awcache),
		      .imem_master_awprot(near_mem$imem_master_awprot),
		      .imem_master_awqos(near_mem$imem_master_awqos),
		      .imem_master_awregion(near_mem$imem_master_awregion),
		      .imem_master_wvalid(near_mem$imem_master_wvalid),
		      .imem_master_wid(near_mem$imem_master_wid),
		      .imem_master_wdata(near_mem$imem_master_wdata),
		      .imem_master_wstrb(near_mem$imem_master_wstrb),
		      .imem_master_wlast(near_mem$imem_master_wlast),
		      .imem_master_bready(near_mem$imem_master_bready),
		      .imem_master_arvalid(near_mem$imem_master_arvalid),
		      .imem_master_arid(near_mem$imem_master_arid),
		      .imem_master_araddr(near_mem$imem_master_araddr),
		      .imem_master_arlen(near_mem$imem_master_arlen),
		      .imem_master_arsize(near_mem$imem_master_arsize),
		      .imem_master_arburst(near_mem$imem_master_arburst),
		      .imem_master_arlock(near_mem$imem_master_arlock),
		      .imem_master_arcache(near_mem$imem_master_arcache),
		      .imem_master_arprot(near_mem$imem_master_arprot),
		      .imem_master_arqos(near_mem$imem_master_arqos),
		      .imem_master_arregion(near_mem$imem_master_arregion),
		      .imem_master_rready(near_mem$imem_master_rready),
		      .dmem_valid(near_mem$dmem_valid),
		      .dmem_word64(near_mem$dmem_word64),
		      .dmem_st_amo_val(),
		      .dmem_exc(near_mem$dmem_exc),
		      .dmem_exc_code(near_mem$dmem_exc_code),
		      .dmem_master_awvalid(near_mem$dmem_master_awvalid),
		      .dmem_master_awid(near_mem$dmem_master_awid),
		      .dmem_master_awaddr(near_mem$dmem_master_awaddr),
		      .dmem_master_awlen(near_mem$dmem_master_awlen),
		      .dmem_master_awsize(near_mem$dmem_master_awsize),
		      .dmem_master_awburst(near_mem$dmem_master_awburst),
		      .dmem_master_awlock(near_mem$dmem_master_awlock),
		      .dmem_master_awcache(near_mem$dmem_master_awcache),
		      .dmem_master_awprot(near_mem$dmem_master_awprot),
		      .dmem_master_awqos(near_mem$dmem_master_awqos),
		      .dmem_master_awregion(near_mem$dmem_master_awregion),
		      .dmem_master_wvalid(near_mem$dmem_master_wvalid),
		      .dmem_master_wid(near_mem$dmem_master_wid),
		      .dmem_master_wdata(near_mem$dmem_master_wdata),
		      .dmem_master_wstrb(near_mem$dmem_master_wstrb),
		      .dmem_master_wlast(near_mem$dmem_master_wlast),
		      .dmem_master_bready(near_mem$dmem_master_bready),
		      .dmem_master_arvalid(near_mem$dmem_master_arvalid),
		      .dmem_master_arid(near_mem$dmem_master_arid),
		      .dmem_master_araddr(near_mem$dmem_master_araddr),
		      .dmem_master_arlen(near_mem$dmem_master_arlen),
		      .dmem_master_arsize(near_mem$dmem_master_arsize),
		      .dmem_master_arburst(near_mem$dmem_master_arburst),
		      .dmem_master_arlock(near_mem$dmem_master_arlock),
		      .dmem_master_arcache(near_mem$dmem_master_arcache),
		      .dmem_master_arprot(near_mem$dmem_master_arprot),
		      .dmem_master_arqos(near_mem$dmem_master_arqos),
		      .dmem_master_arregion(near_mem$dmem_master_arregion),
		      .dmem_master_rready(near_mem$dmem_master_rready),
		      .RDY_server_fence_i_request_put(near_mem$RDY_server_fence_i_request_put),
		      .RDY_server_fence_i_response_get(near_mem$RDY_server_fence_i_response_get),
		      .RDY_server_fence_request_put(near_mem$RDY_server_fence_request_put),
		      .RDY_server_fence_response_get(near_mem$RDY_server_fence_response_get),
		      .RDY_sfence_vma());

  // submodule soc_map
  mkSoC_Map soc_map(.CLK(CLK),
		    .RST_N(RST_N),
		    .m_is_IO_addr_addr(soc_map$m_is_IO_addr_addr),
		    .m_is_mem_addr_addr(soc_map$m_is_mem_addr_addr),
		    .m_is_near_mem_IO_addr_addr(soc_map$m_is_near_mem_IO_addr_addr),
		    .m_near_mem_io_addr_base(),
		    .m_near_mem_io_addr_size(),
		    .m_near_mem_io_addr_lim(),
		    .m_plic_addr_base(),
		    .m_plic_addr_size(),
		    .m_plic_addr_lim(),
		    .m_uart0_addr_base(),
		    .m_uart0_addr_size(),
		    .m_uart0_addr_lim(),
		    .m_boot_rom_addr_base(),
		    .m_boot_rom_addr_size(),
		    .m_boot_rom_addr_lim(),
		    .m_mem0_controller_addr_base(),
		    .m_mem0_controller_addr_size(),
		    .m_mem0_controller_addr_lim(),
		    .m_tcm_addr_base(),
		    .m_tcm_addr_size(),
		    .m_tcm_addr_lim(),
		    .m_is_mem_addr(),
		    .m_is_IO_addr(),
		    .m_is_near_mem_IO_addr(),
		    .m_pc_reset_value(soc_map$m_pc_reset_value),
		    .m_mtvec_reset_value(),
		    .m_nmivec_reset_value());

  // submodule stage1_f_reset_reqs
  FIFO20 #(.guarded(32'd1)) stage1_f_reset_reqs(.RST(RST_N),
						.CLK(CLK),
						.ENQ(stage1_f_reset_reqs$ENQ),
						.DEQ(stage1_f_reset_reqs$DEQ),
						.CLR(stage1_f_reset_reqs$CLR),
						.FULL_N(stage1_f_reset_reqs$FULL_N),
						.EMPTY_N(stage1_f_reset_reqs$EMPTY_N));

  // submodule stage1_f_reset_rsps
  FIFO20 #(.guarded(32'd1)) stage1_f_reset_rsps(.RST(RST_N),
						.CLK(CLK),
						.ENQ(stage1_f_reset_rsps$ENQ),
						.DEQ(stage1_f_reset_rsps$DEQ),
						.CLR(stage1_f_reset_rsps$CLR),
						.FULL_N(stage1_f_reset_rsps$FULL_N),
						.EMPTY_N(stage1_f_reset_rsps$EMPTY_N));

  // submodule stage2_f_reset_reqs
  FIFO20 #(.guarded(32'd1)) stage2_f_reset_reqs(.RST(RST_N),
						.CLK(CLK),
						.ENQ(stage2_f_reset_reqs$ENQ),
						.DEQ(stage2_f_reset_reqs$DEQ),
						.CLR(stage2_f_reset_reqs$CLR),
						.FULL_N(stage2_f_reset_reqs$FULL_N),
						.EMPTY_N(stage2_f_reset_reqs$EMPTY_N));

  // submodule stage2_f_reset_rsps
  FIFO20 #(.guarded(32'd1)) stage2_f_reset_rsps(.RST(RST_N),
						.CLK(CLK),
						.ENQ(stage2_f_reset_rsps$ENQ),
						.DEQ(stage2_f_reset_rsps$DEQ),
						.CLR(stage2_f_reset_rsps$CLR),
						.FULL_N(stage2_f_reset_rsps$FULL_N),
						.EMPTY_N(stage2_f_reset_rsps$EMPTY_N));

  // submodule stage2_fbox
  mkFBox_Top stage2_fbox(.CLK(CLK),
			 .RST_N(RST_N),
			 .req_f7(stage2_fbox$req_f7),
			 .req_opcode(stage2_fbox$req_opcode),
			 .req_rm(stage2_fbox$req_rm),
			 .req_rs2(stage2_fbox$req_rs2),
			 .req_v1(stage2_fbox$req_v1),
			 .req_v2(stage2_fbox$req_v2),
			 .req_v3(stage2_fbox$req_v3),
			 .EN_server_reset_request_put(stage2_fbox$EN_server_reset_request_put),
			 .EN_server_reset_response_get(stage2_fbox$EN_server_reset_response_get),
			 .EN_req(stage2_fbox$EN_req),
			 .RDY_server_reset_request_put(stage2_fbox$RDY_server_reset_request_put),
			 .RDY_server_reset_response_get(stage2_fbox$RDY_server_reset_response_get),
			 .valid(stage2_fbox$valid),
			 .word_fst(stage2_fbox$word_fst),
			 .word_snd(stage2_fbox$word_snd));

  // submodule stage2_mbox
  mkRISCV_MBox stage2_mbox(.CLK(CLK),
			   .RST_N(RST_N),
			   .req_f3(stage2_mbox$req_f3),
			   .req_is_OP_not_OP_32(stage2_mbox$req_is_OP_not_OP_32),
			   .req_v1(stage2_mbox$req_v1),
			   .req_v2(stage2_mbox$req_v2),
			   .set_verbosity_verbosity(stage2_mbox$set_verbosity_verbosity),
			   .EN_set_verbosity(stage2_mbox$EN_set_verbosity),
			   .EN_req_reset(stage2_mbox$EN_req_reset),
			   .EN_rsp_reset(stage2_mbox$EN_rsp_reset),
			   .EN_req(stage2_mbox$EN_req),
			   .RDY_set_verbosity(),
			   .RDY_req_reset(),
			   .RDY_rsp_reset(),
			   .valid(stage2_mbox$valid),
			   .word(stage2_mbox$word));

  // submodule stage3_f_reset_reqs
  FIFO20 #(.guarded(32'd1)) stage3_f_reset_reqs(.RST(RST_N),
						.CLK(CLK),
						.ENQ(stage3_f_reset_reqs$ENQ),
						.DEQ(stage3_f_reset_reqs$DEQ),
						.CLR(stage3_f_reset_reqs$CLR),
						.FULL_N(stage3_f_reset_reqs$FULL_N),
						.EMPTY_N(stage3_f_reset_reqs$EMPTY_N));

  // submodule stage3_f_reset_rsps
  FIFO20 #(.guarded(32'd1)) stage3_f_reset_rsps(.RST(RST_N),
						.CLK(CLK),
						.ENQ(stage3_f_reset_rsps$ENQ),
						.DEQ(stage3_f_reset_rsps$DEQ),
						.CLR(stage3_f_reset_rsps$CLR),
						.FULL_N(stage3_f_reset_rsps$FULL_N),
						.EMPTY_N(stage3_f_reset_rsps$EMPTY_N));

  // rule RL_rl_show_pipe
  assign CAN_FIRE_RL_rl_show_pipe =
	     NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	     rg_state != 4'd0 &&
	     rg_state != 4'd1 &&
	     rg_state != 4'd10 ;
  assign WILL_FIRE_RL_rl_show_pipe = CAN_FIRE_RL_rl_show_pipe ;

  // rule RL_rl_stage2_nonpipe
  assign CAN_FIRE_RL_rl_stage2_nonpipe =
	     rg_state == 4'd3 && !stage3_rg_full &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	     2'd3 &&
	     (!stage1_rg_full ||
	      near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647) ;
  assign WILL_FIRE_RL_rl_stage2_nonpipe = CAN_FIRE_RL_rl_stage2_nonpipe ;

  // rule RL_rl_stage1_CSRR_W
  assign CAN_FIRE_RL_rl_stage1_CSRR_W = MUX_rg_state$write_1__SEL_2 ;
  assign WILL_FIRE_RL_rl_stage1_CSRR_W = MUX_rg_state$write_1__SEL_2 ;

  // rule RL_rl_stage1_CSRR_S_or_C
  assign CAN_FIRE_RL_rl_stage1_CSRR_S_or_C = MUX_rg_state$write_1__SEL_3 ;
  assign WILL_FIRE_RL_rl_stage1_CSRR_S_or_C = MUX_rg_state$write_1__SEL_3 ;

  // rule RL_rl_stage1_restart_after_csrrx
  assign CAN_FIRE_RL_rl_stage1_restart_after_csrrx =
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     rg_state == 4'd6 ;
  assign WILL_FIRE_RL_rl_stage1_restart_after_csrrx =
	     CAN_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // rule RL_rl_stage1_xRET
  assign CAN_FIRE_RL_rl_stage1_xRET =
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     (IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	      4'd7 ||
	      IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	      4'd8 ||
	      IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	      4'd9) ;
  assign WILL_FIRE_RL_rl_stage1_xRET = CAN_FIRE_RL_rl_stage1_xRET ;

  // rule RL_rl_stage1_FENCE_I
  assign CAN_FIRE_RL_rl_stage1_FENCE_I = MUX_rg_state$write_1__SEL_8 ;
  assign WILL_FIRE_RL_rl_stage1_FENCE_I = MUX_rg_state$write_1__SEL_8 ;

  // rule RL_rl_finish_FENCE_I
  assign CAN_FIRE_RL_rl_finish_FENCE_I =
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     near_mem$RDY_server_fence_i_response_get &&
	     rg_state == 4'd7 ;
  assign WILL_FIRE_RL_rl_finish_FENCE_I = CAN_FIRE_RL_rl_finish_FENCE_I ;

  // rule RL_rl_stage1_FENCE
  assign CAN_FIRE_RL_rl_stage1_FENCE = MUX_rg_state$write_1__SEL_9 ;
  assign WILL_FIRE_RL_rl_stage1_FENCE = MUX_rg_state$write_1__SEL_9 ;

  // rule RL_rl_finish_FENCE
  assign CAN_FIRE_RL_rl_finish_FENCE =
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     near_mem$RDY_server_fence_response_get &&
	     rg_state == 4'd8 ;
  assign WILL_FIRE_RL_rl_finish_FENCE = CAN_FIRE_RL_rl_finish_FENCE ;

  // rule RL_rl_finish_SFENCE_VMA
  assign CAN_FIRE_RL_rl_finish_SFENCE_VMA =
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     rg_state == 4'd9 ;
  assign WILL_FIRE_RL_rl_finish_SFENCE_VMA =
	     CAN_FIRE_RL_rl_finish_SFENCE_VMA ;

  // rule RL_rl_stage1_WFI
  assign CAN_FIRE_RL_rl_stage1_WFI = MUX_rg_state$write_1__SEL_11 ;
  assign WILL_FIRE_RL_rl_stage1_WFI = MUX_rg_state$write_1__SEL_11 ;

  // rule RL_rl_WFI_resume
  assign CAN_FIRE_RL_rl_WFI_resume =
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     rg_state == 4'd10 &&
	     csr_regfile$wfi_resume ;
  assign WILL_FIRE_RL_rl_WFI_resume = CAN_FIRE_RL_rl_WFI_resume ;

  // rule RL_rl_reset_from_WFI
  assign CAN_FIRE_RL_rl_reset_from_WFI =
	     rg_state == 4'd10 && f_reset_reqs$EMPTY_N ;
  assign WILL_FIRE_RL_rl_reset_from_WFI = MUX_rg_state$write_1__SEL_4 ;

  // rule RL_rl_stage1_trap
  assign CAN_FIRE_RL_rl_stage1_trap =
	     rg_state == 4'd4 ||
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd11 ;
  assign WILL_FIRE_RL_rl_stage1_trap = CAN_FIRE_RL_rl_stage1_trap ;

  // rule RL_rl_trap_fetch
  assign CAN_FIRE_RL_rl_trap_fetch =
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     rg_state == 4'd5 ;
  assign WILL_FIRE_RL_rl_trap_fetch = CAN_FIRE_RL_rl_trap_fetch ;

  // rule RL_rl_stage1_interrupt
  assign CAN_FIRE_RL_rl_stage1_interrupt =
	     (csr_regfile$interrupt_pending[4] || csr_regfile$nmi_pending) &&
	     rg_state == 4'd3 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1750 &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	     2'd0 &&
	     !stage3_rg_full ;
  assign WILL_FIRE_RL_rl_stage1_interrupt = CAN_FIRE_RL_rl_stage1_interrupt ;

  // rule RL_imem_rl_assert_fail
  assign CAN_FIRE_RL_imem_rl_assert_fail = !near_mem$imem_is_i32_not_i16 ;
  assign WILL_FIRE_RL_imem_rl_assert_fail = CAN_FIRE_RL_imem_rl_assert_fail ;

  // rule RL_rl_reset_complete
  assign CAN_FIRE_RL_rl_reset_complete =
	     gpr_regfile$RDY_server_reset_response_get &&
	     fpr_regfile$RDY_server_reset_response_get &&
	     near_mem$RDY_server_reset_response_get &&
	     csr_regfile$RDY_server_reset_response_get &&
	     stage1_f_reset_rsps$EMPTY_N &&
	     stage2_f_reset_rsps_i_notEmpty__720_AND_stage3_ETC___d1729 &&
	     rg_state == 4'd1 ;
  assign WILL_FIRE_RL_rl_reset_complete = MUX_rg_state$write_1__SEL_1 ;

  // rule RL_rl_pipe
  assign CAN_FIRE_RL_rl_pipe =
	     (csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1764 ||
	      !near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) &&
	     rg_state_6_EQ_3_766_AND_stage3_rg_full_6_OR_NO_ETC___d1785 ;
  assign WILL_FIRE_RL_rl_pipe =
	     CAN_FIRE_RL_rl_pipe && !WILL_FIRE_RL_imem_rl_fetch_next_32b ;

  // rule RL_rl_stage1_SFENCE_VMA
  assign CAN_FIRE_RL_rl_stage1_SFENCE_VMA =
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd6 ;
  assign WILL_FIRE_RL_rl_stage1_SFENCE_VMA = MUX_rg_state$write_1__SEL_10 ;

  // rule RL_rl_reset_start
  assign CAN_FIRE_RL_rl_reset_start =
	     gpr_regfile$RDY_server_reset_request_put &&
	     fpr_regfile_RDY_server_reset_request_put__697__ETC___d1709 &&
	     rg_state == 4'd0 ;
  assign WILL_FIRE_RL_rl_reset_start = CAN_FIRE_RL_rl_reset_start ;

  // rule RL_imem_rl_fetch_next_32b
  assign CAN_FIRE_RL_imem_rl_fetch_next_32b =
	     near_mem$imem_valid &&
	     near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 &&
	     imem_rg_pc[1:0] != 2'b0 &&
	     near_mem$imem_instr[17:16] == 2'b11 ;
  assign WILL_FIRE_RL_imem_rl_fetch_next_32b =
	     CAN_FIRE_RL_imem_rl_fetch_next_32b ;

  // rule RL_stage3_rl_reset
  assign CAN_FIRE_RL_stage3_rl_reset =
	     stage3_f_reset_reqs$EMPTY_N && stage3_f_reset_rsps$FULL_N ;
  assign WILL_FIRE_RL_stage3_rl_reset = CAN_FIRE_RL_stage3_rl_reset ;

  // rule RL_stage2_rl_reset_end
  assign CAN_FIRE_RL_stage2_rl_reset_end =
	     stage2_fbox$RDY_server_reset_response_get &&
	     stage2_f_reset_rsps$FULL_N &&
	     stage2_rg_resetting ;
  assign WILL_FIRE_RL_stage2_rl_reset_end = CAN_FIRE_RL_stage2_rl_reset_end ;

  // rule RL_stage2_rl_reset_begin
  assign CAN_FIRE_RL_stage2_rl_reset_begin =
	     stage2_fbox$RDY_server_reset_request_put &&
	     stage2_f_reset_reqs$EMPTY_N ;
  assign WILL_FIRE_RL_stage2_rl_reset_begin =
	     CAN_FIRE_RL_stage2_rl_reset_begin ;

  // rule RL_stage1_rl_reset
  assign CAN_FIRE_RL_stage1_rl_reset =
	     stage1_f_reset_reqs$EMPTY_N && stage1_f_reset_rsps$FULL_N ;
  assign WILL_FIRE_RL_stage1_rl_reset = CAN_FIRE_RL_stage1_rl_reset ;

  // inputs to muxes for submodule ports
  assign MUX_csr_regfile$mav_csr_write_1__SEL_1 =
	     WILL_FIRE_RL_rl_stage1_CSRR_W && csr_regfile$access_permitted_1 ;
  assign MUX_gpr_regfile$write_rd_1__SEL_2 =
	     WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	     csr_regfile$access_permitted_2 ;
  assign MUX_gpr_regfile$write_rd_1__SEL_3 =
	     WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	     !stage3_rg_stage3[69] ;
  assign MUX_imem_rg_f3$write_1__SEL_1 =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ;
  assign MUX_imem_rg_f3$write_1__SEL_2 =
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ;
  assign MUX_imem_rg_mstatus_MXR$write_1__SEL_4 =
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;
  assign MUX_imem_rg_pc$write_1__SEL_4 =
	     WILL_FIRE_RL_rl_trap_fetch || WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ;
  assign MUX_near_mem$imem_req_1__SEL_6 =
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ;
  assign MUX_rg_cur_priv$write_1__SEL_1 =
	     WILL_FIRE_RL_rl_stage1_interrupt ||
	     WILL_FIRE_RL_rl_stage1_trap ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ;
  assign MUX_rg_mstatus_MXR$write_1__SEL_1 =
	     WILL_FIRE_RL_rl_stage1_trap || WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ;
  assign MUX_rg_next_pc$write_1__SEL_1 =
	     WILL_FIRE_RL_rl_stage1_WFI || WILL_FIRE_RL_rl_stage1_FENCE ||
	     WILL_FIRE_RL_rl_stage1_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_SFENCE_VMA ;
  assign MUX_rg_state$write_1__SEL_1 =
	     CAN_FIRE_RL_rl_reset_complete &&
	     !WILL_FIRE_RL_imem_rl_fetch_next_32b ;
  assign MUX_rg_state$write_1__SEL_2 =
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd2 ;
  assign MUX_rg_state$write_1__SEL_3 =
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd3 ;
  assign MUX_rg_state$write_1__SEL_4 =
	     CAN_FIRE_RL_rl_reset_from_WFI && !WILL_FIRE_RL_rl_WFI_resume ;
  assign MUX_rg_state$write_1__SEL_6 =
	     WILL_FIRE_RL_rl_trap_fetch || WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;
  assign MUX_rg_state$write_1__SEL_7 =
	     WILL_FIRE_RL_rl_stage1_interrupt ||
	     WILL_FIRE_RL_rl_stage1_trap ||
	     WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ;
  assign MUX_rg_state$write_1__SEL_8 =
	     near_mem$RDY_server_fence_i_request_put &&
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd5 ;
  assign MUX_rg_state$write_1__SEL_9 =
	     near_mem$RDY_server_fence_request_put &&
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd4 ;
  assign MUX_rg_state$write_1__SEL_10 =
	     CAN_FIRE_RL_rl_stage1_SFENCE_VMA &&
	     !WILL_FIRE_RL_imem_rl_fetch_next_32b ;
  assign MUX_rg_state$write_1__SEL_11 =
	     rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd10 ;
  assign MUX_csr_regfile$csr_trap_actions_5__VAL_1 =
	     (csr_regfile$interrupt_pending[4] && !csr_regfile$nmi_pending) ?
	       csr_regfile$interrupt_pending[3:0] :
	       4'd0 ;
  always@(x_out_data_to_stage2_instr__h14645 or
	  csr_regfile$read_csr or
	  y__h24086 or
	  IF_csr_regfile_read_csr_IF_NOT_stage1_rg_full__ETC___d1952)
  begin
    case (x_out_data_to_stage2_instr__h14645[14:12])
      3'b010, 3'b110:
	  MUX_csr_regfile$mav_csr_write_2__VAL_2 =
	      IF_csr_regfile_read_csr_IF_NOT_stage1_rg_full__ETC___d1952;
      default: MUX_csr_regfile$mav_csr_write_2__VAL_2 =
		   csr_regfile$read_csr[63:0] & y__h24086;
    endcase
  end
  assign MUX_near_mem$imem_req_2__VAL_1 =
	     { soc_map$m_pc_reset_value[63:2], 2'b0 } ;
  assign MUX_near_mem$imem_req_2__VAL_2 =
	     { x_out_next_pc__h14611[63:2], 2'b0 } ;
  assign MUX_near_mem$imem_req_2__VAL_5 = { rg_next_pc[63:2], 2'b0 } ;
  assign MUX_rg_state$write_1__VAL_1 = rg_run_on_reset ? 4'd3 : 4'd2 ;
  assign MUX_rg_state$write_1__VAL_2 =
	     csr_regfile$access_permitted_1 ? 4'd6 : 4'd4 ;
  assign MUX_rg_state$write_1__VAL_3 =
	     csr_regfile$access_permitted_2 ? 4'd6 : 4'd4 ;
  assign MUX_stage1_rg_full$write_1__VAL_2 =
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1900 ||
	     (csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1758 ||
	      NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1779) &&
	     stage1_rg_full ;
  assign MUX_stage2_rg_full$write_1__VAL_2 =
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1895 ||
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	     2'd2 &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	     2'd0 ;

  // register cfg_logdelay
  assign cfg_logdelay$D_IN = set_verbosity_logdelay ;
  assign cfg_logdelay$EN = EN_set_verbosity ;

  // register cfg_verbosity
  assign cfg_verbosity$D_IN = set_verbosity_verbosity ;
  assign cfg_verbosity$EN = EN_set_verbosity ;

  // register imem_rg_f3
  assign imem_rg_f3$D_IN = 3'b010 ;
  assign imem_rg_f3$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // register imem_rg_instr_15_0
  assign imem_rg_instr_15_0$D_IN = near_mem$imem_instr[31:16] ;
  assign imem_rg_instr_15_0$EN = CAN_FIRE_RL_imem_rl_fetch_next_32b ;

  // register imem_rg_mstatus_MXR
  assign imem_rg_mstatus_MXR$D_IN =
	     (MUX_imem_rg_f3$write_1__SEL_1 ||
	      MUX_imem_rg_f3$write_1__SEL_2 ||
	      MUX_imem_rg_mstatus_MXR$write_1__SEL_4) ?
	       csr_regfile$read_mstatus[19] :
	       rg_mstatus_MXR ;
  assign imem_rg_mstatus_MXR$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // register imem_rg_pc
  always@(MUX_imem_rg_f3$write_1__SEL_1 or
	  soc_map$m_pc_reset_value or
	  MUX_imem_rg_f3$write_1__SEL_2 or
	  x_out_next_pc__h14611 or
	  WILL_FIRE_RL_rl_stage1_restart_after_csrrx or
	  MUX_imem_rg_pc$write_1__SEL_4 or rg_next_pc)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_imem_rg_f3$write_1__SEL_1:
	  imem_rg_pc$D_IN = soc_map$m_pc_reset_value;
      MUX_imem_rg_f3$write_1__SEL_2: imem_rg_pc$D_IN = x_out_next_pc__h14611;
      WILL_FIRE_RL_rl_stage1_restart_after_csrrx:
	  imem_rg_pc$D_IN = x_out_next_pc__h14611;
      MUX_imem_rg_pc$write_1__SEL_4: imem_rg_pc$D_IN = rg_next_pc;
      default: imem_rg_pc$D_IN =
		   64'hAAAAAAAAAAAAAAAA /* unspecified value */ ;
    endcase
  end
  assign imem_rg_pc$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ;

  // register imem_rg_priv
  assign imem_rg_priv$D_IN = rg_cur_priv ;
  assign imem_rg_priv$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // register imem_rg_satp
  assign imem_rg_satp$D_IN = csr_regfile$read_satp ;
  assign imem_rg_satp$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // register imem_rg_sstatus_SUM
  assign imem_rg_sstatus_SUM$D_IN =
	     (MUX_imem_rg_f3$write_1__SEL_1 ||
	      MUX_imem_rg_f3$write_1__SEL_2 ||
	      MUX_imem_rg_mstatus_MXR$write_1__SEL_4) ?
	       csr_regfile$read_sstatus[18] :
	       rg_sstatus_SUM ;
  assign imem_rg_sstatus_SUM$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // register imem_rg_tval
  always@(MUX_imem_rg_f3$write_1__SEL_1 or
	  soc_map$m_pc_reset_value or
	  MUX_imem_rg_f3$write_1__SEL_2 or
	  x_out_next_pc__h14611 or
	  WILL_FIRE_RL_rl_stage1_restart_after_csrrx or
	  MUX_imem_rg_pc$write_1__SEL_4 or
	  rg_next_pc or
	  WILL_FIRE_RL_imem_rl_fetch_next_32b or next_pc___1__h18221)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_imem_rg_f3$write_1__SEL_1:
	  imem_rg_tval$D_IN = soc_map$m_pc_reset_value;
      MUX_imem_rg_f3$write_1__SEL_2:
	  imem_rg_tval$D_IN = x_out_next_pc__h14611;
      WILL_FIRE_RL_rl_stage1_restart_after_csrrx:
	  imem_rg_tval$D_IN = x_out_next_pc__h14611;
      MUX_imem_rg_pc$write_1__SEL_4: imem_rg_tval$D_IN = rg_next_pc;
      WILL_FIRE_RL_imem_rl_fetch_next_32b:
	  imem_rg_tval$D_IN = next_pc___1__h18221;
      default: imem_rg_tval$D_IN =
		   64'hAAAAAAAAAAAAAAAA /* unspecified value */ ;
    endcase
  end
  assign imem_rg_tval$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_imem_rl_fetch_next_32b ;

  // register rg_cur_priv
  always@(MUX_rg_cur_priv$write_1__SEL_1 or
	  csr_regfile$csr_trap_actions or
	  WILL_FIRE_RL_rl_stage1_xRET or
	  csr_regfile$csr_ret_actions or WILL_FIRE_RL_rl_reset_start)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_rg_cur_priv$write_1__SEL_1:
	  rg_cur_priv$D_IN = csr_regfile$csr_trap_actions[1:0];
      WILL_FIRE_RL_rl_stage1_xRET:
	  rg_cur_priv$D_IN = csr_regfile$csr_ret_actions[65:64];
      WILL_FIRE_RL_rl_reset_start: rg_cur_priv$D_IN = 2'b11;
      default: rg_cur_priv$D_IN = 2'b10 /* unspecified value */ ;
    endcase
  end
  assign rg_cur_priv$EN =
	     WILL_FIRE_RL_rl_stage1_interrupt ||
	     WILL_FIRE_RL_rl_stage1_trap ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_reset_start ;

  // register rg_mstatus_MXR
  assign rg_mstatus_MXR$D_IN =
	     MUX_rg_mstatus_MXR$write_1__SEL_1 ?
	       csr_regfile$read_mstatus[19] :
	       csr_regfile$csr_trap_actions[85] ;
  assign rg_mstatus_MXR$EN =
	     WILL_FIRE_RL_rl_stage1_trap || WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_rl_stage1_interrupt ;

  // register rg_next_pc
  always@(MUX_rg_next_pc$write_1__SEL_1 or
	  x_out_next_pc__h14611 or
	  MUX_rg_cur_priv$write_1__SEL_1 or
	  csr_regfile$csr_trap_actions or
	  WILL_FIRE_RL_rl_stage1_xRET or csr_regfile$csr_ret_actions)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_rg_next_pc$write_1__SEL_1: rg_next_pc$D_IN = x_out_next_pc__h14611;
      MUX_rg_cur_priv$write_1__SEL_1:
	  rg_next_pc$D_IN = csr_regfile$csr_trap_actions[193:130];
      WILL_FIRE_RL_rl_stage1_xRET:
	  rg_next_pc$D_IN = csr_regfile$csr_ret_actions[129:66];
      default: rg_next_pc$D_IN =
		   64'hAAAAAAAAAAAAAAAA /* unspecified value */ ;
    endcase
  end
  assign rg_next_pc$EN =
	     WILL_FIRE_RL_rl_stage1_WFI || WILL_FIRE_RL_rl_stage1_FENCE ||
	     WILL_FIRE_RL_rl_stage1_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_stage1_interrupt ||
	     WILL_FIRE_RL_rl_stage1_trap ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_rl_stage1_xRET ;

  // register rg_run_on_reset
  assign rg_run_on_reset$D_IN = f_reset_reqs$D_OUT ;
  assign rg_run_on_reset$EN = CAN_FIRE_RL_rl_reset_start ;

  // register rg_sstatus_SUM
  assign rg_sstatus_SUM$D_IN =
	     MUX_rg_mstatus_MXR$write_1__SEL_1 ?
	       csr_regfile$read_sstatus[18] :
	       csr_regfile$csr_trap_actions[84] ;
  assign rg_sstatus_SUM$EN =
	     WILL_FIRE_RL_rl_stage1_trap || WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_rl_stage1_interrupt ;

  // register rg_start_CPI_cycles
  assign rg_start_CPI_cycles$D_IN = csr_regfile$read_csr_mcycle ;
  assign rg_start_CPI_cycles$EN = MUX_imem_rg_f3$write_1__SEL_1 ;

  // register rg_start_CPI_instrs
  assign rg_start_CPI_instrs$D_IN = csr_regfile$read_csr_minstret ;
  assign rg_start_CPI_instrs$EN = MUX_imem_rg_f3$write_1__SEL_1 ;

  // register rg_state
  always@(WILL_FIRE_RL_rl_reset_complete or
	  MUX_rg_state$write_1__VAL_1 or
	  WILL_FIRE_RL_rl_stage1_CSRR_W or
	  MUX_rg_state$write_1__VAL_2 or
	  WILL_FIRE_RL_rl_stage1_CSRR_S_or_C or
	  MUX_rg_state$write_1__VAL_3 or
	  WILL_FIRE_RL_rl_reset_from_WFI or
	  WILL_FIRE_RL_rl_reset_start or
	  MUX_rg_state$write_1__SEL_6 or
	  MUX_rg_state$write_1__SEL_7 or
	  WILL_FIRE_RL_rl_stage1_FENCE_I or
	  WILL_FIRE_RL_rl_stage1_FENCE or
	  WILL_FIRE_RL_rl_stage1_SFENCE_VMA or WILL_FIRE_RL_rl_stage1_WFI)
  begin
    case (1'b1) // synopsys parallel_case
      WILL_FIRE_RL_rl_reset_complete:
	  rg_state$D_IN = MUX_rg_state$write_1__VAL_1;
      WILL_FIRE_RL_rl_stage1_CSRR_W:
	  rg_state$D_IN = MUX_rg_state$write_1__VAL_2;
      WILL_FIRE_RL_rl_stage1_CSRR_S_or_C:
	  rg_state$D_IN = MUX_rg_state$write_1__VAL_3;
      WILL_FIRE_RL_rl_reset_from_WFI: rg_state$D_IN = 4'd0;
      WILL_FIRE_RL_rl_reset_start: rg_state$D_IN = 4'd1;
      MUX_rg_state$write_1__SEL_6: rg_state$D_IN = 4'd3;
      MUX_rg_state$write_1__SEL_7: rg_state$D_IN = 4'd5;
      WILL_FIRE_RL_rl_stage1_FENCE_I: rg_state$D_IN = 4'd7;
      WILL_FIRE_RL_rl_stage1_FENCE: rg_state$D_IN = 4'd8;
      WILL_FIRE_RL_rl_stage1_SFENCE_VMA: rg_state$D_IN = 4'd9;
      WILL_FIRE_RL_rl_stage1_WFI: rg_state$D_IN = 4'd10;
      default: rg_state$D_IN = 4'b1010 /* unspecified value */ ;
    endcase
  end
  assign rg_state$EN =
	     WILL_FIRE_RL_rl_reset_complete ||
	     WILL_FIRE_RL_rl_stage1_CSRR_W ||
	     WILL_FIRE_RL_rl_stage1_CSRR_S_or_C ||
	     WILL_FIRE_RL_rl_reset_from_WFI ||
	     WILL_FIRE_RL_rl_reset_start ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
	     WILL_FIRE_RL_rl_stage1_interrupt ||
	     WILL_FIRE_RL_rl_stage1_trap ||
	     WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_rl_stage1_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_FENCE ||
	     WILL_FIRE_RL_rl_stage1_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_stage1_WFI ;

  // register stage1_rg_full
  always@(WILL_FIRE_RL_stage1_rl_reset or
	  WILL_FIRE_RL_rl_pipe or
	  MUX_stage1_rg_full$write_1__VAL_2 or
	  MUX_imem_rg_f3$write_1__SEL_1 or
	  WILL_FIRE_RL_rl_stage1_interrupt or
	  WILL_FIRE_RL_rl_trap_fetch or
	  WILL_FIRE_RL_rl_stage1_trap or
	  WILL_FIRE_RL_rl_WFI_resume or
	  WILL_FIRE_RL_rl_finish_SFENCE_VMA or
	  WILL_FIRE_RL_rl_finish_FENCE or
	  WILL_FIRE_RL_rl_finish_FENCE_I or
	  WILL_FIRE_RL_rl_stage1_xRET or
	  WILL_FIRE_RL_rl_stage1_restart_after_csrrx or
	  WILL_FIRE_RL_rl_stage2_nonpipe)
  case (1'b1)
    WILL_FIRE_RL_stage1_rl_reset: stage1_rg_full$D_IN = 1'd0;
    WILL_FIRE_RL_rl_pipe:
	stage1_rg_full$D_IN = MUX_stage1_rg_full$write_1__VAL_2;
    MUX_imem_rg_f3$write_1__SEL_1: stage1_rg_full$D_IN = 1'd1;
    WILL_FIRE_RL_rl_stage1_interrupt: stage1_rg_full$D_IN = 1'd0;
    WILL_FIRE_RL_rl_trap_fetch: stage1_rg_full$D_IN = 1'd1;
    WILL_FIRE_RL_rl_stage1_trap: stage1_rg_full$D_IN = 1'd0;
    WILL_FIRE_RL_rl_WFI_resume || WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
    WILL_FIRE_RL_rl_finish_FENCE ||
    WILL_FIRE_RL_rl_finish_FENCE_I:
	stage1_rg_full$D_IN = 1'd1;
    WILL_FIRE_RL_rl_stage1_xRET: stage1_rg_full$D_IN = 1'd0;
    WILL_FIRE_RL_rl_stage1_restart_after_csrrx: stage1_rg_full$D_IN = 1'd1;
    WILL_FIRE_RL_rl_stage2_nonpipe: stage1_rg_full$D_IN = 1'd0;
    default: stage1_rg_full$D_IN = 1'b0 /* unspecified value */ ;
  endcase
  assign stage1_rg_full$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe ||
	     WILL_FIRE_RL_rl_stage1_interrupt ||
	     WILL_FIRE_RL_rl_stage1_trap ||
	     WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_stage1_rl_reset ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ;

  // register stage2_rg_full
  always@(WILL_FIRE_RL_stage2_rl_reset_begin or
	  WILL_FIRE_RL_rl_pipe or
	  MUX_stage2_rg_full$write_1__VAL_2 or
	  MUX_imem_rg_f3$write_1__SEL_1 or WILL_FIRE_RL_rl_stage2_nonpipe)
  case (1'b1)
    WILL_FIRE_RL_stage2_rl_reset_begin: stage2_rg_full$D_IN = 1'd0;
    WILL_FIRE_RL_rl_pipe:
	stage2_rg_full$D_IN = MUX_stage2_rg_full$write_1__VAL_2;
    MUX_imem_rg_f3$write_1__SEL_1 || WILL_FIRE_RL_rl_stage2_nonpipe:
	stage2_rg_full$D_IN = 1'd0;
    default: stage2_rg_full$D_IN = 1'b0 /* unspecified value */ ;
  endcase
  assign stage2_rg_full$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_stage2_rl_reset_begin ;

  // register stage2_rg_resetting
  assign stage2_rg_resetting$D_IN = WILL_FIRE_RL_stage2_rl_reset_begin ;
  assign stage2_rg_resetting$EN =
	     WILL_FIRE_RL_stage2_rl_reset_end ||
	     WILL_FIRE_RL_stage2_rl_reset_begin ;

  // register stage2_rg_stage2
  assign stage2_rg_stage2$D_IN =
	     { rg_cur_priv,
	       imem_rg_pc,
	       x_out_data_to_stage2_instr__h14645,
	       IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373,
	       x_out_data_to_stage2_rd__h14647,
	       x_out_data_to_stage2_addr__h14648,
	       x_out_data_to_stage2_val1__h14649,
	       x_out_data_to_stage2_val2__h14650,
	       x_out_data_to_stage2_val3__h14651,
	       _theResult____h4607[6:0] == 7'b0000111 ||
	       (_theResult____h4607[6:0] == 7'b1010011 ||
		_theResult____h4607[6:0] == 7'b1000011 ||
		_theResult____h4607[6:0] == 7'b1000111 ||
		_theResult____h4607[6:0] == 7'b1001011 ||
		_theResult____h4607[6:0] == 7'b1001111) &&
	       (_theResult____h4607[31:25] != 7'h61 ||
		_theResult____h4607[24:20] != 5'd0) &&
	       (_theResult____h4607[31:25] != 7'h61 ||
		_theResult____h4607[24:20] != 5'd1) &&
	       (_theResult____h4607[31:25] != 7'h61 ||
		_theResult____h4607[24:20] != 5'd2) &&
	       (_theResult____h4607[31:25] != 7'h61 ||
		_theResult____h4607[24:20] != 5'd3) &&
	       _theResult____h4607[31:25] != 7'h71 &&
	       _theResult____h4607[31:25] != 7'h51 &&
	       (_theResult____h4607[31:25] != 7'h60 ||
		_theResult____h4607[24:20] != 5'd2) &&
	       (_theResult____h4607[31:25] != 7'h60 ||
		_theResult____h4607[24:20] != 5'd3) &&
	       (_theResult____h4607[31:25] != 7'h60 ||
		_theResult____h4607[24:20] != 5'd0) &&
	       (_theResult____h4607[31:25] != 7'h60 ||
		_theResult____h4607[24:20] != 5'd1) &&
	       _theResult____h4607[31:25] != 7'h70 &&
	       _theResult____h4607[31:25] != 7'h50,
	       x_out_data_to_stage2_rounding_mode__h14653 } ;
  assign stage2_rg_stage2$EN =
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827 ;

  // register stage3_rg_full
  always@(WILL_FIRE_RL_stage3_rl_reset or
	  WILL_FIRE_RL_rl_pipe or
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 or
	  MUX_imem_rg_f3$write_1__SEL_1)
  case (1'b1)
    WILL_FIRE_RL_stage3_rl_reset: stage3_rg_full$D_IN = 1'd0;
    WILL_FIRE_RL_rl_pipe:
	stage3_rg_full$D_IN =
	    IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2;
    MUX_imem_rg_f3$write_1__SEL_1: stage3_rg_full$D_IN = 1'd0;
    default: stage3_rg_full$D_IN = 1'b0 /* unspecified value */ ;
  endcase
  assign stage3_rg_full$EN =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe ||
	     WILL_FIRE_RL_stage3_rl_reset ;

  // register stage3_rg_stage3
  assign stage3_rg_stage3$D_IN =
	     { stage2_rg_stage2[363:268],
	       stage2_rg_stage2[365:364],
	       stage2_rg_stage2[267:265] == 3'd0 ||
	       IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163,
	       x_out_data_to_stage3_rd__h6246,
	       stage2_rg_stage2[267:265] != 3'd0 &&
	       stage2_rg_stage2[267:265] != 3'd1 &&
	       stage2_rg_stage2[267:265] != 3'd4 &&
	       stage2_rg_stage2[267:265] != 3'd2 &&
	       stage2_rg_stage2[267:265] != 3'd3,
	       stage2_rg_stage2[267:265] != 3'd0 &&
	       IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d198,
	       x_out_data_to_stage3_fpr_flags__h6249,
	       x_out_data_to_stage3_rd_val__h6250 } ;
  assign stage3_rg_stage3$EN =
	     WILL_FIRE_RL_rl_pipe &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	     2'd2 ;

  // submodule csr_regfile
  assign csr_regfile$access_permitted_1_csr_addr =
	     x_out_data_to_stage2_instr__h14645[31:20] ;
  assign csr_regfile$access_permitted_1_priv = rg_cur_priv ;
  assign csr_regfile$access_permitted_1_read_not_write = 1'd0 ;
  assign csr_regfile$access_permitted_2_csr_addr =
	     x_out_data_to_stage2_instr__h14645[31:20] ;
  assign csr_regfile$access_permitted_2_priv = rg_cur_priv ;
  assign csr_regfile$access_permitted_2_read_not_write =
	     rs1_val__h23782 == 64'd0 ;
  assign csr_regfile$csr_counter_read_fault_csr_addr = 12'h0 ;
  assign csr_regfile$csr_counter_read_fault_priv = 2'h0 ;
  always@(IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287)
  begin
    case (IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287)
      4'd7: csr_regfile$csr_ret_actions_from_priv = 2'b11;
      4'd8: csr_regfile$csr_ret_actions_from_priv = 2'b01;
      default: csr_regfile$csr_ret_actions_from_priv = 2'b0;
    endcase
  end
  always@(WILL_FIRE_RL_rl_stage1_interrupt or
	  MUX_csr_regfile$csr_trap_actions_5__VAL_1 or
	  WILL_FIRE_RL_rl_stage1_trap or
	  x_out_trap_info_exc_code__h18054 or
	  WILL_FIRE_RL_rl_stage2_nonpipe or x_out_trap_info_exc_code__h6466)
  begin
    case (1'b1) // synopsys parallel_case
      WILL_FIRE_RL_rl_stage1_interrupt:
	  csr_regfile$csr_trap_actions_exc_code =
	      MUX_csr_regfile$csr_trap_actions_5__VAL_1;
      WILL_FIRE_RL_rl_stage1_trap:
	  csr_regfile$csr_trap_actions_exc_code =
	      x_out_trap_info_exc_code__h18054;
      WILL_FIRE_RL_rl_stage2_nonpipe:
	  csr_regfile$csr_trap_actions_exc_code =
	      x_out_trap_info_exc_code__h6466;
      default: csr_regfile$csr_trap_actions_exc_code =
		   4'b1010 /* unspecified value */ ;
    endcase
  end
  assign csr_regfile$csr_trap_actions_from_priv = rg_cur_priv ;
  assign csr_regfile$csr_trap_actions_interrupt =
	     WILL_FIRE_RL_rl_stage1_interrupt && !csr_regfile$nmi_pending ;
  assign csr_regfile$csr_trap_actions_nmi =
	     WILL_FIRE_RL_rl_stage1_interrupt && csr_regfile$nmi_pending ;
  assign csr_regfile$csr_trap_actions_pc =
	     (WILL_FIRE_RL_rl_stage1_interrupt ||
	      WILL_FIRE_RL_rl_stage1_trap) ?
	       imem_rg_pc :
	       value__h6429 ;
  always@(WILL_FIRE_RL_rl_stage1_interrupt or
	  WILL_FIRE_RL_rl_stage1_trap or
	  value__h18109 or WILL_FIRE_RL_rl_stage2_nonpipe or value__h6490)
  begin
    case (1'b1) // synopsys parallel_case
      WILL_FIRE_RL_rl_stage1_interrupt:
	  csr_regfile$csr_trap_actions_xtval = 64'd0;
      WILL_FIRE_RL_rl_stage1_trap:
	  csr_regfile$csr_trap_actions_xtval = value__h18109;
      WILL_FIRE_RL_rl_stage2_nonpipe:
	  csr_regfile$csr_trap_actions_xtval = value__h6490;
      default: csr_regfile$csr_trap_actions_xtval =
		   64'hAAAAAAAAAAAAAAAA /* unspecified value */ ;
    endcase
  end
  assign csr_regfile$interrupt_pending_cur_priv = rg_cur_priv ;
  assign csr_regfile$m_external_interrupt_req_set_not_clear =
	     m_external_interrupt_req_set_not_clear ;
  assign csr_regfile$ma_update_fcsr_fflags_flags = stage3_rg_stage3[68:64] ;
  assign csr_regfile$ma_update_mstatus_fs_fs = 2'h3 ;
  assign csr_regfile$mav_csr_write_csr_addr =
	     x_out_data_to_stage2_instr__h14645[31:20] ;
  assign csr_regfile$mav_csr_write_word =
	     MUX_csr_regfile$mav_csr_write_1__SEL_1 ?
	       rs1_val__h23289 :
	       MUX_csr_regfile$mav_csr_write_2__VAL_2 ;
  assign csr_regfile$mav_read_csr_csr_addr = 12'h0 ;
  assign csr_regfile$nmi_req_set_not_clear = nmi_req_set_not_clear ;
  assign csr_regfile$read_csr_csr_addr =
	     x_out_data_to_stage2_instr__h14645[31:20] ;
  assign csr_regfile$read_csr_port2_csr_addr = 12'h0 ;
  assign csr_regfile$s_external_interrupt_req_set_not_clear =
	     s_external_interrupt_req_set_not_clear ;
  assign csr_regfile$software_interrupt_req_set_not_clear =
	     software_interrupt_req_set_not_clear ;
  assign csr_regfile$timer_interrupt_req_set_not_clear =
	     timer_interrupt_req_set_not_clear ;
  assign csr_regfile$EN_server_reset_request_put =
	     CAN_FIRE_RL_rl_reset_start ;
  assign csr_regfile$EN_server_reset_response_get =
	     MUX_rg_state$write_1__SEL_1 ;
  assign csr_regfile$EN_mav_read_csr = 1'b0 ;
  assign csr_regfile$EN_mav_csr_write =
	     WILL_FIRE_RL_rl_stage1_CSRR_W &&
	     csr_regfile$access_permitted_1 ||
	     WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	     csr_regfile$access_permitted_2 &&
	     x_out_data_to_stage2_instr__h14645[19:15] != 5'd0 ;
  assign csr_regfile$EN_ma_update_fcsr_fflags =
	     WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	     stage3_rg_stage3[70] ;
  assign csr_regfile$EN_ma_update_mstatus_fs =
	     WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	     (stage3_rg_stage3[70] || stage3_rg_stage3[69]) ;
  assign csr_regfile$EN_csr_trap_actions = MUX_rg_cur_priv$write_1__SEL_1 ;
  assign csr_regfile$EN_csr_ret_actions = CAN_FIRE_RL_rl_stage1_xRET ;
  assign csr_regfile$EN_csr_minstret_incr =
	     WILL_FIRE_RL_rl_pipe &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	     2'd2 ||
	     WILL_FIRE_RL_rl_stage1_CSRR_W &&
	     csr_regfile$access_permitted_1 ||
	     WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	     csr_regfile$access_permitted_2 ||
	     WILL_FIRE_RL_rl_stage1_WFI ||
	     WILL_FIRE_RL_rl_stage1_FENCE ||
	     WILL_FIRE_RL_rl_stage1_FENCE_I ||
	     WILL_FIRE_RL_rl_stage1_xRET ||
	     WILL_FIRE_RL_rl_stage2_nonpipe ||
	     WILL_FIRE_RL_rl_stage1_SFENCE_VMA ;
  assign csr_regfile$EN_debug = 1'b0 ;

  // submodule f_reset_reqs
  assign f_reset_reqs$D_IN = hart0_server_reset_request_put ;
  assign f_reset_reqs$ENQ = EN_hart0_server_reset_request_put ;
  assign f_reset_reqs$DEQ =
	     gpr_regfile$RDY_server_reset_request_put &&
	     fpr_regfile_RDY_server_reset_request_put__697__ETC___d1709 &&
	     rg_state == 4'd0 ;
  assign f_reset_reqs$CLR = 1'b0 ;

  // submodule f_reset_rsps
  assign f_reset_rsps$D_IN = rg_run_on_reset ;
  assign f_reset_rsps$ENQ = MUX_rg_state$write_1__SEL_1 ;
  assign f_reset_rsps$DEQ = EN_hart0_server_reset_response_get ;
  assign f_reset_rsps$CLR = 1'b0 ;

  // submodule fpr_regfile
  assign fpr_regfile$read_rs1_port2_rs1 = 5'h0 ;
  assign fpr_regfile$read_rs1_rs1 = _theResult____h4607[19:15] ;
  assign fpr_regfile$read_rs2_rs2 = _theResult____h4607[24:20] ;
  assign fpr_regfile$read_rs3_rs3 = _theResult____h4607[31:27] ;
  assign fpr_regfile$write_rd_rd = stage3_rg_stage3[75:71] ;
  assign fpr_regfile$write_rd_rd_val = stage3_rg_stage3[63:0] ;
  assign fpr_regfile$EN_server_reset_request_put =
	     CAN_FIRE_RL_rl_reset_start ;
  assign fpr_regfile$EN_server_reset_response_get =
	     MUX_rg_state$write_1__SEL_1 ;
  assign fpr_regfile$EN_write_rd =
	     WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	     stage3_rg_stage3[69] ;

  // submodule gpr_regfile
  assign gpr_regfile$read_rs1_port2_rs1 = 5'h0 ;
  assign gpr_regfile$read_rs1_rs1 = _theResult____h4607[19:15] ;
  assign gpr_regfile$read_rs2_rs2 = _theResult____h4607[24:20] ;
  assign gpr_regfile$write_rd_rd =
	     MUX_gpr_regfile$write_rd_1__SEL_3 ?
	       stage3_rg_stage3[75:71] :
	       x_out_data_to_stage2_instr__h14645[11:7] ;
  assign gpr_regfile$write_rd_rd_val =
	     (MUX_csr_regfile$mav_csr_write_1__SEL_1 ||
	      MUX_gpr_regfile$write_rd_1__SEL_2) ?
	       csr_regfile$read_csr[63:0] :
	       stage3_rg_stage3[63:0] ;
  assign gpr_regfile$EN_server_reset_request_put =
	     CAN_FIRE_RL_rl_reset_start ;
  assign gpr_regfile$EN_server_reset_response_get =
	     MUX_rg_state$write_1__SEL_1 ;
  assign gpr_regfile$EN_write_rd =
	     WILL_FIRE_RL_rl_stage1_CSRR_W &&
	     csr_regfile$access_permitted_1 ||
	     WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	     csr_regfile$access_permitted_2 ||
	     WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	     !stage3_rg_stage3[69] ;

  // submodule near_mem
  assign near_mem$dmem_master_arready = dmem_master_arready ;
  assign near_mem$dmem_master_awready = dmem_master_awready ;
  assign near_mem$dmem_master_bid = dmem_master_bid ;
  assign near_mem$dmem_master_bresp = dmem_master_bresp ;
  assign near_mem$dmem_master_bvalid = dmem_master_bvalid ;
  assign near_mem$dmem_master_rdata = dmem_master_rdata ;
  assign near_mem$dmem_master_rid = dmem_master_rid ;
  assign near_mem$dmem_master_rlast = dmem_master_rlast ;
  assign near_mem$dmem_master_rresp = dmem_master_rresp ;
  assign near_mem$dmem_master_rvalid = dmem_master_rvalid ;
  assign near_mem$dmem_master_wready = dmem_master_wready ;
  assign near_mem$dmem_req_addr = x_out_data_to_stage2_addr__h14648 ;
  assign near_mem$dmem_req_amo_funct7 =
	     x_out_data_to_stage2_val1__h14649[6:0] ;
  assign near_mem$dmem_req_f3 = x_out_data_to_stage2_instr__h14645[14:12] ;
  assign near_mem$dmem_req_mstatus_MXR = csr_regfile$read_mstatus[19] ;
  always@(IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373)
  begin
    case (IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373)
      3'd1: near_mem$dmem_req_op = 2'd0;
      3'd2: near_mem$dmem_req_op = 2'd1;
      default: near_mem$dmem_req_op = 2'd2;
    endcase
  end
  assign near_mem$dmem_req_priv =
	     csr_regfile$read_mstatus[17] ?
	       csr_regfile$read_mstatus[12:11] :
	       rg_cur_priv ;
  assign near_mem$dmem_req_satp = csr_regfile$read_satp ;
  assign near_mem$dmem_req_sstatus_SUM = csr_regfile$read_sstatus[18] ;
  assign near_mem$dmem_req_store_value = x_out_data_to_stage2_val2__h14650 ;
  assign near_mem$imem_master_arready = imem_master_arready ;
  assign near_mem$imem_master_awready = imem_master_awready ;
  assign near_mem$imem_master_bid = imem_master_bid ;
  assign near_mem$imem_master_bresp = imem_master_bresp ;
  assign near_mem$imem_master_bvalid = imem_master_bvalid ;
  assign near_mem$imem_master_rdata = imem_master_rdata ;
  assign near_mem$imem_master_rid = imem_master_rid ;
  assign near_mem$imem_master_rlast = imem_master_rlast ;
  assign near_mem$imem_master_rresp = imem_master_rresp ;
  assign near_mem$imem_master_rvalid = imem_master_rvalid ;
  assign near_mem$imem_master_wready = imem_master_wready ;
  always@(MUX_imem_rg_f3$write_1__SEL_1 or
	  MUX_near_mem$imem_req_2__VAL_1 or
	  MUX_imem_rg_f3$write_1__SEL_2 or
	  MUX_near_mem$imem_req_2__VAL_2 or
	  WILL_FIRE_RL_imem_rl_fetch_next_32b or
	  next_pc___1__h18221 or
	  WILL_FIRE_RL_rl_stage1_restart_after_csrrx or
	  WILL_FIRE_RL_rl_trap_fetch or
	  MUX_near_mem$imem_req_2__VAL_5 or MUX_near_mem$imem_req_1__SEL_6)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_imem_rg_f3$write_1__SEL_1:
	  near_mem$imem_req_addr = MUX_near_mem$imem_req_2__VAL_1;
      MUX_imem_rg_f3$write_1__SEL_2:
	  near_mem$imem_req_addr = MUX_near_mem$imem_req_2__VAL_2;
      WILL_FIRE_RL_imem_rl_fetch_next_32b:
	  near_mem$imem_req_addr = next_pc___1__h18221;
      WILL_FIRE_RL_rl_stage1_restart_after_csrrx:
	  near_mem$imem_req_addr = MUX_near_mem$imem_req_2__VAL_2;
      WILL_FIRE_RL_rl_trap_fetch:
	  near_mem$imem_req_addr = MUX_near_mem$imem_req_2__VAL_5;
      MUX_near_mem$imem_req_1__SEL_6:
	  near_mem$imem_req_addr = MUX_near_mem$imem_req_2__VAL_5;
      default: near_mem$imem_req_addr =
		   64'hAAAAAAAAAAAAAAAA /* unspecified value */ ;
    endcase
  end
  assign near_mem$imem_req_f3 =
	     WILL_FIRE_RL_imem_rl_fetch_next_32b ? imem_rg_f3 : 3'b010 ;
  always@(MUX_imem_rg_f3$write_1__SEL_1 or
	  MUX_imem_rg_f3$write_1__SEL_2 or
	  WILL_FIRE_RL_rl_stage1_restart_after_csrrx or
	  MUX_near_mem$imem_req_1__SEL_6 or
	  csr_regfile$read_mstatus or
	  WILL_FIRE_RL_rl_trap_fetch or
	  rg_mstatus_MXR or
	  WILL_FIRE_RL_imem_rl_fetch_next_32b or imem_rg_mstatus_MXR)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_imem_rg_f3$write_1__SEL_1 || MUX_imem_rg_f3$write_1__SEL_2 ||
      WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
      MUX_near_mem$imem_req_1__SEL_6:
	  near_mem$imem_req_mstatus_MXR = csr_regfile$read_mstatus[19];
      WILL_FIRE_RL_rl_trap_fetch:
	  near_mem$imem_req_mstatus_MXR = rg_mstatus_MXR;
      WILL_FIRE_RL_imem_rl_fetch_next_32b:
	  near_mem$imem_req_mstatus_MXR = imem_rg_mstatus_MXR;
      default: near_mem$imem_req_mstatus_MXR = 1'b0 /* unspecified value */ ;
    endcase
  end
  assign near_mem$imem_req_priv =
	     (MUX_imem_rg_f3$write_1__SEL_1 ||
	      MUX_imem_rg_f3$write_1__SEL_2 ||
	      WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
	      WILL_FIRE_RL_rl_trap_fetch ||
	      MUX_near_mem$imem_req_1__SEL_6) ?
	       rg_cur_priv :
	       imem_rg_priv ;
  assign near_mem$imem_req_satp =
	     WILL_FIRE_RL_imem_rl_fetch_next_32b ?
	       imem_rg_satp :
	       csr_regfile$read_satp ;
  always@(MUX_imem_rg_f3$write_1__SEL_1 or
	  MUX_imem_rg_f3$write_1__SEL_2 or
	  WILL_FIRE_RL_rl_stage1_restart_after_csrrx or
	  MUX_near_mem$imem_req_1__SEL_6 or
	  csr_regfile$read_sstatus or
	  WILL_FIRE_RL_rl_trap_fetch or
	  rg_sstatus_SUM or
	  WILL_FIRE_RL_imem_rl_fetch_next_32b or imem_rg_sstatus_SUM)
  begin
    case (1'b1) // synopsys parallel_case
      MUX_imem_rg_f3$write_1__SEL_1 || MUX_imem_rg_f3$write_1__SEL_2 ||
      WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
      MUX_near_mem$imem_req_1__SEL_6:
	  near_mem$imem_req_sstatus_SUM = csr_regfile$read_sstatus[18];
      WILL_FIRE_RL_rl_trap_fetch:
	  near_mem$imem_req_sstatus_SUM = rg_sstatus_SUM;
      WILL_FIRE_RL_imem_rl_fetch_next_32b:
	  near_mem$imem_req_sstatus_SUM = imem_rg_sstatus_SUM;
      default: near_mem$imem_req_sstatus_SUM = 1'b0 /* unspecified value */ ;
    endcase
  end
  assign near_mem$server_fence_request_put =
	     8'b10101010 /* unspecified value */  ;
  assign near_mem$EN_server_reset_request_put = CAN_FIRE_RL_rl_reset_start ;
  assign near_mem$EN_server_reset_response_get = MUX_rg_state$write_1__SEL_1 ;
  assign near_mem$EN_imem_req =
	     WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset ||
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 ||
	     WILL_FIRE_RL_imem_rl_fetch_next_32b ||
	     WILL_FIRE_RL_rl_stage1_restart_after_csrrx ||
	     WILL_FIRE_RL_rl_trap_fetch ||
	     WILL_FIRE_RL_rl_WFI_resume ||
	     WILL_FIRE_RL_rl_finish_SFENCE_VMA ||
	     WILL_FIRE_RL_rl_finish_FENCE ||
	     WILL_FIRE_RL_rl_finish_FENCE_I ;
  assign near_mem$EN_dmem_req =
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827 &&
	     (IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 ==
	      3'd1 ||
	      IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 ==
	      3'd2 ||
	      IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 ==
	      3'd4) ;
  assign near_mem$EN_server_fence_i_request_put =
	     MUX_rg_state$write_1__SEL_8 ;
  assign near_mem$EN_server_fence_i_response_get =
	     CAN_FIRE_RL_rl_finish_FENCE_I ;
  assign near_mem$EN_server_fence_request_put = MUX_rg_state$write_1__SEL_9 ;
  assign near_mem$EN_server_fence_response_get = CAN_FIRE_RL_rl_finish_FENCE ;
  assign near_mem$EN_sfence_vma = MUX_rg_state$write_1__SEL_10 ;

  // submodule soc_map
  assign soc_map$m_is_IO_addr_addr = 64'h0 ;
  assign soc_map$m_is_mem_addr_addr = 64'h0 ;
  assign soc_map$m_is_near_mem_IO_addr_addr = 64'h0 ;

  // submodule stage1_f_reset_reqs
  assign stage1_f_reset_reqs$ENQ = CAN_FIRE_RL_rl_reset_start ;
  assign stage1_f_reset_reqs$DEQ = CAN_FIRE_RL_stage1_rl_reset ;
  assign stage1_f_reset_reqs$CLR = 1'b0 ;

  // submodule stage1_f_reset_rsps
  assign stage1_f_reset_rsps$ENQ = CAN_FIRE_RL_stage1_rl_reset ;
  assign stage1_f_reset_rsps$DEQ = MUX_rg_state$write_1__SEL_1 ;
  assign stage1_f_reset_rsps$CLR = 1'b0 ;

  // submodule stage2_f_reset_reqs
  assign stage2_f_reset_reqs$ENQ = CAN_FIRE_RL_rl_reset_start ;
  assign stage2_f_reset_reqs$DEQ = CAN_FIRE_RL_stage2_rl_reset_begin ;
  assign stage2_f_reset_reqs$CLR = 1'b0 ;

  // submodule stage2_f_reset_rsps
  assign stage2_f_reset_rsps$ENQ = CAN_FIRE_RL_stage2_rl_reset_end ;
  assign stage2_f_reset_rsps$DEQ = MUX_rg_state$write_1__SEL_1 ;
  assign stage2_f_reset_rsps$CLR = 1'b0 ;

  // submodule stage2_fbox
  assign stage2_fbox$req_f7 = x_out_data_to_stage2_instr__h14645[31:25] ;
  assign stage2_fbox$req_opcode = x_out_data_to_stage2_instr__h14645[6:0] ;
  assign stage2_fbox$req_rm = x_out_data_to_stage2_rounding_mode__h14653 ;
  assign stage2_fbox$req_rs2 = x_out_data_to_stage2_instr__h14645[24:20] ;
  assign stage2_fbox$req_v1 = x_out_data_to_stage2_val1__h14649 ;
  assign stage2_fbox$req_v2 = x_out_data_to_stage2_val2__h14650 ;
  assign stage2_fbox$req_v3 = x_out_data_to_stage2_val3__h14651 ;
  assign stage2_fbox$EN_server_reset_request_put =
	     CAN_FIRE_RL_stage2_rl_reset_begin ;
  assign stage2_fbox$EN_server_reset_response_get =
	     CAN_FIRE_RL_stage2_rl_reset_end ;
  assign stage2_fbox$EN_req =
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 ==
	     3'd5 ;

  // submodule stage2_mbox
  assign stage2_mbox$req_f3 = x_out_data_to_stage2_instr__h14645[14:12] ;
  assign stage2_mbox$req_is_OP_not_OP_32 = !_theResult____h4607[3] ;
  assign stage2_mbox$req_v1 = x_out_data_to_stage2_val1__h14649 ;
  assign stage2_mbox$req_v2 = x_out_data_to_stage2_val2__h14650 ;
  assign stage2_mbox$set_verbosity_verbosity = 4'h0 ;
  assign stage2_mbox$EN_set_verbosity = 1'b0 ;
  assign stage2_mbox$EN_req_reset = 1'b0 ;
  assign stage2_mbox$EN_rsp_reset = 1'b0 ;
  assign stage2_mbox$EN_req =
	     WILL_FIRE_RL_rl_pipe &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 ==
	     3'd3 ;

  // submodule stage3_f_reset_reqs
  assign stage3_f_reset_reqs$ENQ = CAN_FIRE_RL_rl_reset_start ;
  assign stage3_f_reset_reqs$DEQ = CAN_FIRE_RL_stage3_rl_reset ;
  assign stage3_f_reset_reqs$CLR = 1'b0 ;

  // submodule stage3_f_reset_rsps
  assign stage3_f_reset_rsps$ENQ = CAN_FIRE_RL_stage3_rl_reset ;
  assign stage3_f_reset_rsps$DEQ = MUX_rg_state$write_1__SEL_1 ;
  assign stage3_f_reset_rsps$CLR = 1'b0 ;

  // remaining internal signals
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 =
	     (_theResult____h4607[6:0] == 7'b1100011) ?
	       _theResult____h4607[14:12] != 3'b0 &&
	       _theResult____h4607[14:12] != 3'b001 &&
	       _theResult____h4607[14:12] != 3'b100 &&
	       _theResult____h4607[14:12] != 3'b101 &&
	       _theResult____h4607[14:12] != 3'b110 &&
	       _theResult____h4607[14:12] != 3'b111 ||
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 :
	       _theResult____h4607[6:0] == 7'b1101111 ||
	       _theResult____h4607[6:0] == 7'b1100111 ||
	       (_theResult____h4607[6:0] != 7'b0110011 ||
		_theResult____h4607[31:25] != 7'b0000001) &&
	       (_theResult____h4607[6:0] != 7'b0111011 ||
		_theResult____h4607[31:25] != 7'b0000001) &&
	       (_theResult____h4607[6:0] != 7'b0010011 &&
		_theResult____h4607[6:0] != 7'b0110011 ||
		_theResult____h4607[14:12] != 3'b001 &&
		_theResult____h4607[14:12] != 3'b101) &&
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1012 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026 =
	     (_theResult____h4607[6:0] == 7'b1100011) ?
	       _theResult____h4607[14:12] != 3'b0 &&
	       _theResult____h4607[14:12] != 3'b001 &&
	       _theResult____h4607[14:12] != 3'b100 &&
	       _theResult____h4607[14:12] != 3'b101 &&
	       _theResult____h4607[14:12] != 3'b110 &&
	       _theResult____h4607[14:12] != 3'b111 ||
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 :
	       _theResult____h4607[6:0] != 7'b1101111 &&
	       _theResult____h4607[6:0] != 7'b1100111 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 =
	     (_theResult____h4607[6:0] == 7'b1100011) ?
	       (_theResult____h4607[14:12] == 3'b0 ||
		_theResult____h4607[14:12] == 3'b001 ||
		_theResult____h4607[14:12] == 3'b100 ||
		_theResult____h4607[14:12] == 3'b101 ||
		_theResult____h4607[14:12] == 3'b110 ||
		_theResult____h4607[14:12] == 3'b111) &&
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 :
	       _theResult____h4607[6:0] != 7'b1101111 &&
	       _theResult____h4607[6:0] != 7'b1100111 &&
	       (IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1043 ||
		IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1202) ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207 =
	     (_theResult____h4607[6:0] == 7'b1100011) ?
	       (_theResult____h4607[14:12] == 3'b0 ||
		_theResult____h4607[14:12] == 3'b001 ||
		_theResult____h4607[14:12] == 3'b100 ||
		_theResult____h4607[14:12] == 3'b101 ||
		_theResult____h4607[14:12] == 3'b110 ||
		_theResult____h4607[14:12] == 3'b111) &&
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 :
	       _theResult____h4607[6:0] == 7'b1101111 ||
	       _theResult____h4607[6:0] == 7'b1100111 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1220 =
	     ((_theResult____h4607[14:12] == 3'b0 ||
	       _theResult____h4607[14:12] == 3'b100 ||
	       _theResult____h4607[14:12] == 3'b001 ||
	       _theResult____h4607[14:12] == 3'b101 ||
	       _theResult____h4607[14:12] == 3'b010 ||
	       _theResult____h4607[14:12] == 3'b110 ||
	       _theResult____h4607[14:12] == 3'b011) &&
	      (_theResult____h4607[6:0] != 7'b0000111 ||
	       csr_regfile$read_mstatus[14:13] != 2'h0)) ?
	       4'd0 :
	       4'd11 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1224 =
	     ((_theResult____h4607[14:12] == 3'b0 ||
	       _theResult____h4607[14:12] == 3'b001 ||
	       _theResult____h4607[14:12] == 3'b010 ||
	       _theResult____h4607[14:12] == 3'b011) &&
	      (_theResult____h4607[6:0] != 7'b0100111 ||
	       csr_regfile$read_mstatus[14:13] != 2'h0)) ?
	       4'd0 :
	       4'd11 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1262 =
	     IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1235 ?
	       4'd6 :
	       ((_theResult____h4607[11:7] == 5'd0 &&
		 _theResult____h4607[19:15] == 5'd0) ?
		  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1260 :
		  4'd11) ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1558 =
	     ((_theResult____h4607[6:0] == 7'b0010011 ||
	       _theResult____h4607[6:0] == 7'b0110011) &&
	      (_theResult____h4607[14:12] == 3'b001 ||
	       _theResult____h4607[14:12] == 3'b101)) ?
	       alu_outputs___1_val1__h14946 :
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1559 =
	     ((_theResult____h4607[6:0] == 7'b0110011 ||
	       _theResult____h4607[6:0] == 7'b0111011) &&
	      _theResult____h4607[31:25] == 7'b0000001) ?
	       rs1_val_bypassed__h4615 :
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1558 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1576 =
	     ((_theResult____h4607[6:0] == 7'b0110011 ||
	       _theResult____h4607[6:0] == 7'b0111011) &&
	      _theResult____h4607[31:25] == 7'b0000001) ?
	       rs2_val_bypassed__h4621 :
	       CASE_theResult__607_BITS_6_TO_0_0b100011_alu_o_ETC__q23 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1750 =
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207 ||
	     near_mem$imem_exc ||
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686 =
	     rs1_val_bypassed__h4615 == rs2_val_bypassed__h4621 ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688 =
	     (rs1_val_bypassed__h4615 ^ 64'h8000000000000000) <
	     (rs2_val_bypassed__h4621 ^ 64'h8000000000000000) ;
  assign IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690 =
	     rs1_val_bypassed__h4615 < rs2_val_bypassed__h4621 ;
  assign IF_NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_P_ETC___d1214 =
	     NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_ETC___d733 ?
	       4'd11 :
	       4'd0 ;
  assign IF_NOT_csr_regfile_read_mstatus__8_BITS_14_TO__ETC___d1270 =
	     NOT_csr_regfile_read_mstatus__8_BITS_14_TO_13__ETC___d1190 ?
	       4'd0 :
	       4'd11 ;
  assign IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d258 =
	     (!near_mem$dmem_valid || !near_mem$dmem_exc) ?
	       ((stage2_rg_stage2[3] || stage2_rg_stage2[264:260] == 5'd0) ?
		  2'd0 :
		  IF_near_mem_dmem_valid__25_AND_NOT_near_mem_dm_ETC___d256) :
	       2'd0 ;
  assign IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d284 =
	     (!near_mem$dmem_valid || !near_mem$dmem_exc) ?
	       (stage2_rg_stage2[3] ?
		  IF_near_mem_dmem_valid__25_AND_NOT_near_mem_dm_ETC___d256 :
		  2'd0) :
	       2'd0 ;
  assign IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1043 =
	     _theResult____h4607[6:0] == 7'b0110011 &&
	     _theResult____h4607[31:25] == 7'b0000001 ||
	     _theResult____h4607[6:0] == 7'b0111011 &&
	     _theResult____h4607[31:25] == 7'b0000001 ||
	     (_theResult____h4607[6:0] == 7'b0010011 ||
	      _theResult____h4607[6:0] == 7'b0110011) &&
	     (_theResult____h4607[14:12] == 3'b001 ||
	      _theResult____h4607[14:12] == 3'b101) ;
  assign IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1050 =
	     _theResult____h4607[14:12] == 3'b0 &&
	     (_theResult____h4607[6:0] != 7'b0110011 ||
	      !_theResult____h4607[30]) ||
	     _theResult____h4607[14:12] == 3'b0 &&
	     _theResult____h4607[6:0] == 7'b0110011 &&
	     _theResult____h4607[30] ||
	     _theResult____h4607[14:12] == 3'b010 ||
	     _theResult____h4607[14:12] == 3'b011 ||
	     _theResult____h4607[14:12] == 3'b100 ||
	     _theResult____h4607[14:12] == 3'b110 ||
	     _theResult____h4607[14:12] == 3'b111 ;
  assign IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1235 =
	     _theResult____h4607[11:7] == 5'd0 &&
	     (rg_cur_priv == 2'b11 ||
	      rg_cur_priv == 2'b01 && !csr_regfile$read_mstatus[20]) &&
	     _theResult____h4607[31:25] == 7'b0001001 ;
  assign IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1432 =
	     NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d317 ?
	       next_pc___1__h18221 :
	       next_pc__h18219 ;
  assign IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 =
	     near_mem$imem_exc ?
	       4'd11 :
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1285 ;
  assign IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d2002 =
	     imem_rg_pc == csr_regfile$csr_trap_actions[193:130] ;
  assign IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 =
	     (!stage2_rg_full || stage2_rg_stage2[267:265] == 3'd0) ?
	       2'd0 :
	       CASE_stage2_rg_stage2_BITS_267_TO_265_1_IF_NOT_ETC__q3 ;
  assign IF_csr_regfile_read_csr_IF_NOT_stage1_rg_full__ETC___d1952 =
	     csr_regfile$read_csr[63:0] | rs1_val__h23782 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d590 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
	      instr__h4605[15:13] == 3'b001) ?
	       instr__h14206 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
		 instr__h4605[15:13] == 3'b101) ?
		  instr__h14357 :
		  32'h0) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d591 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[15:13] == 3'b101) ?
	       instr__h14007 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d590 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d592 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[11:7] != 5'd0 &&
	      instr__h4605[15:13] == 3'b001 &&
	      csr_regfile$read_misa[3]) ?
	       instr__h13854 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d591 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d593 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
	      instr__h4605[15:13] == 3'b111) ?
	       instr__h12815 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d592 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d594 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
	      instr__h4605[15:13] == 3'b011) ?
	       instr__h12664 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d593 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d595 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[15:13] == 3'b111) ?
	       instr__h12465 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d594 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d597 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[15:12] == 4'b1001 &&
	      instr__h4605[11:7] == 5'd0 &&
	      instr__h4605[6:2] == 5'd0) ?
	       instr__h12216 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
		 instr__h4605[11:7] != 5'd0 &&
		 instr__h4605[15:13] == 3'b011) ?
		  instr__h12312 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d595) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d599 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:10] == 6'b100111 &&
	      instr__h4605[6:5] == 2'b01) ?
	       instr__h11920 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
		 instr__h4605[15:10] == 6'b100111 &&
		 instr__h4605[6:5] == 2'b0) ?
		  instr__h12058 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d597) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d601 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:10] == 6'b100011 &&
	      instr__h4605[6:5] == 2'b01) ?
	       instr__h11646 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
		 instr__h4605[15:10] == 6'b100011 &&
		 instr__h4605[6:5] == 2'b0) ?
		  instr__h11782 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d599) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d603 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:10] == 6'b100011 &&
	      instr__h4605[6:5] == 2'b11) ?
	       instr__h11374 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
		 instr__h4605[15:10] == 6'b100011 &&
		 instr__h4605[6:5] == 2'b10) ?
		  instr__h11510 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d601) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d604 =
	     (csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d417 &&
	      instr__h4605[6:2] != 5'd0) ?
	       instr__h11279 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d603 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d605 =
	     (csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d411 &&
	      instr__h4605[6:2] != 5'd0) ?
	       instr__h11160 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d604 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d607 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b100 &&
	      instr__h4605[11:10] == 2'b01 &&
	      imm6__h9273 != 6'd0) ?
	       instr__h10865 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
		 instr__h4605[15:13] == 3'b100 &&
		 instr__h4605[11:10] == 2'b10) ?
		  instr__h10982 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d605) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d608 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b100 &&
	      instr__h4605[11:10] == 2'b0 &&
	      imm6__h9273 != 6'd0) ?
	       instr__h10676 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d607 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d609 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[15:13] == 3'b0 &&
	      instr__h4605[11:7] != 5'd0 &&
	      imm6__h9273 != 6'd0) ?
	       instr__h10487 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d608 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d611 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b011 &&
	      instr__h4605[11:7] == 5'd2 &&
	      nzimm10__h9942 != 10'd0) ?
	       instr__h10146 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
		 instr__h4605[15:13] == 3'b0 &&
		 nzimm10__h10157 != 10'd0) ?
		  instr__h10318 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d609) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d613 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b0 &&
	      instr__h4605[11:7] != 5'd0 &&
	      imm6__h9273 != 6'd0 ||
	      csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b0 &&
	      instr__h4605[11:7] == 5'd0 &&
	      imm6__h9273 == 6'd0) ?
	       instr__h9664 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
		 instr__h4605[15:13] == 3'b001 &&
		 instr__h4605[11:7] != 5'd0) ?
		  instr__h9891 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d611) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d614 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b011 &&
	      instr__h4605[11:7] != 5'd0 &&
	      instr__h4605[11:7] != 5'd2 &&
	      imm6__h9273 != 6'd0) ?
	       instr__h9535 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d613 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d616 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b111) ?
	       instr__h9013 :
	       ((csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
		 instr__h4605[15:13] == 3'b010 &&
		 instr__h4605[11:7] != 5'd0) ?
		  instr__h9351 :
		  IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d614) ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d617 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b110) ?
	       instr__h8696 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d616 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d618 =
	     (csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d417 &&
	      instr__h4605[6:2] == 5'd0) ?
	       instr__h8631 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d617 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d619 =
	     (csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d411 &&
	      instr__h4605[6:2] == 5'd0) ?
	       instr__h8515 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d618 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d620 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b01 &&
	      instr__h4605[15:13] == 3'b101) ?
	       instr__h8061 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d619 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d621 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
	      instr__h4605[15:13] == 3'b110) ?
	       instr__h7832 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d620 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d622 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b0 &&
	      instr__h4605[15:13] == 3'b010) ?
	       instr__h7637 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d621 ;
  assign IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d623 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[15:13] == 3'b110) ?
	       instr__h7445 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d622 ;
  assign IF_near_mem_dmem_valid__25_AND_NOT_near_mem_dm_ETC___d256 =
	     (near_mem$dmem_valid && !near_mem$dmem_exc) ? 2'd2 : 2'd1 ;
  assign IF_near_mem_dmem_valid__25_THEN_IF_near_mem_dm_ETC___d128 =
	     near_mem$dmem_valid ? (near_mem$dmem_exc ? 2'd3 : 2'd2) : 2'd1 ;
  assign IF_rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7__ETC___d1258 =
	     ((rg_cur_priv == 2'b11 ||
	       rg_cur_priv == 2'b01 && !csr_regfile$read_mstatus[22]) &&
	      _theResult____h4607[31:20] == 12'b000100000010) ?
	       4'd8 :
	       (rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7_EQ__ETC___d1256 ?
		  4'd10 :
		  4'd11) ;
  assign IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132 =
	     stage2_fbox$valid ? 2'd2 : 2'd1 ;
  assign IF_stage2_mbox_valid__29_THEN_2_ELSE_1___d130 =
	     stage2_mbox$valid ? 2'd2 : 2'd1 ;
  assign IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 =
	     stage2_rg_full ?
	       CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q1 :
	       2'd0 ;
  assign IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 =
	     stage2_rg_full ?
	       CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2 :
	       2'd0 ;
  assign IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627 =
	     x_out_bypass_rd__h6724 == _theResult____h4607[19:15] ;
  assign IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629 =
	     x_out_bypass_rd__h6724 == _theResult____h4607[24:20] ;
  assign NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_ETC___d733 =
	     (_theResult____h4607[14:12] != 3'b0 ||
	      _theResult____h4607[6:0] == 7'b0110011 &&
	      _theResult____h4607[30]) &&
	     (_theResult____h4607[14:12] != 3'b0 ||
	      _theResult____h4607[6:0] != 7'b0110011 ||
	      !_theResult____h4607[30]) &&
	     _theResult____h4607[14:12] != 3'b010 &&
	     _theResult____h4607[14:12] != 3'b011 &&
	     _theResult____h4607[14:12] != 3'b100 &&
	     _theResult____h4607[14:12] != 3'b110 &&
	     _theResult____h4607[14:12] != 3'b111 ;
  assign NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 =
	     cur_verbosity__h3134 > 4'd1 ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 =
	     !csr_regfile$interrupt_pending[4] && !csr_regfile$nmi_pending ||
	     (!stage1_rg_full ||
	      NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1779) &&
	     (!stage1_rg_full ||
	      NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1771) ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1824 =
	     !csr_regfile$interrupt_pending[4] && !csr_regfile$nmi_pending ||
	     near_mem$imem_exc ||
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026 ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827 =
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1824 &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	      2'd2 ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	      2'd0) &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210 ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 =
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1824 &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	      2'd2 ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	      2'd0) &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210 ||
	     !stage1_rg_full ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1895 =
	     (!csr_regfile$interrupt_pending[4] && !csr_regfile$nmi_pending ||
	      _0_OR_0_OR_near_mem_imem_exc__48_OR_IF_IF_NOT_n_ETC___d1893) &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210 ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1897 =
	     (!csr_regfile$interrupt_pending[4] && !csr_regfile$nmi_pending ||
	      _0_OR_0_OR_near_mem_imem_exc__48_OR_IF_IF_NOT_n_ETC___d1893) &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	      2'd2 ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	      2'd0) ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1900 =
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	     (NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1897 &&
	      near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210 ||
	      !stage1_rg_full) ;
  assign NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1914 =
	     !csr_regfile$interrupt_pending[4] && !csr_regfile$nmi_pending ||
	     !near_mem$imem_exc &&
	     (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) ;
  assign NOT_csr_regfile_read_mstatus__8_BITS_14_TO_13__ETC___d1190 =
	     csr_regfile$read_mstatus[14:13] != 2'h0 &&
	     CASE_theResult__607_BITS_6_TO_0_0b1000011_theR_ETC__q13 &&
	     ((_theResult____h4607[14:12] == 3'b111) ?
		csr_regfile$read_frm != 3'b101 &&
		csr_regfile$read_frm != 3'b110 &&
		csr_regfile$read_frm != 3'b111 :
		_theResult____h4607[14:12] != 3'b101 &&
		_theResult____h4607[14:12] != 3'b110) ;
  assign NOT_near_mem_imem_exc__48_031_AND_IF_IF_NOT_ne_ETC___d1353 =
	     !near_mem$imem_exc &&
	     (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd0 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd1 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd2 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd3 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd4 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd5 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd6 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd7 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd8 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd9 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd10 ;
  assign NOT_near_mem_imem_exc__48_031_AND_IF_IF_NOT_ne_ETC___d1403 =
	     !near_mem$imem_exc &&
	     (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 !=
	     3'd0 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 !=
	     3'd1 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 !=
	     3'd2 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 !=
	     3'd3 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 !=
	     3'd4 ;
  assign NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d317 =
	     !near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309 &&
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] != 2'b0 ||
	      near_mem$imem_instr[1:0] != 2'b11) ;
  assign NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d322 =
	     NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d317 &&
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] == 2'b11) &&
	     (!near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] != 2'b0 ||
	      near_mem$imem_instr[1:0] == 2'b11) ;
  assign NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1760 =
	     !near_mem$imem_valid ||
	     !near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309 ||
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 ==
	     2'd1 &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627 ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629) ;
  assign NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1771 =
	     NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632 ||
	     !near_mem$imem_exc &&
	     (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) ;
  assign NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1779 =
	     NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632 ||
	     near_mem$imem_exc ||
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026 ;
  assign NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632 =
	     !near_mem$imem_valid ||
	     NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d322 ||
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 ==
	     2'd1 &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627 ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629) ;
  assign SEXT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLU_ETC___d1441 =
	     { {52{theResult__607_BITS_31_TO_20__q20[11]}},
	       theResult__607_BITS_31_TO_20__q20 } ;
  assign SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d401 =
	     { {9{offset__h8008[11]}}, offset__h8008 } ;
  assign SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426 =
	     { {4{offset__h8640[8]}}, offset__h8640 } ;
  assign _0_OR_0_OR_near_mem_imem_exc__48_OR_IF_IF_NOT_n_ETC___d1893 =
	     near_mem$imem_exc ||
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026 ;
  assign _theResult_____1_fst__h16238 =
	     (_theResult____h4607[14:12] == 3'b0 &&
	      _theResult____h4607[6:0] == 7'b0110011 &&
	      _theResult____h4607[30]) ?
	       rd_val___1__h16234 :
	       _theResult_____1_fst__h16245 ;
  assign _theResult_____1_fst__h16273 =
	     rs1_val_bypassed__h4615 & _theResult___snd__h18728 ;
  assign _theResult_____1_fst_rd_val__h6703 =
	     (!near_mem$dmem_valid || !near_mem$dmem_exc) ?
	       _theResult_____2_fst_rd_val__h6700 :
	       stage2_rg_stage2[195:132] ;
  assign _theResult_____1_snd_fst_rd_val__h6859 =
	     (!near_mem$dmem_valid || !near_mem$dmem_exc) ?
	       _theResult_____2_snd_rd_val__h6856 :
	       stage2_rg_stage2[195:132] ;
  assign _theResult_____2_fst_rd_val__h6700 =
	     (stage2_rg_stage2[3] || stage2_rg_stage2[264:260] == 5'd0) ?
	       stage2_rg_stage2[195:132] :
	       near_mem$dmem_word64 ;
  assign _theResult_____2_snd_rd_val__h6856 =
	     stage2_rg_stage2[3] ?
	       data_to_stage3_rd_val__h6144 :
	       stage2_rg_stage2[195:132] ;
  assign _theResult____h28496 =
	     (delta_CPI_instrs__h28495 == 64'd0) ?
	       delta_CPI_instrs___1__h28531 :
	       delta_CPI_instrs__h28495 ;
  assign _theResult____h4607 =
	     NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_ETC___d317 ?
	       instr___1__h7021 :
	       instr__h4605 ;
  assign _theResult___fst__h16363 =
	     (_theResult____h4607[14:12] == 3'b001 &&
	      !_theResult____h4607[25]) ?
	       rd_val___1__h18790 :
	       _theResult___fst__h16370 ;
  assign _theResult___fst__h16370 =
	     _theResult____h4607[30] ?
	       rd_val___1__h18873 :
	       rd_val___1__h18844 ;
  assign _theResult___fst__h16490 =
	     { {32{rs1_val_bypassed615_BITS_31_TO_0_SRL_rs2_val_b_ETC__q8[31]}},
	       rs1_val_bypassed615_BITS_31_TO_0_SRL_rs2_val_b_ETC__q8 } ;
  assign _theResult___fst__h7200 =
	     (near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 &&
	      imem_rg_pc[1:0] == 2'b0 &&
	      near_mem$imem_instr[1:0] != 2'b11) ?
	       instr_out___1__h7202 :
	       _theResult___fst__h7228 ;
  assign _theResult___fst__h7228 =
	     (near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 &&
	      imem_rg_pc[1:0] != 2'b0 &&
	      near_mem$imem_instr[17:16] != 2'b11) ?
	       instr_out___1__h7230 :
	       near_mem$imem_instr ;
  assign _theResult___fst_rd_val__h6714 =
	     stage2_rg_stage2[3] ?
	       stage2_rg_stage2[195:132] :
	       stage2_fbox$word_fst ;
  assign _theResult___snd__h18728 =
	     (_theResult____h4607[6:0] == 7'b0010011) ?
	       SEXT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLU_ETC___d1441 :
	       rs2_val_bypassed__h4621 ;
  assign _theResult___snd_rd_val__h6865 =
	     stage2_rg_stage2[3] ?
	       stage2_fbox$word_fst :
	       stage2_rg_stage2[195:132] ;
  assign alu_outputs___1_addr5117_BITS_31_TO_0__q21 =
	     alu_outputs___1_addr__h15117[31:0] ;
  assign alu_outputs___1_addr__h14775 =
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 ?
	       branch_target__h14754 :
	       IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1432 ;
  assign alu_outputs___1_addr__h14799 =
	     imem_rg_pc +
	     { {43{theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q5[20]}},
	       theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q5 } ;
  assign alu_outputs___1_addr__h14828 =
	     { alu_outputs___1_addr__h15117[63:1], 1'd0 } ;
  assign alu_outputs___1_addr__h15117 =
	     rs1_val_bypassed__h4615 +
	     SEXT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLU_ETC___d1441 ;
  assign alu_outputs___1_addr__h15141 =
	     rs1_val_bypassed__h4615 +
	     { {52{theResult__607_BITS_31_TO_25_CONCAT_theResult__ETC__q6[11]}},
	       theResult__607_BITS_31_TO_25_CONCAT_theResult__ETC__q6 } ;
  assign alu_outputs___1_exc_code__h15424 =
	     (_theResult____h4607[14:12] == 3'b0) ?
	       (IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1235 ?
		  4'd2 :
		  ((_theResult____h4607[11:7] == 5'd0 &&
		    _theResult____h4607[19:15] == 5'd0) ?
		     CASE_theResult__607_BITS_31_TO_20_0b0_CASE_rg__ETC__q16 :
		     4'd2)) :
	       4'd2 ;
  assign alu_outputs___1_val1__h14946 =
	     (_theResult____h4607[14:12] == 3'b001) ?
	       rd_val__h18622 :
	       (_theResult____h4607[30] ? rd_val__h18696 : rd_val__h18674) ;
  assign alu_outputs___1_val1__h14987 =
	     (_theResult____h4607[14:12] == 3'b0 &&
	      (_theResult____h4607[6:0] != 7'b0110011 ||
	       !_theResult____h4607[30])) ?
	       rd_val___1__h16226 :
	       _theResult_____1_fst__h16238 ;
  assign alu_outputs___1_val1__h15013 =
	     (_theResult____h4607[14:12] == 3'b0) ?
	       rd_val___1__h18759 :
	       _theResult___fst__h16363 ;
  assign alu_outputs___1_val1__h15058 =
	     { {32{v32__h15047[31]}}, v32__h15047 } ;
  assign alu_outputs___1_val1__h15077 =
	     imem_rg_pc + alu_outputs___1_val1__h15058 ;
  assign alu_outputs___1_val1__h15428 =
	     _theResult____h4607[14] ?
	       { 59'd0, _theResult____h4607[19:15] } :
	       rs1_val_bypassed__h4615 ;
  assign alu_outputs___1_val1__h15452 =
	     { 57'd0, _theResult____h4607[31:25] } ;
  assign alu_outputs___1_val1__h15653 =
	     (_theResult____h4607[6:0] == 7'b1010011 &&
	      (_theResult____h4607[31:25] == 7'h69 &&
	       (_theResult____h4607[24:20] == 5'd0 ||
		_theResult____h4607[24:20] == 5'd1 ||
		_theResult____h4607[24:20] == 5'd2 ||
		_theResult____h4607[24:20] == 5'd3) ||
	       _theResult____h4607[31:25] == 7'h79 ||
	       _theResult____h4607[31:25] == 7'h68 &&
	       (_theResult____h4607[24:20] == 5'd0 ||
		_theResult____h4607[24:20] == 5'd1 ||
		_theResult____h4607[24:20] == 5'd2 ||
		_theResult____h4607[24:20] == 5'd3) ||
	       _theResult____h4607[31:25] == 7'h78)) ?
	       rs1_val_bypassed__h4615 :
	       frs1_val_bypassed__h4626 ;
  assign alu_outputs___1_val2__h15143 =
	     (_theResult____h4607[6:0] == 7'b0100111) ?
	       frs2_val_bypassed__h4631 :
	       rs2_val_bypassed__h4621 ;
  assign branch_target__h14754 =
	     imem_rg_pc +
	     { {51{theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q4[12]}},
	       theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q4 } ;
  assign cpi__h28498 = x__h28497 / 64'd10 ;
  assign cpifrac__h28499 = x__h28497 % 64'd10 ;
  assign csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1753 =
	     (csr_regfile$interrupt_pending[4] || csr_regfile$nmi_pending) &&
	     stage1_rg_full &&
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1749 &&
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1750 ;
  assign csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1758 =
	     (csr_regfile$interrupt_pending[4] || csr_regfile$nmi_pending) &&
	     (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) ||
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	     2'd2 &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	     2'd0 ;
  assign csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1764 =
	     csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1753 ||
	     (csr_regfile_interrupt_pending_rg_cur_priv_7_74_ETC___d1758 ||
	      NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1760 ||
	      near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     stage1_rg_full ;
  assign csr_regfile_read_csr_mcycle__6_MINUS_rg_start__ETC___d2005 =
	     delta_CPI_cycles__h28494 * 64'd10 ;
  assign csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d411 =
	     csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	     instr__h4605[15:12] == 4'b1000 &&
	     instr__h4605[11:7] != 5'd0 ;
  assign csr_regfile_read_misa__4_BIT_2_24_AND_IF_near__ETC___d417 =
	     csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	     instr__h4605[15:12] == 4'b1001 &&
	     instr__h4605[11:7] != 5'd0 ;
  assign csr_regfile_read_mstatus__8_BITS_14_TO_13_9_EQ_ETC___d1000 =
	     csr_regfile$read_mstatus[14:13] == 2'h0 ||
	     CASE_theResult__607_BITS_6_TO_0_0b1000011_NOT__ETC__q11 ||
	     ((_theResult____h4607[14:12] == 3'b111) ?
		csr_regfile$read_frm == 3'b101 ||
		csr_regfile$read_frm == 3'b110 ||
		csr_regfile$read_frm == 3'b111 :
		_theResult____h4607[14:12] == 3'b101 ||
		_theResult____h4607[14:12] == 3'b110) ;
  assign cur_verbosity__h3134 =
	     (csr_regfile$read_csr_minstret < cfg_logdelay) ?
	       4'd0 :
	       cfg_verbosity ;
  assign data_to_stage2_addr__h14637 = x_out_data_to_stage2_addr__h14648 ;
  assign data_to_stage3_rd_val__h6144 =
	     stage2_rg_stage2[3] ?
	       ((stage2_rg_stage2[282:280] == 3'b010) ?
		  { 32'hFFFFFFFF, near_mem$dmem_word64[31:0] } :
		  near_mem$dmem_word64) :
	       near_mem$dmem_word64 ;
  assign delta_CPI_cycles__h28494 =
	     csr_regfile$read_csr_mcycle - rg_start_CPI_cycles ;
  assign delta_CPI_instrs___1__h28531 = delta_CPI_instrs__h28495 + 64'd1 ;
  assign delta_CPI_instrs__h28495 =
	     csr_regfile$read_csr_minstret - rg_start_CPI_instrs ;
  assign fall_through_pc__h14598 =
	     imem_rg_pc +
	     (near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d639 ?
		64'd4 :
		64'd2) ;
  assign fpr_regfile_RDY_server_reset_request_put__697__ETC___d1709 =
	     fpr_regfile$RDY_server_reset_request_put &&
	     near_mem$RDY_server_reset_request_put &&
	     csr_regfile$RDY_server_reset_request_put &&
	     f_reset_reqs$EMPTY_N &&
	     stage1_f_reset_reqs$FULL_N &&
	     stage2_f_reset_reqs$FULL_N &&
	     stage3_f_reset_reqs$FULL_N ;
  assign frs1_val_bypassed__h4626 =
	     (IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 ==
	      2'd2 &&
	      x_out_fbypass_rd__h6873 == _theResult____h4607[19:15]) ?
	       x_out_fbypass_rd_val__h6874 :
	       rd_val__h19313 ;
  assign frs2_val_bypassed__h4631 =
	     (IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 ==
	      2'd2 &&
	      x_out_fbypass_rd__h6873 == _theResult____h4607[24:20]) ?
	       x_out_fbypass_rd_val__h6874 :
	       rd_val__h19369 ;
  assign funct10__h15025 =
	     { _theResult____h4607[31:25], _theResult____h4607[14:12] } ;
  assign imm12__h10159 = { 2'd0, nzimm10__h10157 } ;
  assign imm12__h10355 = { 6'b0, imm6__h9273 } ;
  assign imm12__h10692 = { 6'b010000, imm6__h9273 } ;
  assign imm12__h12313 = { 3'd0, offset__h12227 } ;
  assign imm12__h12665 = { 4'd0, offset__h12599 } ;
  assign imm12__h7301 = { 4'd0, offset__h7071 } ;
  assign imm12__h7638 = { 5'd0, offset__h7580 } ;
  assign imm12__h9275 = { {6{imm6__h9273[5]}}, imm6__h9273 } ;
  assign imm12__h9944 = { {2{nzimm10__h9942[9]}}, nzimm10__h9942 } ;
  assign imm20__h9403 = { {14{imm6__h9273[5]}}, imm6__h9273 } ;
  assign imm6__h9273 = { instr__h4605[12], instr__h4605[6:2] } ;
  assign instr___1__h7021 =
	     (csr_regfile$read_misa[2] && instr__h4605[1:0] == 2'b10 &&
	      instr__h4605[11:7] != 5'd0 &&
	      instr__h4605[15:13] == 3'b010) ?
	       instr__h7300 :
	       IF_csr_regfile_read_misa__4_BIT_2_24_AND_IF_ne_ETC___d623 ;
  assign instr__h10146 =
	     { imm12__h9944,
	       instr__h4605[11:7],
	       3'b0,
	       instr__h4605[11:7],
	       7'b0010011 } ;
  assign instr__h10318 = { imm12__h10159, 8'd16, rd__h7640, 7'b0010011 } ;
  assign instr__h10487 =
	     { imm12__h10355,
	       instr__h4605[11:7],
	       3'b001,
	       instr__h4605[11:7],
	       7'b0010011 } ;
  assign instr__h10676 =
	     { imm12__h10355, rs1__h7639, 3'b101, rs1__h7639, 7'b0010011 } ;
  assign instr__h10865 =
	     { imm12__h10692, rs1__h7639, 3'b101, rs1__h7639, 7'b0010011 } ;
  assign instr__h10982 =
	     { imm12__h9275, rs1__h7639, 3'b111, rs1__h7639, 7'b0010011 } ;
  assign instr__h11160 =
	     { 7'b0,
	       instr__h4605[6:2],
	       8'd0,
	       instr__h4605[11:7],
	       7'b0110011 } ;
  assign instr__h11279 =
	     { 7'b0,
	       instr__h4605[6:2],
	       instr__h4605[11:7],
	       3'b0,
	       instr__h4605[11:7],
	       7'b0110011 } ;
  assign instr__h11374 =
	     { 7'b0, rd__h7640, rs1__h7639, 3'b111, rs1__h7639, 7'b0110011 } ;
  assign instr__h11510 =
	     { 7'b0, rd__h7640, rs1__h7639, 3'b110, rs1__h7639, 7'b0110011 } ;
  assign instr__h11646 =
	     { 7'b0, rd__h7640, rs1__h7639, 3'b100, rs1__h7639, 7'b0110011 } ;
  assign instr__h11782 =
	     { 7'b0100000,
	       rd__h7640,
	       rs1__h7639,
	       3'b0,
	       rs1__h7639,
	       7'b0110011 } ;
  assign instr__h11920 =
	     { 7'b0, rd__h7640, rs1__h7639, 3'b0, rs1__h7639, 7'b0111011 } ;
  assign instr__h12058 =
	     { 7'b0100000,
	       rd__h7640,
	       rs1__h7639,
	       3'b0,
	       rs1__h7639,
	       7'b0111011 } ;
  assign instr__h12216 =
	     { 12'b000000000001,
	       instr__h4605[11:7],
	       3'b0,
	       instr__h4605[11:7],
	       7'b1110011 } ;
  assign instr__h12312 =
	     { imm12__h12313, 8'd19, instr__h4605[11:7], 7'b0000011 } ;
  assign instr__h12465 =
	     { 3'd0,
	       instr__h4605[9:7],
	       instr__h4605[12],
	       instr__h4605[6:2],
	       8'd19,
	       offset_BITS_4_TO_0___h12940,
	       7'b0100011 } ;
  assign instr__h12664 =
	     { imm12__h12665, rs1__h7639, 3'b011, rd__h7640, 7'b0000011 } ;
  assign instr__h12815 =
	     { 4'd0,
	       instr__h4605[6:5],
	       instr__h4605[12],
	       rd__h7640,
	       rs1__h7639,
	       3'b011,
	       offset_BITS_4_TO_0___h12940,
	       7'b0100011 } ;
  assign instr__h13854 =
	     { imm12__h12313, 8'd19, instr__h4605[11:7], 7'b0000111 } ;
  assign instr__h14007 =
	     { 3'd0,
	       instr__h4605[9:7],
	       instr__h4605[12],
	       instr__h4605[6:2],
	       8'd19,
	       offset_BITS_4_TO_0___h12940,
	       7'b0100111 } ;
  assign instr__h14206 =
	     { imm12__h12665, rs1__h7639, 3'b011, rd__h7640, 7'b0000111 } ;
  assign instr__h14357 =
	     { 4'd0,
	       instr__h4605[6:5],
	       instr__h4605[12],
	       rd__h7640,
	       rs1__h7639,
	       3'b011,
	       offset_BITS_4_TO_0___h12940,
	       7'b0100111 } ;
  assign instr__h4605 =
	     near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309 ?
	       instr_out___1__h7170 :
	       _theResult___fst__h7200 ;
  assign instr__h7300 =
	     { imm12__h7301, 8'd18, instr__h4605[11:7], 7'b0000011 } ;
  assign instr__h7445 =
	     { 4'd0,
	       instr__h4605[8:7],
	       instr__h4605[12],
	       instr__h4605[6:2],
	       8'd18,
	       offset_BITS_4_TO_0___h7569,
	       7'b0100011 } ;
  assign instr__h7637 =
	     { imm12__h7638, rs1__h7639, 3'b010, rd__h7640, 7'b0000011 } ;
  assign instr__h7832 =
	     { 5'd0,
	       instr__h4605[5],
	       instr__h4605[12],
	       rd__h7640,
	       rs1__h7639,
	       3'b010,
	       offset_BITS_4_TO_0___h8000,
	       7'b0100011 } ;
  assign instr__h8061 =
	     { SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d401[20],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d401[10:1],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d401[11],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d401[19:12],
	       12'd111 } ;
  assign instr__h8515 = { 12'd0, instr__h4605[11:7], 15'd103 } ;
  assign instr__h8631 = { 12'd0, instr__h4605[11:7], 15'd231 } ;
  assign instr__h8696 =
	     { SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[12],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[10:5],
	       5'd0,
	       rs1__h7639,
	       3'b0,
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[4:1],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[11],
	       7'b1100011 } ;
  assign instr__h9013 =
	     { SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[12],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[10:5],
	       5'd0,
	       rs1__h7639,
	       3'b001,
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[4:1],
	       SEXT_IF_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2__ETC___d426[11],
	       7'b1100011 } ;
  assign instr__h9351 =
	     { imm12__h9275, 8'd0, instr__h4605[11:7], 7'b0010011 } ;
  assign instr__h9535 = { imm20__h9403, instr__h4605[11:7], 7'b0110111 } ;
  assign instr__h9664 =
	     { imm12__h9275,
	       instr__h4605[11:7],
	       3'b0,
	       instr__h4605[11:7],
	       7'b0010011 } ;
  assign instr__h9891 =
	     { imm12__h9275,
	       instr__h4605[11:7],
	       3'b0,
	       instr__h4605[11:7],
	       7'b0011011 } ;
  assign instr_out___1__h7170 =
	     { near_mem$imem_instr[15:0], imem_rg_instr_15_0 } ;
  assign instr_out___1__h7202 = { 16'b0, near_mem$imem_instr[15:0] } ;
  assign instr_out___1__h7230 = { 16'b0, near_mem$imem_instr[31:16] } ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1603 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd0 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1606 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd1 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1609 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd2 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1612 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd3 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1615 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd4 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1618 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd5 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1621 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd6 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1624 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd7 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1627 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd8 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1630 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd9 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1633 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 ==
	     4'd10 ;
  assign near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1636 =
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd0 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd1 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd2 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd3 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd4 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd5 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd6 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd7 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd8 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd9 &&
	     IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 !=
	     4'd10 ;
  assign near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 =
	     near_mem$imem_pc[63:2] == imem_rg_pc[63:2] ;
  assign near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d639 =
	     near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309 ||
	     near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 &&
	     imem_rg_pc[1:0] == 2'b0 &&
	     near_mem$imem_instr[1:0] == 2'b11 ;
  assign near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d641 =
	     near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d639 ||
	     near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 &&
	     imem_rg_pc[1:0] != 2'b0 &&
	     near_mem$imem_instr[17:16] != 2'b11 ||
	     near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 &&
	     imem_rg_pc[1:0] == 2'b0 &&
	     near_mem$imem_instr[1:0] != 2'b11 ;
  assign near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309 =
	     near_mem$imem_pc == next_pc___1__h18221 ;
  assign near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029 =
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	     (near_mem$imem_exc ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1015 &&
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1026) ;
  assign near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210 =
	     near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	     !near_mem$imem_exc &&
	     (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) ;
  assign near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1749 =
	     near_mem$imem_valid &&
	     near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9___d309 &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 !=
	      2'd1 ||
	      !IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627 &&
	      !IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629) ;
  assign near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 =
	     near_mem$imem_valid &&
	     near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d641 &&
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 !=
	      2'd1 ||
	      !IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627 &&
	      !IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629) ;
  assign next_pc___1__h18221 = imem_rg_pc + 64'd2 ;
  assign next_pc__h18219 = imem_rg_pc + 64'd4 ;
  assign nzimm10__h10157 =
	     { instr__h4605[10:7],
	       instr__h4605[12:11],
	       instr__h4605[5],
	       instr__h4605[6],
	       2'b0 } ;
  assign nzimm10__h9942 =
	     { instr__h4605[12],
	       instr__h4605[4:3],
	       instr__h4605[5],
	       instr__h4605[2],
	       instr__h4605[6],
	       4'b0 } ;
  assign offset_BITS_4_TO_0___h12940 = { instr__h4605[11:10], 3'b0 } ;
  assign offset_BITS_4_TO_0___h7569 = { instr__h4605[11:9], 2'b0 } ;
  assign offset_BITS_4_TO_0___h8000 =
	     { instr__h4605[11:10], instr__h4605[6], 2'b0 } ;
  assign offset__h12227 =
	     { instr__h4605[4:2],
	       instr__h4605[12],
	       instr__h4605[6:5],
	       3'b0 } ;
  assign offset__h12599 = { instr__h4605[6:5], instr__h4605[12:10], 3'b0 } ;
  assign offset__h7071 =
	     { instr__h4605[3:2],
	       instr__h4605[12],
	       instr__h4605[6:4],
	       2'b0 } ;
  assign offset__h7580 =
	     { instr__h4605[5], instr__h4605[12:10], instr__h4605[6], 2'b0 } ;
  assign offset__h8008 =
	     { instr__h4605[12],
	       instr__h4605[8],
	       instr__h4605[10:9],
	       instr__h4605[6],
	       instr__h4605[7],
	       instr__h4605[2],
	       instr__h4605[11],
	       instr__h4605[5:3],
	       1'b0 } ;
  assign offset__h8640 =
	     { instr__h4605[12],
	       instr__h4605[6:5],
	       instr__h4605[2],
	       instr__h4605[11:10],
	       instr__h4605[4:3],
	       1'b0 } ;
  assign rd__h7640 = { 2'b01, instr__h4605[4:2] } ;
  assign rd_val___1__h16226 =
	     rs1_val_bypassed__h4615 + _theResult___snd__h18728 ;
  assign rd_val___1__h16234 =
	     rs1_val_bypassed__h4615 - _theResult___snd__h18728 ;
  assign rd_val___1__h16241 =
	     ((rs1_val_bypassed__h4615 ^ 64'h8000000000000000) <
	      (_theResult___snd__h18728 ^ 64'h8000000000000000)) ?
	       64'd1 :
	       64'd0 ;
  assign rd_val___1__h16248 =
	     (rs1_val_bypassed__h4615 < _theResult___snd__h18728) ?
	       64'd1 :
	       64'd0 ;
  assign rd_val___1__h16255 =
	     rs1_val_bypassed__h4615 ^ _theResult___snd__h18728 ;
  assign rd_val___1__h16262 =
	     rs1_val_bypassed__h4615 | _theResult___snd__h18728 ;
  assign rd_val___1__h18759 =
	     { {32{alu_outputs___1_addr5117_BITS_31_TO_0__q21[31]}},
	       alu_outputs___1_addr5117_BITS_31_TO_0__q21 } ;
  assign rd_val___1__h18790 = { {32{x__h18793[31]}}, x__h18793 } ;
  assign rd_val___1__h18844 = { {32{x__h18847[31]}}, x__h18847 } ;
  assign rd_val___1__h18873 = { {32{tmp__h18872[31]}}, tmp__h18872 } ;
  assign rd_val___1__h18927 =
	     { {32{rs1_val_bypassed615_BITS_31_TO_0_PLUS_rs2_val__ETC__q9[31]}},
	       rs1_val_bypassed615_BITS_31_TO_0_PLUS_rs2_val__ETC__q9 } ;
  assign rd_val___1__h18975 =
	     { {32{rs1_val_bypassed615_BITS_31_TO_0_MINUS_rs2_val_ETC__q10[31]}},
	       rs1_val_bypassed615_BITS_31_TO_0_MINUS_rs2_val_ETC__q10 } ;
  assign rd_val___1__h18981 = { {32{x__h18984[31]}}, x__h18984 } ;
  assign rd_val___1__h19026 = { {32{x__h19029[31]}}, x__h19029 } ;
  assign rd_val__h14531 =
	     (!stage3_rg_stage3[69] && stage3_rg_full &&
	      stage3_rg_stage3[76] &&
	      stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d672) ?
	       stage3_rg_stage3[63:0] :
	       gpr_regfile$read_rs1 ;
  assign rd_val__h14574 =
	     (!stage3_rg_stage3[69] && stage3_rg_full &&
	      stage3_rg_stage3[76] &&
	      stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d680) ?
	       stage3_rg_stage3[63:0] :
	       gpr_regfile$read_rs2 ;
  assign rd_val__h18622 = rs1_val_bypassed__h4615 << shamt__h14931 ;
  assign rd_val__h18674 = rs1_val_bypassed__h4615 >> shamt__h14931 ;
  assign rd_val__h18696 =
	     rs1_val_bypassed__h4615 >> shamt__h14931 |
	     ~(64'hFFFFFFFFFFFFFFFF >> shamt__h14931) &
	     {64{rs1_val_bypassed__h4615[63]}} ;
  assign rd_val__h19313 =
	     (stage3_rg_stage3[69] && stage3_rg_full &&
	      stage3_rg_stage3[76] &&
	      stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d672) ?
	       stage3_rg_stage3[63:0] :
	       fpr_regfile$read_rs1 ;
  assign rd_val__h19369 =
	     (stage3_rg_stage3[69] && stage3_rg_full &&
	      stage3_rg_stage3[76] &&
	      stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d680) ?
	       stage3_rg_stage3[63:0] :
	       fpr_regfile$read_rs2 ;
  assign rd_val__h19422 =
	     (stage3_rg_stage3[69] && stage3_rg_full &&
	      stage3_rg_stage3[76] &&
	      stage3_rg_stage3[75:71] == _theResult____h4607[31:27]) ?
	       stage3_rg_stage3[63:0] :
	       fpr_regfile$read_rs3 ;
  assign rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7_EQ__ETC___d1256 =
	     (rg_cur_priv == 2'b11 ||
	      rg_cur_priv == 2'b01 && !csr_regfile$read_mstatus[21] ||
	      rg_cur_priv == 2'b0 && csr_regfile$read_misa[13]) &&
	     _theResult____h4607[31:20] == 12'b000100000101 ;
  assign rg_state_6_EQ_3_766_AND_NOT_csr_regfile_interr_ETC___d1917 =
	     rg_state == 4'd3 &&
	     NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1914 &&
	     !stage3_rg_full &&
	     IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 ==
	     2'd0 ;
  assign rg_state_6_EQ_3_766_AND_stage3_rg_full_6_OR_NO_ETC___d1785 =
	     rg_state == 4'd3 &&
	     (stage3_rg_full ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	      2'd0 ||
	      stage1_rg_full) &&
	     (stage3_rg_full ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	      2'd3) &&
	     (stage3_rg_full ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	      2'd0 ||
	      !stage1_rg_full ||
	      NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d1771) &&
	     (NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 ||
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 !=
	      2'd0 ||
	      stage3_rg_full) ;
  assign rm__h15556 = x_out_data_to_stage2_rounding_mode__h14653 ;
  assign rs1__h7639 = { 2'b01, instr__h4605[9:7] } ;
  assign rs1_val__h23289 =
	     (x_out_data_to_stage2_instr__h14645[14:12] == 3'b001) ?
	       x_out_data_to_stage2_val1__h14649 :
	       { 59'd0, x_out_data_to_stage2_instr__h14645[19:15] } ;
  assign rs1_val_bypassed615_BITS_31_TO_0_MINUS_rs2_val_ETC__q10 =
	     rs1_val_bypassed__h4615[31:0] - rs2_val_bypassed__h4621[31:0] ;
  assign rs1_val_bypassed615_BITS_31_TO_0_PLUS_rs2_val__ETC__q9 =
	     rs1_val_bypassed__h4615[31:0] + rs2_val_bypassed__h4621[31:0] ;
  assign rs1_val_bypassed615_BITS_31_TO_0_SRL_rs2_val_b_ETC__q8 =
	     rs1_val_bypassed__h4615[31:0] >> rs2_val_bypassed__h4621[4:0] |
	     ~(32'hFFFFFFFF >> rs2_val_bypassed__h4621[4:0]) &
	     {32{rs1_val_bypassed615_BITS_31_TO_0__q7[31]}} ;
  assign rs1_val_bypassed615_BITS_31_TO_0__q7 =
	     rs1_val_bypassed__h4615[31:0] ;
  assign rs1_val_bypassed__h4615 =
	     (_theResult____h4607[19:15] == 5'd0) ? 64'd0 : val__h14533 ;
  assign rs2_val_bypassed__h4621 =
	     (_theResult____h4607[24:20] == 5'd0) ? 64'd0 : val__h14576 ;
  assign shamt__h14931 =
	     (_theResult____h4607[6:0] == 7'b0010011) ?
	       _theResult____h4607[25:20] :
	       rs2_val_bypassed__h4621[5:0] ;
  assign stage2_f_reset_rsps_i_notEmpty__720_AND_stage3_ETC___d1729 =
	     stage2_f_reset_rsps$EMPTY_N && stage3_f_reset_rsps$EMPTY_N &&
	     f_reset_rsps$FULL_N &&
	     (!rg_run_on_reset ||
	      !near_mem_imem_pc_BITS_63_TO_2_EQ_imem_rg_pc_BI_ETC___d8 ||
	      imem_rg_pc[1:0] == 2'b0 ||
	      near_mem$imem_instr[17:16] != 2'b11) ;
  assign stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d672 =
	     stage3_rg_stage3[75:71] == _theResult____h4607[19:15] ;
  assign stage3_rg_stage3_8_BITS_75_TO_71_7_EQ_IF_NOT_n_ETC___d680 =
	     stage3_rg_stage3[75:71] == _theResult____h4607[24:20] ;
  assign sxl__h5045 =
	     (csr_regfile$read_misa[27:26] == 2'd2) ?
	       csr_regfile$read_mstatus[35:34] :
	       2'd0 ;
  assign theResult__607_BITS_31_TO_20__q20 = _theResult____h4607[31:20] ;
  assign theResult__607_BITS_31_TO_25_CONCAT_theResult__ETC__q6 =
	     { _theResult____h4607[31:25], _theResult____h4607[11:7] } ;
  assign theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q4 =
	     { _theResult____h4607[31],
	       _theResult____h4607[7],
	       _theResult____h4607[30:25],
	       _theResult____h4607[11:8],
	       1'b0 } ;
  assign theResult__607_BIT_31_CONCAT_theResult__607_BI_ETC__q5 =
	     { _theResult____h4607[31],
	       _theResult____h4607[19:12],
	       _theResult____h4607[20],
	       _theResult____h4607[30:21],
	       1'b0 } ;
  assign tmp__h18872 =
	     rs1_val_bypassed__h4615[31:0] >> _theResult____h4607[24:20] |
	     ~(32'hFFFFFFFF >> _theResult____h4607[24:20]) &
	     {32{rs1_val_bypassed615_BITS_31_TO_0__q7[31]}} ;
  assign trap_info_tval__h18051 =
	     (_theResult____h4607[6:0] != 7'b1101111 &&
	      _theResult____h4607[6:0] != 7'b1100111 &&
	      (_theResult____h4607[6:0] != 7'b1110011 ||
	       _theResult____h4607[14:12] != 3'b0 ||
	       _theResult____h4607[11:7] != 5'd0 ||
	       _theResult____h4607[19:15] != 5'd0 ||
	       _theResult____h4607[31:20] != 12'b0 &&
	       _theResult____h4607[31:20] != 12'b000000000001)) ?
	       (near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_09_OR__ETC___d639 ?
		  { 32'd0, _theResult____h4607 } :
		  { 48'd0, instr__h4605[15:0] }) :
	       CASE_theResult__607_BITS_6_TO_0_0b1100111_data_ETC__q22 ;
  assign uxl__h5046 =
	     (csr_regfile$read_misa[27:26] == 2'd2) ?
	       csr_regfile$read_mstatus[33:32] :
	       2'd0 ;
  assign v32__h15047 = { _theResult____h4607[31:12], 12'h0 } ;
  assign val__h14533 =
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 ==
	      2'd2 &&
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d627) ?
	       x_out_bypass_rd_val__h6725 :
	       rd_val__h14531 ;
  assign val__h14576 =
	     (IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 ==
	      2'd2 &&
	      IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d629) ?
	       x_out_bypass_rd_val__h6725 :
	       rd_val__h14574 ;
  assign value__h18109 =
	     near_mem$imem_exc ? imem_rg_tval : trap_info_tval__h18051 ;
  assign x__h18793 =
	     rs1_val_bypassed__h4615[31:0] << _theResult____h4607[24:20] ;
  assign x__h18847 =
	     rs1_val_bypassed__h4615[31:0] >> _theResult____h4607[24:20] ;
  assign x__h18984 =
	     rs1_val_bypassed__h4615[31:0] << rs2_val_bypassed__h4621[4:0] ;
  assign x__h19029 =
	     rs1_val_bypassed__h4615[31:0] >> rs2_val_bypassed__h4621[4:0] ;
  assign x__h28497 =
	     csr_regfile_read_csr_mcycle__6_MINUS_rg_start__ETC___d2005[63:0] /
	     _theResult____h28496 ;
  assign x_out_data_to_stage2_instr__h14645 = _theResult____h4607 ;
  assign x_out_data_to_stage2_rounding_mode__h14653 =
	     (_theResult____h4607[14:12] == 3'b111) ?
	       csr_regfile$read_frm :
	       _theResult____h4607[14:12] ;
  assign x_out_data_to_stage2_val2__h14650 =
	     (_theResult____h4607[6:0] == 7'b1100011) ?
	       branch_target__h14754 :
	       IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1576 ;
  assign x_out_data_to_stage2_val3__h14651 =
	     (IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 ==
	      2'd2 &&
	      x_out_fbypass_rd__h6873 == _theResult____h4607[31:27]) ?
	       x_out_fbypass_rd_val__h6874 :
	       rd_val__h19422 ;
  assign x_out_next_pc__h14611 =
	     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207 ?
	       data_to_stage2_addr__h14637 :
	       fall_through_pc__h14598 ;
  assign x_out_trap_info_exc_code__h18054 =
	     near_mem$imem_exc ?
	       near_mem$imem_exc_code :
	       alu_outputs_exc_code__h15680 ;
  assign y__h24086 = ~rs1_val__h23782 ;
  always@(stage2_rg_stage2)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd2, 3'd4: value__h6429 = stage2_rg_stage2[363:300];
      default: value__h6429 = stage2_rg_stage2[363:300];
    endcase
  end
  always@(stage2_rg_stage2 or near_mem$dmem_exc_code)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd2, 3'd4:
	  x_out_trap_info_exc_code__h6466 = near_mem$dmem_exc_code;
      default: x_out_trap_info_exc_code__h6466 = 4'd2;
    endcase
  end
  always@(stage2_rg_stage2)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd2, 3'd4: value__h6490 = stage2_rg_stage2[259:196];
      default: value__h6490 = 64'd0;
    endcase
  end
  always@(stage2_rg_stage2 or stage2_fbox$word_snd)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0, 3'd1, 3'd2, 3'd3, 3'd4:
	  x_out_data_to_stage3_fpr_flags__h6249 = 5'd0;
      default: x_out_data_to_stage3_fpr_flags__h6249 = stage2_fbox$word_snd;
    endcase
  end
  always@(stage2_rg_stage2)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0, 3'd1, 3'd4:
	  x_out_data_to_stage3_rd__h6246 = stage2_rg_stage2[264:260];
      3'd2: x_out_data_to_stage3_rd__h6246 = 5'd0;
      default: x_out_data_to_stage3_rd__h6246 = stage2_rg_stage2[264:260];
    endcase
  end
  always@(stage2_rg_stage2)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0, 3'd1, 3'd4: x_out_bypass_rd__h6724 = stage2_rg_stage2[264:260];
      default: x_out_bypass_rd__h6724 = stage2_rg_stage2[264:260];
    endcase
  end
  always@(stage2_rg_stage2)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd4: x_out_fbypass_rd__h6873 = stage2_rg_stage2[264:260];
      default: x_out_fbypass_rd__h6873 = stage2_rg_stage2[264:260];
    endcase
  end
  always@(stage2_rg_stage2 or
	  stage2_fbox$word_fst or
	  data_to_stage3_rd_val__h6144 or stage2_mbox$word)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0: x_out_data_to_stage3_rd_val__h6250 = stage2_rg_stage2[195:132];
      3'd1, 3'd4:
	  x_out_data_to_stage3_rd_val__h6250 = data_to_stage3_rd_val__h6144;
      3'd3: x_out_data_to_stage3_rd_val__h6250 = stage2_mbox$word;
      default: x_out_data_to_stage3_rd_val__h6250 = stage2_fbox$word_fst;
    endcase
  end
  always@(stage2_rg_stage2 or
	  _theResult___fst_rd_val__h6714 or
	  _theResult_____1_fst_rd_val__h6703 or stage2_mbox$word)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0: x_out_bypass_rd_val__h6725 = stage2_rg_stage2[195:132];
      3'd1, 3'd4:
	  x_out_bypass_rd_val__h6725 = _theResult_____1_fst_rd_val__h6703;
      3'd3: x_out_bypass_rd_val__h6725 = stage2_mbox$word;
      default: x_out_bypass_rd_val__h6725 = _theResult___fst_rd_val__h6714;
    endcase
  end
  always@(stage2_rg_stage2 or
	  _theResult___snd_rd_val__h6865 or
	  _theResult_____1_snd_fst_rd_val__h6859)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd4:
	  x_out_fbypass_rd_val__h6874 =
	      _theResult_____1_snd_fst_rd_val__h6859;
      default: x_out_fbypass_rd_val__h6874 = _theResult___snd_rd_val__h6865;
    endcase
  end
  always@(stage2_rg_stage2 or
	  IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132 or
	  IF_near_mem_dmem_valid__25_THEN_IF_near_mem_dm_ETC___d128 or
	  IF_stage2_mbox_valid__29_THEN_2_ELSE_1___d130)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0: CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q1 = 2'd2;
      3'd1, 3'd2, 3'd4:
	  CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q1 =
	      IF_near_mem_dmem_valid__25_THEN_IF_near_mem_dm_ETC___d128;
      3'd3:
	  CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q1 =
	      IF_stage2_mbox_valid__29_THEN_2_ELSE_1___d130;
      default: CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q1 =
		   IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132;
    endcase
  end
  always@(stage2_rg_stage2 or
	  stage2_fbox$valid or
	  near_mem$dmem_valid or near_mem$dmem_exc or stage2_mbox$valid)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd2, 3'd4:
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d153 =
	      !near_mem$dmem_valid || near_mem$dmem_exc;
      3'd3:
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d153 =
	      !stage2_mbox$valid;
      default: IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d153 =
		   !stage2_fbox$valid;
    endcase
  end
  always@(stage2_rg_stage2 or
	  stage2_fbox$valid or
	  near_mem$dmem_valid or near_mem$dmem_exc or stage2_mbox$valid)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd2, 3'd4:
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163 =
	      near_mem$dmem_valid && !near_mem$dmem_exc;
      3'd3:
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163 =
	      stage2_mbox$valid;
      default: IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163 =
		   stage2_fbox$valid;
    endcase
  end
  always@(stage2_rg_stage2 or near_mem$dmem_valid or near_mem$dmem_exc)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd4:
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d198 =
	      (!near_mem$dmem_valid || !near_mem$dmem_exc) &&
	      stage2_rg_stage2[3];
      default: IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d198 =
		   stage2_rg_stage2[267:265] != 3'd2 &&
		   stage2_rg_stage2[267:265] != 3'd3 &&
		   stage2_rg_stage2[3];
    endcase
  end
  always@(stage2_rg_stage2 or near_mem$dmem_valid or near_mem$dmem_exc)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd4:
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d232 =
	      near_mem$dmem_valid && near_mem$dmem_exc ||
	      !stage2_rg_stage2[3];
      default: IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d232 =
		   stage2_rg_stage2[267:265] == 3'd2 ||
		   stage2_rg_stage2[267:265] == 3'd3 ||
		   !stage2_rg_stage2[3];
    endcase
  end
  always@(stage2_rg_stage2 or
	  IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132 or
	  IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d258 or
	  IF_stage2_mbox_valid__29_THEN_2_ELSE_1___d130)
  begin
    case (stage2_rg_stage2[267:265])
      3'd0: CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2 = 2'd2;
      3'd1, 3'd4:
	  CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2 =
	      IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d258;
      3'd2: CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2 = 2'd0;
      3'd3:
	  CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2 =
	      IF_stage2_mbox_valid__29_THEN_2_ELSE_1___d130;
      default: CASE_stage2_rg_stage2_BITS_267_TO_265_0_2_1_IF_ETC__q2 =
		   stage2_rg_stage2[3] ?
		     2'd0 :
		     IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132;
    endcase
  end
  always@(stage2_rg_stage2 or
	  IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132 or
	  IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d284)
  begin
    case (stage2_rg_stage2[267:265])
      3'd1, 3'd4:
	  CASE_stage2_rg_stage2_BITS_267_TO_265_1_IF_NOT_ETC__q3 =
	      IF_NOT_near_mem_dmem_valid__25_47_OR_NOT_near__ETC___d284;
      3'd2, 3'd3:
	  CASE_stage2_rg_stage2_BITS_267_TO_265_1_IF_NOT_ETC__q3 = 2'd0;
      default: CASE_stage2_rg_stage2_BITS_267_TO_265_1_IF_NOT_ETC__q3 =
		   stage2_rg_stage2[3] ?
		     IF_stage2_fbox_valid__31_THEN_2_ELSE_1___d132 :
		     2'd0;
    endcase
  end
  always@(_theResult____h4607)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011,
      7'b0000111,
      7'b0010011,
      7'b0010111,
      7'b0011011,
      7'b0110011,
      7'b0110111,
      7'b0111011,
      7'b1100111,
      7'b1101111:
	  x_out_data_to_stage2_rd__h14647 = _theResult____h4607[11:7];
      7'b1100011: x_out_data_to_stage2_rd__h14647 = 5'd0;
      default: x_out_data_to_stage2_rd__h14647 = _theResult____h4607[11:7];
    endcase
  end
  always@(funct10__h15025 or
	  _theResult___fst__h16490 or
	  rd_val___1__h18927 or
	  rd_val___1__h18981 or rd_val___1__h19026 or rd_val___1__h18975)
  begin
    case (funct10__h15025)
      10'b0: alu_outputs___1_val1__h15039 = rd_val___1__h18927;
      10'b0000000001: alu_outputs___1_val1__h15039 = rd_val___1__h18981;
      10'b0000000101: alu_outputs___1_val1__h15039 = rd_val___1__h19026;
      10'b0100000000: alu_outputs___1_val1__h15039 = rd_val___1__h18975;
      default: alu_outputs___1_val1__h15039 = _theResult___fst__h16490;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688)
  begin
    case (_theResult____h4607[14:12])
      3'b0:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 =
	      !IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686;
      3'b001:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686;
      3'b100:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 =
	      !IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688;
      3'b101:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688;
      3'b110:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 =
	      !IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1021 =
		   _theResult____h4607[14:12] != 3'b111 ||
		   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688)
  begin
    case (_theResult____h4607[14:12])
      3'b0:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686;
      3'b001:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 =
	      !IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d686;
      3'b100:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688;
      3'b101:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 =
	      !IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d688;
      3'b110:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 =
		   _theResult____h4607[14:12] == 3'b111 &&
		   !IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d690;
    endcase
  end
  always@(_theResult____h4607 or rm__h15556)
  begin
    case (_theResult____h4607[6:0])
      7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
	  CASE_theResult__607_BITS_6_TO_0_0b1000011_NOT__ETC__q11 =
	      _theResult____h4607[26:25] != 2'b0 &&
	      _theResult____h4607[26:25] != 2'b01;
      default: CASE_theResult__607_BITS_6_TO_0_0b1000011_NOT__ETC__q11 =
		   _theResult____h4607[31:25] != 7'h0 &&
		   _theResult____h4607[31:25] != 7'h04 &&
		   _theResult____h4607[31:25] != 7'h08 &&
		   _theResult____h4607[31:25] != 7'h0C &&
		   _theResult____h4607[31:25] != 7'h2C &&
		   (_theResult____h4607[31:25] != 7'h10 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h10 ||
		    rm__h15556 != 3'd1) &&
		   (_theResult____h4607[31:25] != 7'h10 ||
		    rm__h15556 != 3'd2) &&
		   (_theResult____h4607[31:25] != 7'h60 ||
		    _theResult____h4607[24:20] != 5'd0) &&
		   (_theResult____h4607[31:25] != 7'h60 ||
		    _theResult____h4607[24:20] != 5'd1) &&
		   (_theResult____h4607[31:25] != 7'h60 ||
		    _theResult____h4607[24:20] != 5'd2) &&
		   (_theResult____h4607[31:25] != 7'h60 ||
		    _theResult____h4607[24:20] != 5'd3) &&
		   (_theResult____h4607[31:25] != 7'h68 ||
		    _theResult____h4607[24:20] != 5'd0) &&
		   (_theResult____h4607[31:25] != 7'h68 ||
		    _theResult____h4607[24:20] != 5'd1) &&
		   (_theResult____h4607[31:25] != 7'h68 ||
		    _theResult____h4607[24:20] != 5'd2) &&
		   (_theResult____h4607[31:25] != 7'h68 ||
		    _theResult____h4607[24:20] != 5'd3) &&
		   (_theResult____h4607[31:25] != 7'h14 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h14 ||
		    rm__h15556 != 3'd1) &&
		   (_theResult____h4607[31:25] != 7'h50 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h50 ||
		    rm__h15556 != 3'd1) &&
		   (_theResult____h4607[31:25] != 7'h50 ||
		    rm__h15556 != 3'd2) &&
		   (_theResult____h4607[31:25] != 7'h70 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h78 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h70 ||
		    rm__h15556 != 3'd1) &&
		   _theResult____h4607[31:25] != 7'b0000001 &&
		   _theResult____h4607[31:25] != 7'h05 &&
		   _theResult____h4607[31:25] != 7'b0001001 &&
		   _theResult____h4607[31:25] != 7'h0D &&
		   _theResult____h4607[31:25] != 7'h2D &&
		   (_theResult____h4607[31:25] != 7'h11 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h11 ||
		    rm__h15556 != 3'd1) &&
		   (_theResult____h4607[31:25] != 7'h11 ||
		    rm__h15556 != 3'd2) &&
		   (_theResult____h4607[31:25] != 7'h61 ||
		    _theResult____h4607[24:20] != 5'd0) &&
		   (_theResult____h4607[31:25] != 7'h61 ||
		    _theResult____h4607[24:20] != 5'd1) &&
		   (_theResult____h4607[31:25] != 7'h61 ||
		    _theResult____h4607[24:20] != 5'd2) &&
		   (_theResult____h4607[31:25] != 7'h61 ||
		    _theResult____h4607[24:20] != 5'd3) &&
		   (_theResult____h4607[31:25] != 7'h69 ||
		    _theResult____h4607[24:20] != 5'd0) &&
		   (_theResult____h4607[31:25] != 7'h69 ||
		    _theResult____h4607[24:20] != 5'd1) &&
		   (_theResult____h4607[31:25] != 7'h69 ||
		    _theResult____h4607[24:20] != 5'd2) &&
		   (_theResult____h4607[31:25] != 7'h69 ||
		    _theResult____h4607[24:20] != 5'd3) &&
		   (_theResult____h4607[31:25] != 7'h21 ||
		    _theResult____h4607[24:20] != 5'd0) &&
		   (_theResult____h4607[31:25] != 7'h20 ||
		    _theResult____h4607[24:20] != 5'd1) &&
		   (_theResult____h4607[31:25] != 7'h15 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h15 ||
		    rm__h15556 != 3'd1) &&
		   (_theResult____h4607[31:25] != 7'h51 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h51 ||
		    rm__h15556 != 3'd1) &&
		   (_theResult____h4607[31:25] != 7'h51 ||
		    rm__h15556 != 3'd2) &&
		   (_theResult____h4607[31:25] != 7'h71 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h79 ||
		    rm__h15556 != 3'd0) &&
		   (_theResult____h4607[31:25] != 7'h71 ||
		    rm__h15556 != 3'd1);
    endcase
  end
  always@(_theResult____h4607 or
	  csr_regfile_read_mstatus__8_BITS_14_TO_13_9_EQ_ETC___d1000 or
	  csr_regfile$read_mstatus)
  begin
    case (_theResult____h4607[6:0])
      7'b0000111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004 =
	      _theResult____h4607[14:12] != 3'b0 &&
	      _theResult____h4607[14:12] != 3'b100 &&
	      _theResult____h4607[14:12] != 3'b001 &&
	      _theResult____h4607[14:12] != 3'b101 &&
	      _theResult____h4607[14:12] != 3'b010 &&
	      _theResult____h4607[14:12] != 3'b110 &&
	      _theResult____h4607[14:12] != 3'b011 ||
	      csr_regfile$read_mstatus[14:13] == 2'h0;
      7'b0100111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004 =
	      _theResult____h4607[14:12] != 3'b0 &&
	      _theResult____h4607[14:12] != 3'b001 &&
	      _theResult____h4607[14:12] != 3'b010 &&
	      _theResult____h4607[14:12] != 3'b011 ||
	      csr_regfile$read_mstatus[14:13] == 2'h0;
      7'b0101111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004 =
	      _theResult____h4607[31:27] != 5'b00010 &&
	      _theResult____h4607[31:27] != 5'b00011 &&
	      _theResult____h4607[31:27] != 5'b0 &&
	      _theResult____h4607[31:27] != 5'b00001 &&
	      _theResult____h4607[31:27] != 5'b01100 &&
	      _theResult____h4607[31:27] != 5'b01000 &&
	      _theResult____h4607[31:27] != 5'b00100 &&
	      _theResult____h4607[31:27] != 5'b10000 &&
	      _theResult____h4607[31:27] != 5'b11000 &&
	      _theResult____h4607[31:27] != 5'b10100 &&
	      _theResult____h4607[31:27] != 5'b11100 ||
	      _theResult____h4607[14:12] != 3'b010 &&
	      _theResult____h4607[14:12] != 3'b011;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004 =
		   _theResult____h4607[6:0] != 7'b1010011 &&
		   _theResult____h4607[6:0] != 7'b1000011 &&
		   _theResult____h4607[6:0] != 7'b1000111 &&
		   _theResult____h4607[6:0] != 7'b1001011 &&
		   _theResult____h4607[6:0] != 7'b1001111 ||
		   csr_regfile_read_mstatus__8_BITS_14_TO_13_9_EQ_ETC___d1000;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011:
	  CASE_theResult__607_BITS_6_TO_0_0b11_NOT_theRe_ETC__q12 =
	      _theResult____h4607[14:12] != 3'b0 &&
	      _theResult____h4607[14:12] != 3'b100 &&
	      _theResult____h4607[14:12] != 3'b001 &&
	      _theResult____h4607[14:12] != 3'b101 &&
	      _theResult____h4607[14:12] != 3'b010 &&
	      _theResult____h4607[14:12] != 3'b110 &&
	      _theResult____h4607[14:12] != 3'b011;
      7'b0100011:
	  CASE_theResult__607_BITS_6_TO_0_0b11_NOT_theRe_ETC__q12 =
	      _theResult____h4607[14:12] != 3'b0 &&
	      _theResult____h4607[14:12] != 3'b001 &&
	      _theResult____h4607[14:12] != 3'b010 &&
	      _theResult____h4607[14:12] != 3'b011;
      default: CASE_theResult__607_BITS_6_TO_0_0b11_NOT_theRe_ETC__q12 =
		   _theResult____h4607[6:0] == 7'b0001111 ||
		   _theResult____h4607[6:0] == 7'b1110011 ||
		   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1004;
    endcase
  end
  always@(_theResult____h4607 or
	  CASE_theResult__607_BITS_6_TO_0_0b11_NOT_theRe_ETC__q12 or
	  NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_ETC___d733 or
	  funct10__h15025)
  begin
    case (_theResult____h4607[6:0])
      7'b0010011, 7'b0110011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1012 =
	      NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_ETC___d733;
      7'b0011011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1012 =
	      _theResult____h4607[14:12] != 3'b0 &&
	      (_theResult____h4607[14:12] != 3'b001 ||
	       _theResult____h4607[25]) &&
	      (_theResult____h4607[14:12] != 3'b101 ||
	       _theResult____h4607[25]);
      7'b0111011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1012 =
	      funct10__h15025 != 10'b0 && funct10__h15025 != 10'b0100000000 &&
	      funct10__h15025 != 10'b0000000001 &&
	      funct10__h15025 != 10'b0000000101 &&
	      funct10__h15025 != 10'b0100000101;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1012 =
		   _theResult____h4607[6:0] != 7'b0110111 &&
		   _theResult____h4607[6:0] != 7'b0010111 &&
		   CASE_theResult__607_BITS_6_TO_0_0b11_NOT_theRe_ETC__q12;
    endcase
  end
  always@(_theResult____h4607 or rm__h15556)
  begin
    case (_theResult____h4607[6:0])
      7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
	  CASE_theResult__607_BITS_6_TO_0_0b1000011_theR_ETC__q13 =
	      _theResult____h4607[26:25] == 2'b0 ||
	      _theResult____h4607[26:25] == 2'b01;
      default: CASE_theResult__607_BITS_6_TO_0_0b1000011_theR_ETC__q13 =
		   _theResult____h4607[31:25] == 7'h0 ||
		   _theResult____h4607[31:25] == 7'h04 ||
		   _theResult____h4607[31:25] == 7'h08 ||
		   _theResult____h4607[31:25] == 7'h0C ||
		   _theResult____h4607[31:25] == 7'h2C ||
		   _theResult____h4607[31:25] == 7'h10 &&
		   (rm__h15556 == 3'd0 || rm__h15556 == 3'd1 ||
		    rm__h15556 == 3'd2) ||
		   _theResult____h4607[31:25] == 7'h60 &&
		   _theResult____h4607[24:20] == 5'd0 ||
		   _theResult____h4607[31:25] == 7'h60 &&
		   (_theResult____h4607[24:20] == 5'd1 ||
		    _theResult____h4607[24:20] == 5'd2 ||
		    _theResult____h4607[24:20] == 5'd3) ||
		   _theResult____h4607[31:25] == 7'h68 &&
		   (_theResult____h4607[24:20] == 5'd0 ||
		    _theResult____h4607[24:20] == 5'd1 ||
		    _theResult____h4607[24:20] == 5'd2) ||
		   _theResult____h4607[31:25] == 7'h68 &&
		   _theResult____h4607[24:20] == 5'd3 ||
		   _theResult____h4607[31:25] == 7'h14 &&
		   rm__h15556 == 3'd0 ||
		   _theResult____h4607[31:25] == 7'h14 &&
		   rm__h15556 == 3'd1 ||
		   _theResult____h4607[31:25] == 7'h50 &&
		   (rm__h15556 == 3'd0 || rm__h15556 == 3'd1) ||
		   _theResult____h4607[31:25] == 7'h50 &&
		   rm__h15556 == 3'd2 ||
		   (_theResult____h4607[31:25] == 7'h70 ||
		    _theResult____h4607[31:25] == 7'h78) &&
		   rm__h15556 == 3'd0 ||
		   _theResult____h4607[31:25] == 7'h70 &&
		   rm__h15556 == 3'd1 ||
		   _theResult____h4607[31:25] == 7'b0000001 ||
		   _theResult____h4607[31:25] == 7'h05 ||
		   _theResult____h4607[31:25] == 7'b0001001 ||
		   _theResult____h4607[31:25] == 7'h0D ||
		   _theResult____h4607[31:25] == 7'h2D ||
		   _theResult____h4607[31:25] == 7'h11 &&
		   rm__h15556 == 3'd0 ||
		   _theResult____h4607[31:25] == 7'h11 &&
		   (rm__h15556 == 3'd1 || rm__h15556 == 3'd2) ||
		   _theResult____h4607[31:25] == 7'h61 &&
		   _theResult____h4607[24:20] == 5'd0 ||
		   _theResult____h4607[31:25] == 7'h61 &&
		   (_theResult____h4607[24:20] == 5'd1 ||
		    _theResult____h4607[24:20] == 5'd2 ||
		    _theResult____h4607[24:20] == 5'd3) ||
		   _theResult____h4607[31:25] == 7'h69 &&
		   (_theResult____h4607[24:20] == 5'd0 ||
		    _theResult____h4607[24:20] == 5'd1 ||
		    _theResult____h4607[24:20] == 5'd2) ||
		   _theResult____h4607[31:25] == 7'h69 &&
		   _theResult____h4607[24:20] == 5'd3 ||
		   _theResult____h4607[31:25] == 7'h21 &&
		   _theResult____h4607[24:20] == 5'd0 ||
		   _theResult____h4607[31:25] == 7'h20 &&
		   _theResult____h4607[24:20] == 5'd1 ||
		   _theResult____h4607[31:25] == 7'h15 &&
		   (rm__h15556 == 3'd0 || rm__h15556 == 3'd1) ||
		   _theResult____h4607[31:25] == 7'h51 &&
		   rm__h15556 == 3'd0 ||
		   _theResult____h4607[31:25] == 7'h51 &&
		   (rm__h15556 == 3'd1 || rm__h15556 == 3'd2) ||
		   _theResult____h4607[31:25] == 7'h71 &&
		   rm__h15556 == 3'd0 ||
		   _theResult____h4607[31:25] == 7'h79 &&
		   rm__h15556 == 3'd0 ||
		   _theResult____h4607[31:25] == 7'h71 && rm__h15556 == 3'd1;
    endcase
  end
  always@(_theResult____h4607 or
	  NOT_csr_regfile_read_mstatus__8_BITS_14_TO_13__ETC___d1190 or
	  csr_regfile$read_mstatus)
  begin
    case (_theResult____h4607[6:0])
      7'b0000111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194 =
	      (_theResult____h4607[14:12] == 3'b0 ||
	       _theResult____h4607[14:12] == 3'b100 ||
	       _theResult____h4607[14:12] == 3'b001 ||
	       _theResult____h4607[14:12] == 3'b101 ||
	       _theResult____h4607[14:12] == 3'b010 ||
	       _theResult____h4607[14:12] == 3'b110 ||
	       _theResult____h4607[14:12] == 3'b011) &&
	      csr_regfile$read_mstatus[14:13] != 2'h0;
      7'b0100111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194 =
	      (_theResult____h4607[14:12] == 3'b0 ||
	       _theResult____h4607[14:12] == 3'b001 ||
	       _theResult____h4607[14:12] == 3'b010 ||
	       _theResult____h4607[14:12] == 3'b011) &&
	      csr_regfile$read_mstatus[14:13] != 2'h0;
      7'b0101111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194 =
	      (_theResult____h4607[31:27] == 5'b00010 ||
	       _theResult____h4607[31:27] == 5'b00011 ||
	       _theResult____h4607[31:27] == 5'b0 ||
	       _theResult____h4607[31:27] == 5'b00001 ||
	       _theResult____h4607[31:27] == 5'b01100 ||
	       _theResult____h4607[31:27] == 5'b01000 ||
	       _theResult____h4607[31:27] == 5'b00100 ||
	       _theResult____h4607[31:27] == 5'b10000 ||
	       _theResult____h4607[31:27] == 5'b11000 ||
	       _theResult____h4607[31:27] == 5'b10100 ||
	       _theResult____h4607[31:27] == 5'b11100) &&
	      (_theResult____h4607[14:12] == 3'b010 ||
	       _theResult____h4607[14:12] == 3'b011);
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194 =
		   (_theResult____h4607[6:0] == 7'b1010011 ||
		    _theResult____h4607[6:0] == 7'b1000011 ||
		    _theResult____h4607[6:0] == 7'b1000111 ||
		    _theResult____h4607[6:0] == 7'b1001011 ||
		    _theResult____h4607[6:0] == 7'b1001111) &&
		   NOT_csr_regfile_read_mstatus__8_BITS_14_TO_13__ETC___d1190;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011:
	  CASE_theResult__607_BITS_6_TO_0_0b11_theResult_ETC__q14 =
	      _theResult____h4607[14:12] == 3'b0 ||
	      _theResult____h4607[14:12] == 3'b100 ||
	      _theResult____h4607[14:12] == 3'b001 ||
	      _theResult____h4607[14:12] == 3'b101 ||
	      _theResult____h4607[14:12] == 3'b010 ||
	      _theResult____h4607[14:12] == 3'b110 ||
	      _theResult____h4607[14:12] == 3'b011;
      7'b0100011:
	  CASE_theResult__607_BITS_6_TO_0_0b11_theResult_ETC__q14 =
	      _theResult____h4607[14:12] == 3'b0 ||
	      _theResult____h4607[14:12] == 3'b001 ||
	      _theResult____h4607[14:12] == 3'b010 ||
	      _theResult____h4607[14:12] == 3'b011;
      default: CASE_theResult__607_BITS_6_TO_0_0b11_theResult_ETC__q14 =
		   _theResult____h4607[6:0] != 7'b0001111 &&
		   _theResult____h4607[6:0] != 7'b1110011 &&
		   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1194;
    endcase
  end
  always@(_theResult____h4607 or
	  CASE_theResult__607_BITS_6_TO_0_0b11_theResult_ETC__q14 or
	  IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1050 or
	  funct10__h15025)
  begin
    case (_theResult____h4607[6:0])
      7'b0010011, 7'b0110011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1202 =
	      IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1050;
      7'b0011011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1202 =
	      _theResult____h4607[14:12] == 3'b0 ||
	      (_theResult____h4607[14:12] == 3'b001 ||
	       _theResult____h4607[14:12] == 3'b101) &&
	      !_theResult____h4607[25];
      7'b0111011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1202 =
	      funct10__h15025 == 10'b0 || funct10__h15025 == 10'b0100000000 ||
	      funct10__h15025 == 10'b0000000001 ||
	      funct10__h15025 == 10'b0000000101 ||
	      funct10__h15025 == 10'b0100000101;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1202 =
		   _theResult____h4607[6:0] == 7'b0110111 ||
		   _theResult____h4607[6:0] == 7'b0010111 ||
		   CASE_theResult__607_BITS_6_TO_0_0b11_theResult_ETC__q14;
    endcase
  end
  always@(rg_cur_priv)
  begin
    case (rg_cur_priv)
      2'b0: CASE_rg_cur_priv_0b0_8_0b1_9_11__q15 = 4'd8;
      2'b01: CASE_rg_cur_priv_0b0_8_0b1_9_11__q15 = 4'd9;
      default: CASE_rg_cur_priv_0b0_8_0b1_9_11__q15 = 4'd11;
    endcase
  end
  always@(_theResult____h4607 or CASE_rg_cur_priv_0b0_8_0b1_9_11__q15)
  begin
    case (_theResult____h4607[31:20])
      12'b0:
	  CASE_theResult__607_BITS_31_TO_20_0b0_CASE_rg__ETC__q16 =
	      CASE_rg_cur_priv_0b0_8_0b1_9_11__q15;
      12'b000000000001:
	  CASE_theResult__607_BITS_31_TO_20_0b0_CASE_rg__ETC__q16 = 4'd3;
      default: CASE_theResult__607_BITS_31_TO_20_0b0_CASE_rg__ETC__q16 = 4'd2;
    endcase
  end
  always@(_theResult____h4607 or alu_outputs___1_exc_code__h15424)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011,
      7'b0001111,
      7'b0010011,
      7'b0010111,
      7'b0011011,
      7'b0100011,
      7'b0110011,
      7'b0110111,
      7'b0111011,
      7'b1100011:
	  alu_outputs_exc_code__h15680 = 4'd2;
      7'b1100111, 7'b1101111: alu_outputs_exc_code__h15680 = 4'd0;
      7'b1110011:
	  alu_outputs_exc_code__h15680 = alu_outputs___1_exc_code__h15424;
      default: alu_outputs_exc_code__h15680 = 4'd2;
    endcase
  end
  always@(_theResult____h4607 or
	  rg_cur_priv or
	  IF_rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7__ETC___d1258)
  begin
    case (_theResult____h4607[31:20])
      12'b0, 12'b000000000001:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1260 = 4'd11;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1260 =
		   (rg_cur_priv == 2'b11 &&
		    _theResult____h4607[31:20] == 12'b001100000010) ?
		     4'd7 :
		     IF_rg_cur_priv_7_EQ_0b11_229_OR_rg_cur_priv_7__ETC___d1258;
    endcase
  end
  always@(_theResult____h4607)
  begin
    case (_theResult____h4607[14:12])
      3'b0: CASE_theResult__607_BITS_14_TO_12_0b0_4_0b1_5_11__q17 = 4'd4;
      3'b001: CASE_theResult__607_BITS_14_TO_12_0b0_4_0b1_5_11__q17 = 4'd5;
      default: CASE_theResult__607_BITS_14_TO_12_0b0_4_0b1_5_11__q17 = 4'd11;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1262)
  begin
    case (_theResult____h4607[14:12])
      3'b0:
	  CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1262;
      3'b001, 3'b101:
	  CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18 = 4'd2;
      3'b010, 3'b011, 3'b110, 3'b111:
	  CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18 = 4'd3;
      3'd4: CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18 = 4'd11;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1220 or
	  CASE_theResult__607_BITS_14_TO_12_0b0_4_0b1_5_11__q17 or
	  IF_NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_P_ETC___d1214 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1224 or
	  funct10__h15025 or
	  IF_NOT_csr_regfile_read_mstatus__8_BITS_14_TO__ETC___d1270 or
	  CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011, 7'b0000111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1220;
      7'b0001111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      CASE_theResult__607_BITS_14_TO_12_0b0_4_0b1_5_11__q17;
      7'b0010011, 7'b0110011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      IF_NOT_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_P_ETC___d1214;
      7'b0010111, 7'b0110111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 = 4'd0;
      7'b0011011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      (_theResult____h4607[14:12] != 3'b0 &&
	       (_theResult____h4607[14:12] != 3'b001 ||
		_theResult____h4607[25]) &&
	       (_theResult____h4607[14:12] != 3'b101 ||
		_theResult____h4607[25])) ?
		4'd11 :
		4'd0;
      7'b0100011, 7'b0100111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1224;
      7'b0101111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      ((_theResult____h4607[31:27] == 5'b00010 ||
		_theResult____h4607[31:27] == 5'b00011 ||
		_theResult____h4607[31:27] == 5'b0 ||
		_theResult____h4607[31:27] == 5'b00001 ||
		_theResult____h4607[31:27] == 5'b01100 ||
		_theResult____h4607[31:27] == 5'b01000 ||
		_theResult____h4607[31:27] == 5'b00100 ||
		_theResult____h4607[31:27] == 5'b10000 ||
		_theResult____h4607[31:27] == 5'b11000 ||
		_theResult____h4607[31:27] == 5'b10100 ||
		_theResult____h4607[31:27] == 5'b11100) &&
	       (_theResult____h4607[14:12] == 3'b010 ||
		_theResult____h4607[14:12] == 3'b011)) ?
		4'd0 :
		4'd11;
      7'b0111011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      (funct10__h15025 != 10'b0 &&
	       funct10__h15025 != 10'b0100000000 &&
	       funct10__h15025 != 10'b0000000001 &&
	       funct10__h15025 != 10'b0000000101 &&
	       funct10__h15025 != 10'b0100000101) ?
		4'd11 :
		4'd0;
      7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111, 7'b1010011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      IF_NOT_csr_regfile_read_mstatus__8_BITS_14_TO__ETC___d1270;
      7'b1110011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
	      CASE_theResult__607_BITS_14_TO_12_0b0_IF_IF_NO_ETC__q18;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 =
		   4'd11;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1043 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697)
  begin
    case (_theResult____h4607[6:0])
      7'b1100011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1285 =
	      (_theResult____h4607[14:12] != 3'b0 &&
	       _theResult____h4607[14:12] != 3'b001 &&
	       _theResult____h4607[14:12] != 3'b100 &&
	       _theResult____h4607[14:12] != 3'b101 &&
	       _theResult____h4607[14:12] != 3'b110 &&
	       _theResult____h4607[14:12] != 3'b111) ?
		4'd11 :
		(IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d697 ?
		   4'd1 :
		   4'd0);
      7'b1100111, 7'b1101111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1285 = 4'd1;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1285 =
		   IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1043 ?
		     4'd0 :
		     IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1282;
    endcase
  end
  always@(_theResult____h4607)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011, 7'b0000111:
	  CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19 = 3'd1;
      7'b0010011, 7'b0010111, 7'b0011011, 7'b0110011, 7'b0110111, 7'b0111011:
	  CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19 = 3'd0;
      7'b0100011, 7'b0100111:
	  CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19 = 3'd2;
      7'b0101111:
	  CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19 = 3'd4;
      default: CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19 = 3'd5;
    endcase
  end
  always@(_theResult____h4607 or
	  CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19)
  begin
    case (_theResult____h4607[6:0])
      7'b1100011, 7'b1100111, 7'b1101111:
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 = 3'd0;
      default: IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 =
		   ((_theResult____h4607[6:0] == 7'b0110011 ||
		     _theResult____h4607[6:0] == 7'b0111011) &&
		    _theResult____h4607[31:25] == 7'b0000001) ?
		     3'd3 :
		     CASE_theResult__607_BITS_6_TO_0_0b11_1_0b111_1_ETC__q19;
    endcase
  end
  always@(_theResult____h4607 or
	  _theResult_____1_fst__h16273 or
	  rd_val___1__h16241 or
	  rd_val___1__h16248 or rd_val___1__h16255 or rd_val___1__h16262)
  begin
    case (_theResult____h4607[14:12])
      3'b010: _theResult_____1_fst__h16245 = rd_val___1__h16241;
      3'b011: _theResult_____1_fst__h16245 = rd_val___1__h16248;
      3'b100: _theResult_____1_fst__h16245 = rd_val___1__h16255;
      3'b110: _theResult_____1_fst__h16245 = rd_val___1__h16262;
      default: _theResult_____1_fst__h16245 = _theResult_____1_fst__h16273;
    endcase
  end
  always@(_theResult____h4607 or
	  alu_outputs___1_addr__h15141 or
	  alu_outputs___1_addr__h15117 or
	  rs1_val_bypassed__h4615 or
	  alu_outputs___1_addr__h14775 or
	  alu_outputs___1_addr__h14828 or alu_outputs___1_addr__h14799)
  begin
    case (_theResult____h4607[6:0])
      7'b0000011, 7'b0000111:
	  x_out_data_to_stage2_addr__h14648 = alu_outputs___1_addr__h15117;
      7'b0100011:
	  x_out_data_to_stage2_addr__h14648 = alu_outputs___1_addr__h15141;
      7'b0101111: x_out_data_to_stage2_addr__h14648 = rs1_val_bypassed__h4615;
      7'b1100011:
	  x_out_data_to_stage2_addr__h14648 = alu_outputs___1_addr__h14775;
      7'b1100111:
	  x_out_data_to_stage2_addr__h14648 = alu_outputs___1_addr__h14828;
      7'b1101111:
	  x_out_data_to_stage2_addr__h14648 = alu_outputs___1_addr__h14799;
      default: x_out_data_to_stage2_addr__h14648 =
		   alu_outputs___1_addr__h15141;
    endcase
  end
  always@(_theResult____h4607 or imem_rg_pc or data_to_stage2_addr__h14637)
  begin
    case (_theResult____h4607[6:0])
      7'b1100111, 7'b1101111:
	  CASE_theResult__607_BITS_6_TO_0_0b1100111_data_ETC__q22 =
	      data_to_stage2_addr__h14637;
      default: CASE_theResult__607_BITS_6_TO_0_0b1100111_data_ETC__q22 =
		   (_theResult____h4607[6:0] == 7'b1110011 &&
		    _theResult____h4607[14:12] == 3'b0 &&
		    _theResult____h4607[11:7] == 5'd0 &&
		    _theResult____h4607[19:15] == 5'd0 &&
		    _theResult____h4607[31:20] == 12'b000000000001) ?
		     imem_rg_pc :
		     64'd0;
    endcase
  end
  always@(_theResult____h4607 or
	  frs2_val_bypassed__h4631 or
	  alu_outputs___1_val2__h15143 or rs2_val_bypassed__h4621)
  begin
    case (_theResult____h4607[6:0])
      7'b0100011, 7'b0100111:
	  CASE_theResult__607_BITS_6_TO_0_0b100011_alu_o_ETC__q23 =
	      alu_outputs___1_val2__h15143;
      7'b0101111:
	  CASE_theResult__607_BITS_6_TO_0_0b100011_alu_o_ETC__q23 =
	      rs2_val_bypassed__h4621;
      default: CASE_theResult__607_BITS_6_TO_0_0b100011_alu_o_ETC__q23 =
		   frs2_val_bypassed__h4631;
    endcase
  end
  always@(_theResult____h4607 or
	  alu_outputs___1_val1__h15653 or
	  alu_outputs___1_val1__h14987 or
	  alu_outputs___1_val1__h15077 or
	  alu_outputs___1_val1__h15013 or
	  alu_outputs___1_val1__h15452 or
	  alu_outputs___1_val1__h15058 or
	  alu_outputs___1_val1__h15039 or alu_outputs___1_val1__h15428)
  begin
    case (_theResult____h4607[6:0])
      7'b0010011, 7'b0110011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h14987;
      7'b0010111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h15077;
      7'b0011011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h15013;
      7'b0101111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h15452;
      7'b0110111:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h15058;
      7'b0111011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h15039;
      7'b1110011:
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
	      alu_outputs___1_val1__h15428;
      default: IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1557 =
		   alu_outputs___1_val1__h15653;
    endcase
  end
  always@(_theResult____h4607 or
	  IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1559 or
	  IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1432)
  begin
    case (_theResult____h4607[6:0])
      7'b1100111, 7'b1101111:
	  x_out_data_to_stage2_val1__h14649 =
	      IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS_2_9_ETC___d1432;
      default: x_out_data_to_stage2_val1__h14649 =
		   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1559;
    endcase
  end
  always@(x_out_data_to_stage2_instr__h14645 or
	  x_out_data_to_stage2_val1__h14649)
  begin
    case (x_out_data_to_stage2_instr__h14645[14:12])
      3'b010, 3'b011: rs1_val__h23782 = x_out_data_to_stage2_val1__h14649;
      default: rs1_val__h23782 =
		   { 59'd0, x_out_data_to_stage2_instr__h14645[19:15] };
    endcase
  end

  // handling of inlined registers

  always@(posedge CLK)
  begin
    if (RST_N == `BSV_RESET_VALUE)
      begin
        cfg_logdelay <= `BSV_ASSIGNMENT_DELAY 64'd0;
	cfg_verbosity <= `BSV_ASSIGNMENT_DELAY 4'd0;
	rg_cur_priv <= `BSV_ASSIGNMENT_DELAY 2'b11;
	rg_run_on_reset <= `BSV_ASSIGNMENT_DELAY 1'd0;
	rg_state <= `BSV_ASSIGNMENT_DELAY 4'd0;
	stage1_rg_full <= `BSV_ASSIGNMENT_DELAY 1'd0;
	stage2_rg_full <= `BSV_ASSIGNMENT_DELAY 1'd0;
	stage2_rg_resetting <= `BSV_ASSIGNMENT_DELAY 1'd0;
	stage3_rg_full <= `BSV_ASSIGNMENT_DELAY 1'd0;
      end
    else
      begin
        if (cfg_logdelay$EN)
	  cfg_logdelay <= `BSV_ASSIGNMENT_DELAY cfg_logdelay$D_IN;
	if (cfg_verbosity$EN)
	  cfg_verbosity <= `BSV_ASSIGNMENT_DELAY cfg_verbosity$D_IN;
	if (rg_cur_priv$EN)
	  rg_cur_priv <= `BSV_ASSIGNMENT_DELAY rg_cur_priv$D_IN;
	if (rg_run_on_reset$EN)
	  rg_run_on_reset <= `BSV_ASSIGNMENT_DELAY rg_run_on_reset$D_IN;
	if (rg_state$EN) rg_state <= `BSV_ASSIGNMENT_DELAY rg_state$D_IN;
	if (stage1_rg_full$EN)
	  stage1_rg_full <= `BSV_ASSIGNMENT_DELAY stage1_rg_full$D_IN;
	if (stage2_rg_full$EN)
	  stage2_rg_full <= `BSV_ASSIGNMENT_DELAY stage2_rg_full$D_IN;
	if (stage2_rg_resetting$EN)
	  stage2_rg_resetting <= `BSV_ASSIGNMENT_DELAY
	      stage2_rg_resetting$D_IN;
	if (stage3_rg_full$EN)
	  stage3_rg_full <= `BSV_ASSIGNMENT_DELAY stage3_rg_full$D_IN;
      end
    if (imem_rg_f3$EN) imem_rg_f3 <= `BSV_ASSIGNMENT_DELAY imem_rg_f3$D_IN;
    if (imem_rg_instr_15_0$EN)
      imem_rg_instr_15_0 <= `BSV_ASSIGNMENT_DELAY imem_rg_instr_15_0$D_IN;
    if (imem_rg_mstatus_MXR$EN)
      imem_rg_mstatus_MXR <= `BSV_ASSIGNMENT_DELAY imem_rg_mstatus_MXR$D_IN;
    if (imem_rg_pc$EN) imem_rg_pc <= `BSV_ASSIGNMENT_DELAY imem_rg_pc$D_IN;
    if (imem_rg_priv$EN)
      imem_rg_priv <= `BSV_ASSIGNMENT_DELAY imem_rg_priv$D_IN;
    if (imem_rg_satp$EN)
      imem_rg_satp <= `BSV_ASSIGNMENT_DELAY imem_rg_satp$D_IN;
    if (imem_rg_sstatus_SUM$EN)
      imem_rg_sstatus_SUM <= `BSV_ASSIGNMENT_DELAY imem_rg_sstatus_SUM$D_IN;
    if (imem_rg_tval$EN)
      imem_rg_tval <= `BSV_ASSIGNMENT_DELAY imem_rg_tval$D_IN;
    if (rg_mstatus_MXR$EN)
      rg_mstatus_MXR <= `BSV_ASSIGNMENT_DELAY rg_mstatus_MXR$D_IN;
    if (rg_next_pc$EN) rg_next_pc <= `BSV_ASSIGNMENT_DELAY rg_next_pc$D_IN;
    if (rg_sstatus_SUM$EN)
      rg_sstatus_SUM <= `BSV_ASSIGNMENT_DELAY rg_sstatus_SUM$D_IN;
    if (rg_start_CPI_cycles$EN)
      rg_start_CPI_cycles <= `BSV_ASSIGNMENT_DELAY rg_start_CPI_cycles$D_IN;
    if (rg_start_CPI_instrs$EN)
      rg_start_CPI_instrs <= `BSV_ASSIGNMENT_DELAY rg_start_CPI_instrs$D_IN;
    if (stage2_rg_stage2$EN)
      stage2_rg_stage2 <= `BSV_ASSIGNMENT_DELAY stage2_rg_stage2$D_IN;
    if (stage3_rg_stage3$EN)
      stage3_rg_stage3 <= `BSV_ASSIGNMENT_DELAY stage3_rg_stage3$D_IN;
  end

  // synopsys translate_off
  `ifdef BSV_NO_INITIAL_BLOCKS
  `else // not BSV_NO_INITIAL_BLOCKS
  initial
  begin
    cfg_logdelay = 64'hAAAAAAAAAAAAAAAA;
    cfg_verbosity = 4'hA;
    imem_rg_f3 = 3'h2;
    imem_rg_instr_15_0 = 16'hAAAA;
    imem_rg_mstatus_MXR = 1'h0;
    imem_rg_pc = 64'hAAAAAAAAAAAAAAAA;
    imem_rg_priv = 2'h2;
    imem_rg_satp = 64'hAAAAAAAAAAAAAAAA;
    imem_rg_sstatus_SUM = 1'h0;
    imem_rg_tval = 64'hAAAAAAAAAAAAAAAA;
    rg_cur_priv = 2'h2;
    rg_mstatus_MXR = 1'h0;
    rg_next_pc = 64'hAAAAAAAAAAAAAAAA;
    rg_run_on_reset = 1'h0;
    rg_sstatus_SUM = 1'h0;
    rg_start_CPI_cycles = 64'hAAAAAAAAAAAAAAAA;
    rg_start_CPI_instrs = 64'hAAAAAAAAAAAAAAAA;
    rg_state = 4'hA;
    stage1_rg_full = 1'h0;
    stage2_rg_full = 1'h0;
    stage2_rg_resetting = 1'h0;
    stage2_rg_stage2 =
	366'h2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA;
    stage3_rg_full = 1'h0;
    stage3_rg_stage3 = 175'h2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA;
  end
  `endif // BSV_NO_INITIAL_BLOCKS
  // synopsys translate_on

  // handling of system tasks

  // synopsys translate_off
  always@(negedge CLK)
  begin
    #0;
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$display("================================================================");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$display("%0d: Pipeline State:  minstret:%0d  cur_priv:%0d  mstatus:%0x",
		 csr_regfile$read_csr_mcycle,
		 csr_regfile$read_csr_minstret,
		 rg_cur_priv,
		 csr_regfile$read_mstatus);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("    ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write("MStatus{",
	       "sd:%0d",
	       csr_regfile$read_mstatus[14:13] == 2'h3 ||
	       csr_regfile$read_mstatus[16:15] == 2'h3);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && csr_regfile$read_misa[27:26] == 2'd2)
	$write(" sxl:%0d uxl:%0d", sxl__h5045, uxl__h5046);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && csr_regfile$read_misa[27:26] != 2'd2)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" tsr:%0d", csr_regfile$read_mstatus[22]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" tw:%0d", csr_regfile$read_mstatus[21]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" tvm:%0d", csr_regfile$read_mstatus[20]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" mxr:%0d", csr_regfile$read_mstatus[19]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" sum:%0d", csr_regfile$read_mstatus[18]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" mprv:%0d", csr_regfile$read_mstatus[17]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" xs:%0d", csr_regfile$read_mstatus[16:15]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" fs:%0d", csr_regfile$read_mstatus[14:13]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" mpp:%0d", csr_regfile$read_mstatus[12:11]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" spp:%0d", csr_regfile$read_mstatus[8]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" pies:%0d_%0d%0d",
	       csr_regfile$read_mstatus[7],
	       csr_regfile$read_mstatus[5],
	       csr_regfile$read_mstatus[4]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$write(" ies:%0d_%0d%0d",
	       csr_regfile$read_mstatus[3],
	       csr_regfile$read_mstatus[1],
	       csr_regfile$read_mstatus[0]);
    if (RST_N != `BSV_RESET_VALUE) if (WILL_FIRE_RL_rl_show_pipe) $write("}");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("    Stage3: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("Output_Stage3");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage3_rg_full) $write(" PIPE");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage3_rg_full) $write(" EMPTY");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("        Bypass  to Stage1: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("Bypass {");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  (stage3_rg_stage3[69] || !stage3_rg_full || !stage3_rg_stage3[76]))
	$write("Rd -");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage3_rg_stage3[69] &&
	  stage3_rg_full &&
	  stage3_rg_stage3[76])
	$write("Rd %0d ", stage3_rg_stage3[75:71]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  (stage3_rg_stage3[69] || !stage3_rg_full || !stage3_rg_stage3[76]))
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage3_rg_stage3[69] &&
	  stage3_rg_full &&
	  stage3_rg_stage3[76])
	$write("rd_val:%h", stage3_rg_stage3[63:0]);
    if (RST_N != `BSV_RESET_VALUE) if (WILL_FIRE_RL_rl_show_pipe) $write("}");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("        FBypass to Stage1: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("FBypass {");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  (!stage3_rg_stage3[69] || !stage3_rg_full || !stage3_rg_stage3[76]))
	$write("FRd -");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage3_rg_stage3[69] &&
	  stage3_rg_full &&
	  stage3_rg_stage3[76])
	$write("FRd %0d ", stage3_rg_stage3[75:71]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  (!stage3_rg_stage3[69] || !stage3_rg_full || !stage3_rg_stage3[76]))
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage3_rg_stage3[69] &&
	  stage3_rg_full &&
	  stage3_rg_stage3[76])
	$write("frd_val:%h", stage3_rg_stage3[63:0]);
    if (RST_N != `BSV_RESET_VALUE) if (WILL_FIRE_RL_rl_show_pipe) $write("}");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$display("    Stage2: pc 0x%08h instr 0x%08h priv %0d",
		 stage2_rg_stage2[363:300],
		 stage2_rg_stage2[299:268],
		 stage2_rg_stage2[365:364]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("        ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("Output_Stage2", " EMPTY");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("Output_Stage2", " BUSY: pc:%0h", stage2_rg_stage2[363:300]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("Output_Stage2", " NONPIPE: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("Output_Stage2", " PIPE: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("data_to_Stage3 {pc:%h  instr:%h  priv:%0d\n",
	       stage2_rg_stage2[363:300],
	       stage2_rg_stage2[299:268],
	       stage2_rg_stage2[365:364]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("        rd_valid:");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3 &&
	  stage2_rg_stage2[267:265] != 3'd0 &&
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d153)
	$write("False");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3 &&
	  (stage2_rg_stage2[267:265] == 3'd0 ||
	   IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163))
	$write("True");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3 &&
	  stage2_rg_stage2[267:265] != 3'd0 &&
	  stage2_rg_stage2[267:265] != 3'd1 &&
	  stage2_rg_stage2[267:265] != 3'd4 &&
	  stage2_rg_stage2[267:265] != 3'd2 &&
	  stage2_rg_stage2[267:265] != 3'd3)
	$write("  fflags: %05b",
	       "'h%h",
	       x_out_data_to_stage3_fpr_flags__h6249);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3 &&
	  (stage2_rg_stage2[267:265] == 3'd0 ||
	   stage2_rg_stage2[267:265] == 3'd1 ||
	   stage2_rg_stage2[267:265] == 3'd4 ||
	   stage2_rg_stage2[267:265] == 3'd2 ||
	   stage2_rg_stage2[267:265] == 3'd3))
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3 &&
	  stage2_rg_stage2[267:265] != 3'd0 &&
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d198)
	$write("  frd:%0d  rd_val:%h\n",
	       x_out_data_to_stage3_rd__h6246,
	       x_out_data_to_stage3_rd_val__h6250);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3 &&
	  (stage2_rg_stage2[267:265] == 3'd0 ||
	   IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d232))
	$write("  grd:%0d  rd_val:%h\n",
	       x_out_data_to_stage3_rd__h6246,
	       x_out_data_to_stage3_rd_val__h6250);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("Trap_Info { ", "epc: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("'h%h", value__h6429);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write(", ", "exc_code: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("'h%h", x_out_trap_info_exc_code__h6466);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write(", ", "tval: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("'h%h", value__h6490, " }");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write(" ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("Trap_Info { ", "epc: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("'h%h", value__h6429);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write(", ", "exc_code: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("'h%h", x_out_trap_info_exc_code__h6466);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write(", ", "tval: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd1)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd3)
	$write("'h%h", value__h6490, " }");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd1 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 != 2'd3)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("        Bypass  to Stage1: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("Bypass {");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 == 2'd0)
	$write("Rd -");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 != 2'd0)
	$write("Rd %0d ", x_out_bypass_rd__h6724);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 == 2'd1)
	$write("-");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 != 2'd0 &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d265 != 2'd1)
	$write("rd_val:%h", x_out_bypass_rd_val__h6725);
    if (RST_N != `BSV_RESET_VALUE) if (WILL_FIRE_RL_rl_show_pipe) $write("}");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("        FBypass to Stage1: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("FBypass {");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 == 2'd0)
	$write("FRd -");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 != 2'd0)
	$write("FRd %0d ", x_out_fbypass_rd__h6873);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 == 2'd0)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 == 2'd1)
	$write("-");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe &&
	  IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 != 2'd0 &&
	  IF_NOT_stage2_rg_full_01_38_OR_stage2_rg_stage_ETC___d289 != 2'd1)
	$write("frd_val:%h", x_out_fbypass_rd_val__h6874);
    if (RST_N != `BSV_RESET_VALUE) if (WILL_FIRE_RL_rl_show_pipe) $write("}");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe)
	$display("    Stage1: pc 0x%08h instr 0x%08h priv %0d",
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("        ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("Output_Stage1", " BUSY pc:%h", imem_rg_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("Output_Stage1", " NONPIPE: pc:%h", imem_rg_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("Output_Stage1");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full)
	$write("Output_Stage1", " EMPTY");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write(" PIPE: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd0)
	$write("CONTROL_STRAIGHT");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd1)
	$write("CONTROL_BRANCH");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd2)
	$write("CONTROL_CSRR_W");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd3)
	$write("CONTROL_CSRR_S_or_C");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd4)
	$write("CONTROL_FENCE");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd5)
	$write("CONTROL_FENCE_I");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd6)
	$write("CONTROL_SFENCE_VMA");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd7)
	$write("CONTROL_MRET");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd8)
	$write("CONTROL_SRET");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd9)
	$write("CONTROL_URET");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1287 == 4'd10)
	$write("CONTROL_WFI");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  NOT_near_mem_imem_exc__48_031_AND_IF_IF_NOT_ne_ETC___d1353)
	$write("CONTROL_TRAP");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write(" ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("data_to_Stage 2 {pc:%h  instr:%h  priv:%0d\n",
	       imem_rg_pc,
	       x_out_data_to_stage2_instr__h14645,
	       rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("            op_stage2:");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 == 3'd0)
	$write("OP_Stage2_ALU");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 == 3'd1)
	$write("OP_Stage2_LD");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 == 3'd2)
	$write("OP_Stage2_ST");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 == 3'd3)
	$write("OP_Stage2_M");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  !near_mem$imem_exc &&
	  (IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1205 ||
	   IF_IF_NOT_near_mem_imem_pc_EQ_imem_rg_pc_PLUS__ETC___d1207) &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d1373 == 3'd4)
	$write("OP_Stage2_AMO");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  NOT_near_mem_imem_exc__48_031_AND_IF_IF_NOT_ne_ETC___d1403)
	$write("OP_Stage2_FD");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("  rd:%0d\n", x_out_data_to_stage2_rd__h14647);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("            addr:%h  val1:%h  val2:%h  val3:%h}",
	       x_out_data_to_stage2_addr__h14648,
	       x_out_data_to_stage2_val1__h14649,
	       x_out_data_to_stage2_val2__h14650,
	       x_out_data_to_stage2_val3__h14651);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write(" ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1603)
	$write("CONTROL_STRAIGHT");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1606)
	$write("CONTROL_BRANCH");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1609)
	$write("CONTROL_CSRR_W");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1612)
	$write("CONTROL_CSRR_S_or_C");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1615)
	$write("CONTROL_FENCE");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1618)
	$write("CONTROL_FENCE_I");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1621)
	$write("CONTROL_SFENCE_VMA");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1624)
	$write("CONTROL_MRET");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1627)
	$write("CONTROL_SRET");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1630)
	$write("CONTROL_URET");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1633)
	$write("CONTROL_WFI");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647 &&
	  near_mem_imem_exc__48_OR_IF_IF_NOT_near_mem_im_ETC___d1636)
	$write("CONTROL_TRAP");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write(" ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("Trap_Info { ", "epc: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("'h%h", imem_rg_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write(", ", "exc_code: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("'h%h", x_out_trap_info_exc_code__h18054);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write(", ", "tval: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1029)
	$write("'h%h", value__h18109, " }");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d1210)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  NOT_near_mem_imem_valid_08_OR_NOT_near_mem_ime_ETC___d632)
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && stage1_rg_full &&
	  near_mem_imem_valid_AND_near_mem_imem_pc_EQ_im_ETC___d647)
	$write(" next_pc 0x%08h", x_out_next_pc__h14611);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe && !stage1_rg_full) $write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_show_pipe) $display("----------------");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage2_nonpipe &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage2_nonpipe", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage2_nonpipe && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 value__h6429,
		 stage2_rg_stage2[299:268],
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage2_nonpipe && cur_verbosity__h3134 != 4'd0)
	$display("    mcause:0x%0h  epc 0x%0h  tval:0x%0h  new pc 0x%0h, new mstatus 0x%0h",
		 csr_regfile$csr_trap_actions[65:2],
		 value__h6429,
		 value__h6490,
		 csr_regfile$csr_trap_actions[193:130],
		 csr_regfile$csr_trap_actions[129:66]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_W &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_CSRR_W", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_W && csr_regfile$access_permitted_1 &&
	  cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_W && csr_regfile$access_permitted_1 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    S1: write CSRRW/CSRRWI Rs1 %0d Rs1_val 0x%0h csr 0x%0h csr_val 0x%0h Rd %0d",
		 x_out_data_to_stage2_instr__h14645[19:15],
		 rs1_val__h23289,
		 x_out_data_to_stage2_instr__h14645[31:20],
		 csr_regfile$read_csr[63:0],
		 x_out_data_to_stage2_instr__h14645[11:7]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_W && !csr_regfile$access_permitted_1 &&
	  cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_W && !csr_regfile$access_permitted_1 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    rl_stage1_CSRR_W: Trap on CSR permissions: Rs1 %0d Rs1_val 0x%0h csr 0x%0h Rd %0d",
		 x_out_data_to_stage2_instr__h14645[19:15],
		 rs1_val__h23289,
		 x_out_data_to_stage2_instr__h14645[31:20],
		 x_out_data_to_stage2_instr__h14645[11:7]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_CSRR_S_or_C",
		 csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	  csr_regfile$access_permitted_2 &&
	  cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	  csr_regfile$access_permitted_2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    S1: write CSRR_S_or_C: Rs1 %0d Rs1_val 0x%0h csr 0x%0h csr_val 0x%0h Rd %0d",
		 x_out_data_to_stage2_instr__h14645[19:15],
		 rs1_val__h23782,
		 x_out_data_to_stage2_instr__h14645[31:20],
		 csr_regfile$read_csr[63:0],
		 x_out_data_to_stage2_instr__h14645[11:7]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	  !csr_regfile$access_permitted_2 &&
	  cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_CSRR_S_or_C &&
	  !csr_regfile$access_permitted_2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    rl_stage1_CSRR_S_or_C: Trap on CSR permissions: Rs1 %0d Rs1_val 0x%0h csr 0x%0h Rd %0d",
		 x_out_data_to_stage2_instr__h14645[19:15],
		 rs1_val__h23782,
		 x_out_data_to_stage2_instr__h14645[31:20],
		 x_out_data_to_stage2_instr__h14645[11:7]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_restart_after_csrrx &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", x_out_next_pc__h14611);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_restart_after_csrrx &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: rl_stage1_restart_after_csrrx: minstret:%0d  pc:%0x  cur_priv:%0d",
		 csr_regfile$read_csr_mcycle,
		 csr_regfile$read_csr_minstret,
		 x_out_next_pc__h14611,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_xRET &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_xRET", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_xRET && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_xRET && cur_verbosity__h3134 != 4'd0)
	$display("    xRET: next_pc:0x%0h  new mstatus:0x%0h  new priv:%0d",
		 csr_regfile$csr_ret_actions[129:66],
		 csr_regfile$csr_ret_actions[63:0],
		 csr_regfile$csr_ret_actions[65:64]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_FENCE_I &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_FENCE_I", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_FENCE_I && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_FENCE_I &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_FENCE_I", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_FENCE_I &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_finish_FENCE_I", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_FENCE_I &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", rg_next_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_FENCE_I &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU.rl_finish_FENCE_I");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_FENCE &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_FENCE", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_FENCE && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_FENCE &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_FENCE", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_FENCE &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_finish_FENCE", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_FENCE &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", rg_next_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_FENCE &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU.rl_finish_FENCE");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_SFENCE_VMA &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_finish_SFENCE_VMA",
		 csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_SFENCE_VMA &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", rg_next_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_finish_SFENCE_VMA &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU.rl_finish_SFENCE_VMA");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_WFI &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_WFI", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_WFI && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_WFI &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU.rl_stage1_WFI");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_WFI_resume &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_WFI_resume", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_WFI_resume && cur_verbosity__h3134 != 4'd0)
	$display("    WFI resume");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_WFI_resume &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", rg_next_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_from_WFI &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_reset_from_WFI", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_trap", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d2002)
	$display("%0d: CPU.rl_stage1_trap: Tight infinite trap loop: pc 0x%0x instr 0x%08x",
		 csr_regfile$read_csr_mcycle,
		 csr_regfile$csr_trap_actions[193:130],
		 x_out_data_to_stage2_instr__h14645);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d2002)
	$display("CPI: %0d.%0d = (%0d/%0d) since last 'continue'",
		 cpi__h28498,
		 cpifrac__h28499,
		 delta_CPI_cycles__h28494,
		 _theResult____h28496);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap &&
	  IF_NOT_stage1_rg_full_06_07_OR_NOT_near_mem_im_ETC___d2002)
	$finish(32'd0);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap && cur_verbosity__h3134 != 4'd0)
	$display("%0d: CPU.rl_stage1_trap: priv:%0d  mcause:0x%0h  epc:0x%0h",
		 csr_regfile$read_csr_mcycle,
		 rg_cur_priv,
		 csr_regfile$csr_trap_actions[65:2],
		 imem_rg_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_trap && cur_verbosity__h3134 != 4'd0)
	$display("    tval:0x%0h  new pc:0x%0h  new mstatus:0x%0h",
		 value__h18109,
		 csr_regfile$csr_trap_actions[193:130],
		 csr_regfile$csr_trap_actions[129:66]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_trap_fetch &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", rg_next_pc);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_interrupt &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_interrupt", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_interrupt && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_interrupt && cur_verbosity__h3134 != 4'd0)
	$display("%0d: CPU.rl_stage1_interrupt: epc 0x%0h  next PC 0x%0h  new_priv %0d  new mstatus 0x%0h",
		 csr_regfile$read_csr_mcycle,
		 imem_rg_pc,
		 csr_regfile$csr_trap_actions[193:130],
		 csr_regfile$csr_trap_actions[1:0],
		 csr_regfile$csr_trap_actions[129:66]);
    if (WILL_FIRE_RL_imem_rl_assert_fail)
      $display("ERROR: CPU_Fetch_C: imem32.is_i32_not_i16 is False");
    if (WILL_FIRE_RL_imem_rl_assert_fail) $finish(32'd1);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", soc_map$m_pc_reset_value);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_complete && rg_run_on_reset)
	$display("%0d: CPU.rl_reset_complete: restart at PC = 0x%0h",
		 csr_regfile$read_csr_mcycle,
		 soc_map$m_pc_reset_value);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_complete && !rg_run_on_reset)
	$display("%0d: CPU.rl_reset_complete: entering DEBUG_MODE",
		 csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_pipe", csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  stage3_rg_stage3[69])
	$display("    S3.fa_deq: write FRd 0x%0h, rd_val 0x%0h",
		 stage3_rg_stage3[75:71],
		 stage3_rg_stage3[63:0]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe && stage3_rg_full && stage3_rg_stage3[76] &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  !stage3_rg_stage3[69])
	$display("    S3.fa_deq: write GRd 0x%0h, rd_val 0x%0h",
		 stage3_rg_stage3[75:71],
		 stage3_rg_stage3[63:0]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$write("    S3.enq: ");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$write("data_to_Stage3 {pc:%h  instr:%h  priv:%0d\n",
	       stage2_rg_stage2[363:300],
	       stage2_rg_stage2[299:268],
	       stage2_rg_stage2[365:364]);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$write("        rd_valid:");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  stage2_rg_stage2[267:265] != 3'd0 &&
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d153)
	$write("False");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  (stage2_rg_stage2[267:265] == 3'd0 ||
	   IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d163))
	$write("True");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  stage2_rg_stage2[267:265] != 3'd0 &&
	  stage2_rg_stage2[267:265] != 3'd1 &&
	  stage2_rg_stage2[267:265] != 3'd4 &&
	  stage2_rg_stage2[267:265] != 3'd2 &&
	  stage2_rg_stage2[267:265] != 3'd3)
	$write("  fflags: %05b",
	       "'h%h",
	       x_out_data_to_stage3_fpr_flags__h6249);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  (stage2_rg_stage2[267:265] == 3'd0 ||
	   stage2_rg_stage2[267:265] == 3'd1 ||
	   stage2_rg_stage2[267:265] == 3'd4 ||
	   stage2_rg_stage2[267:265] == 3'd2 ||
	   stage2_rg_stage2[267:265] == 3'd3))
	$write("");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  stage2_rg_stage2[267:265] != 3'd0 &&
	  IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d198)
	$write("  frd:%0d  rd_val:%h\n",
	       x_out_data_to_stage3_rd__h6246,
	       x_out_data_to_stage3_rd_val__h6250);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45 &&
	  (stage2_rg_stage2[267:265] == 3'd0 ||
	   IF_stage2_rg_stage2_02_BITS_267_TO_265_03_EQ_1_ETC___d232))
	$write("  grd:%0d  rd_val:%h\n",
	       x_out_data_to_stage3_rd__h6246,
	       x_out_data_to_stage3_rd_val__h6250);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$write("\n");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  IF_stage2_rg_full_01_THEN_IF_stage2_rg_stage2__ETC___d137 == 2'd2 &&
	  cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 stage2_rg_stage2[363:300],
		 stage2_rg_stage2[299:268],
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1827 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage2.enq (Data_Stage1_to_Stage2)");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_pipe &&
	  NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1782 &&
	  NOT_csr_regfile_interrupt_pending_rg_cur_priv__ETC___d1886 &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("    CPU_Stage1.enq: 0x%08h", x_out_next_pc__h14611);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_SFENCE_VMA &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_SFENCE_VMA",
		 csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_SFENCE_VMA && cur_verbosity__h3134 == 4'd1)
	$display("instret:%0d  PC:0x%0h  instr:0x%0h  priv:%0d",
		 csr_regfile$read_csr_minstret,
		 imem_rg_pc,
		 x_out_data_to_stage2_instr__h14645,
		 rg_cur_priv);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_stage1_SFENCE_VMA &&
	  NOT_IF_csr_regfile_read_csr_minstret__9_ULT_cf_ETC___d45)
	$display("%0d: CPU.rl_stage1_SFENCE_VMA",
		 csr_regfile$read_csr_mcycle);
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_start)
	$display("================================================================");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_start)
	$write("CPU: Bluespec  RISC-V  Piccolo  v3.0");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_start) $display(" (RV64)");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_start)
	$display("Copyright (c) 2016-2019 Bluespec, Inc. All Rights Reserved.");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_start)
	$display("================================================================");
    if (RST_N != `BSV_RESET_VALUE)
      if (WILL_FIRE_RL_rl_reset_start && cur_verbosity__h3134 != 4'd0)
	$display("%0d: CPU.rl_reset_start", csr_regfile$read_csr_mcycle);
  end
  // synopsys translate_on
endmodule  // mkCPU

