fixed missing import in decoder test; adds bloop and auto-generated vivado projects to gitignore

This commit is contained in:
PurplePower
2024-11-14 11:04:11 +08:00
parent 4c36205a7f
commit 358100ec57
2 changed files with 6 additions and 1 deletions

5
.gitignore vendored
View File

@@ -1,8 +1,13 @@
target target
.vscode .vscode
.metals .metals
.bloop
**/test_run_dir **/test_run_dir
# vivado stuffs # vivado stuffs
**/*.jou **/*.jou
**/*.log **/*.log
**/hello_z710-test
**/riscv-z710-v2020
.Xil

View File

@@ -18,7 +18,7 @@ import chisel3._
import chiseltest._ import chiseltest._
import org.scalatest.flatspec.AnyFlatSpec import org.scalatest.flatspec.AnyFlatSpec
import riscv.TestAnnotations import riscv.TestAnnotations
import riscv.core.{ALUOp1Source, ALUOp2Source, InstructionDecode, InstructionTypes} import riscv.core.{ALUOp1Source, ALUOp2Source, RegWriteSource, InstructionDecode, InstructionTypes}
class InstructionDecoderTest extends AnyFlatSpec with ChiselScalatestTester{ class InstructionDecoderTest extends AnyFlatSpec with ChiselScalatestTester{
behavior of "InstructionDecoder of Single Cycle CPU" behavior of "InstructionDecoder of Single Cycle CPU"