From 358100ec57ffd0c3ddaeba02e09df01a22069941 Mon Sep 17 00:00:00 2001 From: PurplePower <60787289+PurplePower@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:04:11 +0800 Subject: [PATCH] fixed missing import in decoder test; adds bloop and auto-generated vivado projects to gitignore --- .gitignore | 5 +++++ .../scala/riscv/singlecycle/InstructionDecoderTest.scala | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3af21e4..cffe121 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,13 @@ target .vscode .metals +.bloop **/test_run_dir # vivado stuffs **/*.jou **/*.log + +**/hello_z710-test +**/riscv-z710-v2020 +.Xil diff --git a/lab1/src/test/scala/riscv/singlecycle/InstructionDecoderTest.scala b/lab1/src/test/scala/riscv/singlecycle/InstructionDecoderTest.scala index 084d614..6d950ae 100644 --- a/lab1/src/test/scala/riscv/singlecycle/InstructionDecoderTest.scala +++ b/lab1/src/test/scala/riscv/singlecycle/InstructionDecoderTest.scala @@ -18,7 +18,7 @@ import chisel3._ import chiseltest._ import org.scalatest.flatspec.AnyFlatSpec import riscv.TestAnnotations -import riscv.core.{ALUOp1Source, ALUOp2Source, InstructionDecode, InstructionTypes} +import riscv.core.{ALUOp1Source, ALUOp2Source, RegWriteSource, InstructionDecode, InstructionTypes} class InstructionDecoderTest extends AnyFlatSpec with ChiselScalatestTester{ behavior of "InstructionDecoder of Single Cycle CPU"