buf_rst corrected

This commit is contained in:
​Laraib Khan 2020-12-29 10:36:06 +05:00
parent adce90c0e9
commit 1119469d76
4 changed files with 303 additions and 299 deletions

View File

@ -451,10 +451,10 @@ circuit lsu_bus_buffer :
buf_ldfwdtag[2] <= UInt<1>("h00") @[lsu_bus_buffer.scala 117:16]
buf_ldfwdtag[3] <= UInt<1>("h00") @[lsu_bus_buffer.scala 117:16]
wire buf_rst : UInt<1>[4] @[lsu_bus_buffer.scala 118:21]
buf_rst[0] <= UInt<1>("h00") @[lsu_bus_buffer.scala 119:11]
buf_rst[1] <= UInt<1>("h00") @[lsu_bus_buffer.scala 119:11]
buf_rst[2] <= UInt<1>("h00") @[lsu_bus_buffer.scala 119:11]
buf_rst[3] <= UInt<1>("h00") @[lsu_bus_buffer.scala 119:11]
buf_rst[0] <= io.dec_tlu_force_halt @[lsu_bus_buffer.scala 119:11]
buf_rst[1] <= io.dec_tlu_force_halt @[lsu_bus_buffer.scala 119:11]
buf_rst[2] <= io.dec_tlu_force_halt @[lsu_bus_buffer.scala 119:11]
buf_rst[3] <= io.dec_tlu_force_halt @[lsu_bus_buffer.scala 119:11]
wire ibuf_drainvec_vld : UInt<4>
ibuf_drainvec_vld <= UInt<1>("h00")
wire buf_byteen_in : UInt<4>[4] @[lsu_bus_buffer.scala 121:27]
@ -6055,38 +6055,38 @@ circuit lsu_bus_buffer :
wire _T_4563 : UInt<1> @[Mux.scala 27:72]
_T_4563 <= _T_4562 @[Mux.scala 27:72]
io.dctl_busbuff.lsu_nonblock_load_data_error <= _T_4563 @[lsu_bus_buffer.scala 539:48]
node _T_4564 = eq(buf_state[0], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:92]
node _T_4565 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 540:115]
node _T_4566 = eq(_T_4565, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:105]
node _T_4567 = and(_T_4564, _T_4566) @[lsu_bus_buffer.scala 540:103]
node _T_4568 = eq(buf_dual[0], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:122]
node _T_4569 = eq(buf_dualhi[0], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:137]
node _T_4570 = or(_T_4568, _T_4569) @[lsu_bus_buffer.scala 540:135]
node _T_4571 = and(_T_4567, _T_4570) @[lsu_bus_buffer.scala 540:119]
node _T_4572 = eq(buf_state[1], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:92]
node _T_4573 = bits(buf_write, 1, 1) @[lsu_bus_buffer.scala 540:115]
node _T_4574 = eq(_T_4573, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:105]
node _T_4575 = and(_T_4572, _T_4574) @[lsu_bus_buffer.scala 540:103]
node _T_4576 = eq(buf_dual[1], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:122]
node _T_4577 = eq(buf_dualhi[1], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:137]
node _T_4578 = or(_T_4576, _T_4577) @[lsu_bus_buffer.scala 540:135]
node _T_4579 = and(_T_4575, _T_4578) @[lsu_bus_buffer.scala 540:119]
node _T_4580 = eq(buf_state[2], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:92]
node _T_4581 = bits(buf_write, 2, 2) @[lsu_bus_buffer.scala 540:115]
node _T_4582 = eq(_T_4581, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:105]
node _T_4583 = and(_T_4580, _T_4582) @[lsu_bus_buffer.scala 540:103]
node _T_4584 = eq(buf_dual[2], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:122]
node _T_4585 = eq(buf_dualhi[2], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:137]
node _T_4586 = or(_T_4584, _T_4585) @[lsu_bus_buffer.scala 540:135]
node _T_4587 = and(_T_4583, _T_4586) @[lsu_bus_buffer.scala 540:119]
node _T_4588 = eq(buf_state[3], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:92]
node _T_4589 = bits(buf_write, 3, 3) @[lsu_bus_buffer.scala 540:115]
node _T_4590 = eq(_T_4589, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:105]
node _T_4591 = and(_T_4588, _T_4590) @[lsu_bus_buffer.scala 540:103]
node _T_4592 = eq(buf_dual[3], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:122]
node _T_4593 = eq(buf_dualhi[3], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:137]
node _T_4594 = or(_T_4592, _T_4593) @[lsu_bus_buffer.scala 540:135]
node _T_4595 = and(_T_4591, _T_4594) @[lsu_bus_buffer.scala 540:119]
node _T_4564 = eq(buf_state[0], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:91]
node _T_4565 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 540:114]
node _T_4566 = eq(_T_4565, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:104]
node _T_4567 = and(_T_4564, _T_4566) @[lsu_bus_buffer.scala 540:102]
node _T_4568 = eq(buf_dual[0], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:121]
node _T_4569 = eq(buf_dualhi[0], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:136]
node _T_4570 = or(_T_4568, _T_4569) @[lsu_bus_buffer.scala 540:134]
node _T_4571 = and(_T_4567, _T_4570) @[lsu_bus_buffer.scala 540:118]
node _T_4572 = eq(buf_state[1], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:91]
node _T_4573 = bits(buf_write, 1, 1) @[lsu_bus_buffer.scala 540:114]
node _T_4574 = eq(_T_4573, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:104]
node _T_4575 = and(_T_4572, _T_4574) @[lsu_bus_buffer.scala 540:102]
node _T_4576 = eq(buf_dual[1], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:121]
node _T_4577 = eq(buf_dualhi[1], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:136]
node _T_4578 = or(_T_4576, _T_4577) @[lsu_bus_buffer.scala 540:134]
node _T_4579 = and(_T_4575, _T_4578) @[lsu_bus_buffer.scala 540:118]
node _T_4580 = eq(buf_state[2], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:91]
node _T_4581 = bits(buf_write, 2, 2) @[lsu_bus_buffer.scala 540:114]
node _T_4582 = eq(_T_4581, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:104]
node _T_4583 = and(_T_4580, _T_4582) @[lsu_bus_buffer.scala 540:102]
node _T_4584 = eq(buf_dual[2], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:121]
node _T_4585 = eq(buf_dualhi[2], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:136]
node _T_4586 = or(_T_4584, _T_4585) @[lsu_bus_buffer.scala 540:134]
node _T_4587 = and(_T_4583, _T_4586) @[lsu_bus_buffer.scala 540:118]
node _T_4588 = eq(buf_state[3], UInt<3>("h06")) @[lsu_bus_buffer.scala 540:91]
node _T_4589 = bits(buf_write, 3, 3) @[lsu_bus_buffer.scala 540:114]
node _T_4590 = eq(_T_4589, UInt<1>("h00")) @[lsu_bus_buffer.scala 540:104]
node _T_4591 = and(_T_4588, _T_4590) @[lsu_bus_buffer.scala 540:102]
node _T_4592 = eq(buf_dual[3], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:121]
node _T_4593 = eq(buf_dualhi[3], UInt<1>("h00")) @[lsu_bus_buffer.scala 540:136]
node _T_4594 = or(_T_4592, _T_4593) @[lsu_bus_buffer.scala 540:134]
node _T_4595 = and(_T_4591, _T_4594) @[lsu_bus_buffer.scala 540:118]
node _T_4596 = mux(_T_4571, UInt<1>("h00"), UInt<1>("h00")) @[Mux.scala 27:72]
node _T_4597 = mux(_T_4579, UInt<1>("h01"), UInt<1>("h00")) @[Mux.scala 27:72]
node _T_4598 = mux(_T_4587, UInt<2>("h02"), UInt<1>("h00")) @[Mux.scala 27:72]
@ -6096,7 +6096,7 @@ circuit lsu_bus_buffer :
node _T_4602 = or(_T_4601, _T_4599) @[Mux.scala 27:72]
wire _T_4603 : UInt<2> @[Mux.scala 27:72]
_T_4603 <= _T_4602 @[Mux.scala 27:72]
io.dctl_busbuff.lsu_nonblock_load_data_tag <= _T_4603 @[lsu_bus_buffer.scala 540:46]
io.dctl_busbuff.lsu_nonblock_load_data_tag <= _T_4603 @[lsu_bus_buffer.scala 540:45]
node _T_4604 = eq(buf_state[0], UInt<3>("h06")) @[lsu_bus_buffer.scala 541:78]
node _T_4605 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 541:101]
node _T_4606 = eq(_T_4605, UInt<1>("h00")) @[lsu_bus_buffer.scala 541:91]

View File

