Skip to content

Commit

Permalink
fix elabo
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Oct 14, 2024
1 parent dde4a1c commit 116fb52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions elaborator/src/t1emu/Testbench.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package org.chipsalliance.t1.elaborator.t1emu
import chisel3.experimental.util.SerializableModuleElaborator
import mainargs._
import org.chipsalliance.t1.rtl.vrf.RamType
import org.chipsalliance.t1.rtl.vrf.RamType.{p0rp1w, p0rw, p0rwp1rw}
import org.chipsalliance.t1.rtl.{T1Parameter, VFUInstantiateParameter}
import org.chipsalliance.t1.rtl.vrf.RamType.{p0rw, p0rp1w, p0rwp1rw}
import org.chipsalliance.t1.rtl.{VFUInstantiateParameter, T1Parameter}
import org.chipsalliance.t1.t1emu.TestBench

object Testbench extends SerializableModuleElaborator {
Expand Down Expand Up @@ -47,7 +47,6 @@ object Testbench extends SerializableModuleElaborator {
vlen.toInt
}.get

if (zvbb) require(vfuInstantiateParameter == "zvbb")
T1Parameter(
dLen,
extensions,
Expand Down
2 changes: 1 addition & 1 deletion elaborator/src/t1rocket/T1RocketTile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ object T1RocketTile extends SerializableModuleElaborator {
}.get
val fp = instructionSets.contains("zve32f")
val zvbb = instructionSets.contains("zvbb")
if (zvbb) require(vfuInstantiateParameter == "zvbb")

T1RocketTileParameter(
instructionSets: Seq[String],
cacheBlockBytes: Int,
Expand Down
4 changes: 2 additions & 2 deletions elaborator/src/t1rocketemu/Testbench.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import chisel3.util.experimental.BitSet
import mainargs._
import org.chipsalliance.t1.rtl.VFUInstantiateParameter
import org.chipsalliance.t1.rtl.vrf.RamType
import org.chipsalliance.t1.rtl.vrf.RamType.{p0rp1w, p0rw, p0rwp1rw}
import org.chipsalliance.t1.rtl.vrf.RamType.{p0rw, p0rp1w, p0rwp1rw}
import org.chipsalliance.t1.t1rocketemu.TestBench
import org.chipsalliance.t1.tile.T1RocketTileParameter

Expand Down Expand Up @@ -88,7 +88,7 @@ object T1RocketTile extends SerializableModuleElaborator {
}.get
val fp = instructionSets.contains("zve32f")
val zvbb = instructionSets.contains("zvbb")
if (zvbb) require(vfuInstantiateParameter == "zvbb")

T1RocketTileParameter(
instructionSets: Seq[String],
cacheBlockBytes: Int,
Expand Down

0 comments on commit 116fb52

Please sign in to comment.