修改TestMain

This commit is contained in:
Liphen 2024-03-22 23:18:11 +08:00
parent e955c3d580
commit be91a70924
1 changed files with 4 additions and 9 deletions

View File

@ -4,11 +4,6 @@
// object TestMain extends App { // object TestMain extends App {
// implicit val cpuConfig = new CpuConfig() // implicit val cpuConfig = new CpuConfig()
// def top = new Top() // def top = new Top()
// val useMFC = false // use MLIR-based firrtl compiler
// val generator = Seq(chisel3.stage.ChiselGeneratorAnnotation(() => top)) // val generator = Seq(chisel3.stage.ChiselGeneratorAnnotation(() => top))
// if (useMFC) {
// (new ChiselStage).execute(args, generator :+ CIRCTTargetAnnotation(CIRCTTarget.Verilog)) // (new ChiselStage).execute(args, generator :+ CIRCTTargetAnnotation(CIRCTTarget.Verilog))
// } else {
// (new chisel3.stage.ChiselStage).execute(args, generator)
// }
// } // }