Skip to content

Commit

Permalink
add --no-lsu arguement
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jan 30, 2024
1 parent 93356b4 commit 54cf78a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/scala/naxriscv/platform/asic/NaxAsicGen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ import spinal.lib.eda.bench.Rtl
object NaxAsicGen extends App{
var target = "asic"
var regFileFakeRatio = 1
var withLsu = true

assert(new scopt.OptionParser[Unit]("NaxAsicGen") {
help("help").text("prints this usage text")
opt[Unit]("sky130") action { (v, c) => target = "sky130" }
opt[Int]("regfile-fake-ratio") action { (v, c) => regFileFakeRatio = v }
opt[Unit]("no-lsu") action { (v, c) => withLsu = false }
}.parse(args, Unit).nonEmpty)


Expand All @@ -32,7 +34,7 @@ object NaxAsicGen extends App{
debugTriggers = 4,
withDedicatedLoadAgu = false,
withRvc = false,
withLoadStore = false,
withLoadStore = withLsu,
withMmu = false,
withDebug = false,
withEmbeddedJtagTap = false,
Expand Down

0 comments on commit 54cf78a

Please sign in to comment.