diff --git a/src/main/scala/vexriscv/demo/smp/VexRiscvSmpLitexCluster.scala b/src/main/scala/vexriscv/demo/smp/VexRiscvSmpLitexCluster.scala index 8af6bf1..4f0936e 100644 --- a/src/main/scala/vexriscv/demo/smp/VexRiscvSmpLitexCluster.scala +++ b/src/main/scala/vexriscv/demo/smp/VexRiscvSmpLitexCluster.scala @@ -115,6 +115,7 @@ object VexRiscvLitexSmpClusterCmdGen extends App { var aesInstruction = false var fpu = false var cpuPerFpu = 4 + var rvc = false var netlistDirectory = "." var netlistName = "VexRiscvLitexSmpCluster" assert(new scopt.OptionParser[Unit]("VexRiscvLitexSmpClusterCmdGen") { @@ -135,6 +136,7 @@ object VexRiscvLitexSmpClusterCmdGen extends App { opt[String]("wishbone-memory" ) action { (v, c) => wishboneMemory = v.toBoolean } opt[String]("fpu" ) action { (v, c) => fpu = v.toBoolean } opt[String]("cpu-per-fpu") action { (v, c) => cpuPerFpu = v.toInt } + opt[String]("rvc") action { (v, c) => rvc = v.toBoolean } }.parse(args)) val coherency = coherentDma || cpuCount > 1 @@ -157,7 +159,9 @@ object VexRiscvLitexSmpClusterCmdGen extends App { withFloat = fpu, withDouble = fpu, externalFpu = fpu, - loadStoreWidth = if(fpu) 64 else 32 + loadStoreWidth = if(fpu) 64 else 32, + rvc = rvc, + injectorStage = rvc ) if(aesInstruction) c.add(new AesPlugin) c