@ -351,8 +351,8 @@ module lsu_bus_buffer(
wire _T_4138 = obuf_tag0 == 3'h3; // @[lsu_bus_buffer.scala 456:48]
reg obuf_merge; // @[Reg.scala 27:20]
reg [1:0] obuf_tag1; // @[Reg.scala 27:20]
wire [2:0] _GEN_376 = {{1'd0}, obuf_tag1}; // @[lsu_bus_buffer.scala 456:104]
wire _T_4139 = _GEN_376 == 3'h3; // @[lsu_bus_buffer.scala 456:104]
wire [2:0] _GEN_380 = {{1'd0}, obuf_tag1}; // @[lsu_bus_buffer.scala 456:104]
wire _T_4139 = _GEN_380 == 3'h3; // @[lsu_bus_buffer.scala 456:104]
wire _T_4140 = obuf_merge & _T_4139; // @[lsu_bus_buffer.scala 456:91]
wire _T_4141 = _T_4138 | _T_4140; // @[lsu_bus_buffer.scala 456:77]
reg obuf_valid; // @[lsu_bus_buffer.scala 348:54]
@ -363,9 +363,9 @@ module lsu_bus_buffer(
wire _T_4250 = 3'h4 == buf_state_3; // @[Conditional.scala 37:30]
wire _T_4268 = 3'h5 == buf_state_3; // @[Conditional.scala 37:30]
wire _T_4276 = 3'h6 == buf_state_3; // @[Conditional.scala 37:30]
wire _GEN_290 = _T_4131 & _T_4143; // @[Conditional.scala 39:67]
wire _GEN_303 = _T_4127 ? 1'h0 : _GEN_290; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_3 = _T_4104 ? 1'h0 : _GEN_303; // @[Conditional.scala 40:58]
wire _GEN_294 = _T_4131 & _T_4143; // @[Conditional.scala 39:67]
wire _GEN_307 = _T_4127 ? 1'h0 : _GEN_294; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_3 = _T_4104 ? 1'h0 : _GEN_307; // @[Conditional.scala 40:58]
wire _T_2591 = _T_2590 & buf_cmd_state_bus_en_3; // @[lsu_bus_buffer.scala 415:103]
wire _T_2592 = ~_T_2591; // @[lsu_bus_buffer.scala 415:78]
wire _T_2593 = buf_ageQ_3[3] & _T_2592; // @[lsu_bus_buffer.scala 415:76]
@ -376,7 +376,7 @@ module lsu_bus_buffer(
wire _T_3936 = 3'h1 == buf_state_2; // @[Conditional.scala 37:30]
wire _T_3940 = 3'h2 == buf_state_2; // @[Conditional.scala 37:30]
wire _T_3947 = obuf_tag0 == 3'h2; // @[lsu_bus_buffer.scala 456:48]
wire _T_3948 = _GEN_376 == 3'h2; // @[lsu_bus_buffer.scala 456:104]
wire _T_3948 = _GEN_380 == 3'h2; // @[lsu_bus_buffer.scala 456:104]
wire _T_3949 = obuf_merge & _T_3948; // @[lsu_bus_buffer.scala 456:91]
wire _T_3950 = _T_3947 | _T_3949; // @[lsu_bus_buffer.scala 456:77]
wire _T_3951 = _T_3950 & obuf_valid; // @[lsu_bus_buffer.scala 456:135]
@ -385,9 +385,9 @@ module lsu_bus_buffer(
wire _T_4059 = 3'h4 == buf_state_2; // @[Conditional.scala 37:30]
wire _T_4077 = 3'h5 == buf_state_2; // @[Conditional.scala 37:30]
wire _T_4085 = 3'h6 == buf_state_2; // @[Conditional.scala 37:30]
wire _GEN_214 = _T_3940 & _T_3952; // @[Conditional.scala 39:67]
wire _GEN_227 = _T_3936 ? 1'h0 : _GEN_214; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_2 = _T_3913 ? 1'h0 : _GEN_227; // @[Conditional.scala 40:58]
wire _GEN_217 = _T_3940 & _T_3952; // @[Conditional.scala 39:67]
wire _GEN_230 = _T_3936 ? 1'h0 : _GEN_217; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_2 = _T_3913 ? 1'h0 : _GEN_230; // @[Conditional.scala 40:58]
wire _T_2584 = _T_2583 & buf_cmd_state_bus_en_2; // @[lsu_bus_buffer.scala 415:103]
wire _T_2585 = ~_T_2584; // @[lsu_bus_buffer.scala 415:78]
wire _T_2586 = buf_ageQ_3[2] & _T_2585; // @[lsu_bus_buffer.scala 415:76]
@ -397,7 +397,7 @@ module lsu_bus_buffer(
wire _T_3745 = 3'h1 == buf_state_1; // @[Conditional.scala 37:30]
wire _T_3749 = 3'h2 == buf_state_1; // @[Conditional.scala 37:30]
wire _T_3756 = obuf_tag0 == 3'h1; // @[lsu_bus_buffer.scala 456:48]
wire _T_3757 = _GEN_376 == 3'h1; // @[lsu_bus_buffer.scala 456:104]
wire _T_3757 = _GEN_380 == 3'h1; // @[lsu_bus_buffer.scala 456:104]
wire _T_3758 = obuf_merge & _T_3757; // @[lsu_bus_buffer.scala 456:91]
wire _T_3759 = _T_3756 | _T_3758; // @[lsu_bus_buffer.scala 456:77]
wire _T_3760 = _T_3759 & obuf_valid; // @[lsu_bus_buffer.scala 456:135]
@ -406,9 +406,9 @@ module lsu_bus_buffer(
wire _T_3868 = 3'h4 == buf_state_1; // @[Conditional.scala 37:30]
wire _T_3886 = 3'h5 == buf_state_1; // @[Conditional.scala 37:30]
wire _T_3894 = 3'h6 == buf_state_1; // @[Conditional.scala 37:30]
wire _GEN_138 = _T_3749 & _T_3761; // @[Conditional.scala 39:67]
wire _GEN_151 = _T_3745 ? 1'h0 : _GEN_138; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_1 = _T_3722 ? 1'h0 : _GEN_151; // @[Conditional.scala 40:58]
wire _GEN_140 = _T_3749 & _T_3761; // @[Conditional.scala 39:67]
wire _GEN_153 = _T_3745 ? 1'h0 : _GEN_140; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_1 = _T_3722 ? 1'h0 : _GEN_153; // @[Conditional.scala 40:58]
wire _T_2577 = _T_2576 & buf_cmd_state_bus_en_1; // @[lsu_bus_buffer.scala 415:103]
wire _T_2578 = ~_T_2577; // @[lsu_bus_buffer.scala 415:78]
wire _T_2579 = buf_ageQ_3[1] & _T_2578; // @[lsu_bus_buffer.scala 415:76]
@ -418,7 +418,7 @@ module lsu_bus_buffer(
wire _T_3554 = 3'h1 == buf_state_0; // @[Conditional.scala 37:30]
wire _T_3558 = 3'h2 == buf_state_0; // @[Conditional.scala 37:30]
wire _T_3565 = obuf_tag0 == 3'h0; // @[lsu_bus_buffer.scala 456:48]
wire _T_3566 = _GEN_376 == 3'h0; // @[lsu_bus_buffer.scala 456:104]
wire _T_3566 = _GEN_380 == 3'h0; // @[lsu_bus_buffer.scala 456:104]
wire _T_3567 = obuf_merge & _T_3566; // @[lsu_bus_buffer.scala 456:91]
wire _T_3568 = _T_3565 | _T_3567; // @[lsu_bus_buffer.scala 456:77]
wire _T_3569 = _T_3568 & obuf_valid; // @[lsu_bus_buffer.scala 456:135]
@ -427,9 +427,9 @@ module lsu_bus_buffer(
wire _T_3677 = 3'h4 == buf_state_0; // @[Conditional.scala 37:30]
wire _T_3695 = 3'h5 == buf_state_0; // @[Conditional.scala 37:30]
wire _T_3703 = 3'h6 == buf_state_0; // @[Conditional.scala 37:30]
wire _GEN_62 = _T_3558 & _T_3570; // @[Conditional.scala 39:67]
wire _GEN_75 = _T_3554 ? 1'h0 : _GEN_62; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_0 = _T_3531 ? 1'h0 : _GEN_75; // @[Conditional.scala 40:58]
wire _GEN_63 = _T_3558 & _T_3570; // @[Conditional.scala 39:67]
wire _GEN_76 = _T_3554 ? 1'h0 : _GEN_63; // @[Conditional.scala 39:67]
wire buf_cmd_state_bus_en_0 = _T_3531 ? 1'h0 : _GEN_76; // @[Conditional.scala 40:58]
wire _T_2570 = _T_2569 & buf_cmd_state_bus_en_0; // @[lsu_bus_buffer.scala 415:103]
wire _T_2571 = ~_T_2570; // @[lsu_bus_buffer.scala 415:78]
wire _T_2572 = buf_ageQ_3[0] & _T_2571; // @[lsu_bus_buffer.scala 415:76]
@ -1020,23 +1020,23 @@ module lsu_bus_buffer(
wire _T_4431 = buf_write[1] & _T_2576; // @[lsu_bus_buffer.scala 525:64]
wire _T_4432 = ~buf_cmd_state_bus_en_1; // @[lsu_bus_buffer.scala 525:91]
wire _T_4433 = _T_4431 & _T_4432; // @[lsu_bus_buffer.scala 525:89]
wire [1:0] _GEN_380 = {{1'd0}, _T_4433}; // @[lsu_bus_buffer.scala 525:142]
wire [2:0] _T_4445 = _T_4444 + _GEN_380; // @[lsu_bus_buffer.scala 525:142]
wire [1:0] _GEN_384 = {{1'd0}, _T_4433}; // @[lsu_bus_buffer.scala 525:142]
wire [2:0] _T_4445 = _T_4444 + _GEN_384; // @[lsu_bus_buffer.scala 525:142]
wire _T_4426 = buf_write[0] & _T_2569; // @[lsu_bus_buffer.scala 525:64]
wire _T_4427 = ~buf_cmd_state_bus_en_0; // @[lsu_bus_buffer.scala 525:91]
wire _T_4428 = _T_4426 & _T_4427; // @[lsu_bus_buffer.scala 525:89]
wire [2:0] _GEN_381 = {{2'd0}, _T_4428}; // @[lsu_bus_buffer.scala 525:142]
wire [3:0] buf_numvld_wrcmd_any = _T_4445 + _GEN_381; // @[lsu_bus_buffer.scala 525:142]
wire [2:0] _GEN_385 = {{2'd0}, _T_4428}; // @[lsu_bus_buffer.scala 525:142]
wire [3:0] buf_numvld_wrcmd_any = _T_4445 + _GEN_385; // @[lsu_bus_buffer.scala 525:142]
wire _T_1016 = buf_numvld_wrcmd_any == 4'h1; // @[lsu_bus_buffer.scala 266:43]
wire _T_4458 = _T_2590 & _T_4442; // @[lsu_bus_buffer.scala 526:73]
wire _T_4455 = _T_2583 & _T_4437; // @[lsu_bus_buffer.scala 526:73]
wire [1:0] _T_4459 = _T_4458 + _T_4455; // @[lsu_bus_buffer.scala 526:126]
wire _T_4452 = _T_2576 & _T_4432; // @[lsu_bus_buffer.scala 526:73]
wire [1:0] _GEN_382 = {{1'd0}, _T_4452}; // @[lsu_bus_buffer.scala 526:126]
wire [2:0] _T_4460 = _T_4459 + _GEN_382; // @[lsu_bus_buffer.scala 526:126]
wire [1:0] _GEN_386 = {{1'd0}, _T_4452}; // @[lsu_bus_buffer.scala 526:126]
wire [2:0] _T_4460 = _T_4459 + _GEN_386; // @[lsu_bus_buffer.scala 526:126]
wire _T_4449 = _T_2569 & _T_4427; // @[lsu_bus_buffer.scala 526:73]
wire [2:0] _GEN_383 = {{2'd0}, _T_4449}; // @[lsu_bus_buffer.scala 526:126]
wire [3:0] buf_numvld_cmd_any = _T_4460 + _GEN_383; // @[lsu_bus_buffer.scala 526:126]
wire [2:0] _GEN_387 = {{2'd0}, _T_4449}; // @[lsu_bus_buffer.scala 526:126]
wire [3:0] buf_numvld_cmd_any = _T_4460 + _GEN_387; // @[lsu_bus_buffer.scala 526:126]
wire _T_1017 = buf_numvld_cmd_any == 4'h1; // @[lsu_bus_buffer.scala 266:72]
wire _T_1018 = _T_1016 & _T_1017; // @[lsu_bus_buffer.scala 266:51]
reg _T_1791; // @[Reg.scala 27:20]
@ -1124,12 +1124,12 @@ module lsu_bus_buffer(
wire [1:0] _T_4482 = _T_4481 + _T_4476; // @[lsu_bus_buffer.scala 527:154]
wire _T_4467 = buf_state_1 == 3'h1; // @[lsu_bus_buffer.scala 527:63]
wire _T_4471 = _T_4467 | _T_4452; // @[lsu_bus_buffer.scala 527:74]
wire [1:0] _GEN_384 = {{1'd0}, _T_4471}; // @[lsu_bus_buffer.scala 527:154]
wire [2:0] _T_4483 = _T_4482 + _GEN_384; // @[lsu_bus_buffer.scala 527:154]
wire [1:0] _GEN_388 = {{1'd0}, _T_4471}; // @[lsu_bus_buffer.scala 527:154]
wire [2:0] _T_4483 = _T_4482 + _GEN_388; // @[lsu_bus_buffer.scala 527:154]
wire _T_4462 = buf_state_0 == 3'h1; // @[lsu_bus_buffer.scala 527:63]
wire _T_4466 = _T_4462 | _T_4449; // @[lsu_bus_buffer.scala 527:74]
wire [2:0] _GEN_385 = {{2'd0}, _T_4466}; // @[lsu_bus_buffer.scala 527:154]
wire [3:0] buf_numvld_pend_any = _T_4483 + _GEN_385; // @[lsu_bus_buffer.scala 527:154]
wire [2:0] _GEN_389 = {{2'd0}, _T_4466}; // @[lsu_bus_buffer.scala 527:154]
wire [3:0] buf_numvld_pend_any = _T_4483 + _GEN_389; // @[lsu_bus_buffer.scala 527:154]
wire _T_1087 = buf_numvld_pend_any == 4'h0; // @[lsu_bus_buffer.scala 272:53]
wire _T_1088 = ibuf_byp & _T_1087; // @[lsu_bus_buffer.scala 272:31]
wire _T_1089 = ~io_lsu_pkt_r_bits_store; // @[lsu_bus_buffer.scala 272:64]
@ -1669,8 +1669,8 @@ module lsu_bus_buffer(
reg _T_4296; // @[Reg.scala 27:20]
wire [3:0] buf_ldfwd = {_T_4302,_T_4300,_T_4298,_T_4296}; // @[Cat.scala 29:58]
reg [1:0] buf_ldfwdtag_0; // @[Reg.scala 27:20]
wire [2:0] _GEN_386 = {{1'd0}, buf_ldfwdtag_0}; // @[lsu_bus_buffer.scala 472:47]
wire _T_3640 = io_lsu_axi_r_bits_id == _GEN_386; // @[lsu_bus_buffer.scala 472:47]
wire [2:0] _GEN_390 = {{1'd0}, buf_ldfwdtag_0}; // @[lsu_bus_buffer.scala 472:47]
wire _T_3640 = io_lsu_axi_r_bits_id == _GEN_390; // @[lsu_bus_buffer.scala 472:47]
wire _T_3641 = buf_ldfwd[0] & _T_3640; // @[lsu_bus_buffer.scala 472:27]
wire _T_3642 = _T_3638 | _T_3641; // @[lsu_bus_buffer.scala 471:77]
wire _T_3643 = buf_dual_0 & buf_dualhi_0; // @[lsu_bus_buffer.scala 473:26]
@ -1678,16 +1678,16 @@ module lsu_bus_buffer(
wire _T_3646 = _T_3643 & _T_3645; // @[lsu_bus_buffer.scala 473:42]
wire _T_3647 = _T_3646 & buf_samedw_0; // @[lsu_bus_buffer.scala 473:58]
reg [1:0] buf_dualtag_0; // @[Reg.scala 27:20]
wire [2:0] _GEN_387 = {{1'd0}, buf_dualtag_0}; // @[lsu_bus_buffer.scala 473:94]
wire _T_3648 = io_lsu_axi_r_bits_id == _GEN_387; // @[lsu_bus_buffer.scala 473:94]
wire [2:0] _GEN_391 = {{1'd0}, buf_dualtag_0}; // @[lsu_bus_buffer.scala 473:94]
wire _T_3648 = io_lsu_axi_r_bits_id == _GEN_391; // @[lsu_bus_buffer.scala 473:94]
wire _T_3649 = _T_3647 & _T_3648; // @[lsu_bus_buffer.scala 473:74]
wire _T_3650 = _T_3642 | _T_3649; // @[lsu_bus_buffer.scala 472:71]
wire _T_3651 = bus_rsp_read & _T_3650; // @[lsu_bus_buffer.scala 471:25]
wire _T_3652 = _T_3637 | _T_3651; // @[lsu_bus_buffer.scala 470:105]
wire _GEN_52 = _T_3592 & _T_3652; // @[Conditional.scala 39:67]
wire _GEN_71 = _T_3558 ? 1'h0 : _GEN_52; // @[Conditional.scala 39:67]
wire _GEN_83 = _T_3554 ? 1'h0 : _GEN_71; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_0 = _T_3531 ? 1'h0 : _GEN_83; // @[Conditional.scala 40:58]
wire _GEN_53 = _T_3592 & _T_3652; // @[Conditional.scala 39:67]
wire _GEN_72 = _T_3558 ? 1'h0 : _GEN_53; // @[Conditional.scala 39:67]
wire _GEN_84 = _T_3554 ? 1'h0 : _GEN_72; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_0 = _T_3531 ? 1'h0 : _GEN_84; // @[Conditional.scala 40:58]
wire [3:0] _T_3687 = buf_ldfwd >> buf_dualtag_0; // @[lsu_bus_buffer.scala 486:21]
reg [1:0] buf_ldfwdtag_3; // @[Reg.scala 27:20]
reg [1:0] buf_ldfwdtag_2; // @[Reg.scala 27:20]
@ -1695,16 +1695,16 @@ module lsu_bus_buffer(
wire [1:0] _GEN_33 = 2'h1 == buf_dualtag_0 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_34 = 2'h2 == buf_dualtag_0 ? buf_ldfwdtag_2 : _GEN_33; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_35 = 2'h3 == buf_dualtag_0 ? buf_ldfwdtag_3 : _GEN_34; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_389 = {{1'd0}, _GEN_35}; // @[lsu_bus_buffer.scala 486:58]
wire _T_3689 = io_lsu_axi_r_bits_id == _GEN_389; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_393 = {{1'd0}, _GEN_35}; // @[lsu_bus_buffer.scala 486:58]
wire _T_3689 = io_lsu_axi_r_bits_id == _GEN_393; // @[lsu_bus_buffer.scala 486:58]
wire _T_3690 = _T_3687[0] & _T_3689; // @[lsu_bus_buffer.scala 486:38]
wire _T_3691 = _T_3648 | _T_3690; // @[lsu_bus_buffer.scala 485:95]
wire _T_3692 = bus_rsp_read & _T_3691; // @[lsu_bus_buffer.scala 485:45]
wire _GEN_46 = _T_3677 & _T_3692; // @[Conditional.scala 39:67]
wire _GEN_53 = _T_3592 ? buf_resp_state_bus_en_0 : _GEN_46; // @[Conditional.scala 39:67]
wire _GEN_63 = _T_3558 ? buf_cmd_state_bus_en_0 : _GEN_53; // @[Conditional.scala 39:67]
wire _GEN_76 = _T_3554 ? 1'h0 : _GEN_63; // @[Conditional.scala 39:67]
wire buf_state_bus_en_0 = _T_3531 ? 1'h0 : _GEN_76; // @[Conditional.scala 40:58]
wire _GEN_47 = _T_3677 & _T_3692; // @[Conditional.scala 39:67]
wire _GEN_54 = _T_3592 ? buf_resp_state_bus_en_0 : _GEN_47; // @[Conditional.scala 39:67]
wire _GEN_64 = _T_3558 ? buf_cmd_state_bus_en_0 : _GEN_54; // @[Conditional.scala 39:67]
wire _GEN_77 = _T_3554 ? 1'h0 : _GEN_64; // @[Conditional.scala 39:67]
wire buf_state_bus_en_0 = _T_3531 ? 1'h0 : _GEN_77; // @[Conditional.scala 40:58]
wire _T_3571 = buf_state_bus_en_0 & io_lsu_bus_clk_en; // @[lsu_bus_buffer.scala 458:49]
wire _T_3572 = _T_3571 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 458:70]
wire [1:0] RspPtr = _T_2066[1:0]; // @[lsu_bus_buffer.scala 397:10]
@ -1713,12 +1713,12 @@ module lsu_bus_buffer(
wire _T_3700 = buf_dual_0 & _T_3699; // @[lsu_bus_buffer.scala 492:80]
wire _T_3701 = _T_3698 | _T_3700; // @[lsu_bus_buffer.scala 492:65]
wire _T_3702 = _T_3701 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 492:112]
wire _GEN_41 = _T_3695 ? _T_3702 : _T_3703; // @[Conditional.scala 39:67]
wire _GEN_47 = _T_3677 ? _T_3572 : _GEN_41; // @[Conditional.scala 39:67]
wire _GEN_54 = _T_3592 ? _T_3572 : _GEN_47; // @[Conditional.scala 39:67]
wire _GEN_64 = _T_3558 ? _T_3572 : _GEN_54; // @[Conditional.scala 39:67]
wire _GEN_74 = _T_3554 ? obuf_rdrsp_pend_en : _GEN_64; // @[Conditional.scala 39:67]
wire buf_state_en_0 = _T_3531 ? _T_3547 : _GEN_74; // @[Conditional.scala 40:58]
wire _GEN_42 = _T_3695 ? _T_3702 : _T_3703; // @[Conditional.scala 39:67]
wire _GEN_48 = _T_3677 ? _T_3572 : _GEN_42; // @[Conditional.scala 39:67]
wire _GEN_55 = _T_3592 ? _T_3572 : _GEN_48; // @[Conditional.scala 39:67]
wire _GEN_65 = _T_3558 ? _T_3572 : _GEN_55; // @[Conditional.scala 39:67]
wire _GEN_75 = _T_3554 ? obuf_rdrsp_pend_en : _GEN_65; // @[Conditional.scala 39:67]
wire buf_state_en_0 = _T_3531 ? _T_3547 : _GEN_75; // @[Conditional.scala 40:58]
wire _T_2068 = _T_1792 & buf_state_en_0; // @[lsu_bus_buffer.scala 409:94]
wire _T_2074 = ibuf_drain_vld & io_lsu_busreq_r; // @[lsu_bus_buffer.scala 411:23]
wire _T_2076 = _T_2074 & _T_3535; // @[lsu_bus_buffer.scala 411:41]
@ -1763,8 +1763,8 @@ module lsu_bus_buffer(
wire _T_3827 = io_lsu_axi_b_bits_id == 3'h1; // @[lsu_bus_buffer.scala 470:73]
wire _T_3828 = bus_rsp_write & _T_3827; // @[lsu_bus_buffer.scala 470:52]
wire _T_3829 = io_lsu_axi_r_bits_id == 3'h1; // @[lsu_bus_buffer.scala 471:46]
wire [2:0] _GEN_390 = {{1'd0}, buf_ldfwdtag_1}; // @[lsu_bus_buffer.scala 472:47]
wire _T_3831 = io_lsu_axi_r_bits_id == _GEN_390; // @[lsu_bus_buffer.scala 472:47]
wire [2:0] _GEN_394 = {{1'd0}, buf_ldfwdtag_1}; // @[lsu_bus_buffer.scala 472:47]
wire _T_3831 = io_lsu_axi_r_bits_id == _GEN_394; // @[lsu_bus_buffer.scala 472:47]
wire _T_3832 = buf_ldfwd[1] & _T_3831; // @[lsu_bus_buffer.scala 472:27]
wire _T_3833 = _T_3829 | _T_3832; // @[lsu_bus_buffer.scala 471:77]
wire _T_3834 = buf_dual_1 & buf_dualhi_1; // @[lsu_bus_buffer.scala 473:26]
@ -1772,30 +1772,30 @@ module lsu_bus_buffer(
wire _T_3837 = _T_3834 & _T_3836; // @[lsu_bus_buffer.scala 473:42]
wire _T_3838 = _T_3837 & buf_samedw_1; // @[lsu_bus_buffer.scala 473:58]
reg [1:0] buf_dualtag_1; // @[Reg.scala 27:20]
wire [2:0] _GEN_391 = {{1'd0}, buf_dualtag_1}; // @[lsu_bus_buffer.scala 473:94]
wire _T_3839 = io_lsu_axi_r_bits_id == _GEN_391; // @[lsu_bus_buffer.scala 473:94]
wire [2:0] _GEN_395 = {{1'd0}, buf_dualtag_1}; // @[lsu_bus_buffer.scala 473:94]
wire _T_3839 = io_lsu_axi_r_bits_id == _GEN_395; // @[lsu_bus_buffer.scala 473:94]
wire _T_3840 = _T_3838 & _T_3839; // @[lsu_bus_buffer.scala 473:74]
wire _T_3841 = _T_3833 | _T_3840; // @[lsu_bus_buffer.scala 472:71]
wire _T_3842 = bus_rsp_read & _T_3841; // @[lsu_bus_buffer.scala 471:25]
wire _T_3843 = _T_3828 | _T_3842; // @[lsu_bus_buffer.scala 470:105]
wire _GEN_128 = _T_3783 & _T_3843; // @[Conditional.scala 39:67]
wire _GEN_147 = _T_3749 ? 1'h0 : _GEN_128; // @[Conditional.scala 39:67]
wire _GEN_159 = _T_3745 ? 1'h0 : _GEN_147; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_1 = _T_3722 ? 1'h0 : _GEN_159; // @[Conditional.scala 40:58]
wire _GEN_130 = _T_3783 & _T_3843; // @[Conditional.scala 39:67]
wire _GEN_149 = _T_3749 ? 1'h0 : _GEN_130; // @[Conditional.scala 39:67]
wire _GEN_161 = _T_3745 ? 1'h0 : _GEN_149; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_1 = _T_3722 ? 1'h0 : _GEN_161; // @[Conditional.scala 40:58]
wire [3:0] _T_3878 = buf_ldfwd >> buf_dualtag_1; // @[lsu_bus_buffer.scala 486:21]
wire [1:0] _GEN_109 = 2'h1 == buf_dualtag_1 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_110 = 2'h2 == buf_dualtag_1 ? buf_ldfwdtag_2 : _GEN_109; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_111 = 2'h3 == buf_dualtag_1 ? buf_ldfwdtag_3 : _GEN_110; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_393 = {{1'd0}, _GEN_111}; // @[lsu_bus_buffer.scala 486:58]
wire _T_3880 = io_lsu_axi_r_bits_id == _GEN_393; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_110 = 2'h1 == buf_dualtag_1 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_111 = 2'h2 == buf_dualtag_1 ? buf_ldfwdtag_2 : _GEN_110; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_112 = 2'h3 == buf_dualtag_1 ? buf_ldfwdtag_3 : _GEN_111; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_397 = {{1'd0}, _GEN_112}; // @[lsu_bus_buffer.scala 486:58]
wire _T_3880 = io_lsu_axi_r_bits_id == _GEN_397; // @[lsu_bus_buffer.scala 486:58]
wire _T_3881 = _T_3878[0] & _T_3880; // @[lsu_bus_buffer.scala 486:38]
wire _T_3882 = _T_3839 | _T_3881; // @[lsu_bus_buffer.scala 485:95]
wire _T_3883 = bus_rsp_read & _T_3882; // @[lsu_bus_buffer.scala 485:45]
wire _GEN_122 = _T_3868 & _T_3883; // @[Conditional.scala 39:67]
wire _GEN_129 = _T_3783 ? buf_resp_state_bus_en_1 : _GEN_122; // @[Conditional.scala 39:67]
wire _GEN_139 = _T_3749 ? buf_cmd_state_bus_en_1 : _GEN_129; // @[Conditional.scala 39:67]
wire _GEN_152 = _T_3745 ? 1'h0 : _GEN_139; // @[Conditional.scala 39:67]
wire buf_state_bus_en_1 = _T_3722 ? 1'h0 : _GEN_152; // @[Conditional.scala 40:58]
wire _GEN_124 = _T_3868 & _T_3883; // @[Conditional.scala 39:67]
wire _GEN_131 = _T_3783 ? buf_resp_state_bus_en_1 : _GEN_124; // @[Conditional.scala 39:67]
wire _GEN_141 = _T_3749 ? buf_cmd_state_bus_en_1 : _GEN_131; // @[Conditional.scala 39:67]
wire _GEN_154 = _T_3745 ? 1'h0 : _GEN_141; // @[Conditional.scala 39:67]
wire buf_state_bus_en_1 = _T_3722 ? 1'h0 : _GEN_154; // @[Conditional.scala 40:58]
wire _T_3762 = buf_state_bus_en_1 & io_lsu_bus_clk_en; // @[lsu_bus_buffer.scala 458:49]
wire _T_3763 = _T_3762 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 458:70]
wire _T_3889 = RspPtr == 2'h1; // @[lsu_bus_buffer.scala 492:37]
@ -1803,12 +1803,12 @@ module lsu_bus_buffer(
wire _T_3891 = buf_dual_1 & _T_3890; // @[lsu_bus_buffer.scala 492:80]
wire _T_3892 = _T_3889 | _T_3891; // @[lsu_bus_buffer.scala 492:65]
wire _T_3893 = _T_3892 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 492:112]
wire _GEN_117 = _T_3886 ? _T_3893 : _T_3894; // @[Conditional.scala 39:67]
wire _GEN_123 = _T_3868 ? _T_3763 : _GEN_117; // @[Conditional.scala 39:67]
wire _GEN_130 = _T_3783 ? _T_3763 : _GEN_123; // @[Conditional.scala 39:67]
wire _GEN_140 = _T_3749 ? _T_3763 : _GEN_130; // @[Conditional.scala 39:67]
wire _GEN_150 = _T_3745 ? obuf_rdrsp_pend_en : _GEN_140; // @[Conditional.scala 39:67]
wire buf_state_en_1 = _T_3722 ? _T_3738 : _GEN_150; // @[Conditional.scala 40:58]
wire _GEN_119 = _T_3886 ? _T_3893 : _T_3894; // @[Conditional.scala 39:67]
wire _GEN_125 = _T_3868 ? _T_3763 : _GEN_119; // @[Conditional.scala 39:67]
wire _GEN_132 = _T_3783 ? _T_3763 : _GEN_125; // @[Conditional.scala 39:67]
wire _GEN_142 = _T_3749 ? _T_3763 : _GEN_132; // @[Conditional.scala 39:67]
wire _GEN_152 = _T_3745 ? obuf_rdrsp_pend_en : _GEN_142; // @[Conditional.scala 39:67]
wire buf_state_en_1 = _T_3722 ? _T_3738 : _GEN_152; // @[Conditional.scala 40:58]
wire _T_2170 = _T_1803 & buf_state_en_1; // @[lsu_bus_buffer.scala 409:94]
wire _T_2180 = _T_2076 & _T_1806; // @[lsu_bus_buffer.scala 411:71]
wire _T_2182 = _T_2180 & _T_1793; // @[lsu_bus_buffer.scala 411:92]
@ -1849,8 +1849,8 @@ module lsu_bus_buffer(
wire _T_4018 = io_lsu_axi_b_bits_id == 3'h2; // @[lsu_bus_buffer.scala 470:73]
wire _T_4019 = bus_rsp_write & _T_4018; // @[lsu_bus_buffer.scala 470:52]
wire _T_4020 = io_lsu_axi_r_bits_id == 3'h2; // @[lsu_bus_buffer.scala 471:46]
wire [2:0] _GEN_394 = {{1'd0}, buf_ldfwdtag_2}; // @[lsu_bus_buffer.scala 472:47]
wire _T_4022 = io_lsu_axi_r_bits_id == _GEN_394; // @[lsu_bus_buffer.scala 472:47]
wire [2:0] _GEN_398 = {{1'd0}, buf_ldfwdtag_2}; // @[lsu_bus_buffer.scala 472:47]
wire _T_4022 = io_lsu_axi_r_bits_id == _GEN_398; // @[lsu_bus_buffer.scala 472:47]
wire _T_4023 = buf_ldfwd[2] & _T_4022; // @[lsu_bus_buffer.scala 472:27]
wire _T_4024 = _T_4020 | _T_4023; // @[lsu_bus_buffer.scala 471:77]
wire _T_4025 = buf_dual_2 & buf_dualhi_2; // @[lsu_bus_buffer.scala 473:26]
@ -1858,30 +1858,30 @@ module lsu_bus_buffer(
wire _T_4028 = _T_4025 & _T_4027; // @[lsu_bus_buffer.scala 473:42]
wire _T_4029 = _T_4028 & buf_samedw_2; // @[lsu_bus_buffer.scala 473:58]
reg [1:0] buf_dualtag_2; // @[Reg.scala 27:20]
wire [2:0] _GEN_395 = {{1'd0}, buf_dualtag_2}; // @[lsu_bus_buffer.scala 473:94]
wire _T_4030 = io_lsu_axi_r_bits_id == _GEN_395; // @[lsu_bus_buffer.scala 473:94]
wire [2:0] _GEN_399 = {{1'd0}, buf_dualtag_2}; // @[lsu_bus_buffer.scala 473:94]
wire _T_4030 = io_lsu_axi_r_bits_id == _GEN_399; // @[lsu_bus_buffer.scala 473:94]
wire _T_4031 = _T_4029 & _T_4030; // @[lsu_bus_buffer.scala 473:74]
wire _T_4032 = _T_4024 | _T_4031; // @[lsu_bus_buffer.scala 472:71]
wire _T_4033 = bus_rsp_read & _T_4032; // @[lsu_bus_buffer.scala 471:25]
wire _T_4034 = _T_4019 | _T_4033; // @[lsu_bus_buffer.scala 470:105]
wire _GEN_204 = _T_3974 & _T_4034; // @[Conditional.scala 39:67]
wire _GEN_223 = _T_3940 ? 1'h0 : _GEN_204; // @[Conditional.scala 39:67]
wire _GEN_235 = _T_3936 ? 1'h0 : _GEN_223; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_2 = _T_3913 ? 1'h0 : _GEN_235; // @[Conditional.scala 40:58]
wire _GEN_207 = _T_3974 & _T_4034; // @[Conditional.scala 39:67]
wire _GEN_226 = _T_3940 ? 1'h0 : _GEN_207; // @[Conditional.scala 39:67]
wire _GEN_238 = _T_3936 ? 1'h0 : _GEN_226; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_2 = _T_3913 ? 1'h0 : _GEN_238; // @[Conditional.scala 40:58]
wire [3:0] _T_4069 = buf_ldfwd >> buf_dualtag_2; // @[lsu_bus_buffer.scala 486:21]
wire [1:0] _GEN_185 = 2'h1 == buf_dualtag_2 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_186 = 2'h2 == buf_dualtag_2 ? buf_ldfwdtag_2 : _GEN_185; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_187 = 2'h3 == buf_dualtag_2 ? buf_ldfwdtag_3 : _GEN_186; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_397 = {{1'd0}, _GEN_187}; // @[lsu_bus_buffer.scala 486:58]
wire _T_4071 = io_lsu_axi_r_bits_id == _GEN_397; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_187 = 2'h1 == buf_dualtag_2 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_188 = 2'h2 == buf_dualtag_2 ? buf_ldfwdtag_2 : _GEN_187; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_189 = 2'h3 == buf_dualtag_2 ? buf_ldfwdtag_3 : _GEN_188; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_401 = {{1'd0}, _GEN_189}; // @[lsu_bus_buffer.scala 486:58]
wire _T_4071 = io_lsu_axi_r_bits_id == _GEN_401; // @[lsu_bus_buffer.scala 486:58]
wire _T_4072 = _T_4069[0] & _T_4071; // @[lsu_bus_buffer.scala 486:38]
wire _T_4073 = _T_4030 | _T_4072; // @[lsu_bus_buffer.scala 485:95]
wire _T_4074 = bus_rsp_read & _T_4073; // @[lsu_bus_buffer.scala 485:45]
wire _GEN_198 = _T_4059 & _T_4074; // @[Conditional.scala 39:67]
wire _GEN_205 = _T_3974 ? buf_resp_state_bus_en_2 : _GEN_198; // @[Conditional.scala 39:67]
wire _GEN_215 = _T_3940 ? buf_cmd_state_bus_en_2 : _GEN_205; // @[Conditional.scala 39:67]
wire _GEN_228 = _T_3936 ? 1'h0 : _GEN_215; // @[Conditional.scala 39:67]
wire buf_state_bus_en_2 = _T_3913 ? 1'h0 : _GEN_228; // @[Conditional.scala 40:58]
wire _GEN_201 = _T_4059 & _T_4074; // @[Conditional.scala 39:67]
wire _GEN_208 = _T_3974 ? buf_resp_state_bus_en_2 : _GEN_201; // @[Conditional.scala 39:67]
wire _GEN_218 = _T_3940 ? buf_cmd_state_bus_en_2 : _GEN_208; // @[Conditional.scala 39:67]
wire _GEN_231 = _T_3936 ? 1'h0 : _GEN_218; // @[Conditional.scala 39:67]
wire buf_state_bus_en_2 = _T_3913 ? 1'h0 : _GEN_231; // @[Conditional.scala 40:58]
wire _T_3953 = buf_state_bus_en_2 & io_lsu_bus_clk_en; // @[lsu_bus_buffer.scala 458:49]
wire _T_3954 = _T_3953 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 458:70]
wire _T_4080 = RspPtr == 2'h2; // @[lsu_bus_buffer.scala 492:37]
@ -1889,12 +1889,12 @@ module lsu_bus_buffer(
wire _T_4082 = buf_dual_2 & _T_4081; // @[lsu_bus_buffer.scala 492:80]
wire _T_4083 = _T_4080 | _T_4082; // @[lsu_bus_buffer.scala 492:65]
wire _T_4084 = _T_4083 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 492:112]
wire _GEN_193 = _T_4077 ? _T_4084 : _T_4085; // @[Conditional.scala 39:67]
wire _GEN_199 = _T_4059 ? _T_3954 : _GEN_193; // @[Conditional.scala 39:67]
wire _GEN_206 = _T_3974 ? _T_3954 : _GEN_199; // @[Conditional.scala 39:67]
wire _GEN_216 = _T_3940 ? _T_3954 : _GEN_206; // @[Conditional.scala 39:67]
wire _GEN_226 = _T_3936 ? obuf_rdrsp_pend_en : _GEN_216; // @[Conditional.scala 39:67]
wire buf_state_en_2 = _T_3913 ? _T_3929 : _GEN_226; // @[Conditional.scala 40:58]
wire _GEN_196 = _T_4077 ? _T_4084 : _T_4085; // @[Conditional.scala 39:67]
wire _GEN_202 = _T_4059 ? _T_3954 : _GEN_196; // @[Conditional.scala 39:67]
wire _GEN_209 = _T_3974 ? _T_3954 : _GEN_202; // @[Conditional.scala 39:67]
wire _GEN_219 = _T_3940 ? _T_3954 : _GEN_209; // @[Conditional.scala 39:67]
wire _GEN_229 = _T_3936 ? obuf_rdrsp_pend_en : _GEN_219; // @[Conditional.scala 39:67]
wire buf_state_en_2 = _T_3913 ? _T_3929 : _GEN_229; // @[Conditional.scala 40:58]
wire _T_2272 = _T_1814 & buf_state_en_2; // @[lsu_bus_buffer.scala 409:94]
wire _T_2282 = _T_2076 & _T_1817; // @[lsu_bus_buffer.scala 411:71]
wire _T_2284 = _T_2282 & _T_1793; // @[lsu_bus_buffer.scala 411:92]
@ -1935,8 +1935,8 @@ module lsu_bus_buffer(
wire _T_4209 = io_lsu_axi_b_bits_id == 3'h3; // @[lsu_bus_buffer.scala 470:73]
wire _T_4210 = bus_rsp_write & _T_4209; // @[lsu_bus_buffer.scala 470:52]
wire _T_4211 = io_lsu_axi_r_bits_id == 3'h3; // @[lsu_bus_buffer.scala 471:46]
wire [2:0] _GEN_398 = {{1'd0}, buf_ldfwdtag_3}; // @[lsu_bus_buffer.scala 472:47]
wire _T_4213 = io_lsu_axi_r_bits_id == _GEN_398; // @[lsu_bus_buffer.scala 472:47]
wire [2:0] _GEN_402 = {{1'd0}, buf_ldfwdtag_3}; // @[lsu_bus_buffer.scala 472:47]
wire _T_4213 = io_lsu_axi_r_bits_id == _GEN_402; // @[lsu_bus_buffer.scala 472:47]
wire _T_4214 = buf_ldfwd[3] & _T_4213; // @[lsu_bus_buffer.scala 472:27]
wire _T_4215 = _T_4211 | _T_4214; // @[lsu_bus_buffer.scala 471:77]
wire _T_4216 = buf_dual_3 & buf_dualhi_3; // @[lsu_bus_buffer.scala 473:26]
@ -1944,30 +1944,30 @@ module lsu_bus_buffer(
wire _T_4219 = _T_4216 & _T_4218; // @[lsu_bus_buffer.scala 473:42]
wire _T_4220 = _T_4219 & buf_samedw_3; // @[lsu_bus_buffer.scala 473:58]
reg [1:0] buf_dualtag_3; // @[Reg.scala 27:20]
wire [2:0] _GEN_399 = {{1'd0}, buf_dualtag_3}; // @[lsu_bus_buffer.scala 473:94]
wire _T_4221 = io_lsu_axi_r_bits_id == _GEN_399; // @[lsu_bus_buffer.scala 473:94]
wire [2:0] _GEN_403 = {{1'd0}, buf_dualtag_3}; // @[lsu_bus_buffer.scala 473:94]
wire _T_4221 = io_lsu_axi_r_bits_id == _GEN_403; // @[lsu_bus_buffer.scala 473:94]
wire _T_4222 = _T_4220 & _T_4221; // @[lsu_bus_buffer.scala 473:74]
wire _T_4223 = _T_4215 | _T_4222; // @[lsu_bus_buffer.scala 472:71]
wire _T_4224 = bus_rsp_read & _T_4223; // @[lsu_bus_buffer.scala 471:25]
wire _T_4225 = _T_4210 | _T_4224; // @[lsu_bus_buffer.scala 470:105]
wire _GEN_280 = _T_4165 & _T_4225; // @[Conditional.scala 39:67]
wire _GEN_299 = _T_4131 ? 1'h0 : _GEN_280; // @[Conditional.scala 39:67]
wire _GEN_311 = _T_4127 ? 1'h0 : _GEN_299; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_3 = _T_4104 ? 1'h0 : _GEN_311; // @[Conditional.scala 40:58]
wire _GEN_284 = _T_4165 & _T_4225; // @[Conditional.scala 39:67]
wire _GEN_303 = _T_4131 ? 1'h0 : _GEN_284; // @[Conditional.scala 39:67]
wire _GEN_315 = _T_4127 ? 1'h0 : _GEN_303; // @[Conditional.scala 39:67]
wire buf_resp_state_bus_en_3 = _T_4104 ? 1'h0 : _GEN_315; // @[Conditional.scala 40:58]
wire [3:0] _T_4260 = buf_ldfwd >> buf_dualtag_3; // @[lsu_bus_buffer.scala 486:21]
wire [1:0] _GEN_261 = 2'h1 == buf_dualtag_3 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_262 = 2'h2 == buf_dualtag_3 ? buf_ldfwdtag_2 : _GEN_261; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_263 = 2'h3 == buf_dualtag_3 ? buf_ldfwdtag_3 : _GEN_262; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_401 = {{1'd0}, _GEN_263}; // @[lsu_bus_buffer.scala 486:58]
wire _T_4262 = io_lsu_axi_r_bits_id == _GEN_401; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_264 = 2'h1 == buf_dualtag_3 ? buf_ldfwdtag_1 : buf_ldfwdtag_0; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_265 = 2'h2 == buf_dualtag_3 ? buf_ldfwdtag_2 : _GEN_264; // @[lsu_bus_buffer.scala 486:58]
wire [1:0] _GEN_266 = 2'h3 == buf_dualtag_3 ? buf_ldfwdtag_3 : _GEN_265; // @[lsu_bus_buffer.scala 486:58]
wire [2:0] _GEN_405 = {{1'd0}, _GEN_266}; // @[lsu_bus_buffer.scala 486:58]
wire _T_4262 = io_lsu_axi_r_bits_id == _GEN_405; // @[lsu_bus_buffer.scala 486:58]
wire _T_4263 = _T_4260[0] & _T_4262; // @[lsu_bus_buffer.scala 486:38]
wire _T_4264 = _T_4221 | _T_4263; // @[lsu_bus_buffer.scala 485:95]
wire _T_4265 = bus_rsp_read & _T_4264; // @[lsu_bus_buffer.scala 485:45]
wire _GEN_274 = _T_4250 & _T_4265; // @[Conditional.scala 39:67]
wire _GEN_281 = _T_4165 ? buf_resp_state_bus_en_3 : _GEN_274; // @[Conditional.scala 39:67]
wire _GEN_291 = _T_4131 ? buf_cmd_state_bus_en_3 : _GEN_281; // @[Conditional.scala 39:67]
wire _GEN_304 = _T_4127 ? 1'h0 : _GEN_291; // @[Conditional.scala 39:67]
wire buf_state_bus_en_3 = _T_4104 ? 1'h0 : _GEN_304; // @[Conditional.scala 40:58]
wire _GEN_278 = _T_4250 & _T_4265; // @[Conditional.scala 39:67]
wire _GEN_285 = _T_4165 ? buf_resp_state_bus_en_3 : _GEN_278; // @[Conditional.scala 39:67]
wire _GEN_295 = _T_4131 ? buf_cmd_state_bus_en_3 : _GEN_285; // @[Conditional.scala 39:67]
wire _GEN_308 = _T_4127 ? 1'h0 : _GEN_295; // @[Conditional.scala 39:67]
wire buf_state_bus_en_3 = _T_4104 ? 1'h0 : _GEN_308; // @[Conditional.scala 40:58]
wire _T_4144 = buf_state_bus_en_3 & io_lsu_bus_clk_en; // @[lsu_bus_buffer.scala 458:49]
wire _T_4145 = _T_4144 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 458:70]
wire _T_4271 = RspPtr == 2'h3; // @[lsu_bus_buffer.scala 492:37]
@ -1975,12 +1975,12 @@ module lsu_bus_buffer(
wire _T_4273 = buf_dual_3 & _T_4272; // @[lsu_bus_buffer.scala 492:80]
wire _T_4274 = _T_4271 | _T_4273; // @[lsu_bus_buffer.scala 492:65]
wire _T_4275 = _T_4274 | io_dec_tlu_force_halt; // @[lsu_bus_buffer.scala 492:112]
wire _GEN_269 = _T_4268 ? _T_4275 : _T_4276; // @[Conditional.scala 39:67]
wire _GEN_275 = _T_4250 ? _T_4145 : _GEN_269; // @[Conditional.scala 39:67]
wire _GEN_282 = _T_4165 ? _T_4145 : _GEN_275; // @[Conditional.scala 39:67]
wire _GEN_292 = _T_4131 ? _T_4145 : _GEN_282; // @[Conditional.scala 39:67]
wire _GEN_302 = _T_4127 ? obuf_rdrsp_pend_en : _GEN_292; // @[Conditional.scala 39:67]
wire buf_state_en_3 = _T_4104 ? _T_4120 : _GEN_302; // @[Conditional.scala 40:58]
wire _GEN_273 = _T_4268 ? _T_4275 : _T_4276; // @[Conditional.scala 39:67]
wire _GEN_279 = _T_4250 ? _T_4145 : _GEN_273; // @[Conditional.scala 39:67]
wire _GEN_286 = _T_4165 ? _T_4145 : _GEN_279; // @[Conditional.scala 39:67]
wire _GEN_296 = _T_4131 ? _T_4145 : _GEN_286; // @[Conditional.scala 39:67]
wire _GEN_306 = _T_4127 ? obuf_rdrsp_pend_en : _GEN_296; // @[Conditional.scala 39:67]
wire buf_state_en_3 = _T_4104 ? _T_4120 : _GEN_306; // @[Conditional.scala 40:58]
wire _T_2374 = _T_1825 & buf_state_en_3; // @[lsu_bus_buffer.scala 409:94]
wire _T_2384 = _T_2076 & _T_1828; // @[lsu_bus_buffer.scala 411:71]
wire _T_2386 = _T_2384 & _T_1793; // @[lsu_bus_buffer.scala 411:92]
@ -2201,10 +2201,10 @@ module lsu_bus_buffer(
wire _T_3666 = bus_rsp_write_error & _T_3636; // @[lsu_bus_buffer.scala 479:33]
wire _T_3667 = _T_3664 | _T_3666; // @[lsu_bus_buffer.scala 478:88]
wire _T_3668 = _T_3571 & _T_3667; // @[lsu_bus_buffer.scala 477:68]
wire _GEN_56 = _T_3592 & _T_3668; // @[Conditional.scala 39:67]
wire _GEN_69 = _T_3558 ? _T_3585 : _GEN_56; // @[Conditional.scala 39:67]
wire _GEN_81 = _T_3554 ? 1'h0 : _GEN_69; // @[Conditional.scala 39:67]
wire buf_error_en_0 = _T_3531 ? 1'h0 : _GEN_81; // @[Conditional.scala 40:58]
wire _GEN_57 = _T_3592 & _T_3668; // @[Conditional.scala 39:67]
wire _GEN_70 = _T_3558 ? _T_3585 : _GEN_57; // @[Conditional.scala 39:67]
wire _GEN_82 = _T_3554 ? 1'h0 : _GEN_70; // @[Conditional.scala 39:67]
wire buf_error_en_0 = _T_3531 ? 1'h0 : _GEN_82; // @[Conditional.scala 40:58]
wire _T_3594 = ~bus_rsp_write_error; // @[lsu_bus_buffer.scala 467:75]
wire _T_3595 = buf_write[0] & _T_3594; // @[lsu_bus_buffer.scala 467:73]
wire _T_3596 = io_dec_tlu_force_halt | _T_3595; // @[lsu_bus_buffer.scala 467:57]
@ -2242,24 +2242,25 @@ module lsu_bus_buffer(
wire _T_3670 = buf_state_en_0 & _T_3669; // @[lsu_bus_buffer.scala 480:48]
wire _T_3682 = buf_ldfwd[0] | _T_3687[0]; // @[lsu_bus_buffer.scala 484:90]
wire _T_3683 = _T_3682 | any_done_wait_state; // @[lsu_bus_buffer.scala 484:118]
wire _GEN_39 = _T_3703 ? buf_state_en_0 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_43 = _T_3695 ? 1'h0 : _T_3703; // @[Conditional.scala 39:67]
wire _GEN_44 = _T_3695 ? io_dec_tlu_force_halt : _GEN_39; // @[Conditional.scala 39:67]
wire _GEN_49 = _T_3677 ? 1'h0 : _GEN_43; // @[Conditional.scala 39:67]
wire _GEN_37 = _T_3703 | io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_40 = _T_3703 ? buf_state_en_0 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_44 = _T_3695 ? io_dec_tlu_force_halt : _GEN_37; // @[Conditional.scala 39:67]
wire _GEN_45 = _T_3695 ? io_dec_tlu_force_halt : _GEN_40; // @[Conditional.scala 39:67]
wire _GEN_50 = _T_3677 ? io_dec_tlu_force_halt : _GEN_44; // @[Conditional.scala 39:67]
wire _GEN_55 = _T_3592 & _T_3656; // @[Conditional.scala 39:67]
wire _GEN_59 = _T_3592 ? 1'h0 : _GEN_49; // @[Conditional.scala 39:67]
wire _GEN_51 = _T_3677 ? io_dec_tlu_force_halt : _GEN_45; // @[Conditional.scala 39:67]
wire _GEN_56 = _T_3592 & _T_3656; // @[Conditional.scala 39:67]
wire _GEN_60 = _T_3592 ? io_dec_tlu_force_halt : _GEN_50; // @[Conditional.scala 39:67]
wire _GEN_66 = _T_3558 ? _T_3578 : _GEN_60; // @[Conditional.scala 39:67]
wire _GEN_68 = _T_3558 ? _T_3582 : _GEN_55; // @[Conditional.scala 39:67]
wire _GEN_72 = _T_3558 ? 1'h0 : _GEN_59; // @[Conditional.scala 39:67]
wire _GEN_78 = _T_3554 ? io_dec_tlu_force_halt : _GEN_66; // @[Conditional.scala 39:67]
wire _GEN_80 = _T_3554 ? 1'h0 : _GEN_68; // @[Conditional.scala 39:67]
wire _GEN_84 = _T_3554 ? 1'h0 : _GEN_72; // @[Conditional.scala 39:67]
wire _GEN_61 = _T_3592 ? io_dec_tlu_force_halt : _GEN_51; // @[Conditional.scala 39:67]
wire _GEN_67 = _T_3558 ? _T_3578 : _GEN_61; // @[Conditional.scala 39:67]
wire _GEN_69 = _T_3558 ? _T_3582 : _GEN_56; // @[Conditional.scala 39:67]
wire _GEN_73 = _T_3558 ? io_dec_tlu_force_halt : _GEN_60; // @[Conditional.scala 39:67]
wire _GEN_79 = _T_3554 ? io_dec_tlu_force_halt : _GEN_67; // @[Conditional.scala 39:67]
wire _GEN_81 = _T_3554 ? 1'h0 : _GEN_69; // @[Conditional.scala 39:67]
wire _GEN_85 = _T_3554 ? io_dec_tlu_force_halt : _GEN_73; // @[Conditional.scala 39:67]
wire buf_wr_en_0 = _T_3531 & buf_state_en_0; // @[Conditional.scala 40:58]
wire buf_data_en_0 = _T_3531 ? buf_state_en_0 : _GEN_80; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_0 = _T_3531 ? io_dec_tlu_force_halt : _GEN_78; // @[Conditional.scala 40:58]
wire buf_rst_0 = _T_3531 ? 1'h0 : _GEN_84; // @[Conditional.scala 40:58]
wire buf_data_en_0 = _T_3531 ? buf_state_en_0 : _GEN_81; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_0 = _T_3531 ? io_dec_tlu_force_halt : _GEN_79; // @[Conditional.scala 40:58]
wire buf_rst_0 = _T_3531 ? io_dec_tlu_force_halt : _GEN_85; // @[Conditional.scala 40:58]
wire _T_3766 = buf_state_en_1 & _T_3836; // @[lsu_bus_buffer.scala 460:44]
wire _T_3767 = _T_3766 & obuf_nosend; // @[lsu_bus_buffer.scala 460:60]
wire _T_3769 = _T_3767 & _T_2594; // @[lsu_bus_buffer.scala 460:74]
@ -2273,19 +2274,19 @@ module lsu_bus_buffer(
wire _T_3857 = bus_rsp_write_error & _T_3827; // @[lsu_bus_buffer.scala 479:33]
wire _T_3858 = _T_3855 | _T_3857; // @[lsu_bus_buffer.scala 478:88]
wire _T_3859 = _T_3762 & _T_3858; // @[lsu_bus_buffer.scala 477:68]
wire _GEN_132 = _T_3783 & _T_3859; // @[Conditional.scala 39:67]
wire _GEN_145 = _T_3749 ? _T_3776 : _GEN_132; // @[Conditional.scala 39:67]
wire _GEN_157 = _T_3745 ? 1'h0 : _GEN_145; // @[Conditional.scala 39:67]
wire buf_error_en_1 = _T_3722 ? 1'h0 : _GEN_157; // @[Conditional.scala 40:58]
wire _GEN_134 = _T_3783 & _T_3859; // @[Conditional.scala 39:67]
wire _GEN_147 = _T_3749 ? _T_3776 : _GEN_134; // @[Conditional.scala 39:67]
wire _GEN_159 = _T_3745 ? 1'h0 : _GEN_147; // @[Conditional.scala 39:67]
wire buf_error_en_1 = _T_3722 ? 1'h0 : _GEN_159; // @[Conditional.scala 40:58]
wire _T_3786 = buf_write[1] & _T_3594; // @[lsu_bus_buffer.scala 467:73]
wire _T_3787 = io_dec_tlu_force_halt | _T_3786; // @[lsu_bus_buffer.scala 467:57]
wire _T_3789 = ~buf_samedw_1; // @[lsu_bus_buffer.scala 468:30]
wire _T_3790 = buf_dual_1 & _T_3789; // @[lsu_bus_buffer.scala 468:28]
wire _T_3793 = _T_3790 & _T_3836; // @[lsu_bus_buffer.scala 468:45]
wire [2:0] _GEN_105 = 2'h1 == buf_dualtag_1 ? buf_state_1 : buf_state_0; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_106 = 2'h2 == buf_dualtag_1 ? buf_state_2 : _GEN_105; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_107 = 2'h3 == buf_dualtag_1 ? buf_state_3 : _GEN_106; // @[lsu_bus_buffer.scala 468:90]
wire _T_3794 = _GEN_107 != 3'h4; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_106 = 2'h1 == buf_dualtag_1 ? buf_state_1 : buf_state_0; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_107 = 2'h2 == buf_dualtag_1 ? buf_state_2 : _GEN_106; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_108 = 2'h3 == buf_dualtag_1 ? buf_state_3 : _GEN_107; // @[lsu_bus_buffer.scala 468:90]
wire _T_3794 = _GEN_108 != 3'h4; // @[lsu_bus_buffer.scala 468:90]
wire _T_3795 = _T_3793 & _T_3794; // @[lsu_bus_buffer.scala 468:61]
wire _T_3797 = buf_ldfwd[1] | any_done_wait_state; // @[lsu_bus_buffer.scala 469:31]
wire _T_3803 = buf_dualtag_1 == 2'h0; // @[lsu_bus_buffer.scala 60:118]
@ -2300,7 +2301,7 @@ module lsu_bus_buffer(
wire _T_3816 = _T_3815 | _T_3813; // @[Mux.scala 27:72]
wire _T_3817 = _T_3816 | _T_3814; // @[Mux.scala 27:72]
wire _T_3819 = _T_3793 & _T_3817; // @[lsu_bus_buffer.scala 469:101]
wire _T_3820 = _GEN_107 == 3'h4; // @[lsu_bus_buffer.scala 469:167]
wire _T_3820 = _GEN_108 == 3'h4; // @[lsu_bus_buffer.scala 469:167]
wire _T_3821 = _T_3819 & _T_3820; // @[lsu_bus_buffer.scala 469:138]
wire _T_3822 = _T_3821 & any_done_wait_state; // @[lsu_bus_buffer.scala 469:187]
wire _T_3823 = _T_3797 | _T_3822; // @[lsu_bus_buffer.scala 469:53]
@ -2310,24 +2311,25 @@ module lsu_bus_buffer(
wire _T_3861 = buf_state_en_1 & _T_3860; // @[lsu_bus_buffer.scala 480:48]
wire _T_3873 = buf_ldfwd[1] | _T_3878[0]; // @[lsu_bus_buffer.scala 484:90]
wire _T_3874 = _T_3873 | any_done_wait_state; // @[lsu_bus_buffer.scala 484:118]
wire _GEN_115 = _T_3894 ? buf_state_en_1 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_119 = _T_3886 ? 1'h0 : _T_3894; // @[Conditional.scala 39:67]
wire _GEN_120 = _T_3886 ? io_dec_tlu_force_halt : _GEN_115; // @[Conditional.scala 39:67]
wire _GEN_125 = _T_3868 ? 1'h0 : _GEN_119; // @[Conditional.scala 39:67]
wire _GEN_126 = _T_3868 ? io_dec_tlu_force_halt : _GEN_120; // @[Conditional.scala 39:67]
wire _GEN_131 = _T_3783 & _T_3847; // @[Conditional.scala 39:67]
wire _GEN_135 = _T_3783 ? 1'h0 : _GEN_125; // @[Conditional.scala 39:67]
wire _GEN_136 = _T_3783 ? io_dec_tlu_force_halt : _GEN_126; // @[Conditional.scala 39:67]
wire _GEN_142 = _T_3749 ? _T_3769 : _GEN_136; // @[Conditional.scala 39:67]
wire _GEN_144 = _T_3749 ? _T_3773 : _GEN_131; // @[Conditional.scala 39:67]
wire _GEN_148 = _T_3749 ? 1'h0 : _GEN_135; // @[Conditional.scala 39:67]
wire _GEN_154 = _T_3745 ? io_dec_tlu_force_halt : _GEN_142; // @[Conditional.scala 39:67]
wire _GEN_156 = _T_3745 ? 1'h0 : _GEN_144; // @[Conditional.scala 39:67]
wire _GEN_160 = _T_3745 ? 1'h0 : _GEN_148; // @[Conditional.scala 39:67]
wire _GEN_114 = _T_3894 | io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_117 = _T_3894 ? buf_state_en_1 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_121 = _T_3886 ? io_dec_tlu_force_halt : _GEN_114; // @[Conditional.scala 39:67]
wire _GEN_122 = _T_3886 ? io_dec_tlu_force_halt : _GEN_117; // @[Conditional.scala 39:67]
wire _GEN_127 = _T_3868 ? io_dec_tlu_force_halt : _GEN_121; // @[Conditional.scala 39:67]
wire _GEN_128 = _T_3868 ? io_dec_tlu_force_halt : _GEN_122; // @[Conditional.scala 39:67]
wire _GEN_133 = _T_3783 & _T_3847; // @[Conditional.scala 39:67]
wire _GEN_137 = _T_3783 ? io_dec_tlu_force_halt : _GEN_127; // @[Conditional.scala 39:67]
wire _GEN_138 = _T_3783 ? io_dec_tlu_force_halt : _GEN_128; // @[Conditional.scala 39:67]
wire _GEN_144 = _T_3749 ? _T_3769 : _GEN_138; // @[Conditional.scala 39:67]
wire _GEN_146 = _T_3749 ? _T_3773 : _GEN_133; // @[Conditional.scala 39:67]
wire _GEN_150 = _T_3749 ? io_dec_tlu_force_halt : _GEN_137; // @[Conditional.scala 39:67]
wire _GEN_156 = _T_3745 ? io_dec_tlu_force_halt : _GEN_144; // @[Conditional.scala 39:67]
wire _GEN_158 = _T_3745 ? 1'h0 : _GEN_146; // @[Conditional.scala 39:67]
wire _GEN_162 = _T_3745 ? io_dec_tlu_force_halt : _GEN_150; // @[Conditional.scala 39:67]
wire buf_wr_en_1 = _T_3722 & buf_state_en_1; // @[Conditional.scala 40:58]
wire buf_data_en_1 = _T_3722 ? buf_state_en_1 : _GEN_156; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_1 = _T_3722 ? io_dec_tlu_force_halt : _GEN_154; // @[Conditional.scala 40:58]
wire buf_rst_1 = _T_3722 ? 1'h0 : _GEN_160; // @[Conditional.scala 40:58]
wire buf_data_en_1 = _T_3722 ? buf_state_en_1 : _GEN_158; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_1 = _T_3722 ? io_dec_tlu_force_halt : _GEN_156; // @[Conditional.scala 40:58]
wire buf_rst_1 = _T_3722 ? io_dec_tlu_force_halt : _GEN_162; // @[Conditional.scala 40:58]
wire _T_3957 = buf_state_en_2 & _T_4027; // @[lsu_bus_buffer.scala 460:44]
wire _T_3958 = _T_3957 & obuf_nosend; // @[lsu_bus_buffer.scala 460:60]
wire _T_3960 = _T_3958 & _T_2594; // @[lsu_bus_buffer.scala 460:74]
@ -2341,19 +2343,19 @@ module lsu_bus_buffer(
wire _T_4048 = bus_rsp_write_error & _T_4018; // @[lsu_bus_buffer.scala 479:33]
wire _T_4049 = _T_4046 | _T_4048; // @[lsu_bus_buffer.scala 478:88]
wire _T_4050 = _T_3953 & _T_4049; // @[lsu_bus_buffer.scala 477:68]
wire _GEN_208 = _T_3974 & _T_4050; // @[Conditional.scala 39:67]
wire _GEN_221 = _T_3940 ? _T_3967 : _GEN_208; // @[Conditional.scala 39:67]
wire _GEN_233 = _T_3936 ? 1'h0 : _GEN_221; // @[Conditional.scala 39:67]
wire buf_error_en_2 = _T_3913 ? 1'h0 : _GEN_233; // @[Conditional.scala 40:58]
wire _GEN_211 = _T_3974 & _T_4050; // @[Conditional.scala 39:67]
wire _GEN_224 = _T_3940 ? _T_3967 : _GEN_211; // @[Conditional.scala 39:67]
wire _GEN_236 = _T_3936 ? 1'h0 : _GEN_224; // @[Conditional.scala 39:67]
wire buf_error_en_2 = _T_3913 ? 1'h0 : _GEN_236; // @[Conditional.scala 40:58]
wire _T_3977 = buf_write[2] & _T_3594; // @[lsu_bus_buffer.scala 467:73]
wire _T_3978 = io_dec_tlu_force_halt | _T_3977; // @[lsu_bus_buffer.scala 467:57]
wire _T_3980 = ~buf_samedw_2; // @[lsu_bus_buffer.scala 468:30]
wire _T_3981 = buf_dual_2 & _T_3980; // @[lsu_bus_buffer.scala 468:28]
wire _T_3984 = _T_3981 & _T_4027; // @[lsu_bus_buffer.scala 468:45]
wire [2:0] _GEN_181 = 2'h1 == buf_dualtag_2 ? buf_state_1 : buf_state_0; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_182 = 2'h2 == buf_dualtag_2 ? buf_state_2 : _GEN_181; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_183 = 2'h3 == buf_dualtag_2 ? buf_state_3 : _GEN_182; // @[lsu_bus_buffer.scala 468:90]
wire _T_3985 = _GEN_183 != 3'h4; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_183 = 2'h1 == buf_dualtag_2 ? buf_state_1 : buf_state_0; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_184 = 2'h2 == buf_dualtag_2 ? buf_state_2 : _GEN_183; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_185 = 2'h3 == buf_dualtag_2 ? buf_state_3 : _GEN_184; // @[lsu_bus_buffer.scala 468:90]
wire _T_3985 = _GEN_185 != 3'h4; // @[lsu_bus_buffer.scala 468:90]
wire _T_3986 = _T_3984 & _T_3985; // @[lsu_bus_buffer.scala 468:61]
wire _T_3988 = buf_ldfwd[2] | any_done_wait_state; // @[lsu_bus_buffer.scala 469:31]
wire _T_3994 = buf_dualtag_2 == 2'h0; // @[lsu_bus_buffer.scala 60:118]
@ -2368,7 +2370,7 @@ module lsu_bus_buffer(
wire _T_4007 = _T_4006 | _T_4004; // @[Mux.scala 27:72]
wire _T_4008 = _T_4007 | _T_4005; // @[Mux.scala 27:72]
wire _T_4010 = _T_3984 & _T_4008; // @[lsu_bus_buffer.scala 469:101]
wire _T_4011 = _GEN_183 == 3'h4; // @[lsu_bus_buffer.scala 469:167]
wire _T_4011 = _GEN_185 == 3'h4; // @[lsu_bus_buffer.scala 469:167]
wire _T_4012 = _T_4010 & _T_4011; // @[lsu_bus_buffer.scala 469:138]
wire _T_4013 = _T_4012 & any_done_wait_state; // @[lsu_bus_buffer.scala 469:187]
wire _T_4014 = _T_3988 | _T_4013; // @[lsu_bus_buffer.scala 469:53]
@ -2378,24 +2380,25 @@ module lsu_bus_buffer(
wire _T_4052 = buf_state_en_2 & _T_4051; // @[lsu_bus_buffer.scala 480:48]
wire _T_4064 = buf_ldfwd[2] | _T_4069[0]; // @[lsu_bus_buffer.scala 484:90]
wire _T_4065 = _T_4064 | any_done_wait_state; // @[lsu_bus_buffer.scala 484:118]
wire _GEN_191 = _T_4085 ? buf_state_en_2 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_195 = _T_4077 ? 1'h0 : _T_4085; // @[Conditional.scala 39:67]
wire _GEN_196 = _T_4077 ? io_dec_tlu_force_halt : _GEN_191; // @[Conditional.scala 39:67]
wire _GEN_201 = _T_4059 ? 1'h0 : _GEN_195; // @[Conditional.scala 39:67]
wire _GEN_202 = _T_4059 ? io_dec_tlu_force_halt : _GEN_196; // @[Conditional.scala 39:67]
wire _GEN_207 = _T_3974 & _T_4038; // @[Conditional.scala 39:67]
wire _GEN_211 = _T_3974 ? 1'h0 : _GEN_201; // @[Conditional.scala 39:67]
wire _GEN_212 = _T_3974 ? io_dec_tlu_force_halt : _GEN_202; // @[Conditional.scala 39:67]
wire _GEN_218 = _T_3940 ? _T_3960 : _GEN_212; // @[Conditional.scala 39:67]
wire _GEN_220 = _T_3940 ? _T_3964 : _GEN_207; // @[Conditional.scala 39:67]
wire _GEN_224 = _T_3940 ? 1'h0 : _GEN_211; // @[Conditional.scala 39:67]
wire _GEN_230 = _T_3936 ? io_dec_tlu_force_halt : _GEN_218; // @[Conditional.scala 39:67]
wire _GEN_232 = _T_3936 ? 1'h0 : _GEN_220; // @[Conditional.scala 39:67]
wire _GEN_236 = _T_3936 ? 1'h0 : _GEN_224; // @[Conditional.scala 39:67]
wire _GEN_191 = _T_4085 | io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_194 = _T_4085 ? buf_state_en_2 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_198 = _T_4077 ? io_dec_tlu_force_halt : _GEN_191; // @[Conditional.scala 39:67]
wire _GEN_199 = _T_4077 ? io_dec_tlu_force_halt : _GEN_194; // @[Conditional.scala 39:67]
wire _GEN_204 = _T_4059 ? io_dec_tlu_force_halt : _GEN_198; // @[Conditional.scala 39:67]
wire _GEN_205 = _T_4059 ? io_dec_tlu_force_halt : _GEN_199; // @[Conditional.scala 39:67]
wire _GEN_210 = _T_3974 & _T_4038; // @[Conditional.scala 39:67]
wire _GEN_214 = _T_3974 ? io_dec_tlu_force_halt : _GEN_204; // @[Conditional.scala 39:67]
wire _GEN_215 = _T_3974 ? io_dec_tlu_force_halt : _GEN_205; // @[Conditional.scala 39:67]
wire _GEN_221 = _T_3940 ? _T_3960 : _GEN_215; // @[Conditional.scala 39:67]
wire _GEN_223 = _T_3940 ? _T_3964 : _GEN_210; // @[Conditional.scala 39:67]
wire _GEN_227 = _T_3940 ? io_dec_tlu_force_halt : _GEN_214; // @[Conditional.scala 39:67]
wire _GEN_233 = _T_3936 ? io_dec_tlu_force_halt : _GEN_221; // @[Conditional.scala 39:67]
wire _GEN_235 = _T_3936 ? 1'h0 : _GEN_223; // @[Conditional.scala 39:67]
wire _GEN_239 = _T_3936 ? io_dec_tlu_force_halt : _GEN_227; // @[Conditional.scala 39:67]
wire buf_wr_en_2 = _T_3913 & buf_state_en_2; // @[Conditional.scala 40:58]
wire buf_data_en_2 = _T_3913 ? buf_state_en_2 : _GEN_232; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_2 = _T_3913 ? io_dec_tlu_force_halt : _GEN_230; // @[Conditional.scala 40:58]
wire buf_rst_2 = _T_3913 ? 1'h0 : _GEN_236; // @[Conditional.scala 40:58]
wire buf_data_en_2 = _T_3913 ? buf_state_en_2 : _GEN_235; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_2 = _T_3913 ? io_dec_tlu_force_halt : _GEN_233; // @[Conditional.scala 40:58]
wire buf_rst_2 = _T_3913 ? io_dec_tlu_force_halt : _GEN_239; // @[Conditional.scala 40:58]
wire _T_4148 = buf_state_en_3 & _T_4218; // @[lsu_bus_buffer.scala 460:44]
wire _T_4149 = _T_4148 & obuf_nosend; // @[lsu_bus_buffer.scala 460:60]
wire _T_4151 = _T_4149 & _T_2594; // @[lsu_bus_buffer.scala 460:74]
@ -2409,19 +2412,19 @@ module lsu_bus_buffer(
wire _T_4239 = bus_rsp_write_error & _T_4209; // @[lsu_bus_buffer.scala 479:33]
wire _T_4240 = _T_4237 | _T_4239; // @[lsu_bus_buffer.scala 478:88]
wire _T_4241 = _T_4144 & _T_4240; // @[lsu_bus_buffer.scala 477:68]
wire _GEN_284 = _T_4165 & _T_4241; // @[Conditional.scala 39:67]
wire _GEN_297 = _T_4131 ? _T_4158 : _GEN_284; // @[Conditional.scala 39:67]
wire _GEN_309 = _T_4127 ? 1'h0 : _GEN_297; // @[Conditional.scala 39:67]
wire buf_error_en_3 = _T_4104 ? 1'h0 : _GEN_309; // @[Conditional.scala 40:58]
wire _GEN_288 = _T_4165 & _T_4241; // @[Conditional.scala 39:67]
wire _GEN_301 = _T_4131 ? _T_4158 : _GEN_288; // @[Conditional.scala 39:67]
wire _GEN_313 = _T_4127 ? 1'h0 : _GEN_301; // @[Conditional.scala 39:67]
wire buf_error_en_3 = _T_4104 ? 1'h0 : _GEN_313; // @[Conditional.scala 40:58]
wire _T_4168 = buf_write[3] & _T_3594; // @[lsu_bus_buffer.scala 467:73]
wire _T_4169 = io_dec_tlu_force_halt | _T_4168; // @[lsu_bus_buffer.scala 467:57]
wire _T_4171 = ~buf_samedw_3; // @[lsu_bus_buffer.scala 468:30]
wire _T_4172 = buf_dual_3 & _T_4171; // @[lsu_bus_buffer.scala 468:28]
wire _T_4175 = _T_4172 & _T_4218; // @[lsu_bus_buffer.scala 468:45]
wire [2:0] _GEN_257 = 2'h1 == buf_dualtag_3 ? buf_state_1 : buf_state_0; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_258 = 2'h2 == buf_dualtag_3 ? buf_state_2 : _GEN_257; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_259 = 2'h3 == buf_dualtag_3 ? buf_state_3 : _GEN_258; // @[lsu_bus_buffer.scala 468:90]
wire _T_4176 = _GEN_259 != 3'h4; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_260 = 2'h1 == buf_dualtag_3 ? buf_state_1 : buf_state_0; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_261 = 2'h2 == buf_dualtag_3 ? buf_state_2 : _GEN_260; // @[lsu_bus_buffer.scala 468:90]
wire [2:0] _GEN_262 = 2'h3 == buf_dualtag_3 ? buf_state_3 : _GEN_261; // @[lsu_bus_buffer.scala 468:90]
wire _T_4176 = _GEN_262 != 3'h4; // @[lsu_bus_buffer.scala 468:90]
wire _T_4177 = _T_4175 & _T_4176; // @[lsu_bus_buffer.scala 468:61]
wire _T_4179 = buf_ldfwd[3] | any_done_wait_state; // @[lsu_bus_buffer.scala 469:31]
wire _T_4185 = buf_dualtag_3 == 2'h0; // @[lsu_bus_buffer.scala 60:118]
@ -2436,7 +2439,7 @@ module lsu_bus_buffer(
wire _T_4198 = _T_4197 | _T_4195; // @[Mux.scala 27:72]
wire _T_4199 = _T_4198 | _T_4196; // @[Mux.scala 27:72]
wire _T_4201 = _T_4175 & _T_4199; // @[lsu_bus_buffer.scala 469:101]
wire _T_4202 = _GEN_259 == 3'h4; // @[lsu_bus_buffer.scala 469:167]
wire _T_4202 = _GEN_262 == 3'h4; // @[lsu_bus_buffer.scala 469:167]
wire _T_4203 = _T_4201 & _T_4202; // @[lsu_bus_buffer.scala 469:138]
wire _T_4204 = _T_4203 & any_done_wait_state; // @[lsu_bus_buffer.scala 469:187]
wire _T_4205 = _T_4179 | _T_4204; // @[lsu_bus_buffer.scala 469:53]
@ -2446,24 +2449,25 @@ module lsu_bus_buffer(
wire _T_4243 = buf_state_en_3 & _T_4242; // @[lsu_bus_buffer.scala 480:48]
wire _T_4255 = buf_ldfwd[3] | _T_4260[0]; // @[lsu_bus_buffer.scala 484:90]
wire _T_4256 = _T_4255 | any_done_wait_state; // @[lsu_bus_buffer.scala 484:118]
wire _GEN_267 = _T_4276 ? buf_state_en_3 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_271 = _T_4268 ? 1'h0 : _T_4276; // @[Conditional.scala 39:67]
wire _GEN_272 = _T_4268 ? io_dec_tlu_force_halt : _GEN_267; // @[Conditional.scala 39:67]
wire _GEN_277 = _T_4250 ? 1'h0 : _GEN_271; // @[Conditional.scala 39:67]
wire _GEN_278 = _T_4250 ? io_dec_tlu_force_halt : _GEN_272; // @[Conditional.scala 39:67]
wire _GEN_283 = _T_4165 & _T_4229; // @[Conditional.scala 39:67]
wire _GEN_287 = _T_4165 ? 1'h0 : _GEN_277; // @[Conditional.scala 39:67]
wire _GEN_288 = _T_4165 ? io_dec_tlu_force_halt : _GEN_278; // @[Conditional.scala 39:67]
wire _GEN_294 = _T_4131 ? _T_4151 : _GEN_288; // @[Conditional.scala 39:67]
wire _GEN_296 = _T_4131 ? _T_4155 : _GEN_283; // @[Conditional.scala 39:67]
wire _GEN_300 = _T_4131 ? 1'h0 : _GEN_287; // @[Conditional.scala 39:67]
wire _GEN_306 = _T_4127 ? io_dec_tlu_force_halt : _GEN_294; // @[Conditional.scala 39:67]
wire _GEN_308 = _T_4127 ? 1'h0 : _GEN_296; // @[Conditional.scala 39:67]
wire _GEN_268 = _T_4276 | io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_271 = _T_4276 ? buf_state_en_3 : io_dec_tlu_force_halt; // @[Conditional.scala 39:67]
wire _GEN_275 = _T_4268 ? io_dec_tlu_force_halt : _GEN_268; // @[Conditional.scala 39:67]
wire _GEN_276 = _T_4268 ? io_dec_tlu_force_halt : _GEN_271; // @[Conditional.scala 39:67]
wire _GEN_281 = _T_4250 ? io_dec_tlu_force_halt : _GEN_275; // @[Conditional.scala 39:67]
wire _GEN_282 = _T_4250 ? io_dec_tlu_force_halt : _GEN_276; // @[Conditional.scala 39:67]
wire _GEN_287 = _T_4165 & _T_4229; // @[Conditional.scala 39:67]
wire _GEN_291 = _T_4165 ? io_dec_tlu_force_halt : _GEN_281; // @[Conditional.scala 39:67]
wire _GEN_292 = _T_4165 ? io_dec_tlu_force_halt : _GEN_282; // @[Conditional.scala 39:67]
wire _GEN_298 = _T_4131 ? _T_4151 : _GEN_292; // @[Conditional.scala 39:67]
wire _GEN_300 = _T_4131 ? _T_4155 : _GEN_287; // @[Conditional.scala 39:67]
wire _GEN_304 = _T_4131 ? io_dec_tlu_force_halt : _GEN_291; // @[Conditional.scala 39:67]
wire _GEN_310 = _T_4127 ? io_dec_tlu_force_halt : _GEN_298; // @[Conditional.scala 39:67]
wire _GEN_312 = _T_4127 ? 1'h0 : _GEN_300; // @[Conditional.scala 39:67]
wire _GEN_316 = _T_4127 ? io_dec_tlu_force_halt : _GEN_304; // @[Conditional.scala 39:67]
wire buf_wr_en_3 = _T_4104 & buf_state_en_3; // @[Conditional.scala 40:58]
wire buf_data_en_3 = _T_4104 ? buf_state_en_3 : _GEN_308; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_3 = _T_4104 ? io_dec_tlu_force_halt : _GEN_306; // @[Conditional.scala 40:58]
wire buf_rst_3 = _T_4104 ? 1'h0 : _GEN_312; // @[Conditional.scala 40:58]
wire buf_data_en_3 = _T_4104 ? buf_state_en_3 : _GEN_312; // @[Conditional.scala 40:58]
wire buf_ldfwd_en_3 = _T_4104 ? io_dec_tlu_force_halt : _GEN_310; // @[Conditional.scala 40:58]
wire buf_rst_3 = _T_4104 ? io_dec_tlu_force_halt : _GEN_316; // @[Conditional.scala 40:58]
reg _T_4331; // @[Reg.scala 27:20]
reg _T_4334; // @[Reg.scala 27:20]
reg _T_4337; // @[Reg.scala 27:20]
@ -2487,13 +2491,13 @@ module lsu_bus_buffer(
wire [1:0] _T_4412 = {io_lsu_busreq_r,1'h0}; // @[Cat.scala 29:58]
wire [1:0] _T_4413 = io_ldst_dual_r ? _T_4412 : {{1'd0}, io_lsu_busreq_r}; // @[lsu_bus_buffer.scala 524:94]
wire [2:0] _T_4414 = _T_4411 + _T_4413; // @[lsu_bus_buffer.scala 524:88]
wire [2:0] _GEN_406 = {{2'd0}, ibuf_valid}; // @[lsu_bus_buffer.scala 524:154]
wire [3:0] _T_4415 = _T_4414 + _GEN_406; // @[lsu_bus_buffer.scala 524:154]
wire [2:0] _GEN_410 = {{2'd0}, ibuf_valid}; // @[lsu_bus_buffer.scala 524:154]
wire [3:0] _T_4415 = _T_4414 + _GEN_410; // @[lsu_bus_buffer.scala 524:154]
wire [1:0] _T_4420 = _T_5 + _T_12; // @[lsu_bus_buffer.scala 524:217]
wire [1:0] _GEN_407 = {{1'd0}, _T_19}; // @[lsu_bus_buffer.scala 524:217]
wire [2:0] _T_4421 = _T_4420 + _GEN_407; // @[lsu_bus_buffer.scala 524:217]
wire [2:0] _GEN_408 = {{2'd0}, _T_26}; // @[lsu_bus_buffer.scala 524:217]
wire [3:0] _T_4422 = _T_4421 + _GEN_408; // @[lsu_bus_buffer.scala 524:217]
wire [1:0] _GEN_411 = {{1'd0}, _T_19}; // @[lsu_bus_buffer.scala 524:217]
wire [2:0] _T_4421 = _T_4420 + _GEN_411; // @[lsu_bus_buffer.scala 524:217]
wire [2:0] _GEN_412 = {{2'd0}, _T_26}; // @[lsu_bus_buffer.scala 524:217]
wire [3:0] _T_4422 = _T_4421 + _GEN_412; // @[lsu_bus_buffer.scala 524:217]
wire [3:0] buf_numvld_any = _T_4415 + _T_4422; // @[lsu_bus_buffer.scala 524:169]
wire _T_4493 = io_ldst_dual_d & io_dec_lsu_valid_raw_d; // @[lsu_bus_buffer.scala 530:52]
wire _T_4494 = buf_numvld_any >= 4'h3; // @[lsu_bus_buffer.scala 530:92]
@ -2531,26 +2535,26 @@ module lsu_bus_buffer(
wire _T_4559 = _T_2836 & _T_4555; // @[Mux.scala 27:72]
wire _T_4560 = _T_4556 | _T_4557; // @[Mux.scala 27:72]
wire _T_4561 = _T_4560 | _T_4558; // @[Mux.scala 27:72]
wire _T_4568 = ~buf_dual_0; // @[lsu_bus_buffer.scala 540:122]
wire _T_4569 = ~buf_dualhi_0; // @[lsu_bus_buffer.scala 540:137]
wire _T_4570 = _T_4568 | _T_4569; // @[lsu_bus_buffer.scala 540:135]
wire _T_4571 = _T_4529 & _T_4570; // @[lsu_bus_buffer.scala 540:119]
wire _T_4576 = ~buf_dual_1; // @[lsu_bus_buffer.scala 540:122]
wire _T_4577 = ~buf_dualhi_1; // @[lsu_bus_buffer.scala 540:137]
wire _T_4578 = _T_4576 | _T_4577; // @[lsu_bus_buffer.scala 540:135]
wire _T_4579 = _T_4530 & _T_4578; // @[lsu_bus_buffer.scala 540:119]
wire _T_4584 = ~buf_dual_2; // @[lsu_bus_buffer.scala 540:122]
wire _T_4585 = ~buf_dualhi_2; // @[lsu_bus_buffer.scala 540:137]
wire _T_4586 = _T_4584 | _T_4585; // @[lsu_bus_buffer.scala 540:135]
wire _T_4587 = _T_4531 & _T_4586; // @[lsu_bus_buffer.scala 540:119]
wire _T_4592 = ~buf_dual_3; // @[lsu_bus_buffer.scala 540:122]
wire _T_4593 = ~buf_dualhi_3; // @[lsu_bus_buffer.scala 540:137]
wire _T_4594 = _T_4592 | _T_4593; // @[lsu_bus_buffer.scala 540:135]
wire _T_4595 = _T_4532 & _T_4594; // @[lsu_bus_buffer.scala 540:119]
wire _T_4568 = ~buf_dual_0; // @[lsu_bus_buffer.scala 540:121]
wire _T_4569 = ~buf_dualhi_0; // @[lsu_bus_buffer.scala 540:136]
wire _T_4570 = _T_4568 | _T_4569; // @[lsu_bus_buffer.scala 540:134]
wire _T_4571 = _T_4529 & _T_4570; // @[lsu_bus_buffer.scala 540:118]
wire _T_4576 = ~buf_dual_1; // @[lsu_bus_buffer.scala 540:121]
wire _T_4577 = ~buf_dualhi_1; // @[lsu_bus_buffer.scala 540:136]
wire _T_4578 = _T_4576 | _T_4577; // @[lsu_bus_buffer.scala 540:134]
wire _T_4579 = _T_4530 & _T_4578; // @[lsu_bus_buffer.scala 540:118]
wire _T_4584 = ~buf_dual_2; // @[lsu_bus_buffer.scala 540:121]
wire _T_4585 = ~buf_dualhi_2; // @[lsu_bus_buffer.scala 540:136]
wire _T_4586 = _T_4584 | _T_4585; // @[lsu_bus_buffer.scala 540:134]
wire _T_4587 = _T_4531 & _T_4586; // @[lsu_bus_buffer.scala 540:118]
wire _T_4592 = ~buf_dual_3; // @[lsu_bus_buffer.scala 540:121]
wire _T_4593 = ~buf_dualhi_3; // @[lsu_bus_buffer.scala 540:136]
wire _T_4594 = _T_4592 | _T_4593; // @[lsu_bus_buffer.scala 540:134]
wire _T_4595 = _T_4532 & _T_4594; // @[lsu_bus_buffer.scala 540:118]
wire [1:0] _T_4598 = _T_4587 ? 2'h2 : 2'h0; // @[Mux.scala 27:72]
wire [1:0] _T_4599 = _T_4595 ? 2'h3 : 2'h0; // @[Mux.scala 27:72]
wire [1:0] _GEN_409 = {{1'd0}, _T_4579}; // @[Mux.scala 27:72]
wire [1:0] _T_4601 = _GEN_409 | _T_4598; // @[Mux.scala 27:72]
wire [1:0] _GEN_413 = {{1'd0}, _T_4579}; // @[Mux.scala 27:72]
wire [1:0] _T_4601 = _GEN_413 | _T_4598; // @[Mux.scala 27:72]
wire [31:0] _T_4636 = _T_4571 ? buf_data_0 : 32'h0; // @[Mux.scala 27:72]
wire [31:0] _T_4637 = _T_4579 ? buf_data_1 : 32'h0; // @[Mux.scala 27:72]
wire [31:0] _T_4638 = _T_4587 ? buf_data_2 : 32'h0; // @[Mux.scala 27:72]
@ -2596,8 +2600,8 @@ module lsu_bus_buffer(
wire _T_4710 = _T_4709 | _T_4707; // @[Mux.scala 27:72]
wire lsu_nonblock_unsign = _T_4710 | _T_4708; // @[Mux.scala 27:72]
wire [63:0] _T_4712 = {lsu_nonblock_load_data_hi,lsu_nonblock_load_data_lo}; // @[Cat.scala 29:58]
wire [3:0] _GEN_410 = {{2'd0}, lsu_nonblock_addr_offset}; // @[lsu_bus_buffer.scala 547:121]
wire [5:0] _T_4713 = _GEN_410 * 4'h8; // @[lsu_bus_buffer.scala 547:121]
wire [3:0] _GEN_414 = {{2'd0}, lsu_nonblock_addr_offset}; // @[lsu_bus_buffer.scala 547:121]
wire [5:0] _T_4713 = _GEN_414 * 4'h8; // @[lsu_bus_buffer.scala 547:121]
wire [63:0] lsu_nonblock_data_unalgn = _T_4712 >> _T_4713; // @[lsu_bus_buffer.scala 547:92]
wire _T_4714 = ~io_dctl_busbuff_lsu_nonblock_load_data_error; // @[lsu_bus_buffer.scala 549:82]
wire _T_4716 = lsu_nonblock_sz == 2'h0; // @[lsu_bus_buffer.scala 550:94]
@ -2622,8 +2626,8 @@ module lsu_bus_buffer(
wire [31:0] _T_4746 = _T_4741 | _T_4742; // @[Mux.scala 27:72]
wire [31:0] _T_4747 = _T_4746 | _T_4743; // @[Mux.scala 27:72]
wire [31:0] _T_4748 = _T_4747 | _T_4744; // @[Mux.scala 27:72]
wire [63:0] _GEN_411 = {{32'd0}, _T_4748}; // @[Mux.scala 27:72]
wire [63:0] _T_4749 = _GEN_411 | _T_4745; // @[Mux.scala 27:72]
wire [63:0] _GEN_415 = {{32'd0}, _T_4748}; // @[Mux.scala 27:72]
wire [63:0] _T_4749 = _GEN_415 | _T_4745; // @[Mux.scala 27:72]
wire _T_4843 = obuf_valid & obuf_write; // @[lsu_bus_buffer.scala 572:37]
wire _T_4844 = ~obuf_cmd_done; // @[lsu_bus_buffer.scala 572:52]
wire _T_4845 = _T_4843 & _T_4844; // @[lsu_bus_buffer.scala 572:50]
@ -2656,16 +2660,16 @@ module lsu_bus_buffer(
wire _T_4923 = _T_4921 & buf_write[3]; // @[lsu_bus_buffer.scala 603:108]
wire [1:0] _T_4926 = _T_4918 ? 2'h2 : 2'h0; // @[Mux.scala 27:72]
wire [1:0] _T_4927 = _T_4923 ? 2'h3 : 2'h0; // @[Mux.scala 27:72]
wire [1:0] _GEN_412 = {{1'd0}, _T_4913}; // @[Mux.scala 27:72]
wire [1:0] _T_4929 = _GEN_412 | _T_4926; // @[Mux.scala 27:72]
wire [1:0] _GEN_416 = {{1'd0}, _T_4913}; // @[Mux.scala 27:72]
wire [1:0] _T_4929 = _GEN_416 | _T_4926; // @[Mux.scala 27:72]
wire [1:0] lsu_imprecise_error_store_tag = _T_4929 | _T_4927; // @[Mux.scala 27:72]
wire _T_4931 = ~io_tlu_busbuff_lsu_imprecise_error_store_any; // @[lsu_bus_buffer.scala 605:97]
wire [31:0] _GEN_369 = 2'h1 == lsu_imprecise_error_store_tag ? buf_addr_1 : buf_addr_0; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_370 = 2'h2 == lsu_imprecise_error_store_tag ? buf_addr_2 : _GEN_369; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_371 = 2'h3 == lsu_imprecise_error_store_tag ? buf_addr_3 : _GEN_370; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_373 = 2'h1 == io_dctl_busbuff_lsu_nonblock_load_data_tag ? buf_addr_1 : buf_addr_0; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_374 = 2'h2 == io_dctl_busbuff_lsu_nonblock_load_data_tag ? buf_addr_2 : _GEN_373; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_375 = 2'h3 == io_dctl_busbuff_lsu_nonblock_load_data_tag ? buf_addr_3 : _GEN_374; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_373 = 2'h1 == lsu_imprecise_error_store_tag ? buf_addr_1 : buf_addr_0; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_374 = 2'h2 == lsu_imprecise_error_store_tag ? buf_addr_2 : _GEN_373; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_375 = 2'h3 == lsu_imprecise_error_store_tag ? buf_addr_3 : _GEN_374; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_377 = 2'h1 == io_dctl_busbuff_lsu_nonblock_load_data_tag ? buf_addr_1 : buf_addr_0; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_378 = 2'h2 == io_dctl_busbuff_lsu_nonblock_load_data_tag ? buf_addr_2 : _GEN_377; // @[lsu_bus_buffer.scala 606:53]
wire [31:0] _GEN_379 = 2'h3 == io_dctl_busbuff_lsu_nonblock_load_data_tag ? buf_addr_3 : _GEN_378; // @[lsu_bus_buffer.scala 606:53]
wire _T_4936 = bus_wcmd_sent | bus_wdata_sent; // @[lsu_bus_buffer.scala 612:82]
wire _T_4939 = io_lsu_busreq_r & io_ldst_dual_r; // @[lsu_bus_buffer.scala 613:60]
wire _T_4942 = ~io_lsu_axi_aw_ready; // @[lsu_bus_buffer.scala 616:61]
@ -2732,14 +2736,14 @@ module lsu_bus_buffer(
assign io_tlu_busbuff_lsu_pmu_bus_busy = _T_4946 | _T_4948; // @[lsu_bus_buffer.scala 616:35]
assign io_tlu_busbuff_lsu_imprecise_error_load_any = io_dctl_busbuff_lsu_nonblock_load_data_error & _T_4931; // @[lsu_bus_buffer.scala 605:47]
assign io_tlu_busbuff_lsu_imprecise_error_store_any = _T_4901 | _T_4899; // @[lsu_bus_buffer.scala 602:48]
assign io_tlu_busbuff_lsu_imprecise_error_addr_any = io_tlu_busbuff_lsu_imprecise_error_store_any ? _GEN_371 : _GEN_375; // @[lsu_bus_buffer.scala 606:47]
assign io_tlu_busbuff_lsu_imprecise_error_addr_any = io_tlu_busbuff_lsu_imprecise_error_store_any ? _GEN_375 : _GEN_379; // @[lsu_bus_buffer.scala 606:47]
assign io_dctl_busbuff_lsu_nonblock_load_valid_m = _T_4512 & _T_4513; // @[lsu_bus_buffer.scala 533:45]
assign io_dctl_busbuff_lsu_nonblock_load_tag_m = _T_1802 ? 2'h0 : _T_1838; // @[lsu_bus_buffer.scala 534:43]
assign io_dctl_busbuff_lsu_nonblock_load_inv_r = lsu_nonblock_load_valid_r & _T_4515; // @[lsu_bus_buffer.scala 536:43]
assign io_dctl_busbuff_lsu_nonblock_load_inv_tag_r = WrPtr0_r; // @[lsu_bus_buffer.scala 537:47]
assign io_dctl_busbuff_lsu_nonblock_load_data_valid = lsu_nonblock_load_data_ready & _T_4714; // @[lsu_bus_buffer.scala 549:48]
assign io_dctl_busbuff_lsu_nonblock_load_data_error = _T_4561 | _T_4559; // @[lsu_bus_buffer.scala 539:48]
assign io_dctl_busbuff_lsu_nonblock_load_data_tag = _T_4601 | _T_4599; // @[lsu_bus_buffer.scala 540:46]
assign io_dctl_busbuff_lsu_nonblock_load_data_tag = _T_4601 | _T_4599; // @[lsu_bus_buffer.scala 540:45]
assign io_dctl_busbuff_lsu_nonblock_load_data = _T_4749[31:0]; // @[lsu_bus_buffer.scala 550:42]
assign io_lsu_axi_aw_valid = _T_4845 & _T_1237; // @[lsu_bus_buffer.scala 572:23]
assign io_lsu_axi_aw_bits_id = {{1'd0}, _T_1781}; // @[lsu_bus_buffer.scala 573:25]
@ -2794,13 +2798,13 @@ module lsu_bus_buffer(
assign rvclkhdr_7_io_clk = clock; // @[lib.scala 392:18]
assign rvclkhdr_7_io_en = _T_4104 & buf_state_en_3; // @[lib.scala 393:17]
assign rvclkhdr_8_io_clk = clock; // @[lib.scala 392:18]
assign rvclkhdr_8_io_en = _T_3531 ? buf_state_en_0 : _GEN_80; // @[lib.scala 393:17]
assign rvclkhdr_8_io_en = _T_3531 ? buf_state_en_0 : _GEN_81; // @[lib.scala 393:17]
assign rvclkhdr_9_io_clk = clock; // @[lib.scala 392:18]
assign rvclkhdr_9_io_en = _T_3722 ? buf_state_en_1 : _GEN_156; // @[lib.scala 393:17]
assign rvclkhdr_9_io_en = _T_3722 ? buf_state_en_1 : _GEN_158; // @[lib.scala 393:17]
assign rvclkhdr_10_io_clk = clock; // @[lib.scala 392:18]
assign rvclkhdr_10_io_en = _T_3913 ? buf_state_en_2 : _GEN_232; // @[lib.scala 393:17]
assign rvclkhdr_10_io_en = _T_3913 ? buf_state_en_2 : _GEN_235; // @[lib.scala 393:17]
assign rvclkhdr_11_io_clk = clock; // @[lib.scala 392:18]
assign rvclkhdr_11_io_en = _T_4104 ? buf_state_en_3 : _GEN_308; // @[lib.scala 393:17]
assign rvclkhdr_11_io_en = _T_4104 ? buf_state_en_3 : _GEN_312; // @[lib.scala 393:17]
`ifdef RANDOMIZE_GARBAGE_ASSIGN
`define RANDOMIZE
`endif

View File

@ -116,7 +116,7 @@ class lsu_bus_buffer extends Module with RequireAsyncReset with lib {
val buf_ldfwdtag = Wire(Vec(DEPTH, UInt(DEPTH_LOG2.W)))
buf_ldfwdtag := buf_ldfwdtag.map(i=> 0.U)
val buf_rst = Wire(Vec(DEPTH, Bool()))
buf_rst := buf_rst.map(i=> false.B)
buf_rst := buf_rst.map(i=> io.dec_tlu_force_halt)
val ibuf_drainvec_vld = WireInit(UInt(DEPTH.W), 0.U)
val buf_byteen_in = Wire(Vec(DEPTH, UInt(DEPTH.W)))
buf_byteen_in := buf_byteen_in.map(i=> 0.U)