small numcase corrected
This commit is contained in:
parent
042ddf10b4
commit
967cfe3819
File diff suppressed because it is too large
Load Diff
|
@ -284,255 +284,402 @@ module exu_div_new_2bit_fullshortq(
|
|||
reg valid_ff; // @[Reg.scala 27:20]
|
||||
wire by_zero_case = valid_ff & _T_22; // @[exu_div_ctl.scala 493:40]
|
||||
reg [31:0] a_ff; // @[Reg.scala 27:20]
|
||||
wire _T_25 = ~by_zero_case; // @[exu_div_ctl.scala 496:29]
|
||||
wire _T_27 = ~control_ff[0]; // @[exu_div_ctl.scala 496:45]
|
||||
wire _T_24 = a_ff[31:4] == 28'h0; // @[exu_div_ctl.scala 495:37]
|
||||
wire _T_26 = b_ff[31:4] == 28'h0; // @[exu_div_ctl.scala 495:60]
|
||||
wire _T_27 = _T_24 & _T_26; // @[exu_div_ctl.scala 495:46]
|
||||
wire _T_28 = ~by_zero_case; // @[exu_div_ctl.scala 495:71]
|
||||
wire _T_29 = _T_27 & _T_28; // @[exu_div_ctl.scala 495:69]
|
||||
wire _T_30 = ~control_ff[0]; // @[exu_div_ctl.scala 495:87]
|
||||
wire _T_31 = _T_29 & _T_30; // @[exu_div_ctl.scala 495:85]
|
||||
wire _T_32 = _T_31 & valid_ff; // @[exu_div_ctl.scala 495:95]
|
||||
wire _T_34 = _T_32 & _T; // @[exu_div_ctl.scala 495:106]
|
||||
wire _T_36 = a_ff == 32'h0; // @[exu_div_ctl.scala 496:18]
|
||||
wire _T_38 = _T_36 & _T_28; // @[exu_div_ctl.scala 496:27]
|
||||
wire _T_40 = _T_38 & _T_30; // @[exu_div_ctl.scala 496:43]
|
||||
wire _T_41 = _T_40 & valid_ff; // @[exu_div_ctl.scala 496:53]
|
||||
wire _T_43 = _T_41 & _T; // @[exu_div_ctl.scala 496:64]
|
||||
wire smallnum_case = _T_34 | _T_43; // @[exu_div_ctl.scala 495:120]
|
||||
reg [6:0] count_ff; // @[Reg.scala 27:20]
|
||||
wire _T_32 = |count_ff; // @[exu_div_ctl.scala 497:42]
|
||||
wire _T_44 = |count_ff; // @[exu_div_ctl.scala 497:42]
|
||||
reg shortq_enable_ff; // @[Reg.scala 27:20]
|
||||
wire running_state = _T_32 | shortq_enable_ff; // @[exu_div_ctl.scala 497:45]
|
||||
wire _T_33 = io_valid_in | valid_ff; // @[exu_div_ctl.scala 498:43]
|
||||
wire _T_34 = _T_33 | io_cancel; // @[exu_div_ctl.scala 498:54]
|
||||
wire _T_35 = _T_34 | running_state; // @[exu_div_ctl.scala 498:66]
|
||||
wire running_state = _T_44 | shortq_enable_ff; // @[exu_div_ctl.scala 497:45]
|
||||
wire _T_45 = io_valid_in | valid_ff; // @[exu_div_ctl.scala 498:43]
|
||||
wire _T_46 = _T_45 | io_cancel; // @[exu_div_ctl.scala 498:54]
|
||||
wire _T_47 = _T_46 | running_state; // @[exu_div_ctl.scala 498:66]
|
||||
reg finish_ff; // @[Reg.scala 27:20]
|
||||
wire misc_enable = _T_35 | finish_ff; // @[exu_div_ctl.scala 498:82]
|
||||
wire _T_37 = count_ff == 7'h20; // @[exu_div_ctl.scala 499:72]
|
||||
wire finish_raw = by_zero_case | _T_37; // @[exu_div_ctl.scala 499:60]
|
||||
wire misc_enable = _T_47 | finish_ff; // @[exu_div_ctl.scala 498:82]
|
||||
wire _T_48 = smallnum_case | by_zero_case; // @[exu_div_ctl.scala 499:45]
|
||||
wire _T_49 = count_ff == 7'h20; // @[exu_div_ctl.scala 499:72]
|
||||
wire finish_raw = _T_48 | _T_49; // @[exu_div_ctl.scala 499:60]
|
||||
wire finish = finish_raw & _T; // @[exu_div_ctl.scala 500:41]
|
||||
wire _T_39 = valid_ff | running_state; // @[exu_div_ctl.scala 501:40]
|
||||
wire _T_40 = ~finish; // @[exu_div_ctl.scala 501:59]
|
||||
wire _T_41 = _T_39 & _T_40; // @[exu_div_ctl.scala 501:57]
|
||||
wire _T_42 = ~finish_ff; // @[exu_div_ctl.scala 501:69]
|
||||
wire _T_43 = _T_41 & _T_42; // @[exu_div_ctl.scala 501:67]
|
||||
wire _T_45 = _T_43 & _T; // @[exu_div_ctl.scala 501:80]
|
||||
wire [6:0] _T_891 = {1'h0,1'h0,b_enc_io_cls}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_892 = {1'h0,1'h0,a_enc_io_cls}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_894 = _T_891 - _T_892; // @[exu_div_ctl.scala 592:41]
|
||||
wire [6:0] dw_shortq_raw = _T_894 + 7'h1; // @[exu_div_ctl.scala 592:61]
|
||||
wire _T_51 = valid_ff | running_state; // @[exu_div_ctl.scala 501:40]
|
||||
wire _T_52 = ~finish; // @[exu_div_ctl.scala 501:59]
|
||||
wire _T_53 = _T_51 & _T_52; // @[exu_div_ctl.scala 501:57]
|
||||
wire _T_54 = ~finish_ff; // @[exu_div_ctl.scala 501:69]
|
||||
wire _T_55 = _T_53 & _T_54; // @[exu_div_ctl.scala 501:67]
|
||||
wire _T_57 = _T_55 & _T; // @[exu_div_ctl.scala 501:80]
|
||||
wire [6:0] _T_905 = {1'h0,1'h0,b_enc_io_cls}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_906 = {1'h0,1'h0,a_enc_io_cls}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_908 = _T_905 - _T_906; // @[exu_div_ctl.scala 592:41]
|
||||
wire [6:0] dw_shortq_raw = _T_908 + 7'h1; // @[exu_div_ctl.scala 592:61]
|
||||
wire [5:0] shortq = dw_shortq_raw[6] ? 6'h0 : dw_shortq_raw[5:0]; // @[exu_div_ctl.scala 593:19]
|
||||
wire _T_900 = ~shortq[5]; // @[exu_div_ctl.scala 594:31]
|
||||
wire _T_901 = valid_ff & _T_900; // @[exu_div_ctl.scala 594:29]
|
||||
wire _T_903 = shortq[4:1] == 4'hf; // @[exu_div_ctl.scala 594:58]
|
||||
wire _T_904 = ~_T_903; // @[exu_div_ctl.scala 594:44]
|
||||
wire _T_905 = _T_901 & _T_904; // @[exu_div_ctl.scala 594:42]
|
||||
wire shortq_enable = _T_905 & _T; // @[exu_div_ctl.scala 594:74]
|
||||
wire _T_46 = ~shortq_enable; // @[exu_div_ctl.scala 501:95]
|
||||
wire count_enable = _T_45 & _T_46; // @[exu_div_ctl.scala 501:93]
|
||||
wire [6:0] _T_48 = count_enable ? 7'h7f : 7'h0; // @[Bitwise.scala 72:12]
|
||||
wire [6:0] _T_51 = count_ff + 7'h2; // @[exu_div_ctl.scala 502:63]
|
||||
reg [3:0] shortq_shift_ff; // @[Reg.scala 27:20]
|
||||
wire [6:0] _T_53 = {2'h0,shortq_shift_ff,1'h0}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_55 = _T_51 + _T_53; // @[exu_div_ctl.scala 502:83]
|
||||
wire [6:0] count_in = _T_48 & _T_55; // @[exu_div_ctl.scala 502:51]
|
||||
wire _T_914 = ~shortq[5]; // @[exu_div_ctl.scala 594:31]
|
||||
wire _T_915 = valid_ff & _T_914; // @[exu_div_ctl.scala 594:29]
|
||||
wire _T_917 = shortq[4:1] == 4'hf; // @[exu_div_ctl.scala 594:58]
|
||||
wire _T_918 = ~_T_917; // @[exu_div_ctl.scala 594:44]
|
||||
wire _T_919 = _T_915 & _T_918; // @[exu_div_ctl.scala 594:42]
|
||||
wire shortq_enable = _T_919 & _T; // @[exu_div_ctl.scala 594:74]
|
||||
wire _T_58 = ~shortq_enable; // @[exu_div_ctl.scala 501:95]
|
||||
wire count_enable = _T_57 & _T_58; // @[exu_div_ctl.scala 501:93]
|
||||
wire [6:0] _T_60 = count_enable ? 7'h7f : 7'h0; // @[Bitwise.scala 72:12]
|
||||
wire [6:0] _T_63 = count_ff + 7'h2; // @[exu_div_ctl.scala 502:63]
|
||||
reg [3:0] _T_935; // @[Reg.scala 27:20]
|
||||
wire [4:0] shortq_shift_ff = {_T_935,1'h0}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_66 = {2'h0,shortq_shift_ff[4:1],1'h0}; // @[Cat.scala 29:58]
|
||||
wire [6:0] _T_68 = _T_63 + _T_66; // @[exu_div_ctl.scala 502:83]
|
||||
wire [6:0] count_in = _T_60 & _T_68; // @[exu_div_ctl.scala 502:51]
|
||||
wire a_enable = io_valid_in | running_state; // @[exu_div_ctl.scala 503:43]
|
||||
wire _T_56 = ~shortq_enable_ff; // @[exu_div_ctl.scala 504:47]
|
||||
wire a_shift = running_state & _T_56; // @[exu_div_ctl.scala 504:45]
|
||||
wire [31:0] _T_58 = control_ff[2] ? 32'hffffffff : 32'h0; // @[Bitwise.scala 72:12]
|
||||
wire [63:0] _T_59 = {_T_58,a_ff}; // @[Cat.scala 29:58]
|
||||
wire [4:0] _T_60 = {shortq_shift_ff,1'h0}; // @[Cat.scala 29:58]
|
||||
wire [94:0] _GEN_11 = {{31'd0}, _T_59}; // @[exu_div_ctl.scala 505:68]
|
||||
wire [94:0] _T_61 = _GEN_11 << _T_60; // @[exu_div_ctl.scala 505:68]
|
||||
wire _T_62 = control_ff[2] ^ control_ff[1]; // @[exu_div_ctl.scala 506:61]
|
||||
wire _T_63 = ~_T_62; // @[exu_div_ctl.scala 506:42]
|
||||
wire b_twos_comp = valid_ff & _T_63; // @[exu_div_ctl.scala 506:40]
|
||||
wire _T_66 = ~valid_ff; // @[exu_div_ctl.scala 508:30]
|
||||
wire _T_68 = _T_66 & _T_27; // @[exu_div_ctl.scala 508:40]
|
||||
wire _T_70 = _T_68 & _T_62; // @[exu_div_ctl.scala 508:50]
|
||||
wire _T_69 = ~shortq_enable_ff; // @[exu_div_ctl.scala 504:47]
|
||||
wire a_shift = running_state & _T_69; // @[exu_div_ctl.scala 504:45]
|
||||
wire [31:0] _T_71 = control_ff[2] ? 32'hffffffff : 32'h0; // @[Bitwise.scala 72:12]
|
||||
wire [63:0] _T_72 = {_T_71,a_ff}; // @[Cat.scala 29:58]
|
||||
wire [4:0] _T_74 = {shortq_shift_ff[4:1],1'h0}; // @[Cat.scala 29:58]
|
||||
wire [94:0] _GEN_11 = {{31'd0}, _T_72}; // @[exu_div_ctl.scala 505:68]
|
||||
wire [94:0] _T_75 = _GEN_11 << _T_74; // @[exu_div_ctl.scala 505:68]
|
||||
wire _T_76 = control_ff[2] ^ control_ff[1]; // @[exu_div_ctl.scala 506:61]
|
||||
wire _T_77 = ~_T_76; // @[exu_div_ctl.scala 506:42]
|
||||
wire b_twos_comp = valid_ff & _T_77; // @[exu_div_ctl.scala 506:40]
|
||||
wire _T_80 = ~valid_ff; // @[exu_div_ctl.scala 508:30]
|
||||
wire _T_82 = _T_80 & _T_30; // @[exu_div_ctl.scala 508:40]
|
||||
wire _T_84 = _T_82 & _T_76; // @[exu_div_ctl.scala 508:50]
|
||||
reg by_zero_case_ff; // @[Reg.scala 27:20]
|
||||
wire _T_71 = ~by_zero_case_ff; // @[exu_div_ctl.scala 508:92]
|
||||
wire twos_comp_q_sel = _T_70 & _T_71; // @[exu_div_ctl.scala 508:90]
|
||||
wire _T_85 = ~by_zero_case_ff; // @[exu_div_ctl.scala 508:92]
|
||||
wire twos_comp_q_sel = _T_84 & _T_85; // @[exu_div_ctl.scala 508:90]
|
||||
wire b_enable = io_valid_in | b_twos_comp; // @[exu_div_ctl.scala 509:43]
|
||||
wire rq_enable = _T_33 | running_state; // @[exu_div_ctl.scala 510:54]
|
||||
wire _T_73 = valid_ff & control_ff[2]; // @[exu_div_ctl.scala 511:40]
|
||||
wire r_sign_sel = _T_73 & _T_25; // @[exu_div_ctl.scala 511:59]
|
||||
wire rq_enable = _T_45 | running_state; // @[exu_div_ctl.scala 510:54]
|
||||
wire _T_87 = valid_ff & control_ff[2]; // @[exu_div_ctl.scala 511:40]
|
||||
wire r_sign_sel = _T_87 & _T_28; // @[exu_div_ctl.scala 511:59]
|
||||
reg [31:0] r_ff; // @[Reg.scala 27:20]
|
||||
wire [34:0] _T_102 = {r_ff[31],r_ff,a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [34:0] _T_104 = {b_ff[33:0],1'h0}; // @[Cat.scala 29:58]
|
||||
wire [34:0] _T_106 = _T_102 + _T_104; // @[exu_div_ctl.scala 518:57]
|
||||
wire [34:0] adder3_out = _T_106 + b_ff; // @[exu_div_ctl.scala 518:79]
|
||||
wire _T_109 = ~adder3_out[34]; // @[exu_div_ctl.scala 519:24]
|
||||
wire _T_110 = _T_109 ^ control_ff[2]; // @[exu_div_ctl.scala 519:40]
|
||||
wire _T_112 = a_ff[29:0] == 30'h0; // @[exu_div_ctl.scala 519:75]
|
||||
wire _T_113 = adder3_out == 35'h0; // @[exu_div_ctl.scala 519:98]
|
||||
wire _T_114 = _T_112 & _T_113; // @[exu_div_ctl.scala 519:84]
|
||||
wire _T_115 = _T_110 | _T_114; // @[exu_div_ctl.scala 519:60]
|
||||
wire [33:0] _T_94 = {r_ff,a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [33:0] _T_96 = {b_ff[32:0],1'h0}; // @[Cat.scala 29:58]
|
||||
wire [33:0] adder2_out = _T_94 + _T_96; // @[exu_div_ctl.scala 517:48]
|
||||
wire _T_117 = ~adder2_out[33]; // @[exu_div_ctl.scala 520:6]
|
||||
wire _T_118 = _T_117 ^ control_ff[2]; // @[exu_div_ctl.scala 520:22]
|
||||
wire _T_121 = adder2_out == 34'h0; // @[exu_div_ctl.scala 520:80]
|
||||
wire _T_122 = _T_112 & _T_121; // @[exu_div_ctl.scala 520:66]
|
||||
wire _T_123 = _T_118 | _T_122; // @[exu_div_ctl.scala 520:42]
|
||||
wire [32:0] _T_89 = {r_ff[30:0],a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [32:0] adder1_out = _T_89 + b_ff[32:0]; // @[exu_div_ctl.scala 516:48]
|
||||
wire _T_125 = ~adder1_out[32]; // @[exu_div_ctl.scala 521:6]
|
||||
wire _T_126 = _T_125 ^ control_ff[2]; // @[exu_div_ctl.scala 521:22]
|
||||
wire _T_129 = adder1_out == 33'h0; // @[exu_div_ctl.scala 521:80]
|
||||
wire _T_130 = _T_112 & _T_129; // @[exu_div_ctl.scala 521:66]
|
||||
wire _T_131 = _T_126 | _T_130; // @[exu_div_ctl.scala 521:42]
|
||||
wire [3:0] quotient_raw = {_T_115,_T_123,_T_131,1'h0}; // @[Cat.scala 29:58]
|
||||
wire _T_137 = quotient_raw[3] | quotient_raw[2]; // @[exu_div_ctl.scala 522:41]
|
||||
wire _T_140 = ~quotient_raw[2]; // @[exu_div_ctl.scala 522:82]
|
||||
wire _T_142 = _T_140 & quotient_raw[1]; // @[exu_div_ctl.scala 522:99]
|
||||
wire _T_143 = quotient_raw[3] | _T_142; // @[exu_div_ctl.scala 522:80]
|
||||
wire [1:0] quotient_new = {_T_137,_T_143}; // @[Cat.scala 29:58]
|
||||
wire _T_75 = quotient_new == 2'h0; // @[exu_div_ctl.scala 512:61]
|
||||
wire _T_76 = running_state & _T_75; // @[exu_div_ctl.scala 512:45]
|
||||
wire r_restore_sel = _T_76 & _T_56; // @[exu_div_ctl.scala 512:70]
|
||||
wire _T_78 = quotient_new == 2'h1; // @[exu_div_ctl.scala 513:61]
|
||||
wire _T_79 = running_state & _T_78; // @[exu_div_ctl.scala 513:45]
|
||||
wire r_adder1_sel = _T_79 & _T_56; // @[exu_div_ctl.scala 513:70]
|
||||
wire _T_81 = quotient_new == 2'h2; // @[exu_div_ctl.scala 514:61]
|
||||
wire _T_82 = running_state & _T_81; // @[exu_div_ctl.scala 514:45]
|
||||
wire r_adder2_sel = _T_82 & _T_56; // @[exu_div_ctl.scala 514:70]
|
||||
wire _T_84 = quotient_new == 2'h3; // @[exu_div_ctl.scala 515:61]
|
||||
wire _T_85 = running_state & _T_84; // @[exu_div_ctl.scala 515:45]
|
||||
wire r_adder3_sel = _T_85 & _T_56; // @[exu_div_ctl.scala 515:70]
|
||||
wire [34:0] _T_116 = {r_ff[31],r_ff,a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [34:0] _T_118 = {b_ff[33:0],1'h0}; // @[Cat.scala 29:58]
|
||||
wire [34:0] _T_120 = _T_116 + _T_118; // @[exu_div_ctl.scala 518:57]
|
||||
wire [34:0] adder3_out = _T_120 + b_ff; // @[exu_div_ctl.scala 518:79]
|
||||
wire _T_123 = ~adder3_out[34]; // @[exu_div_ctl.scala 519:24]
|
||||
wire _T_124 = _T_123 ^ control_ff[2]; // @[exu_div_ctl.scala 519:40]
|
||||
wire _T_126 = a_ff[29:0] == 30'h0; // @[exu_div_ctl.scala 519:75]
|
||||
wire _T_127 = adder3_out == 35'h0; // @[exu_div_ctl.scala 519:98]
|
||||
wire _T_128 = _T_126 & _T_127; // @[exu_div_ctl.scala 519:84]
|
||||
wire _T_129 = _T_124 | _T_128; // @[exu_div_ctl.scala 519:60]
|
||||
wire [33:0] _T_108 = {r_ff,a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [33:0] _T_110 = {b_ff[32:0],1'h0}; // @[Cat.scala 29:58]
|
||||
wire [33:0] adder2_out = _T_108 + _T_110; // @[exu_div_ctl.scala 517:48]
|
||||
wire _T_131 = ~adder2_out[33]; // @[exu_div_ctl.scala 520:6]
|
||||
wire _T_132 = _T_131 ^ control_ff[2]; // @[exu_div_ctl.scala 520:22]
|
||||
wire _T_135 = adder2_out == 34'h0; // @[exu_div_ctl.scala 520:80]
|
||||
wire _T_136 = _T_126 & _T_135; // @[exu_div_ctl.scala 520:66]
|
||||
wire _T_137 = _T_132 | _T_136; // @[exu_div_ctl.scala 520:42]
|
||||
wire [32:0] _T_103 = {r_ff[30:0],a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [32:0] adder1_out = _T_103 + b_ff[32:0]; // @[exu_div_ctl.scala 516:48]
|
||||
wire _T_139 = ~adder1_out[32]; // @[exu_div_ctl.scala 521:6]
|
||||
wire _T_140 = _T_139 ^ control_ff[2]; // @[exu_div_ctl.scala 521:22]
|
||||
wire _T_143 = adder1_out == 33'h0; // @[exu_div_ctl.scala 521:80]
|
||||
wire _T_144 = _T_126 & _T_143; // @[exu_div_ctl.scala 521:66]
|
||||
wire _T_145 = _T_140 | _T_144; // @[exu_div_ctl.scala 521:42]
|
||||
wire [3:0] quotient_raw = {_T_129,_T_137,_T_145,1'h0}; // @[Cat.scala 29:58]
|
||||
wire _T_151 = quotient_raw[3] | quotient_raw[2]; // @[exu_div_ctl.scala 522:41]
|
||||
wire _T_154 = ~quotient_raw[2]; // @[exu_div_ctl.scala 522:82]
|
||||
wire _T_156 = _T_154 & quotient_raw[1]; // @[exu_div_ctl.scala 522:99]
|
||||
wire _T_157 = quotient_raw[3] | _T_156; // @[exu_div_ctl.scala 522:80]
|
||||
wire [1:0] quotient_new = {_T_151,_T_157}; // @[Cat.scala 29:58]
|
||||
wire _T_89 = quotient_new == 2'h0; // @[exu_div_ctl.scala 512:61]
|
||||
wire _T_90 = running_state & _T_89; // @[exu_div_ctl.scala 512:45]
|
||||
wire r_restore_sel = _T_90 & _T_69; // @[exu_div_ctl.scala 512:70]
|
||||
wire _T_92 = quotient_new == 2'h1; // @[exu_div_ctl.scala 513:61]
|
||||
wire _T_93 = running_state & _T_92; // @[exu_div_ctl.scala 513:45]
|
||||
wire r_adder1_sel = _T_93 & _T_69; // @[exu_div_ctl.scala 513:70]
|
||||
wire _T_95 = quotient_new == 2'h2; // @[exu_div_ctl.scala 514:61]
|
||||
wire _T_96 = running_state & _T_95; // @[exu_div_ctl.scala 514:45]
|
||||
wire r_adder2_sel = _T_96 & _T_69; // @[exu_div_ctl.scala 514:70]
|
||||
wire _T_98 = quotient_new == 2'h3; // @[exu_div_ctl.scala 515:61]
|
||||
wire _T_99 = running_state & _T_98; // @[exu_div_ctl.scala 515:45]
|
||||
wire r_adder3_sel = _T_99 & _T_69; // @[exu_div_ctl.scala 515:70]
|
||||
reg [31:0] q_ff; // @[Reg.scala 27:20]
|
||||
wire [31:0] _T_146 = twos_comp_q_sel ? q_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_147 = b_twos_comp ? b_ff[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] twos_comp_in = _T_146 | _T_147; // @[Mux.scala 27:72]
|
||||
wire _T_151 = |twos_comp_in[0]; // @[lib.scala 428:35]
|
||||
wire _T_153 = ~twos_comp_in[1]; // @[lib.scala 428:40]
|
||||
wire _T_155 = _T_151 ? _T_153 : twos_comp_in[1]; // @[lib.scala 428:23]
|
||||
wire _T_157 = |twos_comp_in[1:0]; // @[lib.scala 428:35]
|
||||
wire _T_159 = ~twos_comp_in[2]; // @[lib.scala 428:40]
|
||||
wire _T_161 = _T_157 ? _T_159 : twos_comp_in[2]; // @[lib.scala 428:23]
|
||||
wire _T_163 = |twos_comp_in[2:0]; // @[lib.scala 428:35]
|
||||
wire _T_165 = ~twos_comp_in[3]; // @[lib.scala 428:40]
|
||||
wire _T_167 = _T_163 ? _T_165 : twos_comp_in[3]; // @[lib.scala 428:23]
|
||||
wire _T_169 = |twos_comp_in[3:0]; // @[lib.scala 428:35]
|
||||
wire _T_171 = ~twos_comp_in[4]; // @[lib.scala 428:40]
|
||||
wire _T_173 = _T_169 ? _T_171 : twos_comp_in[4]; // @[lib.scala 428:23]
|
||||
wire _T_175 = |twos_comp_in[4:0]; // @[lib.scala 428:35]
|
||||
wire _T_177 = ~twos_comp_in[5]; // @[lib.scala 428:40]
|
||||
wire _T_179 = _T_175 ? _T_177 : twos_comp_in[5]; // @[lib.scala 428:23]
|
||||
wire _T_181 = |twos_comp_in[5:0]; // @[lib.scala 428:35]
|
||||
wire _T_183 = ~twos_comp_in[6]; // @[lib.scala 428:40]
|
||||
wire _T_185 = _T_181 ? _T_183 : twos_comp_in[6]; // @[lib.scala 428:23]
|
||||
wire _T_187 = |twos_comp_in[6:0]; // @[lib.scala 428:35]
|
||||
wire _T_189 = ~twos_comp_in[7]; // @[lib.scala 428:40]
|
||||
wire _T_191 = _T_187 ? _T_189 : twos_comp_in[7]; // @[lib.scala 428:23]
|
||||
wire _T_193 = |twos_comp_in[7:0]; // @[lib.scala 428:35]
|
||||
wire _T_195 = ~twos_comp_in[8]; // @[lib.scala 428:40]
|
||||
wire _T_197 = _T_193 ? _T_195 : twos_comp_in[8]; // @[lib.scala 428:23]
|
||||
wire _T_199 = |twos_comp_in[8:0]; // @[lib.scala 428:35]
|
||||
wire _T_201 = ~twos_comp_in[9]; // @[lib.scala 428:40]
|
||||
wire _T_203 = _T_199 ? _T_201 : twos_comp_in[9]; // @[lib.scala 428:23]
|
||||
wire _T_205 = |twos_comp_in[9:0]; // @[lib.scala 428:35]
|
||||
wire _T_207 = ~twos_comp_in[10]; // @[lib.scala 428:40]
|
||||
wire _T_209 = _T_205 ? _T_207 : twos_comp_in[10]; // @[lib.scala 428:23]
|
||||
wire _T_211 = |twos_comp_in[10:0]; // @[lib.scala 428:35]
|
||||
wire _T_213 = ~twos_comp_in[11]; // @[lib.scala 428:40]
|
||||
wire _T_215 = _T_211 ? _T_213 : twos_comp_in[11]; // @[lib.scala 428:23]
|
||||
wire _T_217 = |twos_comp_in[11:0]; // @[lib.scala 428:35]
|
||||
wire _T_219 = ~twos_comp_in[12]; // @[lib.scala 428:40]
|
||||
wire _T_221 = _T_217 ? _T_219 : twos_comp_in[12]; // @[lib.scala 428:23]
|
||||
wire _T_223 = |twos_comp_in[12:0]; // @[lib.scala 428:35]
|
||||
wire _T_225 = ~twos_comp_in[13]; // @[lib.scala 428:40]
|
||||
wire _T_227 = _T_223 ? _T_225 : twos_comp_in[13]; // @[lib.scala 428:23]
|
||||
wire _T_229 = |twos_comp_in[13:0]; // @[lib.scala 428:35]
|
||||
wire _T_231 = ~twos_comp_in[14]; // @[lib.scala 428:40]
|
||||
wire _T_233 = _T_229 ? _T_231 : twos_comp_in[14]; // @[lib.scala 428:23]
|
||||
wire _T_235 = |twos_comp_in[14:0]; // @[lib.scala 428:35]
|
||||
wire _T_237 = ~twos_comp_in[15]; // @[lib.scala 428:40]
|
||||
wire _T_239 = _T_235 ? _T_237 : twos_comp_in[15]; // @[lib.scala 428:23]
|
||||
wire _T_241 = |twos_comp_in[15:0]; // @[lib.scala 428:35]
|
||||
wire _T_243 = ~twos_comp_in[16]; // @[lib.scala 428:40]
|
||||
wire _T_245 = _T_241 ? _T_243 : twos_comp_in[16]; // @[lib.scala 428:23]
|
||||
wire _T_247 = |twos_comp_in[16:0]; // @[lib.scala 428:35]
|
||||
wire _T_249 = ~twos_comp_in[17]; // @[lib.scala 428:40]
|
||||
wire _T_251 = _T_247 ? _T_249 : twos_comp_in[17]; // @[lib.scala 428:23]
|
||||
wire _T_253 = |twos_comp_in[17:0]; // @[lib.scala 428:35]
|
||||
wire _T_255 = ~twos_comp_in[18]; // @[lib.scala 428:40]
|
||||
wire _T_257 = _T_253 ? _T_255 : twos_comp_in[18]; // @[lib.scala 428:23]
|
||||
wire _T_259 = |twos_comp_in[18:0]; // @[lib.scala 428:35]
|
||||
wire _T_261 = ~twos_comp_in[19]; // @[lib.scala 428:40]
|
||||
wire _T_263 = _T_259 ? _T_261 : twos_comp_in[19]; // @[lib.scala 428:23]
|
||||
wire _T_265 = |twos_comp_in[19:0]; // @[lib.scala 428:35]
|
||||
wire _T_267 = ~twos_comp_in[20]; // @[lib.scala 428:40]
|
||||
wire _T_269 = _T_265 ? _T_267 : twos_comp_in[20]; // @[lib.scala 428:23]
|
||||
wire _T_271 = |twos_comp_in[20:0]; // @[lib.scala 428:35]
|
||||
wire _T_273 = ~twos_comp_in[21]; // @[lib.scala 428:40]
|
||||
wire _T_275 = _T_271 ? _T_273 : twos_comp_in[21]; // @[lib.scala 428:23]
|
||||
wire _T_277 = |twos_comp_in[21:0]; // @[lib.scala 428:35]
|
||||
wire _T_279 = ~twos_comp_in[22]; // @[lib.scala 428:40]
|
||||
wire _T_281 = _T_277 ? _T_279 : twos_comp_in[22]; // @[lib.scala 428:23]
|
||||
wire _T_283 = |twos_comp_in[22:0]; // @[lib.scala 428:35]
|
||||
wire _T_285 = ~twos_comp_in[23]; // @[lib.scala 428:40]
|
||||
wire _T_287 = _T_283 ? _T_285 : twos_comp_in[23]; // @[lib.scala 428:23]
|
||||
wire _T_289 = |twos_comp_in[23:0]; // @[lib.scala 428:35]
|
||||
wire _T_291 = ~twos_comp_in[24]; // @[lib.scala 428:40]
|
||||
wire _T_293 = _T_289 ? _T_291 : twos_comp_in[24]; // @[lib.scala 428:23]
|
||||
wire _T_295 = |twos_comp_in[24:0]; // @[lib.scala 428:35]
|
||||
wire _T_297 = ~twos_comp_in[25]; // @[lib.scala 428:40]
|
||||
wire _T_299 = _T_295 ? _T_297 : twos_comp_in[25]; // @[lib.scala 428:23]
|
||||
wire _T_301 = |twos_comp_in[25:0]; // @[lib.scala 428:35]
|
||||
wire _T_303 = ~twos_comp_in[26]; // @[lib.scala 428:40]
|
||||
wire _T_305 = _T_301 ? _T_303 : twos_comp_in[26]; // @[lib.scala 428:23]
|
||||
wire _T_307 = |twos_comp_in[26:0]; // @[lib.scala 428:35]
|
||||
wire _T_309 = ~twos_comp_in[27]; // @[lib.scala 428:40]
|
||||
wire _T_311 = _T_307 ? _T_309 : twos_comp_in[27]; // @[lib.scala 428:23]
|
||||
wire _T_313 = |twos_comp_in[27:0]; // @[lib.scala 428:35]
|
||||
wire _T_315 = ~twos_comp_in[28]; // @[lib.scala 428:40]
|
||||
wire _T_317 = _T_313 ? _T_315 : twos_comp_in[28]; // @[lib.scala 428:23]
|
||||
wire _T_319 = |twos_comp_in[28:0]; // @[lib.scala 428:35]
|
||||
wire _T_321 = ~twos_comp_in[29]; // @[lib.scala 428:40]
|
||||
wire _T_323 = _T_319 ? _T_321 : twos_comp_in[29]; // @[lib.scala 428:23]
|
||||
wire _T_325 = |twos_comp_in[29:0]; // @[lib.scala 428:35]
|
||||
wire _T_327 = ~twos_comp_in[30]; // @[lib.scala 428:40]
|
||||
wire _T_329 = _T_325 ? _T_327 : twos_comp_in[30]; // @[lib.scala 428:23]
|
||||
wire _T_331 = |twos_comp_in[30:0]; // @[lib.scala 428:35]
|
||||
wire _T_333 = ~twos_comp_in[31]; // @[lib.scala 428:40]
|
||||
wire _T_335 = _T_331 ? _T_333 : twos_comp_in[31]; // @[lib.scala 428:23]
|
||||
wire [6:0] _T_341 = {_T_191,_T_185,_T_179,_T_173,_T_167,_T_161,_T_155}; // @[lib.scala 430:14]
|
||||
wire [14:0] _T_349 = {_T_239,_T_233,_T_227,_T_221,_T_215,_T_209,_T_203,_T_197,_T_341}; // @[lib.scala 430:14]
|
||||
wire [7:0] _T_356 = {_T_287,_T_281,_T_275,_T_269,_T_263,_T_257,_T_251,_T_245}; // @[lib.scala 430:14]
|
||||
wire [30:0] _T_365 = {_T_335,_T_329,_T_323,_T_317,_T_311,_T_305,_T_299,_T_293,_T_356,_T_349}; // @[lib.scala 430:14]
|
||||
wire [31:0] twos_comp_out = {_T_365,twos_comp_in[0]}; // @[Cat.scala 29:58]
|
||||
wire _T_367 = ~a_shift; // @[exu_div_ctl.scala 530:6]
|
||||
wire _T_369 = _T_367 & _T_56; // @[exu_div_ctl.scala 530:15]
|
||||
wire [31:0] _T_372 = {a_ff[29:0],2'h0}; // @[Cat.scala 29:58]
|
||||
wire [63:0] ar_shifted = _T_61[63:0]; // @[exu_div_ctl.scala 505:28]
|
||||
wire [31:0] _T_374 = _T_369 ? io_dividend_in : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_375 = a_shift ? _T_372 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_376 = shortq_enable_ff ? ar_shifted[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_377 = _T_374 | _T_375; // @[Mux.scala 27:72]
|
||||
wire [31:0] a_in = _T_377 | _T_376; // @[Mux.scala 27:72]
|
||||
wire _T_379 = ~b_twos_comp; // @[exu_div_ctl.scala 536:5]
|
||||
wire _T_381 = io_signed_in & io_divisor_in[31]; // @[exu_div_ctl.scala 536:63]
|
||||
wire [32:0] _T_383 = {_T_381,io_divisor_in}; // @[Cat.scala 29:58]
|
||||
wire _T_384 = ~control_ff[1]; // @[exu_div_ctl.scala 537:49]
|
||||
wire [32:0] _T_386 = {_T_384,_T_365,twos_comp_in[0]}; // @[Cat.scala 29:58]
|
||||
wire [32:0] _T_387 = _T_379 ? _T_383 : 33'h0; // @[Mux.scala 27:72]
|
||||
wire [32:0] _T_388 = b_twos_comp ? _T_386 : 33'h0; // @[Mux.scala 27:72]
|
||||
wire [32:0] b_in = _T_387 | _T_388; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_392 = {r_ff[29:0],a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [31:0] _T_397 = r_sign_sel ? 32'hffffffff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_398 = r_restore_sel ? _T_392 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_399 = r_adder1_sel ? adder1_out[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_400 = r_adder2_sel ? adder2_out[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_401 = r_adder3_sel ? adder3_out[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_402 = shortq_enable_ff ? ar_shifted[63:32] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_403 = by_zero_case ? a_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_404 = _T_397 | _T_398; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_405 = _T_404 | _T_399; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_406 = _T_405 | _T_400; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_407 = _T_406 | _T_401; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_408 = _T_407 | _T_402; // @[Mux.scala 27:72]
|
||||
wire [31:0] r_in = _T_408 | _T_403; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_412 = {q_ff[29:0],_T_137,_T_143}; // @[Cat.scala 29:58]
|
||||
wire [31:0] _T_415 = _T_66 ? _T_412 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_417 = by_zero_case ? 32'hffffffff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] q_in = _T_415 | _T_417; // @[Mux.scala 27:72]
|
||||
wire _T_423 = ~twos_comp_q_sel; // @[exu_div_ctl.scala 555:16]
|
||||
wire _T_424 = _T_27 & _T_423; // @[exu_div_ctl.scala 555:14]
|
||||
wire [31:0] _T_426 = _T_424 ? q_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_427 = control_ff[0] ? r_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_428 = twos_comp_q_sel ? twos_comp_out : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_429 = _T_426 | _T_427; // @[Mux.scala 27:72]
|
||||
wire [4:0] _T_911 = 5'h1f - shortq[4:0]; // @[exu_div_ctl.scala 595:57]
|
||||
wire [4:0] shortq_shift = _T_46 ? 5'h0 : _T_911; // @[exu_div_ctl.scala 595:25]
|
||||
wire [31:0] _T_160 = twos_comp_q_sel ? q_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_161 = b_twos_comp ? b_ff[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] twos_comp_in = _T_160 | _T_161; // @[Mux.scala 27:72]
|
||||
wire _T_165 = |twos_comp_in[0]; // @[lib.scala 428:35]
|
||||
wire _T_167 = ~twos_comp_in[1]; // @[lib.scala 428:40]
|
||||
wire _T_169 = _T_165 ? _T_167 : twos_comp_in[1]; // @[lib.scala 428:23]
|
||||
wire _T_171 = |twos_comp_in[1:0]; // @[lib.scala 428:35]
|
||||
wire _T_173 = ~twos_comp_in[2]; // @[lib.scala 428:40]
|
||||
wire _T_175 = _T_171 ? _T_173 : twos_comp_in[2]; // @[lib.scala 428:23]
|
||||
wire _T_177 = |twos_comp_in[2:0]; // @[lib.scala 428:35]
|
||||
wire _T_179 = ~twos_comp_in[3]; // @[lib.scala 428:40]
|
||||
wire _T_181 = _T_177 ? _T_179 : twos_comp_in[3]; // @[lib.scala 428:23]
|
||||
wire _T_183 = |twos_comp_in[3:0]; // @[lib.scala 428:35]
|
||||
wire _T_185 = ~twos_comp_in[4]; // @[lib.scala 428:40]
|
||||
wire _T_187 = _T_183 ? _T_185 : twos_comp_in[4]; // @[lib.scala 428:23]
|
||||
wire _T_189 = |twos_comp_in[4:0]; // @[lib.scala 428:35]
|
||||
wire _T_191 = ~twos_comp_in[5]; // @[lib.scala 428:40]
|
||||
wire _T_193 = _T_189 ? _T_191 : twos_comp_in[5]; // @[lib.scala 428:23]
|
||||
wire _T_195 = |twos_comp_in[5:0]; // @[lib.scala 428:35]
|
||||
wire _T_197 = ~twos_comp_in[6]; // @[lib.scala 428:40]
|
||||
wire _T_199 = _T_195 ? _T_197 : twos_comp_in[6]; // @[lib.scala 428:23]
|
||||
wire _T_201 = |twos_comp_in[6:0]; // @[lib.scala 428:35]
|
||||
wire _T_203 = ~twos_comp_in[7]; // @[lib.scala 428:40]
|
||||
wire _T_205 = _T_201 ? _T_203 : twos_comp_in[7]; // @[lib.scala 428:23]
|
||||
wire _T_207 = |twos_comp_in[7:0]; // @[lib.scala 428:35]
|
||||
wire _T_209 = ~twos_comp_in[8]; // @[lib.scala 428:40]
|
||||
wire _T_211 = _T_207 ? _T_209 : twos_comp_in[8]; // @[lib.scala 428:23]
|
||||
wire _T_213 = |twos_comp_in[8:0]; // @[lib.scala 428:35]
|
||||
wire _T_215 = ~twos_comp_in[9]; // @[lib.scala 428:40]
|
||||
wire _T_217 = _T_213 ? _T_215 : twos_comp_in[9]; // @[lib.scala 428:23]
|
||||
wire _T_219 = |twos_comp_in[9:0]; // @[lib.scala 428:35]
|
||||
wire _T_221 = ~twos_comp_in[10]; // @[lib.scala 428:40]
|
||||
wire _T_223 = _T_219 ? _T_221 : twos_comp_in[10]; // @[lib.scala 428:23]
|
||||
wire _T_225 = |twos_comp_in[10:0]; // @[lib.scala 428:35]
|
||||
wire _T_227 = ~twos_comp_in[11]; // @[lib.scala 428:40]
|
||||
wire _T_229 = _T_225 ? _T_227 : twos_comp_in[11]; // @[lib.scala 428:23]
|
||||
wire _T_231 = |twos_comp_in[11:0]; // @[lib.scala 428:35]
|
||||
wire _T_233 = ~twos_comp_in[12]; // @[lib.scala 428:40]
|
||||
wire _T_235 = _T_231 ? _T_233 : twos_comp_in[12]; // @[lib.scala 428:23]
|
||||
wire _T_237 = |twos_comp_in[12:0]; // @[lib.scala 428:35]
|
||||
wire _T_239 = ~twos_comp_in[13]; // @[lib.scala 428:40]
|
||||
wire _T_241 = _T_237 ? _T_239 : twos_comp_in[13]; // @[lib.scala 428:23]
|
||||
wire _T_243 = |twos_comp_in[13:0]; // @[lib.scala 428:35]
|
||||
wire _T_245 = ~twos_comp_in[14]; // @[lib.scala 428:40]
|
||||
wire _T_247 = _T_243 ? _T_245 : twos_comp_in[14]; // @[lib.scala 428:23]
|
||||
wire _T_249 = |twos_comp_in[14:0]; // @[lib.scala 428:35]
|
||||
wire _T_251 = ~twos_comp_in[15]; // @[lib.scala 428:40]
|
||||
wire _T_253 = _T_249 ? _T_251 : twos_comp_in[15]; // @[lib.scala 428:23]
|
||||
wire _T_255 = |twos_comp_in[15:0]; // @[lib.scala 428:35]
|
||||
wire _T_257 = ~twos_comp_in[16]; // @[lib.scala 428:40]
|
||||
wire _T_259 = _T_255 ? _T_257 : twos_comp_in[16]; // @[lib.scala 428:23]
|
||||
wire _T_261 = |twos_comp_in[16:0]; // @[lib.scala 428:35]
|
||||
wire _T_263 = ~twos_comp_in[17]; // @[lib.scala 428:40]
|
||||
wire _T_265 = _T_261 ? _T_263 : twos_comp_in[17]; // @[lib.scala 428:23]
|
||||
wire _T_267 = |twos_comp_in[17:0]; // @[lib.scala 428:35]
|
||||
wire _T_269 = ~twos_comp_in[18]; // @[lib.scala 428:40]
|
||||
wire _T_271 = _T_267 ? _T_269 : twos_comp_in[18]; // @[lib.scala 428:23]
|
||||
wire _T_273 = |twos_comp_in[18:0]; // @[lib.scala 428:35]
|
||||
wire _T_275 = ~twos_comp_in[19]; // @[lib.scala 428:40]
|
||||
wire _T_277 = _T_273 ? _T_275 : twos_comp_in[19]; // @[lib.scala 428:23]
|
||||
wire _T_279 = |twos_comp_in[19:0]; // @[lib.scala 428:35]
|
||||
wire _T_281 = ~twos_comp_in[20]; // @[lib.scala 428:40]
|
||||
wire _T_283 = _T_279 ? _T_281 : twos_comp_in[20]; // @[lib.scala 428:23]
|
||||
wire _T_285 = |twos_comp_in[20:0]; // @[lib.scala 428:35]
|
||||
wire _T_287 = ~twos_comp_in[21]; // @[lib.scala 428:40]
|
||||
wire _T_289 = _T_285 ? _T_287 : twos_comp_in[21]; // @[lib.scala 428:23]
|
||||
wire _T_291 = |twos_comp_in[21:0]; // @[lib.scala 428:35]
|
||||
wire _T_293 = ~twos_comp_in[22]; // @[lib.scala 428:40]
|
||||
wire _T_295 = _T_291 ? _T_293 : twos_comp_in[22]; // @[lib.scala 428:23]
|
||||
wire _T_297 = |twos_comp_in[22:0]; // @[lib.scala 428:35]
|
||||
wire _T_299 = ~twos_comp_in[23]; // @[lib.scala 428:40]
|
||||
wire _T_301 = _T_297 ? _T_299 : twos_comp_in[23]; // @[lib.scala 428:23]
|
||||
wire _T_303 = |twos_comp_in[23:0]; // @[lib.scala 428:35]
|
||||
wire _T_305 = ~twos_comp_in[24]; // @[lib.scala 428:40]
|
||||
wire _T_307 = _T_303 ? _T_305 : twos_comp_in[24]; // @[lib.scala 428:23]
|
||||
wire _T_309 = |twos_comp_in[24:0]; // @[lib.scala 428:35]
|
||||
wire _T_311 = ~twos_comp_in[25]; // @[lib.scala 428:40]
|
||||
wire _T_313 = _T_309 ? _T_311 : twos_comp_in[25]; // @[lib.scala 428:23]
|
||||
wire _T_315 = |twos_comp_in[25:0]; // @[lib.scala 428:35]
|
||||
wire _T_317 = ~twos_comp_in[26]; // @[lib.scala 428:40]
|
||||
wire _T_319 = _T_315 ? _T_317 : twos_comp_in[26]; // @[lib.scala 428:23]
|
||||
wire _T_321 = |twos_comp_in[26:0]; // @[lib.scala 428:35]
|
||||
wire _T_323 = ~twos_comp_in[27]; // @[lib.scala 428:40]
|
||||
wire _T_325 = _T_321 ? _T_323 : twos_comp_in[27]; // @[lib.scala 428:23]
|
||||
wire _T_327 = |twos_comp_in[27:0]; // @[lib.scala 428:35]
|
||||
wire _T_329 = ~twos_comp_in[28]; // @[lib.scala 428:40]
|
||||
wire _T_331 = _T_327 ? _T_329 : twos_comp_in[28]; // @[lib.scala 428:23]
|
||||
wire _T_333 = |twos_comp_in[28:0]; // @[lib.scala 428:35]
|
||||
wire _T_335 = ~twos_comp_in[29]; // @[lib.scala 428:40]
|
||||
wire _T_337 = _T_333 ? _T_335 : twos_comp_in[29]; // @[lib.scala 428:23]
|
||||
wire _T_339 = |twos_comp_in[29:0]; // @[lib.scala 428:35]
|
||||
wire _T_341 = ~twos_comp_in[30]; // @[lib.scala 428:40]
|
||||
wire _T_343 = _T_339 ? _T_341 : twos_comp_in[30]; // @[lib.scala 428:23]
|
||||
wire _T_345 = |twos_comp_in[30:0]; // @[lib.scala 428:35]
|
||||
wire _T_347 = ~twos_comp_in[31]; // @[lib.scala 428:40]
|
||||
wire _T_349 = _T_345 ? _T_347 : twos_comp_in[31]; // @[lib.scala 428:23]
|
||||
wire [6:0] _T_355 = {_T_205,_T_199,_T_193,_T_187,_T_181,_T_175,_T_169}; // @[lib.scala 430:14]
|
||||
wire [14:0] _T_363 = {_T_253,_T_247,_T_241,_T_235,_T_229,_T_223,_T_217,_T_211,_T_355}; // @[lib.scala 430:14]
|
||||
wire [7:0] _T_370 = {_T_301,_T_295,_T_289,_T_283,_T_277,_T_271,_T_265,_T_259}; // @[lib.scala 430:14]
|
||||
wire [30:0] _T_379 = {_T_349,_T_343,_T_337,_T_331,_T_325,_T_319,_T_313,_T_307,_T_370,_T_363}; // @[lib.scala 430:14]
|
||||
wire [31:0] twos_comp_out = {_T_379,twos_comp_in[0]}; // @[Cat.scala 29:58]
|
||||
wire _T_381 = ~a_shift; // @[exu_div_ctl.scala 530:6]
|
||||
wire _T_383 = _T_381 & _T_69; // @[exu_div_ctl.scala 530:15]
|
||||
wire [31:0] _T_386 = {a_ff[29:0],2'h0}; // @[Cat.scala 29:58]
|
||||
wire [63:0] ar_shifted = _T_75[63:0]; // @[exu_div_ctl.scala 505:28]
|
||||
wire [31:0] _T_388 = _T_383 ? io_dividend_in : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_389 = a_shift ? _T_386 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_390 = shortq_enable_ff ? ar_shifted[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_391 = _T_388 | _T_389; // @[Mux.scala 27:72]
|
||||
wire [31:0] a_in = _T_391 | _T_390; // @[Mux.scala 27:72]
|
||||
wire _T_393 = ~b_twos_comp; // @[exu_div_ctl.scala 536:5]
|
||||
wire _T_395 = io_signed_in & io_divisor_in[31]; // @[exu_div_ctl.scala 536:63]
|
||||
wire [32:0] _T_397 = {_T_395,io_divisor_in}; // @[Cat.scala 29:58]
|
||||
wire _T_398 = ~control_ff[1]; // @[exu_div_ctl.scala 537:49]
|
||||
wire [32:0] _T_400 = {_T_398,_T_379,twos_comp_in[0]}; // @[Cat.scala 29:58]
|
||||
wire [32:0] _T_401 = _T_393 ? _T_397 : 33'h0; // @[Mux.scala 27:72]
|
||||
wire [32:0] _T_402 = b_twos_comp ? _T_400 : 33'h0; // @[Mux.scala 27:72]
|
||||
wire [32:0] b_in = _T_401 | _T_402; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_406 = {r_ff[29:0],a_ff[31:30]}; // @[Cat.scala 29:58]
|
||||
wire [31:0] _T_411 = r_sign_sel ? 32'hffffffff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_412 = r_restore_sel ? _T_406 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_413 = r_adder1_sel ? adder1_out[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_414 = r_adder2_sel ? adder2_out[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_415 = r_adder3_sel ? adder3_out[31:0] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_416 = shortq_enable_ff ? ar_shifted[63:32] : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_417 = by_zero_case ? a_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_418 = _T_411 | _T_412; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_419 = _T_418 | _T_413; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_420 = _T_419 | _T_414; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_421 = _T_420 | _T_415; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_422 = _T_421 | _T_416; // @[Mux.scala 27:72]
|
||||
wire [31:0] r_in = _T_422 | _T_417; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_426 = {q_ff[29:0],_T_151,_T_157}; // @[Cat.scala 29:58]
|
||||
wire _T_448 = ~b_ff[3]; // @[exu_div_ctl.scala 561:70]
|
||||
wire _T_450 = ~b_ff[2]; // @[exu_div_ctl.scala 561:70]
|
||||
wire _T_453 = _T_448 & _T_450; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_452 = ~b_ff[1]; // @[exu_div_ctl.scala 561:70]
|
||||
wire _T_454 = _T_453 & _T_452; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_455 = a_ff[3] & _T_454; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_462 = a_ff[3] & _T_453; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_464 = ~b_ff[0]; // @[exu_div_ctl.scala 567:33]
|
||||
wire _T_465 = _T_462 & _T_464; // @[exu_div_ctl.scala 567:31]
|
||||
wire _T_475 = a_ff[2] & _T_454; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_476 = _T_465 | _T_475; // @[exu_div_ctl.scala 567:42]
|
||||
wire _T_479 = a_ff[3] & a_ff[2]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_485 = _T_479 & _T_453; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_486 = _T_476 | _T_485; // @[exu_div_ctl.scala 567:75]
|
||||
wire _T_493 = a_ff[2] & _T_453; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_496 = _T_493 & _T_464; // @[exu_div_ctl.scala 569:31]
|
||||
wire _T_506 = a_ff[1] & _T_454; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_507 = _T_496 | _T_506; // @[exu_div_ctl.scala 569:42]
|
||||
wire _T_513 = _T_448 & _T_452; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_514 = a_ff[3] & _T_513; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_517 = _T_514 & _T_464; // @[exu_div_ctl.scala 569:106]
|
||||
wire _T_518 = _T_507 | _T_517; // @[exu_div_ctl.scala 569:78]
|
||||
wire _T_521 = ~a_ff[2]; // @[exu_div_ctl.scala 560:70]
|
||||
wire _T_522 = a_ff[3] & _T_521; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_530 = _T_453 & b_ff[1]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_531 = _T_530 & b_ff[0]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_532 = _T_522 & _T_531; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_533 = _T_518 | _T_532; // @[exu_div_ctl.scala 569:117]
|
||||
wire _T_535 = ~a_ff[3]; // @[exu_div_ctl.scala 560:70]
|
||||
wire _T_538 = _T_535 & a_ff[2]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_539 = _T_538 & a_ff[1]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_545 = _T_539 & _T_453; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_546 = _T_533 | _T_545; // @[exu_div_ctl.scala 570:44]
|
||||
wire _T_552 = _T_479 & _T_448; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_555 = _T_552 & _T_464; // @[exu_div_ctl.scala 570:107]
|
||||
wire _T_556 = _T_546 | _T_555; // @[exu_div_ctl.scala 570:80]
|
||||
wire _T_565 = _T_448 & b_ff[2]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_566 = _T_565 & _T_452; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_567 = _T_479 & _T_566; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_568 = _T_556 | _T_567; // @[exu_div_ctl.scala 570:119]
|
||||
wire _T_571 = a_ff[3] & a_ff[1]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_577 = _T_571 & _T_513; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_578 = _T_568 | _T_577; // @[exu_div_ctl.scala 571:44]
|
||||
wire _T_583 = _T_479 & a_ff[1]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_588 = _T_583 & _T_565; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_589 = _T_578 | _T_588; // @[exu_div_ctl.scala 571:79]
|
||||
wire _T_593 = a_ff[2] & a_ff[1]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_594 = _T_593 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_600 = _T_594 & _T_513; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_606 = _T_522 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_611 = _T_448 & b_ff[1]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_612 = _T_611 & b_ff[0]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_613 = _T_606 & _T_612; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_614 = _T_600 | _T_613; // @[exu_div_ctl.scala 573:45]
|
||||
wire _T_621 = a_ff[2] & _T_513; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_624 = _T_621 & _T_464; // @[exu_div_ctl.scala 573:114]
|
||||
wire _T_625 = _T_614 | _T_624; // @[exu_div_ctl.scala 573:86]
|
||||
wire _T_632 = a_ff[1] & _T_453; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_635 = _T_632 & _T_464; // @[exu_div_ctl.scala 574:33]
|
||||
wire _T_636 = _T_625 | _T_635; // @[exu_div_ctl.scala 573:129]
|
||||
wire _T_646 = a_ff[0] & _T_454; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_647 = _T_636 | _T_646; // @[exu_div_ctl.scala 574:47]
|
||||
wire _T_652 = ~a_ff[1]; // @[exu_div_ctl.scala 560:70]
|
||||
wire _T_654 = _T_538 & _T_652; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_664 = _T_654 & _T_531; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_665 = _T_647 | _T_664; // @[exu_div_ctl.scala 574:88]
|
||||
wire _T_674 = _T_539 & _T_448; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_677 = _T_674 & _T_464; // @[exu_div_ctl.scala 575:36]
|
||||
wire _T_678 = _T_665 | _T_677; // @[exu_div_ctl.scala 574:131]
|
||||
wire _T_684 = _T_450 & _T_452; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_685 = a_ff[3] & _T_684; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_688 = _T_685 & _T_464; // @[exu_div_ctl.scala 575:76]
|
||||
wire _T_689 = _T_678 | _T_688; // @[exu_div_ctl.scala 575:47]
|
||||
wire _T_699 = _T_565 & b_ff[1]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_700 = _T_522 & _T_699; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_701 = _T_689 | _T_700; // @[exu_div_ctl.scala 575:88]
|
||||
wire _T_715 = _T_539 & _T_566; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_716 = _T_701 | _T_715; // @[exu_div_ctl.scala 575:131]
|
||||
wire _T_722 = _T_538 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_728 = _T_722 & _T_513; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_729 = _T_716 | _T_728; // @[exu_div_ctl.scala 576:47]
|
||||
wire _T_736 = _T_522 & _T_652; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_742 = _T_565 & b_ff[0]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_743 = _T_736 & _T_742; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_744 = _T_729 | _T_743; // @[exu_div_ctl.scala 576:88]
|
||||
wire _T_749 = _T_521 & a_ff[1]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_750 = _T_749 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_756 = _T_750 & _T_453; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_757 = _T_744 | _T_756; // @[exu_div_ctl.scala 576:131]
|
||||
wire _T_763 = _T_479 & _T_452; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_766 = _T_763 & _T_464; // @[exu_div_ctl.scala 577:75]
|
||||
wire _T_767 = _T_757 | _T_766; // @[exu_div_ctl.scala 577:47]
|
||||
wire _T_775 = _T_539 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_780 = _T_775 & _T_565; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_781 = _T_767 | _T_780; // @[exu_div_ctl.scala 577:88]
|
||||
wire _T_788 = b_ff[3] & _T_450; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_789 = _T_479 & _T_788; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_790 = _T_781 | _T_789; // @[exu_div_ctl.scala 577:131]
|
||||
wire _T_800 = _T_788 & _T_452; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_801 = _T_571 & _T_800; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_802 = _T_790 | _T_801; // @[exu_div_ctl.scala 578:47]
|
||||
wire _T_805 = a_ff[3] & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_811 = _T_805 & _T_684; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_812 = _T_802 | _T_811; // @[exu_div_ctl.scala 578:88]
|
||||
wire _T_816 = a_ff[3] & _T_652; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_824 = _T_699 & b_ff[0]; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_825 = _T_816 & _T_824; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_826 = _T_812 | _T_825; // @[exu_div_ctl.scala 578:131]
|
||||
wire _T_833 = _T_583 & b_ff[3]; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_836 = _T_833 & _T_464; // @[exu_div_ctl.scala 579:77]
|
||||
wire _T_837 = _T_826 | _T_836; // @[exu_div_ctl.scala 579:47]
|
||||
wire _T_846 = b_ff[3] & _T_452; // @[exu_div_ctl.scala 561:95]
|
||||
wire _T_847 = _T_583 & _T_846; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_848 = _T_837 | _T_847; // @[exu_div_ctl.scala 579:88]
|
||||
wire _T_853 = _T_479 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_858 = _T_853 & _T_846; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_859 = _T_848 | _T_858; // @[exu_div_ctl.scala 579:131]
|
||||
wire _T_865 = _T_522 & a_ff[1]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_870 = _T_865 & _T_611; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_871 = _T_859 | _T_870; // @[exu_div_ctl.scala 580:47]
|
||||
wire _T_876 = _T_571 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_879 = _T_876 & _T_450; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_880 = _T_871 | _T_879; // @[exu_div_ctl.scala 580:88]
|
||||
wire _T_887 = _T_583 & a_ff[0]; // @[exu_div_ctl.scala 560:95]
|
||||
wire _T_889 = _T_887 & b_ff[3]; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_890 = _T_880 | _T_889; // @[exu_div_ctl.scala 580:131]
|
||||
wire _T_896 = _T_571 & _T_450; // @[exu_div_ctl.scala 562:11]
|
||||
wire _T_899 = _T_896 & _T_464; // @[exu_div_ctl.scala 581:74]
|
||||
wire _T_900 = _T_890 | _T_899; // @[exu_div_ctl.scala 581:47]
|
||||
wire [31:0] _T_427 = {28'h0,_T_455,_T_486,_T_589,_T_900}; // @[Cat.scala 29:58]
|
||||
wire [31:0] _T_429 = _T_80 ? _T_426 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_430 = smallnum_case ? _T_427 : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_431 = by_zero_case ? 32'hffffffff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_432 = _T_429 | _T_430; // @[Mux.scala 27:72]
|
||||
wire [31:0] q_in = _T_432 | _T_431; // @[Mux.scala 27:72]
|
||||
wire _T_437 = ~twos_comp_q_sel; // @[exu_div_ctl.scala 555:16]
|
||||
wire _T_438 = _T_30 & _T_437; // @[exu_div_ctl.scala 555:14]
|
||||
wire [31:0] _T_440 = _T_438 ? q_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_441 = control_ff[0] ? r_ff : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_442 = twos_comp_q_sel ? twos_comp_out : 32'h0; // @[Mux.scala 27:72]
|
||||
wire [31:0] _T_443 = _T_440 | _T_441; // @[Mux.scala 27:72]
|
||||
wire [4:0] _T_925 = 5'h1f - shortq[4:0]; // @[exu_div_ctl.scala 595:57]
|
||||
wire [4:0] shortq_shift = _T_58 ? 5'h0 : _T_925; // @[exu_div_ctl.scala 595:25]
|
||||
exu_div_cls a_enc ( // @[exu_div_ctl.scala 584:21]
|
||||
.io_operand(a_enc_io_operand),
|
||||
.io_cls(a_enc_io_cls)
|
||||
|
@ -585,32 +732,32 @@ module exu_div_new_2bit_fullshortq(
|
|||
.io_clk(rvclkhdr_10_io_clk),
|
||||
.io_en(rvclkhdr_10_io_en)
|
||||
);
|
||||
assign io_data_out = _T_429 | _T_428; // @[exu_div_ctl.scala 554:15]
|
||||
assign io_data_out = _T_443 | _T_442; // @[exu_div_ctl.scala 554:15]
|
||||
assign io_valid_out = finish_ff & _T; // @[exu_div_ctl.scala 553:16]
|
||||
assign a_enc_io_operand = {control_ff[2],a_ff}; // @[exu_div_ctl.scala 585:20]
|
||||
assign b_enc_io_operand = b_ff[32:0]; // @[exu_div_ctl.scala 588:20]
|
||||
assign rvclkhdr_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_1_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_1_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_1_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_2_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_2_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_2_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_3_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_3_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_3_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_4_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_4_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_4_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_5_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_5_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_5_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_6_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_6_io_en = _T_35 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_6_io_en = _T_47 | finish_ff; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_7_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_7_io_en = io_valid_in | running_state; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_8_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_8_io_en = io_valid_in | b_twos_comp; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_9_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_9_io_en = _T_33 | running_state; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_9_io_en = _T_45 | running_state; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_10_io_clk = clock; // @[lib.scala 392:18]
|
||||
assign rvclkhdr_10_io_en = _T_33 | running_state; // @[lib.scala 393:17]
|
||||
assign rvclkhdr_10_io_en = _T_45 | running_state; // @[lib.scala 393:17]
|
||||
`ifdef RANDOMIZE_GARBAGE_ASSIGN
|
||||
`define RANDOMIZE
|
||||
`endif
|
||||
|
@ -661,7 +808,7 @@ initial begin
|
|||
_RAND_6 = {1{`RANDOM}};
|
||||
finish_ff = _RAND_6[0:0];
|
||||
_RAND_7 = {1{`RANDOM}};
|
||||
shortq_shift_ff = _RAND_7[3:0];
|
||||
_T_935 = _RAND_7[3:0];
|
||||
_RAND_8 = {1{`RANDOM}};
|
||||
by_zero_case_ff = _RAND_8[0:0];
|
||||
_RAND_9 = {1{`RANDOM}};
|
||||
|
@ -691,7 +838,7 @@ initial begin
|
|||
finish_ff = 1'h0;
|
||||
end
|
||||
if (reset) begin
|
||||
shortq_shift_ff = 4'h0;
|
||||
_T_935 = 4'h0;
|
||||
end
|
||||
if (reset) begin
|
||||
by_zero_case_ff = 1'h0;
|
||||
|
@ -759,9 +906,9 @@ end // initial
|
|||
end
|
||||
always @(posedge clock or posedge reset) begin
|
||||
if (reset) begin
|
||||
shortq_shift_ff <= 4'h0;
|
||||
_T_935 <= 4'h0;
|
||||
end else if (misc_enable) begin
|
||||
shortq_shift_ff <= shortq_shift[4:1];
|
||||
_T_935 <= shortq_shift[4:1];
|
||||
end
|
||||
end
|
||||
always @(posedge clock or posedge reset) begin
|
||||
|
|
|
@ -447,7 +447,7 @@ class exu_div_new_2bit_fullshortq extends Module with RequireAsyncReset with lib
|
|||
// val count_in = WireInit(0.U(7.W))
|
||||
val count_ff = WireInit(0.U(7.W))
|
||||
val smallnum = WireInit(0.U(4.W))
|
||||
val smallnum_case = WireInit(Bool(),init=false.B)
|
||||
// val smallnum_case = WireInit(Bool(),init=false.B)
|
||||
// val a_enable = WireInit(Bool(),init=false.B)
|
||||
// val a_shift = WireInit(Bool(),init=false.B)
|
||||
// val b_enable = WireInit(Bool(),init=false.B)
|
||||
|
@ -483,7 +483,7 @@ class exu_div_new_2bit_fullshortq extends Module with RequireAsyncReset with lib
|
|||
val ar_shifted = WireInit(0.U(64.W))
|
||||
// val shortq = WireInit(0.U(6.W))
|
||||
// val shortq_shift = WireInit(0.U(5.W))
|
||||
val shortq_shift_ff = WireInit(0.U(4.W))
|
||||
val shortq_shift_ff = WireInit(0.U(5.W))
|
||||
// val shortq_dividend = WireInit(0.U(33.W))
|
||||
val valid_ff_in = io.valid_in & !io.cancel
|
||||
val control_in = Cat((!io.valid_in & control_ff(2)) | (io.valid_in & io.signed_in & io.dividend_in(31)), (!io.valid_in & control_ff(1)) | (io.valid_in & io.signed_in & io.divisor_in(31)), (!io.valid_in & control_ff(0)) | (io.valid_in & io.rem_in))
|
||||
|
@ -492,17 +492,17 @@ class exu_div_new_2bit_fullshortq extends Module with RequireAsyncReset with lib
|
|||
val rem_ff = control_ff(0)
|
||||
val by_zero_case = valid_ff & (b_ff(31,0) === 0.U)
|
||||
|
||||
// val smallnum_case = ((a_ff(31,4) === 0.U) & (b_ff(31,4) === 0.U) & !by_zero_case & !rem_ff & valid_ff & !io.cancel) |
|
||||
val smallnum_case = ((a_ff(31,4) === 0.U) & (b_ff(31,4) === 0.U) & !by_zero_case & !rem_ff & valid_ff & !io.cancel) |
|
||||
((a_ff(31,0) === 0.U) & !by_zero_case & !rem_ff & valid_ff & !io.cancel)
|
||||
val running_state = count_ff.orR() | shortq_enable_ff
|
||||
val misc_enable = io.valid_in | valid_ff | io.cancel | running_state | finish_ff
|
||||
val finish_raw = smallnum_case | by_zero_case | (count_ff === 32.U)
|
||||
val finish = finish_raw & !io.cancel
|
||||
val count_enable = (valid_ff | running_state) & !finish & !finish_ff & !io.cancel & !shortq_enable
|
||||
val count_in = Fill(7,count_enable) & (count_ff + Cat(0.U(5.W),2.U) + Cat(0.U(2.W),shortq_shift_ff,0.U))
|
||||
val count_in = Fill(7,count_enable) & (count_ff + Cat(0.U(5.W),2.U) + Cat(0.U(2.W),shortq_shift_ff(4,1),0.U))
|
||||
val a_enable = io.valid_in | running_state
|
||||
val a_shift = running_state & !shortq_enable_ff
|
||||
ar_shifted := Cat (Fill(32,dividend_sign_ff),a_ff) << Cat(shortq_shift_ff,0.U)
|
||||
ar_shifted := Cat (Fill(32,dividend_sign_ff),a_ff) << Cat(shortq_shift_ff(4,1),0.U)
|
||||
val b_twos_comp = valid_ff & !(dividend_sign_ff ^ divisor_sign_ff)
|
||||
val twos_comp_b_sel = valid_ff & !(dividend_sign_ff ^ divisor_sign_ff)
|
||||
val twos_comp_q_sel = !valid_ff & !rem_ff & (dividend_sign_ff ^ divisor_sign_ff) & !by_zero_case_ff
|
||||
|
@ -598,7 +598,7 @@ class exu_div_new_2bit_fullshortq extends Module with RequireAsyncReset with lib
|
|||
control_ff := rvdffe(control_in, misc_enable,clock,io.scan_mode)
|
||||
by_zero_case_ff := rvdffe(by_zero_case,misc_enable,clock,io.scan_mode)
|
||||
shortq_enable_ff := rvdffe(shortq_enable, misc_enable,clock,io.scan_mode)
|
||||
shortq_shift_ff := rvdffe(shortq_shift(4,1), misc_enable,clock,io.scan_mode)
|
||||
shortq_shift_ff := Cat(rvdffe(shortq_shift(4,1), misc_enable,clock,io.scan_mode),0.U)
|
||||
finish_ff := rvdffe(finish, misc_enable,clock,io.scan_mode)
|
||||
count_ff := rvdffe(count_in, misc_enable,clock,io.scan_mode)
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue