|
1 | 1 | /************************************************************************************** |
2 | 2 | * Copyright (c) 2020 Institute of Computing Technology, CAS |
3 | 3 | * Copyright (c) 2020 University of Chinese Academy of Sciences |
4 | | -* |
| 4 | +* |
5 | 5 | * NutShell is licensed under Mulan PSL v2. |
6 | | -* You can use this software according to the terms and conditions of the Mulan PSL v2. |
| 6 | +* You can use this software according to the terms and conditions of the Mulan PSL v2. |
7 | 7 | * You may obtain a copy of Mulan PSL v2 at: |
8 | | -* http://license.coscl.org.cn/MulanPSL2 |
9 | | -* |
10 | | -* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER |
11 | | -* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR |
12 | | -* FIT FOR A PARTICULAR PURPOSE. |
| 8 | +* http://license.coscl.org.cn/MulanPSL2 |
| 9 | +* |
| 10 | +* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER |
| 11 | +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR |
| 12 | +* FIT FOR A PARTICULAR PURPOSE. |
13 | 13 | * |
14 | | -* See the Mulan PSL v2 for more details. |
| 14 | +* See the Mulan PSL v2 for more details. |
15 | 15 | ***************************************************************************************/ |
16 | 16 |
|
17 | 17 | package nutcore |
@@ -57,12 +57,6 @@ class WBU(implicit val p: NutCoreConfig) extends NutCoreModule{ |
57 | 57 | difftest_commit.fpwen := false.B |
58 | 58 | difftest_commit.wdest := io.wb.rfDest |
59 | 59 | difftest_commit.wpdest := io.wb.rfDest |
60 | | - |
61 | | - val difftest_wb = DifftestModule(new DiffIntWriteback, delay = 1) |
62 | | - difftest_wb.coreid := 0.U |
63 | | - difftest_wb.valid := io.wb.rfWen && io.wb.rfDest =/= 0.U |
64 | | - difftest_wb.address := io.wb.rfDest |
65 | | - difftest_wb.data := io.wb.rfData |
66 | 60 | } else { |
67 | 61 | BoringUtils.addSource(io.in.valid, "ilaWBUvalid") |
68 | 62 | BoringUtils.addSource(io.in.bits.decode.cf.pc, "ilaWBUpc") |
|
0 commit comments