3128 lines
126 KiB
Verilog
3128 lines
126 KiB
Verilog
//
|
|
// Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
|
|
//
|
|
// On Thu Jul 16 18:32:19 BST 2020
|
|
//
|
|
//
|
|
// Ports:
|
|
// Name I/O size props
|
|
// decode O 173
|
|
// decode_inst I 32
|
|
// decode_cap_mode I 1
|
|
//
|
|
// Combinational paths from inputs to outputs:
|
|
// (decode_inst, decode_cap_mode) -> decode
|
|
//
|
|
//
|
|
|
|
`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 module_decode(decode_inst,
|
|
decode_cap_mode,
|
|
decode);
|
|
// value method decode
|
|
input [31 : 0] decode_inst;
|
|
input decode_cap_mode;
|
|
output [172 : 0] decode;
|
|
|
|
// signals for module outputs
|
|
wire [172 : 0] decode;
|
|
|
|
// remaining internal signals
|
|
reg [31 : 0] CASE_decode_inst_BITS_14_TO_12_0b1_immI5_0b10__ETC__q47,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729;
|
|
reg [26 : 0] IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d681;
|
|
reg [11 : 0] CASE_immI5_BITS_11_TO_0_0x1_immI5_BITS_11_TO_0_ETC__q60;
|
|
reg [6 : 0] opcode_opc__h934;
|
|
reg [4 : 0] CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_14__q43,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_IF_ETC__q41,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_21_0b1_20_19__q52,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_5_0b1_6_7__q51,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q65,
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_15_0b10_16__ETC__q44,
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53,
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_13_0x1_13_0_ETC__q63,
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50,
|
|
CASE_decode_inst_BITS_24_TO_20_0x8_0_0x9_0_dec_ETC__q20,
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64,
|
|
CASE_decode_inst_BITS_31_TO_25_0x8_decode_inst_ETC__q19,
|
|
CASE_decode_inst_BITS_31_TO_25_0xB_decode_inst_ETC__q21,
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54,
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_6_0b11_7_2__q62,
|
|
CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2,
|
|
CASE_immI5_BITS_11_TO_0_0x105_IF_decode_inst_B_ETC__q3,
|
|
CASE_immI5_BITS_11_TO_0_0x141_15_0x305_28_0x34_ETC__q46,
|
|
CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1403,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1419,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100,
|
|
addr__h3922;
|
|
reg [3 : 0] CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58,
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_11_0b10000_ETC__q59,
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564;
|
|
reg [2 : 0] CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q32,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q36,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q34,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56,
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33,
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37,
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_IF_deco_ETC__q45,
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10,
|
|
CASE_opcode_opc34_0b1100011_CASE_decode_inst_B_ETC__q57,
|
|
CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35,
|
|
CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552;
|
|
reg [1 : 0] CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q29,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q49,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_1_0b1_ETC__q48,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q31,
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d896;
|
|
reg CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q7,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q8,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q9,
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_NOT_decode_ETC__q23,
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_decode_ins_ETC__q22,
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_NOT_dec_ETC__q25,
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q13,
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q16,
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q26,
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q5,
|
|
CASE_opcode_opc34_0b1111_NOT_decode_inst_BITS__ETC__q24,
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q28,
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q61,
|
|
CASE_opcode_opc34_0b111_IF_IF_decode_inst_BITS_ETC__q4,
|
|
CASE_opcode_opc34_0b111_NOT_decode_cap_mode_0b_ETC__q11,
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q14,
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q17,
|
|
CASE_opcode_opc34_0b11_IF_IF_decode_inst_BITS__ETC__q6,
|
|
CASE_opcode_opc34_0b11_NOT_decode_cap_mode_0b1_ETC__q12,
|
|
CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q15,
|
|
CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q18,
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d659,
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d665,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1778,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1938,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1942,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d292;
|
|
wire [98 : 0] NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1732;
|
|
wire [31 : 0] immB__h37,
|
|
immI__h35,
|
|
immIunsigned__h40,
|
|
immJ__h39,
|
|
immS__h36,
|
|
immU__h38;
|
|
wire [29 : 0] IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d751,
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d749,
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d750;
|
|
wire [26 : 0] IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_5_ETC___d639,
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d679;
|
|
wire [20 : 0] x__h32189;
|
|
wire [18 : 0] IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1422;
|
|
wire [12 : 0] x__h32277;
|
|
wire [11 : 0] decode_inst_BITS_31_TO_20__q1, x__h32364;
|
|
wire [10 : 0] IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1018,
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1017;
|
|
wire [8 : 0] IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1012,
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1013,
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1014;
|
|
wire [5 : 0] x__h30144, x__h31153;
|
|
wire [4 : 0] IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1607,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1897,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2239,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d909,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d910,
|
|
IF_NOT_decode_inst_BITS_26_TO_25_9_EQ_0b0_0_1__ETC___d75,
|
|
IF_SEXT_decode_inst_BITS_31_TO_20_04_05_BIT_10_ETC___d300,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_I_ETC___d132,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d130,
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442,
|
|
x__h32838;
|
|
wire [1 : 0] IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d1270,
|
|
IF_decode_cap_mode_THEN_0_ELSE_3___d1256;
|
|
wire IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1050,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1096,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1161,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1542,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d278,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d487,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d592,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d594,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d837,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d2289,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d464,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d660,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d666,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_d_ETC___d429,
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641,
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d658,
|
|
IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decode_i_ETC___d1203,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1055,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1101,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1166,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2135,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2136,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2178,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d493,
|
|
NOT_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_66_AN_ETC___d544,
|
|
decode_inst_BITS_14_TO_12_6_EQ_0b0_8_OR_decode_ETC___d420,
|
|
decode_inst_BIT_23_9_OR_decode_inst_BIT_21_0___d91,
|
|
decode_inst_BIT_26_2_OR_decode_inst_BIT_24_3___d94;
|
|
|
|
// value method decode
|
|
assign decode =
|
|
{ IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d751,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1018,
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1732,
|
|
opcode_opc__h934 == 7'b0010011 ||
|
|
opcode_opc__h934 == 7'b0011011 ||
|
|
opcode_opc__h934 == 7'b0110011 ||
|
|
opcode_opc__h934 == 7'b0111011 ||
|
|
opcode_opc__h934 == 7'b0110111 ||
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
(opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0101111 ||
|
|
((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01 :
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1778)),
|
|
(opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[31:27] != 5'b11110 &&
|
|
decode_inst[31:27] != 5'b11010 :
|
|
opcode_opc__h934 == 7'b1000011 ||
|
|
opcode_opc__h934 == 7'b1000111 ||
|
|
opcode_opc__h934 == 7'b1001011 ||
|
|
opcode_opc__h934 == 7'b1001111,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1897,
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
(opcode_opc__h934 == 7'b0110011 ||
|
|
opcode_opc__h934 == 7'b0111011 ||
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
(opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 != 7'b0000011 &&
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1942))),
|
|
opcode_opc__h934 == 7'b1010011 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
opcode_opc__h934 == 7'b1000011 ||
|
|
opcode_opc__h934 == 7'b1000111 ||
|
|
opcode_opc__h934 == 7'b1001011 ||
|
|
opcode_opc__h934 == 7'b1001111,
|
|
(opcode_opc__h934 != 7'b1010011 &&
|
|
opcode_opc__h934 != 7'b0100111 &&
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111) ?
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1419 :
|
|
decode_inst[24:20],
|
|
(opcode_opc__h934 == 7'b1000011 ||
|
|
opcode_opc__h934 == 7'b1000111 ||
|
|
opcode_opc__h934 == 7'b1001011 ||
|
|
opcode_opc__h934 == 7'b1001111) &&
|
|
(decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01),
|
|
decode_inst[31:27],
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2178,
|
|
(opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[31:27] != 5'b10100 &&
|
|
decode_inst[31:27] != 5'b11100 &&
|
|
decode_inst[31:27] != 5'b11000 :
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b1000011 ||
|
|
opcode_opc__h934 == 7'b1000111 ||
|
|
opcode_opc__h934 == 7'b1001011 ||
|
|
opcode_opc__h934 == 7'b1001111,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2239,
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 } ;
|
|
|
|
// remaining internal signals
|
|
assign IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d1270 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[3] ?
|
|
2'd0 :
|
|
2'd3 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1012 =
|
|
(opcode_opc__h934 == 7'b1110011 ||
|
|
decode_inst[14:12] != 3'b001 && decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] == 7'b0000001) ?
|
|
{ 4'd2,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d910 } :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
(decode_inst[31:25] == 7'h10 ||
|
|
decode_inst[31:25] == 7'h1E)) ?
|
|
{ 4'd3,
|
|
4'bxxxx /* unspecified value */ ,
|
|
decode_inst[31:25] == 7'h10 } :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
(decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F)) ?
|
|
{ 4'd4, 5'bxxxxx /* unspecified value */ } :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] != 7'b0000001 &&
|
|
decode_inst[31:25] != 7'h08 &&
|
|
decode_inst[31:25] != 7'h09 &&
|
|
decode_inst[31:25] != 7'h0F &&
|
|
decode_inst[31:25] != 7'h10 &&
|
|
decode_inst[31:25] != 7'h11 &&
|
|
decode_inst[31:25] != 7'h0B &&
|
|
decode_inst[31:25] != 7'h1F &&
|
|
decode_inst[31:25] != 7'h7E &&
|
|
decode_inst[31:25] != 7'h0C &&
|
|
decode_inst[31:25] != 7'h1E &&
|
|
decode_inst[31:25] != 7'h0D &&
|
|
decode_inst[31:25] != 7'h0E &&
|
|
decode_inst[31:25] != 7'h13 &&
|
|
decode_inst[31:25] != 7'h1D &&
|
|
decode_inst[24:20] != 5'h08 &&
|
|
decode_inst[24:20] != 5'h09 &&
|
|
decode_inst[24:20] != 5'h0A &&
|
|
decode_inst[24:20] != 5'h0B) ?
|
|
{ 4'd5, 5'bxxxxx /* unspecified value */ } :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
(decode_inst[31:25] == 7'h7E ||
|
|
decode_inst[31:25] == 7'h0C)) ?
|
|
{ 4'd6,
|
|
4'bxxxx /* unspecified value */ ,
|
|
decode_inst[31:25] == 7'h7E } :
|
|
{ (decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] == 7'h0D) ?
|
|
4'd7 :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] == 7'h0E) ?
|
|
4'd8 :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] == 7'h1D) ?
|
|
4'd9 :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] != 7'b0000001 &&
|
|
decode_inst[31:25] != 7'h08 &&
|
|
decode_inst[31:25] != 7'h09 &&
|
|
decode_inst[31:25] != 7'h0F &&
|
|
decode_inst[31:25] != 7'h10 &&
|
|
decode_inst[31:25] != 7'h11 &&
|
|
decode_inst[31:25] != 7'h0B &&
|
|
decode_inst[31:25] != 7'h1F &&
|
|
decode_inst[31:25] != 7'h7E &&
|
|
decode_inst[31:25] != 7'h0C &&
|
|
decode_inst[31:25] != 7'h1E &&
|
|
decode_inst[31:25] != 7'h0D &&
|
|
decode_inst[31:25] != 7'h0E &&
|
|
decode_inst[31:25] != 7'h13 &&
|
|
decode_inst[31:25] != 7'h1D &&
|
|
decode_inst[24:20] == 5'h0A) ?
|
|
4'd10 :
|
|
((decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[31:25] != 7'b0000001 &&
|
|
decode_inst[31:25] != 7'h08 &&
|
|
decode_inst[31:25] != 7'h09 &&
|
|
decode_inst[31:25] != 7'h0F &&
|
|
decode_inst[31:25] != 7'h10 &&
|
|
decode_inst[31:25] != 7'h11 &&
|
|
decode_inst[31:25] != 7'h0B &&
|
|
decode_inst[31:25] != 7'h1F &&
|
|
decode_inst[31:25] != 7'h7E &&
|
|
decode_inst[31:25] != 7'h0C &&
|
|
decode_inst[31:25] != 7'h1E &&
|
|
decode_inst[31:25] != 7'h0D &&
|
|
decode_inst[31:25] != 7'h0E &&
|
|
decode_inst[31:25] != 7'h13 &&
|
|
decode_inst[31:25] != 7'h1D &&
|
|
decode_inst[24:20] == 5'h0B) ?
|
|
4'd11 :
|
|
4'd12)))),
|
|
5'bxxxxx /* unspecified value */ })))) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1018 =
|
|
(opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'b0100000 ||
|
|
decode_inst[31:25] == 7'h12 ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h03 || decode_inst[24:20] == 5'h02 ||
|
|
decode_inst[24:20] == 5'h04 ||
|
|
decode_inst[24:20] == 5'h05 ||
|
|
decode_inst[24:20] == 5'h0F ||
|
|
decode_inst[24:20] == 5'h06 ||
|
|
decode_inst[24:20] == 5'h07 ||
|
|
decode_inst[24:20] == 5'h0 ||
|
|
decode_inst[24:20] == 5'h01))) ?
|
|
{ 2'd0,
|
|
5'bxxxxx /* unspecified value */ ,
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_11_0b10000_ETC__q59 } :
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1017 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1050 =
|
|
(opcode_opc__h934 == 7'b0001111) ?
|
|
decode_inst[14:12] == 3'b010 && !decode_cap_mode :
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'h7D) ?
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[3] :
|
|
decode_inst[31:25] == 7'h7C &&
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[3]) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1096 =
|
|
(opcode_opc__h934 == 7'b0001111) ?
|
|
decode_inst[14:12] == 3'b010 && decode_cap_mode :
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h08 || decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'h0D ||
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q13))) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1161 =
|
|
(opcode_opc__h934 == 7'b0001111) ?
|
|
decode_inst[14:12] == 3'b010 && decode_cap_mode :
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h08 || decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h11 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
decode_inst[31:25] == 7'h0D ||
|
|
decode_inst[31:25] == 7'h0E ||
|
|
decode_inst[31:25] == 7'h12 ||
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q16)) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1422 =
|
|
{ CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35,
|
|
CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39,
|
|
opcode_opc__h934 == 7'b1101111 ||
|
|
opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
((opcode_opc__h934 == 7'b0001111) ?
|
|
decode_inst[14:12] == 3'b010 :
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h1D ||
|
|
decode_inst[31:25] == 7'h7D ||
|
|
decode_inst[31:25] == 7'h7C ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
decode_inst[24:20] == 5'h0C)))),
|
|
x__h30144,
|
|
x__h31153 } ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1542 =
|
|
(opcode_opc__h934 == 7'b1110011) ?
|
|
decode_inst[14:12] != 3'b0 &&
|
|
(immI__h35[11:0] == 12'h305 || immI__h35[11:0] == 12'h341 ||
|
|
immI__h35[11:0] == 12'h105 ||
|
|
immI__h35[11:0] == 12'h141) :
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'b0000001 ||
|
|
((decode_inst[31:25] == 7'b0100000) ?
|
|
decode_inst[19:15] == 5'd0 :
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_decode_ins_ETC__q22)) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1607 =
|
|
(opcode_opc__h934 == 7'b1110011) ?
|
|
CASE_immI5_BITS_11_TO_0_0x141_15_0x305_28_0x34_ETC__q46 :
|
|
((decode_inst[31:25] == 7'b0000001) ? addr__h3922 : 5'd1) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1897 =
|
|
((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[31:27] == 5'b11110 ||
|
|
decode_inst[31:27] == 5'b11010 :
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111) ?
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1403 :
|
|
decode_inst[19:15] ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2239 =
|
|
((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[31:27] == 5'b10100 ||
|
|
decode_inst[31:27] == 5'b11100 ||
|
|
decode_inst[31:27] == 5'b11000 :
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111) ?
|
|
x__h32838 :
|
|
decode_inst[11:7] ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d278 =
|
|
(opcode_opc__h934 == 7'b1110011) ?
|
|
decode_inst[14:12] != 3'b0 && immI__h35[11:0] != 12'h305 &&
|
|
immI__h35[11:0] != 12'h341 &&
|
|
immI__h35[11:0] != 12'h105 &&
|
|
immI__h35[11:0] != 12'h141 :
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'b0000001) ?
|
|
addr__h3922 == 5'd0 :
|
|
decode_inst[31:25] == 7'h14) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422 =
|
|
((opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 ||
|
|
decode_inst[14:12] != 3'b100) &&
|
|
(opcode_opc__h934 != 7'b0001111 ||
|
|
decode_inst[14:12] != 3'b010)) ?
|
|
(decode_inst[14:12] == 3'b0 || decode_inst[14:12] == 3'b100 ||
|
|
decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b101 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b110 ||
|
|
decode_inst[14:12] == 3'b011) &&
|
|
decode_inst_BITS_14_TO_12_6_EQ_0b0_8_OR_decode_ETC___d420 :
|
|
decode_inst_BITS_14_TO_12_6_EQ_0b0_8_OR_decode_ETC___d420 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d487 =
|
|
(opcode_opc__h934 == 7'b0001111) ?
|
|
decode_inst[14:12] != 3'b001 &&
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_d_ETC___d429 :
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'h7D) ?
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d464 :
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d464) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546 =
|
|
((opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 ||
|
|
decode_inst[14:12] != 3'b100) &&
|
|
(opcode_opc__h934 != 7'b0001111 ||
|
|
decode_inst[14:12] != 3'b010)) ?
|
|
decode_inst[14:12] != 3'b0 && decode_inst[14:12] != 3'b100 &&
|
|
decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b101 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[14:12] != 3'b110 &&
|
|
decode_inst[14:12] != 3'b011 ||
|
|
NOT_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_66_AN_ETC___d544 :
|
|
NOT_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_66_AN_ETC___d544 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579 =
|
|
((opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 ||
|
|
decode_inst[14:12] != 3'b100) &&
|
|
(opcode_opc__h934 != 7'b0001111 ||
|
|
decode_inst[14:12] != 3'b010)) ?
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q7 :
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587 =
|
|
((opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 ||
|
|
decode_inst[14:12] != 3'b100) &&
|
|
(opcode_opc__h934 != 7'b0001111 ||
|
|
decode_inst[14:12] != 3'b010)) ?
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q8 :
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d592 =
|
|
((opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 ||
|
|
decode_inst[14:12] != 3'b100) &&
|
|
(opcode_opc__h934 != 7'b0001111 ||
|
|
decode_inst[14:12] != 3'b010)) ?
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q9 :
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d594 =
|
|
((opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 ||
|
|
decode_inst[14:12] != 3'b100) &&
|
|
(opcode_opc__h934 != 7'b0001111 ||
|
|
decode_inst[14:12] != 3'b010)) ?
|
|
decode_inst[14:12] == 3'b0 || decode_inst[14:12] == 3'b100 ||
|
|
decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b101 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b110 ||
|
|
decode_inst[14:12] == 3'b011 :
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d751 =
|
|
(opcode_opc__h934 == 7'b0010011 ||
|
|
opcode_opc__h934 == 7'b0011011 ||
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d292) ?
|
|
{ 3'd0,
|
|
22'bxxxxxxxxxxxxxxxxxxxxxx /* unspecified value */ ,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 } :
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d750 ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d837 =
|
|
(opcode_opc__h934 == 7'b1110011) ?
|
|
decode_inst[14:12] != 3'b0 &&
|
|
(immI__h35[11:0] == 12'h305 || immI__h35[11:0] == 12'h341 ||
|
|
immI__h35[11:0] == 12'h105 ||
|
|
immI__h35[11:0] == 12'h141) :
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'b0000001 ||
|
|
decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h10 ||
|
|
decode_inst[31:25] == 7'h11 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h0D ||
|
|
decode_inst[31:25] == 7'h0E ||
|
|
decode_inst[31:25] == 7'h13 ||
|
|
decode_inst[31:25] == 7'h1D ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h08 ||
|
|
decode_inst[24:20] == 5'h09 ||
|
|
decode_inst[24:20] == 5'h0A ||
|
|
decode_inst[24:20] == 5'h0B ||
|
|
decode_inst[24:20] == 5'h11)))) ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d909 =
|
|
(opcode_opc__h934 == 7'b1110011 &&
|
|
(immI__h35[11:0] == 12'h341 || immI__h35[11:0] == 12'h141)) ?
|
|
{ 3'd1,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d896 } :
|
|
{ (opcode_opc__h934 != 7'b1110011 &&
|
|
decode_inst[21:20] == 2'd0) ?
|
|
3'd2 :
|
|
((opcode_opc__h934 != 7'b1110011 &&
|
|
decode_inst[21:20] == 2'd3) ?
|
|
3'd3 :
|
|
3'd4),
|
|
2'bxx /* unspecified value */ } ;
|
|
assign IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d910 =
|
|
(opcode_opc__h934 == 7'b1110011 &&
|
|
(immI__h35[11:0] == 12'h305 || immI__h35[11:0] == 12'h105)) ?
|
|
{ 3'd0,
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d896 } :
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d909 ;
|
|
assign IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1013 =
|
|
(opcode_opc__h934 != 7'b1110011 &&
|
|
decode_inst[14:12] != 3'b001 &&
|
|
(decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[31:25] != 7'b0000001 &&
|
|
(decode_inst[31:25] == 7'h08 || decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] != 7'h0F && decode_inst[31:25] != 7'h10 &&
|
|
decode_inst[31:25] != 7'h11 &&
|
|
decode_inst[31:25] != 7'h0B &&
|
|
decode_inst[31:25] != 7'h1F &&
|
|
decode_inst[31:25] != 7'h7E &&
|
|
decode_inst[31:25] != 7'h0C &&
|
|
decode_inst[31:25] != 7'h1E &&
|
|
decode_inst[31:25] != 7'h0D &&
|
|
decode_inst[31:25] != 7'h0E &&
|
|
decode_inst[31:25] != 7'h13 &&
|
|
decode_inst[31:25] != 7'h1D &&
|
|
(decode_inst[24:20] == 5'h08 ||
|
|
decode_inst[24:20] == 5'h09)))) ?
|
|
{ 4'd1,
|
|
3'bxxx /* unspecified value */ ,
|
|
(decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09) ?
|
|
2'd0 :
|
|
((decode_inst[24:20] == 5'h08) ? 2'd1 : 2'd2) } :
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1012 ;
|
|
assign IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1014 =
|
|
(opcode_opc__h934 != 7'b1110011 &&
|
|
(decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] != 3'b010 &&
|
|
(decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h11))) ?
|
|
{ 4'd0,
|
|
4'bxxxx /* unspecified value */ ,
|
|
decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[31:25] != 7'h0F } :
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1013 ;
|
|
assign IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1017 =
|
|
(opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
opcode_opc__h934 != 7'b0000011 &&
|
|
opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
opcode_opc__h934 != 7'b0100111 &&
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
opcode_opc__h934 != 7'b0001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d837) ?
|
|
{ 2'd1,
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d1014 } :
|
|
{ 2'd2, 9'bxxxxxxxxx /* unspecified value */ } ;
|
|
assign IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d749 =
|
|
(opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d493) ?
|
|
{ 3'd2,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d681 } :
|
|
(((opcode_opc__h934 == 7'b0110011) ?
|
|
decode_inst[31:25] == 7'b0000001 :
|
|
opcode_opc__h934 == 7'b0111011 &&
|
|
decode_inst[31:25] == 7'b0000001) ?
|
|
{ 3'd3,
|
|
22'bxxxxxxxxxxxxxxxxxxxxxx /* unspecified value */ ,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_1_0b1_ETC__q48,
|
|
opcode_opc__h934 != 7'b0110011,
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q49 } :
|
|
(((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[26:25] == 2'b0 ||
|
|
decode_inst[26:25] == 2'b01 :
|
|
(opcode_opc__h934 == 7'b1000011 ||
|
|
opcode_opc__h934 == 7'b1000111 ||
|
|
opcode_opc__h934 == 7'b1001011 ||
|
|
opcode_opc__h934 == 7'b1001111) &&
|
|
(decode_inst[26:25] == 2'b0 ||
|
|
decode_inst[26:25] == 2'b01)) ?
|
|
{ 3'd4,
|
|
18'bxxxxxxxxxxxxxxxxxx /* unspecified value */ ,
|
|
CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55,
|
|
decode_inst[14:12],
|
|
decode_inst[26:25] != 2'b0 } :
|
|
{ 3'd5,
|
|
27'bxxxxxxxxxxxxxxxxxxxxxxxxxxx /* unspecified value */ })) ;
|
|
assign IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d750 =
|
|
(opcode_opc__h934 == 7'b1101111 ||
|
|
opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h7F &&
|
|
decode_inst[24:20] == 5'h0C)) ?
|
|
{ 3'd1,
|
|
24'bxxxxxxxxxxxxxxxxxxxxxxxx /* unspecified value */ ,
|
|
CASE_opcode_opc34_0b1100011_CASE_decode_inst_B_ETC__q57 } :
|
|
IF_NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_d_ETC___d749 ;
|
|
assign IF_NOT_decode_inst_BITS_26_TO_25_9_EQ_0b0_0_1__ETC___d75 =
|
|
(decode_inst[26:25] != 2'b0 && decode_inst[26:25] != 2'b01) ?
|
|
5'd0 :
|
|
5'd16 ;
|
|
assign IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d2289 =
|
|
((decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) &&
|
|
(decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2])) ?
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd3 &&
|
|
(decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4]) &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] :
|
|
((decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) ?
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] !=
|
|
2'd0 &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] !=
|
|
2'd3 :
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] !=
|
|
2'd0) ;
|
|
assign IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d464 =
|
|
((decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) &&
|
|
(decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2])) ?
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] !=
|
|
2'd3 ||
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] :
|
|
((decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) ?
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd0 ||
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd3 :
|
|
decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd0) ;
|
|
assign IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d660 =
|
|
((decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) &&
|
|
(decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2])) ?
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d659 :
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ;
|
|
assign IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d666 =
|
|
((decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) &&
|
|
(decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2])) ?
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d665 :
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ;
|
|
assign IF_SEXT_decode_inst_BITS_31_TO_20_04_05_BIT_10_ETC___d300 =
|
|
immI__h35[10] ? 5'd11 : 5'd13 ;
|
|
assign IF_decode_cap_mode_THEN_0_ELSE_3___d1256 =
|
|
decode_cap_mode ? 2'd0 : 2'd3 ;
|
|
assign IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_5_ETC___d639 =
|
|
{ (decode_inst[14:12] == 3'b0) ?
|
|
3'd5 :
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552,
|
|
(decode_inst[14:12] == 3'b0) ?
|
|
4'd9 :
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564,
|
|
decode_inst[14:12] == 3'b100 || decode_inst[14:12] == 3'b101 ||
|
|
decode_inst[14:12] == 3'b110,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d592,
|
|
decode_inst[14:12] != 3'b0 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d594,
|
|
(decode_inst[14:12] == 3'b0) ?
|
|
decode_inst_BIT_23_9_OR_decode_inst_BIT_21_0___d91 :
|
|
opcode_opc__h934 == 7'b0101111 && decode_inst[26],
|
|
(decode_inst[14:12] == 3'b0) ?
|
|
decode_inst_BIT_26_2_OR_decode_inst_BIT_24_3___d94 :
|
|
opcode_opc__h934 == 7'b0101111 && decode_inst[25],
|
|
decode_inst[14:12] != 3'b0 && decode_cap_mode } ;
|
|
assign IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_I_ETC___d132 =
|
|
(decode_inst[14:12] == 3'b0) ?
|
|
((decode_inst[31:25] == 7'h09) ?
|
|
5'd21 :
|
|
CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2) :
|
|
CASE_immI5_BITS_11_TO_0_0x105_IF_decode_inst_B_ETC__q3 ;
|
|
assign IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_d_ETC___d429 =
|
|
(decode_inst[14:12] == 3'b0) ?
|
|
decode_inst_BIT_23_9_OR_decode_inst_BIT_21_0___d91 ||
|
|
decode_inst_BIT_26_2_OR_decode_inst_BIT_24_3___d94 :
|
|
decode_inst[14:12] == 3'b010 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422 ;
|
|
assign IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d130 =
|
|
(decode_inst[14:12] == 3'b101 || decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[19:15] != 5'd0) ?
|
|
5'd18 :
|
|
5'd13 ;
|
|
assign IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641 =
|
|
(decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) ?
|
|
((IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd0) ?
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] :
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] !=
|
|
2'd3) :
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ;
|
|
assign IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442 =
|
|
(decode_inst[31:25] == 7'h7D) ?
|
|
decode_inst[24:20] :
|
|
decode_inst[11:7] ;
|
|
assign IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d658 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd3 ||
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ;
|
|
assign IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d679 =
|
|
{ CASE_decode_inst_BITS_31_TO_25_0x7C_IF_IF_deco_ETC__q45,
|
|
4'd9,
|
|
(decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4]) &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d660,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d660,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d660,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d660,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d666,
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d666,
|
|
((decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) &&
|
|
(decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2])) ?
|
|
((IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd0) ?
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] :
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd1 ||
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd2 ||
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd3) :
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
((decode_inst[31:25] != 7'h7D ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2]) &&
|
|
(decode_inst[31:25] != 7'h7C ||
|
|
!IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2])) ?
|
|
1'b1 :
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2],
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641,
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641,
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[3] } ;
|
|
assign IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decode_i_ETC___d1203 =
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h0B || decode_inst[31:25] == 7'h1F) ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1055 =
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
CASE_opcode_opc34_0b11_NOT_decode_cap_mode_0b1_ETC__q12 ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1101 =
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q15 ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1166 =
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q18 ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1732 =
|
|
{ opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1055,
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1101,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h0B ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h12 ||
|
|
decode_inst[31:25] == 7'h13 ||
|
|
decode_inst[31:25] == 7'h1D)),
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C),
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7E &&
|
|
decode_inst[11:7] == 5'h01,
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1055,
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d1166,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7F &&
|
|
decode_inst[24:20] == 5'h0C,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h10 || decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h13 ||
|
|
decode_inst[31:25] == 7'h1D),
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7E &&
|
|
decode_inst[11:7] == 5'h01,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7E &&
|
|
decode_inst[11:7] == 5'h01,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7E &&
|
|
decode_inst[11:7] == 5'h01,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h11 ||
|
|
decode_inst[24:20] == 5'h0C)),
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7E &&
|
|
decode_inst[11:7] == 5'h01,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h0C,
|
|
IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decode_i_ETC___d1203,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h0C,
|
|
IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decode_i_ETC___d1203,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h7E &&
|
|
decode_inst[11:7] == 5'h01,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h1D,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h1D,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'b0000001 &&
|
|
addr__h3922 == 5'd0,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h13,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h1F,
|
|
opcode_opc__h934 == 7'b1011011 && decode_inst[14:12] == 3'b0 &&
|
|
decode_inst[31:25] == 7'h09,
|
|
opcode_opc__h934 == 7'b1101111 ||
|
|
opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
((opcode_opc__h934 == 7'b0001111) ?
|
|
decode_inst[14:12] == 3'b010 :
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h1D ||
|
|
decode_inst[31:25] == 7'h7D ||
|
|
decode_inst[31:25] == 7'h7C ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
decode_inst[24:20] == 5'h0C)))),
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1422,
|
|
opcode_opc__h934 == 7'b1110011 && decode_inst[14:12] != 3'b0 &&
|
|
immI__h35[11:0] != 12'h305 &&
|
|
immI__h35[11:0] != 12'h341 &&
|
|
immI__h35[11:0] != 12'h105 &&
|
|
immI__h35[11:0] != 12'h141,
|
|
CASE_immI5_BITS_11_TO_0_0x1_immI5_BITS_11_TO_0_ETC__q60,
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
opcode_opc__h934 != 7'b0000011 &&
|
|
opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
opcode_opc__h934 != 7'b0100111 &&
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
opcode_opc__h934 != 7'b0001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1542,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1607,
|
|
opcode_opc__h934 == 7'b0010011 ||
|
|
opcode_opc__h934 == 7'b0011011 ||
|
|
opcode_opc__h934 == 7'b0110111 ||
|
|
opcode_opc__h934 == 7'b0010111 ||
|
|
opcode_opc__h934 == 7'b1101111 ||
|
|
opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0101111 ||
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q61,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 } ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2135 =
|
|
((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[31:27] != 5'b10100 &&
|
|
decode_inst[31:27] != 5'b11100 &&
|
|
decode_inst[31:27] != 5'b11000 :
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b1000011 ||
|
|
opcode_opc__h934 == 7'b1000111 ||
|
|
opcode_opc__h934 == 7'b1001011 ||
|
|
opcode_opc__h934 == 7'b1001111) ||
|
|
x__h32838 != 5'd0 ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2136 =
|
|
opcode_opc__h934 != 7'b0010011 &&
|
|
opcode_opc__h934 != 7'b0011011 &&
|
|
opcode_opc__h934 != 7'b0110011 &&
|
|
opcode_opc__h934 != 7'b0111011 &&
|
|
opcode_opc__h934 != 7'b0110111 &&
|
|
opcode_opc__h934 != 7'b0010111 &&
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
opcode_opc__h934 != 7'b0000011 &&
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[26:25] != 2'b0 && decode_inst[26:25] != 2'b01 :
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
CASE_opcode_opc34_0b1111_NOT_decode_inst_BITS__ETC__q24) ||
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2135 ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2178 =
|
|
NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d2136 &&
|
|
(opcode_opc__h934 == 7'b0010011 ||
|
|
opcode_opc__h934 == 7'b0011011 ||
|
|
opcode_opc__h934 == 7'b0110011 ||
|
|
opcode_opc__h934 == 7'b0111011 ||
|
|
opcode_opc__h934 == 7'b0110111 ||
|
|
opcode_opc__h934 == 7'b0010111 ||
|
|
opcode_opc__h934 == 7'b1101111 ||
|
|
opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0101111 ||
|
|
((opcode_opc__h934 == 7'b1010011) ?
|
|
decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01 :
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q28)) ;
|
|
assign NOT_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_deco_ETC___d493 =
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
CASE_opcode_opc34_0b11_IF_IF_decode_inst_BITS__ETC__q6 ;
|
|
assign NOT_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_66_AN_ETC___d544 =
|
|
decode_inst[14:12] != 3'b0 && decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
decode_inst[14:12] != 3'b011 &&
|
|
decode_inst[14:12] != 3'b100 &&
|
|
decode_inst[14:12] != 3'b101 &&
|
|
decode_inst[14:12] != 3'b110 ||
|
|
opcode_opc__h934 != 7'b0000011 &&
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
opcode_opc__h934 != 7'b0001111 &&
|
|
opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0100111 &&
|
|
(opcode_opc__h934 != 7'b0101111 ||
|
|
decode_inst[31:27] != 5'b00010 &&
|
|
decode_inst[31:27] != 5'b00011 &&
|
|
decode_inst[31:27] != 5'b00001 &&
|
|
decode_inst[31:27] != 5'b0 &&
|
|
decode_inst[31:27] != 5'b00100 &&
|
|
decode_inst[31:27] != 5'b01100 &&
|
|
decode_inst[31:27] != 5'b01000 &&
|
|
decode_inst[31:27] != 5'b10000 &&
|
|
decode_inst[31:27] != 5'b10100 &&
|
|
decode_inst[31:27] != 5'b11000 &&
|
|
decode_inst[31:27] != 5'b11100) ;
|
|
assign decode_inst_BITS_14_TO_12_6_EQ_0b0_8_OR_decode_ETC___d420 =
|
|
(decode_inst[14:12] == 3'b0 || decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b011 ||
|
|
decode_inst[14:12] == 3'b100 ||
|
|
decode_inst[14:12] == 3'b101 ||
|
|
decode_inst[14:12] == 3'b110) &&
|
|
(opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b0001111 ||
|
|
opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
opcode_opc__h934 == 7'b0101111 &&
|
|
(decode_inst[31:27] == 5'b00010 ||
|
|
decode_inst[31:27] == 5'b00011 ||
|
|
decode_inst[31:27] == 5'b00001 ||
|
|
decode_inst[31:27] == 5'b0 ||
|
|
decode_inst[31:27] == 5'b00100 ||
|
|
decode_inst[31:27] == 5'b01100 ||
|
|
decode_inst[31:27] == 5'b01000 ||
|
|
decode_inst[31:27] == 5'b10000 ||
|
|
decode_inst[31:27] == 5'b10100 ||
|
|
decode_inst[31:27] == 5'b11000 ||
|
|
decode_inst[31:27] == 5'b11100)) ;
|
|
assign decode_inst_BITS_31_TO_20__q1 = decode_inst[31:20] ;
|
|
assign decode_inst_BIT_23_9_OR_decode_inst_BIT_21_0___d91 =
|
|
decode_inst[23] | decode_inst[21] ;
|
|
assign decode_inst_BIT_26_2_OR_decode_inst_BIT_24_3___d94 =
|
|
decode_inst[26] | decode_inst[24] ;
|
|
assign immB__h37 = { {19{x__h32277[12]}}, x__h32277 } ;
|
|
assign immI__h35 =
|
|
{ {20{decode_inst_BITS_31_TO_20__q1[11]}},
|
|
decode_inst_BITS_31_TO_20__q1 } ;
|
|
assign immIunsigned__h40 = { 20'd0, decode_inst[31:20] } ;
|
|
assign immJ__h39 = { {11{x__h32189[20]}}, x__h32189 } ;
|
|
assign immS__h36 = { {20{x__h32364[11]}}, x__h32364 } ;
|
|
assign immU__h38 = { decode_inst[31:12], 12'b0 } ;
|
|
assign x__h30144 =
|
|
{ 1'b0,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1403 } ;
|
|
assign x__h31153 =
|
|
{ 1'b0,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1419 } ;
|
|
assign x__h32189 =
|
|
{ decode_inst[31],
|
|
decode_inst[19:12],
|
|
decode_inst[20],
|
|
decode_inst[30:21],
|
|
1'b0 } ;
|
|
assign x__h32277 =
|
|
{ decode_inst[31],
|
|
decode_inst[7],
|
|
decode_inst[30:25],
|
|
decode_inst[11:8],
|
|
1'b0 } ;
|
|
assign x__h32364 = { decode_inst[31:25], decode_inst[11:7] } ;
|
|
assign x__h32838 =
|
|
(opcode_opc__h934 == 7'b0010011 ||
|
|
opcode_opc__h934 == 7'b0011011 ||
|
|
opcode_opc__h934 == 7'b0110011 ||
|
|
opcode_opc__h934 == 7'b0111011 ||
|
|
opcode_opc__h934 == 7'b0110111 ||
|
|
opcode_opc__h934 == 7'b0010111 ||
|
|
opcode_opc__h934 == 7'b1101111 ||
|
|
opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0101111 ||
|
|
opcode_opc__h934 == 7'b1010011 ||
|
|
opcode_opc__h934 == 7'b0001111 ||
|
|
opcode_opc__h934 == 7'b1110011 ||
|
|
decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[31:25] == 7'b0000001 ||
|
|
decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h10 ||
|
|
decode_inst[31:25] == 7'h11 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F) ?
|
|
decode_inst[11:7] :
|
|
((decode_inst[31:25] == 7'h7E) ? 5'd31 : decode_inst[11:7]) ;
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[6:0])
|
|
7'b0000011,
|
|
7'b0000111,
|
|
7'b0001111,
|
|
7'b0010011,
|
|
7'b0010111,
|
|
7'b0011011,
|
|
7'b0100011,
|
|
7'b0100111,
|
|
7'b0101111,
|
|
7'b0110011,
|
|
7'b0110111,
|
|
7'b0111011,
|
|
7'b1000011,
|
|
7'b1000111,
|
|
7'b1001011,
|
|
7'b1001111,
|
|
7'b1010011,
|
|
7'b1011011,
|
|
7'b1100011,
|
|
7'b1100111,
|
|
7'b1101111,
|
|
7'b1110011:
|
|
opcode_opc__h934 = decode_inst[6:0];
|
|
default: opcode_opc__h934 = 7'b0;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[24:20])
|
|
5'h0, 5'h01, 5'h0C, 5'd13, 5'd14, 5'h0F, 5'd28, 5'd29, 5'd30, 5'd31:
|
|
addr__h3922 = decode_inst[24:20];
|
|
default: addr__h3922 = 5'd10;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d278 or
|
|
decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0110011, 7'b0111011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d292 =
|
|
decode_inst[31:25] == 7'b0 || decode_inst[31:25] == 7'b0100000;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d292 =
|
|
opcode_opc__h934 == 7'b0110111 ||
|
|
opcode_opc__h934 == 7'b0010111 ||
|
|
opcode_opc__h934 != 7'b1101111 &&
|
|
opcode_opc__h934 != 7'b1100111 &&
|
|
opcode_opc__h934 != 7'b1100011 &&
|
|
opcode_opc__h934 != 7'b0000011 &&
|
|
opcode_opc__h934 != 7'b0100011 &&
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
opcode_opc__h934 != 7'b0100111 &&
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
opcode_opc__h934 != 7'b0001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d278;
|
|
endcase
|
|
end
|
|
always@(immI__h35)
|
|
begin
|
|
case (immI__h35[11:0])
|
|
12'h0: CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2 = 5'd22;
|
|
12'h001: CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2 = 5'd23;
|
|
12'h102: CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2 = 5'd24;
|
|
12'h105: CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2 = 5'd1;
|
|
12'h302: CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2 = 5'd25;
|
|
default: CASE_immI5_BITS_11_TO_0_0x0_22_0x1_23_0x102_24_ETC__q2 = 5'd0;
|
|
endcase
|
|
end
|
|
always@(immI__h35 or
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d130)
|
|
begin
|
|
case (immI__h35[11:0])
|
|
12'h105, 12'h141, 12'h305, 12'h341:
|
|
CASE_immI5_BITS_11_TO_0_0x105_IF_decode_inst_B_ETC__q3 =
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d130;
|
|
default: CASE_immI5_BITS_11_TO_0_0x105_IF_decode_inst_B_ETC__q3 = 5'd17;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d487 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000111, 7'b0100111:
|
|
CASE_opcode_opc34_0b111_IF_IF_decode_inst_BITS_ETC__q4 =
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422;
|
|
default: CASE_opcode_opc34_0b111_IF_IF_decode_inst_BITS_ETC__q4 =
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d487;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422)
|
|
begin
|
|
case (decode_inst[31:27])
|
|
5'b00010, 5'b00011:
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q5 =
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422;
|
|
default: CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q5 =
|
|
(decode_inst[31:27] == 5'b00001 ||
|
|
decode_inst[31:27] == 5'b0 ||
|
|
decode_inst[31:27] == 5'b00100 ||
|
|
decode_inst[31:27] == 5'b01100 ||
|
|
decode_inst[31:27] == 5'b01000 ||
|
|
decode_inst[31:27] == 5'b10000 ||
|
|
decode_inst[31:27] == 5'b10100 ||
|
|
decode_inst[31:27] == 5'b11000 ||
|
|
decode_inst[31:27] == 5'b11100) &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_opcode_opc34_0b111_IF_IF_decode_inst_BITS_ETC__q4 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422 or
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q5)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0100011:
|
|
CASE_opcode_opc34_0b11_IF_IF_decode_inst_BITS__ETC__q6 =
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d422;
|
|
7'b0101111:
|
|
CASE_opcode_opc34_0b11_IF_IF_decode_inst_BITS__ETC__q6 =
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q5;
|
|
default: CASE_opcode_opc34_0b11_IF_IF_decode_inst_BITS__ETC__q6 =
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
CASE_opcode_opc34_0b111_IF_IF_decode_inst_BITS_ETC__q4;
|
|
endcase
|
|
end
|
|
always@(decode_inst or opcode_opc__h934)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001, 3'b010, 3'b100, 3'b101, 3'b110:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q7 =
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q7 =
|
|
decode_inst[14:12] == 3'b011;
|
|
endcase
|
|
end
|
|
always@(decode_inst or opcode_opc__h934)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001, 3'b100, 3'b101:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q8 =
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q8 =
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b110 ||
|
|
decode_inst[14:12] == 3'b011 ||
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100;
|
|
endcase
|
|
end
|
|
always@(decode_inst or opcode_opc__h934)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b100:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q9 =
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 && decode_inst[14:12] == 3'b010;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_opcode_opc3_ETC__q9 =
|
|
decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b101 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b110 ||
|
|
decode_inst[14:12] == 3'b011;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:27])
|
|
5'b0,
|
|
5'b00001,
|
|
5'b00100,
|
|
5'b01000,
|
|
5'b01100,
|
|
5'b10000,
|
|
5'b10100,
|
|
5'b11000,
|
|
5'b11100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10 = 3'd4;
|
|
5'b00010:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10 = 3'd2;
|
|
5'b00011:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10 = 3'd3;
|
|
default: CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552 = 3'd0;
|
|
7'b0100011, 7'b0100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552 = 3'd1;
|
|
7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552 =
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_4_0b1_4_0b1_ETC__q10;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552 =
|
|
3'd0;
|
|
endcase
|
|
end
|
|
always@(IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442 or
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d658 or
|
|
decode_inst)
|
|
begin
|
|
case (IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0])
|
|
2'd0, 2'd1, 2'd2:
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d659 =
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2];
|
|
2'd3:
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d659 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d658;
|
|
endcase
|
|
end
|
|
always@(IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442 or
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d658 or
|
|
decode_inst)
|
|
begin
|
|
case (IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0])
|
|
2'd0, 2'd1:
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d665 =
|
|
decode_inst[31:25] == 7'h7D &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[4] &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2] ||
|
|
decode_inst[31:25] == 7'h7C &&
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[2];
|
|
default: IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d665 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[1:0] ==
|
|
2'd2 ||
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d658;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1050 or
|
|
decode_cap_mode)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000111, 7'b0100111:
|
|
CASE_opcode_opc34_0b111_NOT_decode_cap_mode_0b_ETC__q11 =
|
|
!decode_cap_mode;
|
|
default: CASE_opcode_opc34_0b111_NOT_decode_cap_mode_0b_ETC__q11 =
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1050;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_opcode_opc34_0b111_NOT_decode_cap_mode_0b_ETC__q11 or
|
|
decode_cap_mode)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0100011:
|
|
CASE_opcode_opc34_0b11_NOT_decode_cap_mode_0b1_ETC__q12 =
|
|
!decode_cap_mode;
|
|
default: CASE_opcode_opc34_0b11_NOT_decode_cap_mode_0b1_ETC__q12 =
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
CASE_opcode_opc34_0b111_NOT_decode_cap_mode_0b_ETC__q11;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h7C, 7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q13 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[3];
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q13 =
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h11 ||
|
|
decode_inst[24:20] == 5'h0C);
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1096 or
|
|
decode_cap_mode)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000111, 7'b0100111:
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q14 =
|
|
decode_cap_mode;
|
|
default: CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q14 =
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1096;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q14 or
|
|
decode_cap_mode)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0100011:
|
|
CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q15 =
|
|
decode_cap_mode;
|
|
default: CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q15 =
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q14;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h7C, 7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q16 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d442[3];
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x7C_IF_decode__ETC__q16 =
|
|
decode_inst[31:25] == 7'h7F && decode_inst[24:20] == 5'h11;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1161 or
|
|
decode_cap_mode)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000111, 7'b0100111:
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q17 =
|
|
decode_cap_mode;
|
|
default: CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q17 =
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111 &&
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1161;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q17 or
|
|
decode_cap_mode)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0100011:
|
|
CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q18 =
|
|
decode_cap_mode;
|
|
default: CASE_opcode_opc34_0b11_decode_cap_mode_0b10001_ETC__q18 =
|
|
opcode_opc__h934 != 7'b0101111 &&
|
|
opcode_opc__h934 != 7'b1010011 &&
|
|
CASE_opcode_opc34_0b111_decode_cap_mode_0b1001_ETC__q17;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h08,
|
|
7'h09,
|
|
7'h0B,
|
|
7'h0C,
|
|
7'h0D,
|
|
7'h0E,
|
|
7'h0F,
|
|
7'h11,
|
|
7'h12,
|
|
7'h14,
|
|
7'h1F,
|
|
7'h7C,
|
|
7'h7E:
|
|
CASE_decode_inst_BITS_31_TO_25_0x8_decode_inst_ETC__q19 =
|
|
decode_inst[24:20];
|
|
7'h10, 7'h13, 7'h1D, 7'h1E, 7'b0100000:
|
|
CASE_decode_inst_BITS_31_TO_25_0x8_decode_inst_ETC__q19 =
|
|
decode_inst[19:15];
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x8_decode_inst_ETC__q19 =
|
|
decode_inst[19:15];
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_31_TO_25_0x8_decode_inst_ETC__q19 or
|
|
decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0100011, 7'b0101111, 7'b0110011, 7'b0111011, 7'b1100011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1419 =
|
|
decode_inst[24:20];
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1419 =
|
|
decode_inst[19:15];
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1419 =
|
|
CASE_decode_inst_BITS_31_TO_25_0x8_decode_inst_ETC__q19;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[24:20])
|
|
5'h08, 5'h09:
|
|
CASE_decode_inst_BITS_24_TO_20_0x8_0_0x9_0_dec_ETC__q20 = 5'd0;
|
|
default: CASE_decode_inst_BITS_24_TO_20_0x8_0_0x9_0_dec_ETC__q20 =
|
|
decode_inst[19:15];
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_24_TO_20_0x8_0_0x9_0_dec_ETC__q20)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h0B, 7'h0C, 7'h0D, 7'h0E, 7'h11, 7'h12, 7'h14, 7'h1F, 7'h7E:
|
|
CASE_decode_inst_BITS_31_TO_25_0xB_decode_inst_ETC__q21 =
|
|
decode_inst[19:15];
|
|
7'h10, 7'h13, 7'h1D, 7'h1E, 7'b0100000:
|
|
CASE_decode_inst_BITS_31_TO_25_0xB_decode_inst_ETC__q21 =
|
|
decode_inst[24:20];
|
|
default: CASE_decode_inst_BITS_31_TO_25_0xB_decode_inst_ETC__q21 =
|
|
(decode_inst[31:25] == 7'h7D ||
|
|
decode_inst[31:25] == 7'h7C ||
|
|
decode_inst[24:20] == 5'h03 ||
|
|
decode_inst[24:20] == 5'h02 ||
|
|
decode_inst[24:20] == 5'h04 ||
|
|
decode_inst[24:20] == 5'h05) ?
|
|
decode_inst[19:15] :
|
|
CASE_decode_inst_BITS_24_TO_20_0x8_0_0x9_0_dec_ETC__q20;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
decode_inst or
|
|
CASE_decode_inst_BITS_31_TO_25_0xB_decode_inst_ETC__q21)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0010011, 7'b0011011, 7'b0110011, 7'b0111011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1403 =
|
|
decode_inst[19:15];
|
|
7'b0110111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1403 = 5'd0;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1403 =
|
|
(opcode_opc__h934 == 7'b1100111 ||
|
|
opcode_opc__h934 == 7'b1100011 ||
|
|
opcode_opc__h934 == 7'b0000011 ||
|
|
opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0101111 ||
|
|
opcode_opc__h934 == 7'b1010011 ||
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
opcode_opc__h934 == 7'b0100111 ||
|
|
opcode_opc__h934 == 7'b0001111 ||
|
|
opcode_opc__h934 == 7'b1110011 ||
|
|
decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[31:25] == 7'b0000001 ||
|
|
decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F) ?
|
|
decode_inst[19:15] :
|
|
CASE_decode_inst_BITS_31_TO_25_0xB_decode_inst_ETC__q21;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h12:
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_decode_ins_ETC__q22 =
|
|
decode_inst[24:20] == 5'h0;
|
|
7'h13:
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_decode_ins_ETC__q22 =
|
|
decode_inst[19:15] == 5'd0;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x12_decode_ins_ETC__q22 =
|
|
decode_inst[31:25] == 7'h1D && decode_inst[19:15] == 5'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or decode_inst or addr__h3922 or immI__h35)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1778 =
|
|
decode_inst[14:12] == 3'b010;
|
|
7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1778 =
|
|
decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01;
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1778 =
|
|
decode_inst[14:12] != 3'b0 &&
|
|
(immI__h35[11:0] == 12'h305 || immI__h35[11:0] == 12'h341 ||
|
|
immI__h35[11:0] == 12'h105 ||
|
|
immI__h35[11:0] == 12'h141) &&
|
|
!decode_inst[14];
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1778 =
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
((decode_inst[31:25] == 7'b0000001) ?
|
|
addr__h3922 != 5'd0 :
|
|
decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h10 ||
|
|
decode_inst[31:25] == 7'h11 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'b0100000 ||
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h0D ||
|
|
decode_inst[31:25] == 7'h0E ||
|
|
decode_inst[31:25] == 7'h12 ||
|
|
decode_inst[31:25] == 7'h13 ||
|
|
decode_inst[31:25] == 7'h14 ||
|
|
decode_inst[31:25] == 7'h1D ||
|
|
decode_inst[31:25] == 7'h7D ||
|
|
decode_inst[31:25] == 7'h7C ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h03 ||
|
|
decode_inst[24:20] == 5'h02 ||
|
|
decode_inst[24:20] == 5'h04 ||
|
|
decode_inst[24:20] == 5'h05 ||
|
|
decode_inst[24:20] == 5'h08 ||
|
|
decode_inst[24:20] == 5'h09 ||
|
|
decode_inst[24:20] == 5'h0A ||
|
|
decode_inst[24:20] == 5'h0B ||
|
|
decode_inst[24:20] == 5'h0F ||
|
|
decode_inst[24:20] == 5'h11 ||
|
|
decode_inst[24:20] == 5'h06 ||
|
|
decode_inst[24:20] == 5'h07 ||
|
|
decode_inst[24:20] == 5'h0 ||
|
|
decode_inst[24:20] == 5'h0C ||
|
|
decode_inst[24:20] == 5'h01))));
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h12:
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_NOT_decode_ETC__q23 =
|
|
decode_inst[24:20] != 5'h0;
|
|
7'h13:
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_NOT_decode_ETC__q23 =
|
|
decode_inst[19:15] != 5'd0;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x12_NOT_decode_ETC__q23 =
|
|
decode_inst[31:25] == 7'h14 ||
|
|
((decode_inst[31:25] == 7'h1D) ?
|
|
decode_inst[19:15] != 5'd0 :
|
|
decode_inst[31:25] == 7'h7C ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h08 ||
|
|
decode_inst[24:20] == 5'h09));
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
decode_inst or
|
|
immI__h35 or
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_NOT_decode_ETC__q23)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1938 =
|
|
decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1938 =
|
|
(opcode_opc__h934 == 7'b1110011) ?
|
|
decode_inst[14:12] != 3'b0 &&
|
|
immI__h35[11:0] != 12'h305 &&
|
|
immI__h35[11:0] != 12'h341 &&
|
|
immI__h35[11:0] != 12'h105 &&
|
|
immI__h35[11:0] != 12'h141 &&
|
|
!decode_inst[14] :
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h10 ||
|
|
decode_inst[31:25] == 7'h11 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
((decode_inst[31:25] == 7'b0100000) ?
|
|
decode_inst[19:15] != 5'd0 :
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h0D ||
|
|
decode_inst[31:25] == 7'h0E ||
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_NOT_decode_ETC__q23)));
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1938 or
|
|
decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1942 =
|
|
decode_inst[31:27] != 5'b00010;
|
|
7'b1010011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1942 =
|
|
(decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01) &&
|
|
decode_inst[31:27] != 5'b01011 &&
|
|
decode_inst[31:27] != 5'b11100 &&
|
|
decode_inst[31:27] != 5'b11110 &&
|
|
decode_inst[31:27] != 5'b01000 &&
|
|
decode_inst[31:27] != 5'b11000 &&
|
|
decode_inst[31:27] != 5'b11010;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1942 =
|
|
opcode_opc__h934 != 7'b0000111 &&
|
|
(opcode_opc__h934 == 7'b0100111 ||
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1938);
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0001111:
|
|
CASE_opcode_opc34_0b1111_NOT_decode_inst_BITS__ETC__q24 =
|
|
decode_inst[14:12] != 3'b010;
|
|
7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
|
|
CASE_opcode_opc34_0b1111_NOT_decode_inst_BITS__ETC__q24 =
|
|
decode_inst[26:25] != 2'b0 && decode_inst[26:25] != 2'b01;
|
|
7'b1110011:
|
|
CASE_opcode_opc34_0b1111_NOT_decode_inst_BITS__ETC__q24 =
|
|
decode_inst[14:12] == 3'b0;
|
|
default: CASE_opcode_opc34_0b1111_NOT_decode_inst_BITS__ETC__q24 =
|
|
opcode_opc__h934 != 7'b1011011 ||
|
|
decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
(decode_inst[14:12] != 3'b0 ||
|
|
decode_inst[31:25] != 7'b0000001 &&
|
|
decode_inst[31:25] != 7'h08 &&
|
|
decode_inst[31:25] != 7'h09 &&
|
|
decode_inst[31:25] != 7'h0F &&
|
|
decode_inst[31:25] != 7'h10 &&
|
|
decode_inst[31:25] != 7'h11 &&
|
|
decode_inst[31:25] != 7'h0B &&
|
|
decode_inst[31:25] != 7'h1F &&
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] != 5'h01 :
|
|
decode_inst[31:25] != 7'h0C &&
|
|
decode_inst[31:25] != 7'b0100000 &&
|
|
decode_inst[31:25] != 7'h1E &&
|
|
decode_inst[31:25] != 7'h0D &&
|
|
decode_inst[31:25] != 7'h0E &&
|
|
decode_inst[31:25] != 7'h12 &&
|
|
decode_inst[31:25] != 7'h13 &&
|
|
decode_inst[31:25] != 7'h14 &&
|
|
decode_inst[31:25] != 7'h1D &&
|
|
decode_inst[31:25] != 7'h7D &&
|
|
(decode_inst[31:25] != 7'h7F ||
|
|
decode_inst[24:20] != 5'h03 &&
|
|
decode_inst[24:20] != 5'h02 &&
|
|
decode_inst[24:20] != 5'h04 &&
|
|
decode_inst[24:20] != 5'h05 &&
|
|
decode_inst[24:20] != 5'h08 &&
|
|
decode_inst[24:20] != 5'h09 &&
|
|
decode_inst[24:20] != 5'h0A &&
|
|
decode_inst[24:20] != 5'h0B &&
|
|
decode_inst[24:20] != 5'h0F &&
|
|
decode_inst[24:20] != 5'h11 &&
|
|
decode_inst[24:20] != 5'h06 &&
|
|
decode_inst[24:20] != 5'h07 &&
|
|
decode_inst[24:20] != 5'h0 &&
|
|
decode_inst[24:20] != 5'h0C &&
|
|
decode_inst[24:20] != 5'h01)));
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d2289)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h7C, 7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_NOT_dec_ETC__q25 =
|
|
IF_NOT_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_ETC___d2289;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x7C_IF_NOT_dec_ETC__q25 =
|
|
decode_inst[31:25] != 7'h7F ||
|
|
decode_inst[24:20] != 5'h03 &&
|
|
decode_inst[24:20] != 5'h02 &&
|
|
decode_inst[24:20] != 5'h04 &&
|
|
decode_inst[24:20] != 5'h05 &&
|
|
decode_inst[24:20] != 5'h08 &&
|
|
decode_inst[24:20] != 5'h09 &&
|
|
decode_inst[24:20] != 5'h0A &&
|
|
decode_inst[24:20] != 5'h0B &&
|
|
decode_inst[24:20] != 5'h0F &&
|
|
decode_inst[24:20] != 5'h11 &&
|
|
decode_inst[24:20] != 5'h06 &&
|
|
decode_inst[24:20] != 5'h07 &&
|
|
decode_inst[24:20] != 5'h0 &&
|
|
decode_inst[24:20] != 5'h0C &&
|
|
decode_inst[24:20] != 5'h01;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546)
|
|
begin
|
|
case (decode_inst[31:27])
|
|
5'b00010, 5'b00011:
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q26 =
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546;
|
|
default: CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q26 =
|
|
decode_inst[31:27] != 5'b00001 &&
|
|
decode_inst[31:27] != 5'b0 &&
|
|
decode_inst[31:27] != 5'b00100 &&
|
|
decode_inst[31:27] != 5'b01100 &&
|
|
decode_inst[31:27] != 5'b01000 &&
|
|
decode_inst[31:27] != 5'b10000 &&
|
|
decode_inst[31:27] != 5'b10100 &&
|
|
decode_inst[31:27] != 5'b11000 &&
|
|
decode_inst[31:27] != 5'b11100 ||
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
decode_inst or
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_NOT_dec_ETC__q25 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546 or
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q26 or
|
|
immI__h35)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0100011, 7'b0100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546;
|
|
7'b0001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
decode_inst[14:12] != 3'b001 && decode_inst[14:12] != 3'b0 &&
|
|
(decode_inst[14:12] != 3'b010 ||
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d546);
|
|
7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_IF_IF_deco_ETC__q26;
|
|
7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
decode_inst[26:25] != 2'b0 && decode_inst[26:25] != 2'b01 ||
|
|
opcode_opc__h934 != 7'b1000011 &&
|
|
opcode_opc__h934 != 7'b1000111 &&
|
|
opcode_opc__h934 != 7'b1001011 &&
|
|
opcode_opc__h934 != 7'b1001111;
|
|
7'b1010011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
decode_inst[26:25] != 2'b0 && decode_inst[26:25] != 2'b01;
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
decode_inst[14:12] == 3'b0 && decode_inst[31:25] != 7'h09 &&
|
|
immI__h35[11:0] != 12'h102 &&
|
|
immI__h35[11:0] != 12'h302 &&
|
|
immI__h35[11:0] != 12'h0 &&
|
|
immI__h35[11:0] != 12'h001 &&
|
|
immI__h35[11:0] != 12'h105;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d2303 =
|
|
opcode_opc__h934 != 7'b1011011 ||
|
|
decode_inst[14:12] != 3'b001 &&
|
|
decode_inst[14:12] != 3'b010 &&
|
|
(decode_inst[14:12] != 3'b0 ||
|
|
decode_inst[31:25] != 7'b0000001 &&
|
|
decode_inst[31:25] != 7'h08 &&
|
|
decode_inst[31:25] != 7'h09 &&
|
|
decode_inst[31:25] != 7'h0F &&
|
|
decode_inst[31:25] != 7'h10 &&
|
|
decode_inst[31:25] != 7'h11 &&
|
|
decode_inst[31:25] != 7'h0B &&
|
|
decode_inst[31:25] != 7'h1F &&
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] != 5'h01 :
|
|
decode_inst[31:25] != 7'h0C &&
|
|
decode_inst[31:25] != 7'b0100000 &&
|
|
decode_inst[31:25] != 7'h1E &&
|
|
decode_inst[31:25] != 7'h0D &&
|
|
decode_inst[31:25] != 7'h0E &&
|
|
decode_inst[31:25] != 7'h12 &&
|
|
decode_inst[31:25] != 7'h13 &&
|
|
decode_inst[31:25] != 7'h14 &&
|
|
decode_inst[31:25] != 7'h1D &&
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_NOT_dec_ETC__q25));
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:27])
|
|
5'b0: CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd1;
|
|
5'b00001:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd0;
|
|
5'b00100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd2;
|
|
5'b01000:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd4;
|
|
5'b01100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd3;
|
|
5'b10000:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd5;
|
|
5'b10100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd6;
|
|
5'b11000:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd7;
|
|
5'b11100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd8;
|
|
default: CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27 = 4'd9;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0001111, 7'b0100011, 7'b0100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564 = 4'd9;
|
|
7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564 =
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_1_0b1_0_0b1_ETC__q27;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564 =
|
|
4'd9;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b001, 3'b101:
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d896 = 2'd0;
|
|
3'b010, 3'b110:
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d896 = 2'd1;
|
|
default: IF_decode_inst_BITS_14_TO_12_6_EQ_0b101_24_OR__ETC___d896 =
|
|
2'd2;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0001111:
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q28 =
|
|
decode_inst[14:12] == 3'b010;
|
|
7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111:
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q28 =
|
|
decode_inst[26:25] == 2'b0 || decode_inst[26:25] == 2'b01;
|
|
7'b1110011:
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q28 =
|
|
decode_inst[14:12] != 3'b0;
|
|
default: CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q28 =
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'b0000001 ||
|
|
decode_inst[31:25] == 7'h08 ||
|
|
decode_inst[31:25] == 7'h09 ||
|
|
decode_inst[31:25] == 7'h0F ||
|
|
decode_inst[31:25] == 7'h10 ||
|
|
decode_inst[31:25] == 7'h11 ||
|
|
decode_inst[31:25] == 7'h0B ||
|
|
decode_inst[31:25] == 7'h1F ||
|
|
((decode_inst[31:25] == 7'h7E) ?
|
|
decode_inst[11:7] == 5'h01 :
|
|
decode_inst[31:25] == 7'h0C ||
|
|
decode_inst[31:25] == 7'b0100000 ||
|
|
decode_inst[31:25] == 7'h1E ||
|
|
decode_inst[31:25] == 7'h0D ||
|
|
decode_inst[31:25] == 7'h0E ||
|
|
decode_inst[31:25] == 7'h12 ||
|
|
decode_inst[31:25] == 7'h13 ||
|
|
decode_inst[31:25] == 7'h14 ||
|
|
decode_inst[31:25] == 7'h1D ||
|
|
decode_inst[31:25] == 7'h7D ||
|
|
decode_inst[31:25] == 7'h7F &&
|
|
(decode_inst[24:20] == 5'h03 ||
|
|
decode_inst[24:20] == 5'h02 ||
|
|
decode_inst[24:20] == 5'h04 ||
|
|
decode_inst[24:20] == 5'h05 ||
|
|
decode_inst[24:20] == 5'h08 ||
|
|
decode_inst[24:20] == 5'h09 ||
|
|
decode_inst[24:20] == 5'h0A ||
|
|
decode_inst[24:20] == 5'h0B ||
|
|
decode_inst[24:20] == 5'h0F ||
|
|
decode_inst[24:20] == 5'h11 ||
|
|
decode_inst[24:20] == 5'h06 ||
|
|
decode_inst[24:20] == 5'h07 ||
|
|
decode_inst[24:20] == 5'h0 ||
|
|
decode_inst[24:20] == 5'h0C ||
|
|
decode_inst[24:20] == 5'h01))));
|
|
endcase
|
|
end
|
|
always@(decode_inst or IF_decode_cap_mode_THEN_0_ELSE_3___d1256)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q29 = 2'd0;
|
|
3'b010:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q29 =
|
|
IF_decode_cap_mode_THEN_0_ELSE_3___d1256;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q29 = 2'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d1270)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'b0000001,
|
|
7'h08,
|
|
7'h09,
|
|
7'h0D,
|
|
7'h0E,
|
|
7'h0F,
|
|
7'h10,
|
|
7'h11,
|
|
7'h12,
|
|
7'h13,
|
|
7'h14,
|
|
7'b0100000,
|
|
7'h7E:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30 = 2'd0;
|
|
7'h0B, 7'h0C, 7'h1D, 7'h1E, 7'h1F:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30 = 2'd1;
|
|
7'h7C, 7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30 =
|
|
IF_IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91__ETC___d1270;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30 = 2'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q31 =
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q30;
|
|
3'b001, 3'b010:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q31 = 2'd0;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q31 = 2'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_decode_cap_mode_THEN_0_ELSE_3___d1256 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q29 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q31)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0100011, 7'b0100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290 =
|
|
IF_decode_cap_mode_THEN_0_ELSE_3___d1256;
|
|
7'b0001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q29;
|
|
7'b0010011,
|
|
7'b0010111,
|
|
7'b0011011,
|
|
7'b0101111,
|
|
7'b0110011,
|
|
7'b0110111,
|
|
7'b0111011,
|
|
7'b1000011,
|
|
7'b1000111,
|
|
7'b1001011,
|
|
7'b1001111,
|
|
7'b1010011,
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290 = 2'd0;
|
|
7'b1011011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q31;
|
|
7'b1100011, 7'b1100111, 7'b1101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290 = 2'd2;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1290 =
|
|
2'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q32 = 3'd0;
|
|
3'b010: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q32 = 3'd4;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q32 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'b0000001,
|
|
7'h08,
|
|
7'h09,
|
|
7'h0D,
|
|
7'h0E,
|
|
7'h0F,
|
|
7'h10,
|
|
7'h11,
|
|
7'h12,
|
|
7'h13,
|
|
7'h14,
|
|
7'b0100000,
|
|
7'h7E:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33 = 3'd0;
|
|
7'h0B, 7'h0C, 7'h1F:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33 = 3'd3;
|
|
7'h1D: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33 = 3'd1;
|
|
7'h1E: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33 = 3'd2;
|
|
7'h7C, 7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33 = 3'd4;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q34 =
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_0_0x9_ETC__q33;
|
|
3'b001, 3'b010:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q34 = 3'd0;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q34 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q32 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q34)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0100011, 7'b0100111:
|
|
CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35 = 3'd4;
|
|
7'b0001111:
|
|
CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q32;
|
|
7'b0010011,
|
|
7'b0010111,
|
|
7'b0011011,
|
|
7'b0101111,
|
|
7'b0110011,
|
|
7'b0110111,
|
|
7'b0111011,
|
|
7'b1000011,
|
|
7'b1000111,
|
|
7'b1001011,
|
|
7'b1001111,
|
|
7'b1010011,
|
|
7'b1100011,
|
|
7'b1100111,
|
|
7'b1101111,
|
|
7'b1110011:
|
|
CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35 = 3'd0;
|
|
7'b1011011:
|
|
CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q34;
|
|
default: CASE_opcode_opc34_0b11_4_0b111_4_0b1111_CASE_d_ETC__q35 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q36 = 3'd0;
|
|
3'b010: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q36 = 3'd5;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q36 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'b0000001,
|
|
7'h0D,
|
|
7'h0E,
|
|
7'h0F,
|
|
7'h10,
|
|
7'h11,
|
|
7'h12,
|
|
7'h13,
|
|
7'h14,
|
|
7'b0100000,
|
|
7'h7E:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd0;
|
|
7'h08, 7'h09:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd4;
|
|
7'h0B, 7'h0C, 7'h1F:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd3;
|
|
7'h1D: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd1;
|
|
7'h1E: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd2;
|
|
7'h7C, 7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd5;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38 =
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_0_0x8_4_0x9_ETC__q37;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38 = 3'd0;
|
|
3'b010: CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38 = 3'd4;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q36 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0100011, 7'b0100111:
|
|
CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39 = 3'd5;
|
|
7'b0001111:
|
|
CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q36;
|
|
7'b0010011,
|
|
7'b0010111,
|
|
7'b0011011,
|
|
7'b0101111,
|
|
7'b0110011,
|
|
7'b0110111,
|
|
7'b0111011,
|
|
7'b1000011,
|
|
7'b1000111,
|
|
7'b1001011,
|
|
7'b1001111,
|
|
7'b1010011,
|
|
7'b1100011,
|
|
7'b1100111,
|
|
7'b1101111,
|
|
7'b1110011:
|
|
CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39 = 3'd0;
|
|
7'b1011011:
|
|
CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q38;
|
|
default: CASE_opcode_opc34_0b11_5_0b111_5_0b1111_CASE_d_ETC__q39 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_SEXT_decode_inst_BITS_31_TO_20_04_05_BIT_10_ETC___d300)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd0;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd9;
|
|
3'b010: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd7;
|
|
3'b011: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd8;
|
|
3'b100: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd6;
|
|
3'd5:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 =
|
|
IF_SEXT_decode_inst_BITS_31_TO_20_04_05_BIT_10_ETC___d300;
|
|
3'b110: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd5;
|
|
3'b111: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 = 5'd4;
|
|
endcase
|
|
end
|
|
always@(decode_inst or immI__h35)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_IF_ETC__q41 = 5'd1;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_IF_ETC__q41 = 5'd10;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_IF_ETC__q41 =
|
|
immI__h35[10] ? 5'd12 : 5'd14;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd0;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd9;
|
|
3'b010: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd7;
|
|
3'b011: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd8;
|
|
3'b100: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd6;
|
|
3'd5: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd13;
|
|
3'b110: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd5;
|
|
3'b111: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 = 5'd4;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_14__q43 = 5'd1;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_14__q43 = 5'd10;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_14__q43 = 5'd14;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b001, 3'b101:
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_15_0b10_16__ETC__q44 = 5'd15;
|
|
3'b010, 3'b110:
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_15_0b10_16__ETC__q44 = 5'd16;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b1_15_0b10_16__ETC__q44 =
|
|
5'd17;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
decode_inst or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_IF_ETC__q41 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_14__q43 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_15_0b10_16__ETC__q44)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0010011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q40;
|
|
7'b0010111, 7'b0110111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 = 5'd0;
|
|
7'b0011011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_IF_ETC__q41;
|
|
7'b0110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 =
|
|
(decode_inst[31:25] == 7'b0) ?
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_9_0b1_ETC__q42 :
|
|
((decode_inst[14:12] == 3'b0) ? 5'd2 : 5'd11);
|
|
7'b0111011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 =
|
|
(decode_inst[31:25] == 7'b0) ?
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_1_0b1_10_14__q43 :
|
|
((decode_inst[14:12] == 3'b0) ? 5'd3 : 5'd12);
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_15_0b10_16__ETC__q44;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d334 =
|
|
(decode_inst[31:25] == 7'b0000001) ? 5'd0 : 5'd2;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h7C:
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_IF_deco_ETC__q45 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641 ?
|
|
3'd3 :
|
|
3'd1;
|
|
7'h7D:
|
|
CASE_decode_inst_BITS_31_TO_25_0x7C_IF_IF_deco_ETC__q45 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_AND_ETC___d641 ?
|
|
3'd2 :
|
|
3'd0;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x7C_IF_IF_deco_ETC__q45 = 3'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d679 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564 or
|
|
decode_inst or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d592 or
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d594 or
|
|
decode_cap_mode or
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_5_ETC___d639)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0100011, 7'b0100111, 7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d681 =
|
|
{ IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d552,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d564,
|
|
opcode_opc__h934 == 7'b0000111 ||
|
|
decode_inst[14:12] == 3'b100 ||
|
|
decode_inst[14:12] == 3'b101 ||
|
|
decode_inst[14:12] == 3'b110,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
(opcode_opc__h934 == 7'b0100011 ||
|
|
opcode_opc__h934 == 7'b0100111) &&
|
|
decode_inst[14:12] == 3'b100 ||
|
|
opcode_opc__h934 == 7'b0001111 &&
|
|
decode_inst[14:12] == 3'b010,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d579,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d587,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d592,
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d594,
|
|
opcode_opc__h934 == 7'b0101111 && decode_inst[26],
|
|
opcode_opc__h934 == 7'b0101111 && decode_inst[25],
|
|
decode_cap_mode };
|
|
7'b0001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d681 =
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_5_ETC___d639;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d681 =
|
|
IF_decode_inst_BITS_31_TO_25_02_EQ_0x7D_91_THE_ETC___d679;
|
|
endcase
|
|
end
|
|
always@(immI__h35)
|
|
begin
|
|
case (immI__h35[11:0])
|
|
12'h141:
|
|
CASE_immI5_BITS_11_TO_0_0x141_15_0x305_28_0x34_ETC__q46 = 5'd15;
|
|
12'h305:
|
|
CASE_immI5_BITS_11_TO_0_0x141_15_0x305_28_0x34_ETC__q46 = 5'd28;
|
|
12'h341:
|
|
CASE_immI5_BITS_11_TO_0_0x141_15_0x305_28_0x34_ETC__q46 = 5'd31;
|
|
default: CASE_immI5_BITS_11_TO_0_0x141_15_0x305_28_0x34_ETC__q46 =
|
|
5'd12;
|
|
endcase
|
|
end
|
|
always@(decode_inst or immI__h35 or immIunsigned__h40)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b001:
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_immI5_0b10__ETC__q47 = immI__h35;
|
|
3'b010:
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_immI5_0b10__ETC__q47 =
|
|
immIunsigned__h40;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b1_immI5_0b10__ETC__q47 =
|
|
32'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_immI5_0b10__ETC__q47 or
|
|
immI__h35 or
|
|
immU__h38 or immS__h36 or immB__h37 or immJ__h39 or decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111, 7'b0001111, 7'b0010011, 7'b0011011, 7'b1100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
immI__h35;
|
|
7'b0010111, 7'b0110111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
immU__h38;
|
|
7'b0100011, 7'b0100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
immS__h36;
|
|
7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 = 32'd0;
|
|
7'b1100011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
immB__h37;
|
|
7'b1101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
immJ__h39;
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
{ 27'd0, decode_inst[19:15] };
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d1729 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b1_immI5_0b10__ETC__q47;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_1_0b1_ETC__q48 = 2'd0;
|
|
3'b001, 3'b010, 3'b011:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_1_0b1_ETC__q48 = 2'd1;
|
|
3'b100, 3'b101:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_1_0b1_ETC__q48 = 2'd2;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_1_0b1_ETC__q48 = 2'd3;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001, 3'b100, 3'b110:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q49 = 2'd0;
|
|
3'b010: CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q49 = 2'd2;
|
|
3'b011, 3'b101, 3'd7:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_0_0b1_0_0b1_ETC__q49 = 2'd1;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[24:20])
|
|
5'h0: CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50 = 5'd15;
|
|
5'h01: CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50 = 5'd16;
|
|
5'h02: CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50 = 5'd17;
|
|
default: CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50 =
|
|
5'd18;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_5_0b1_6_7__q51 = 5'd5;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_5_0b1_6_7__q51 = 5'd6;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_5_0b1_6_7__q51 = 5'd7;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0: CASE_decode_inst_BITS_14_TO_12_0b0_21_0b1_20_19__q52 = 5'd21;
|
|
3'b001: CASE_decode_inst_BITS_14_TO_12_0b0_21_0b1_20_19__q52 = 5'd20;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_21_0b1_20_19__q52 = 5'd19;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[24:20])
|
|
5'h0: CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53 = 5'd11;
|
|
5'h01: CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53 = 5'd12;
|
|
5'h02: CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53 = 5'd13;
|
|
default: CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53 =
|
|
5'd14;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_5_0b1_6_7__q51 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_21_0b1_20_19__q52 or
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53)
|
|
begin
|
|
case (decode_inst[31:27])
|
|
5'b0, 5'b00001, 5'b00010, 5'b00011:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
decode_inst[31:27];
|
|
5'b00100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_5_0b1_6_7__q51;
|
|
5'b00101:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
(decode_inst[14:12] == 3'b0) ? 5'd8 : 5'd9;
|
|
5'b01000:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 = 5'd10;
|
|
5'b01011:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 = 5'd4;
|
|
5'b10100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_21_0b1_20_19__q52;
|
|
5'b11000:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_11_0x1_12_0_ETC__q53;
|
|
5'b11100:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
(decode_inst[14:12] == 3'b0) ? 5'd23 : 5'd22;
|
|
5'b11110:
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 = 5'd24;
|
|
default: CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54 =
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_15_0x1_16_0_ETC__q50;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b1000011:
|
|
CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55 = 5'd25;
|
|
7'b1000111:
|
|
CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55 = 5'd26;
|
|
7'b1001011:
|
|
CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55 = 5'd27;
|
|
7'b1010011:
|
|
CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55 =
|
|
CASE_decode_inst_BITS_31_TO_27_0b0_decode_inst_ETC__q54;
|
|
default: CASE_opcode_opc34_0b1000011_25_0b1000111_26_0b_ETC__q55 =
|
|
5'd28;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0, 3'b001:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56 =
|
|
decode_inst[14:12];
|
|
3'b100: CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56 = 3'd2;
|
|
3'b101: CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56 = 3'd4;
|
|
3'b110: CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56 = 3'd3;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56 = 3'd5;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b1100011:
|
|
CASE_opcode_opc34_0b1100011_CASE_decode_inst_B_ETC__q57 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_decode_inst_ETC__q56;
|
|
7'b1100111, 7'b1101111:
|
|
CASE_opcode_opc34_0b1100011_CASE_decode_inst_B_ETC__q57 = 3'd6;
|
|
default: CASE_opcode_opc34_0b1100011_CASE_decode_inst_B_ETC__q57 = 3'd6;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[24:20])
|
|
5'h0: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd9;
|
|
5'h02: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd3;
|
|
5'h03: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd2;
|
|
5'h04: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd4;
|
|
5'h05: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd5;
|
|
5'h06: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd7;
|
|
5'h07: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd8;
|
|
5'h0F: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 = 4'd6;
|
|
default: CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58 =
|
|
4'd10;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'h12: CASE_decode_inst_BITS_31_TO_25_0x12_11_0b10000_ETC__q59 = 4'd11;
|
|
7'b0100000:
|
|
CASE_decode_inst_BITS_31_TO_25_0x12_11_0b10000_ETC__q59 = 4'd0;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0x12_11_0b10000_ETC__q59 =
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_9_0x2_3_0x3_ETC__q58;
|
|
endcase
|
|
end
|
|
always@(immI__h35)
|
|
begin
|
|
case (immI__h35[11:0])
|
|
12'h001,
|
|
12'h002,
|
|
12'h003,
|
|
12'h100,
|
|
12'h104,
|
|
12'h106,
|
|
12'h140,
|
|
12'h142,
|
|
12'h143,
|
|
12'h144,
|
|
12'h180,
|
|
12'h300,
|
|
12'h301,
|
|
12'h302,
|
|
12'h303,
|
|
12'h304,
|
|
12'h306,
|
|
12'h340,
|
|
12'h342,
|
|
12'h343,
|
|
12'h344,
|
|
12'h7A0,
|
|
12'h7A1,
|
|
12'h7A2,
|
|
12'h7A3,
|
|
12'h7B0,
|
|
12'h7B1,
|
|
12'h7B2,
|
|
12'h7B3,
|
|
12'h800,
|
|
12'h801,
|
|
12'h9C0,
|
|
12'hB00,
|
|
12'hB02,
|
|
12'hBC0,
|
|
12'hC00,
|
|
12'hC01,
|
|
12'hC02,
|
|
12'hF11,
|
|
12'hF12,
|
|
12'hF13,
|
|
12'hF14:
|
|
CASE_immI5_BITS_11_TO_0_0x1_immI5_BITS_11_TO_0_ETC__q60 =
|
|
immI__h35[11:0];
|
|
default: CASE_immI5_BITS_11_TO_0_0x1_immI5_BITS_11_TO_0_ETC__q60 =
|
|
12'h8FF;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or decode_inst)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0001111:
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q61 =
|
|
decode_inst[14:12] == 3'b010;
|
|
7'b1110011:
|
|
CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q61 =
|
|
decode_inst[14];
|
|
default: CASE_opcode_opc34_0b1111_decode_inst_BITS_14_T_ETC__q61 =
|
|
opcode_opc__h934 == 7'b1011011 &&
|
|
(decode_inst[14:12] == 3'b001 ||
|
|
decode_inst[14:12] == 3'b010 ||
|
|
decode_inst[14:12] == 3'b0 &&
|
|
(decode_inst[31:25] == 7'h7D ||
|
|
decode_inst[31:25] == 7'h7C));
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
decode_inst_BIT_23_9_OR_decode_inst_BIT_21_0___d91 or
|
|
decode_inst_BIT_26_2_OR_decode_inst_BIT_24_3___d94)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0:
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100 =
|
|
(decode_inst_BIT_23_9_OR_decode_inst_BIT_21_0___d91 ||
|
|
decode_inst_BIT_26_2_OR_decode_inst_BIT_24_3___d94) ?
|
|
5'd19 :
|
|
5'd1;
|
|
3'b001:
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100 = 5'd20;
|
|
3'b010:
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100 = 5'd4;
|
|
default: IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100 =
|
|
5'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[31:27])
|
|
5'b00010: CASE_decode_inst_BITS_31_TO_27_0b10_6_0b11_7_2__q62 = 5'd6;
|
|
5'b00011: CASE_decode_inst_BITS_31_TO_27_0b10_6_0b11_7_2__q62 = 5'd7;
|
|
default: CASE_decode_inst_BITS_31_TO_27_0b10_6_0b11_7_2__q62 = 5'd2;
|
|
endcase
|
|
end
|
|
always@(decode_inst)
|
|
begin
|
|
case (decode_inst[24:20])
|
|
5'h0,
|
|
5'h01,
|
|
5'h02,
|
|
5'h03,
|
|
5'h04,
|
|
5'h05,
|
|
5'h06,
|
|
5'h07,
|
|
5'h08,
|
|
5'h09,
|
|
5'h0A,
|
|
5'h0B,
|
|
5'h0F,
|
|
5'h11:
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_13_0x1_13_0_ETC__q63 = 5'd13;
|
|
5'h0C:
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_13_0x1_13_0_ETC__q63 =
|
|
decode_inst[24:20];
|
|
default: CASE_decode_inst_BITS_24_TO_20_0x0_13_0x1_13_0_ETC__q63 = 5'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
addr__h3922 or
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_13_0x1_13_0_ETC__q63)
|
|
begin
|
|
case (decode_inst[31:25])
|
|
7'b0000001:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 =
|
|
(addr__h3922 == 5'd0) ?
|
|
5'd15 :
|
|
((decode_inst[19:15] == 5'd0) ? 5'd13 : 5'd18);
|
|
7'h08,
|
|
7'h09,
|
|
7'h0B,
|
|
7'h0C,
|
|
7'h0D,
|
|
7'h0E,
|
|
7'h0F,
|
|
7'h10,
|
|
7'h11,
|
|
7'h12,
|
|
7'h13,
|
|
7'h1D,
|
|
7'h1E,
|
|
7'h1F,
|
|
7'b0100000:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 = 5'd13;
|
|
7'h14: CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 = 5'd3;
|
|
7'h7C: CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 = 5'd5;
|
|
7'h7D: CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 = 5'd4;
|
|
7'h7E:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 =
|
|
(decode_inst[11:7] == 5'h01) ? 5'd11 : 5'd0;
|
|
7'h7F:
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 =
|
|
CASE_decode_inst_BITS_24_TO_20_0x0_13_0x1_13_0_ETC__q63;
|
|
default: CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64 = 5'd0;
|
|
endcase
|
|
end
|
|
always@(decode_inst or
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64)
|
|
begin
|
|
case (decode_inst[14:12])
|
|
3'b0:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q65 =
|
|
CASE_decode_inst_BITS_31_TO_25_0b1_IF_addr922__ETC__q64;
|
|
3'b001, 3'b010:
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q65 = 5'd13;
|
|
default: CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q65 = 5'd0;
|
|
endcase
|
|
end
|
|
always@(opcode_opc__h934 or
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100 or
|
|
decode_cap_mode or
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_6_0b11_7_2__q62 or
|
|
IF_NOT_decode_inst_BITS_26_TO_25_9_EQ_0b0_0_1__ETC___d75 or
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q65 or
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_I_ETC___d132)
|
|
begin
|
|
case (opcode_opc__h934)
|
|
7'b0000011, 7'b0000111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 = 5'd4;
|
|
7'b0001111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b1_7_THEN_2_ETC___d100;
|
|
7'b0010011, 7'b0011011, 7'b0110011, 7'b0110111, 7'b0111011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 = 5'd3;
|
|
7'b0010111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
decode_cap_mode ? 5'd15 : 5'd14;
|
|
7'b0100011, 7'b0100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 = 5'd5;
|
|
7'b0101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
CASE_decode_inst_BITS_31_TO_27_0b10_6_0b11_7_2__q62;
|
|
7'b1000011, 7'b1000111, 7'b1001011, 7'b1001111, 7'b1010011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
IF_NOT_decode_inst_BITS_26_TO_25_9_EQ_0b0_0_1__ETC___d75;
|
|
7'b1011011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
CASE_decode_inst_BITS_14_TO_12_0b0_CASE_decode_ETC__q65;
|
|
7'b1100011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 = 5'd10;
|
|
7'b1100111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 = 5'd9;
|
|
7'b1101111:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 = 5'd8;
|
|
7'b1110011:
|
|
IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
IF_decode_inst_BITS_14_TO_12_6_EQ_0b0_8_THEN_I_ETC___d132;
|
|
default: IF_IF_decode_inst_BITS_6_TO_0_EQ_0b11_OR_decod_ETC___d245 =
|
|
5'd0;
|
|
endcase
|
|
end
|
|
endmodule // module_decode
|
|
|