diff --git a/elaborator/src/t1emu/Testbench.scala b/elaborator/src/t1emu/TestBench.scala similarity index 97% rename from elaborator/src/t1emu/Testbench.scala rename to elaborator/src/t1emu/TestBench.scala index 8ef0cf01f..cc239559e 100644 --- a/elaborator/src/t1emu/Testbench.scala +++ b/elaborator/src/t1emu/TestBench.scala @@ -9,7 +9,7 @@ import org.chipsalliance.t1.rtl.vrf.RamType.{p0rp1w, p0rw, p0rwp1rw} import org.chipsalliance.t1.rtl.{T1Parameter, VFUInstantiateParameter} import org.chipsalliance.t1.t1emu.TestBench -object Testbench extends SerializableModuleElaborator { +object TestBench extends SerializableModuleElaborator { implicit object PathRead extends TokensReader.Simple[os.Path] { def shortName = "path" def read(strs: Seq[String]) = Right(os.Path(strs.head, os.pwd)) diff --git a/omreader/src/t1emu/Testbench.scala b/omreader/src/t1emu/Testbench.scala index f7e38e14c..038e62eec 100644 --- a/omreader/src/t1emu/Testbench.scala +++ b/omreader/src/t1emu/Testbench.scala @@ -6,7 +6,7 @@ package org.chipsalliance.t1.omreader.t1emu import mainargs._ import org.chipsalliance.t1.omreaderlib.t1emu.{TestBench => Lib} -object Testbench { +object TestBench { implicit object PathRead extends TokensReader.Simple[os.Path] { def shortName = "path" def read(strs: Seq[String]): Either[String, os.Path] = Right(os.Path(strs.head, os.pwd)) diff --git a/omreader/src/t1rocketvemu/T1.scala b/omreader/src/t1rocketvemu/TestBench.scala similarity index 98% rename from omreader/src/t1rocketvemu/T1.scala rename to omreader/src/t1rocketvemu/TestBench.scala index bd7ed9a40..cfe852a99 100644 --- a/omreader/src/t1rocketvemu/T1.scala +++ b/omreader/src/t1rocketvemu/TestBench.scala @@ -6,7 +6,7 @@ package org.chipsalliance.t1.omreader.t1rocketemu import mainargs._ import org.chipsalliance.t1.omreaderlib.t1rocketemu.{TestBench => Lib} -object Testbench { +object TestBench { implicit object PathRead extends TokensReader.Simple[os.Path] { def shortName = "path" def read(strs: Seq[String]): Either[String, os.Path] = Right(os.Path(strs.head, os.pwd))