Files
2025-yatcpu/lab4/test_output_fix.txt
2025-11-19 13:59:50 +08:00

43 lines
2.8 KiB
Plaintext

[info] welcome to sbt 1.9.6 (Eclipse Adoptium Java 17.0.16)
[info] loading global plugins from C:\Users\26586\.sbt\1.0\plugins
[info] loading settings for project lab4-build-build-build from metals.sbt ...
[info] loading project definition from E:\jizu\2025-fall-yatcpu-repo\lab4\project\project\project
[info] loading settings for project lab4-build-build from metals.sbt ...
[info] loading project definition from E:\jizu\2025-fall-yatcpu-repo\lab4\project\project
[success] Generated .bloop\lab4-build-build.json
[success] Total time: 4 s, completed 2025年11月19日 下午1:42:17
[info] loading settings for project lab4-build from metals.sbt,plugins.sbt ...
[info] loading project definition from E:\jizu\2025-fall-yatcpu-repo\lab4\project
[success] Total time: 1 s, completed 2025年11月19日 下午1:42:19
[info] loading settings for project root from build.sbt ...
[info] set current project to yatcpu (in build file:/E:/jizu/2025-fall-yatcpu-repo/lab4/)
[info] compiling 1 Scala source to E:\jizu\2025-fall-yatcpu-repo\lab4\target\scala-2.13\classes ...
[warn] E:\jizu\2025-fall-yatcpu-repo\lab4\src\main\scala\bus\AXI4Lite.scala:142:26: Passing an Int to .U is usually a mistake: It does *not* set the width but does a bit extract.
[warn] Did you mean .U(AXI4Lite.respWidth.W)?
[warn] If you do want bit extraction, use .U.extract(AXI4Lite.respWidth) instead.
[warn] val RRESP = RegInit(0.U(AXI4Lite.respWidth))
[warn] ^
[warn] E:\jizu\2025-fall-yatcpu-repo\lab4\src\main\scala\bus\AXI4Lite.scala:152:27: Passing an Int to .U is usually a mistake: It does *not* set the width but does a bit extract.
[warn] Did you mean .U(AXI4Lite.respWidth.W)?
[warn] If you do want bit extraction, use .U.extract(AXI4Lite.respWidth) instead.
[warn] val BRESP = WireInit(0.U(AXI4Lite.respWidth))
[warn] ^
[warn] E:\jizu\2025-fall-yatcpu-repo\lab4\src\main\scala\bus\AXI4Lite.scala:116:31: type ChiselEnum in package experimental is deprecated (since Chisel 3.5): This type has moved to chisel3
[warn] object AXI4LiteStates extends ChiselEnum {
[warn] ^
[warn] three warnings found
[info] done compiling
[info] MemoryTestF:
[info] Memory
[info] - should perform read and write *** FAILED ***
[info] io_bundle_read_data=0 (0x0) did not equal expected=3735928559 (0xdeadbeef) (lines in BusTest.scala: 161, 159, 159, 135) (BusTest.scala:161)
[info] Run completed in 10 seconds, 841 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 0, failed 1, canceled 0, ignored 0, pending 0
[info] *** 1 TEST FAILED ***
[error] Failed tests:
[error] riscv.MemoryTestF
[error] (Test / testOnly) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 23 s, completed 2025年11月19日 下午1:42:43