Skip to content

Commit

Permalink
Fix \= on reeg usages
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Oct 25, 2023
1 parent 1622bc2 commit e2c46ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/naxriscv/utilities/AllocatorMultiPort.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ case class AllocatorMultiPortMem[T <: Data](dataType : HardType[T],
}

val pushArbitration = new Area{
var pushOffset = ptr.push
var pushOffset = CombInit(ptr.push)
val push = for(i <- 0 until pushCount) yield new Area{
val ptr = CombInit(pushOffset)
pushOffset \= pushOffset + io.push(i).valid.asUInt
Expand Down Expand Up @@ -85,7 +85,7 @@ case class AllocatorMultiPortMem[T <: Data](dataType : HardType[T],


val popArbitration = new Area{
var popOffset = ptr.pop
var popOffset = CombInit(ptr.pop)
val pop = for(i <- 0 until popCount) yield new Area{
val ptr = CombInit(popOffset)
io.pop.values(i) := ways.map(_.pop.data).read(ptr(wayRange))
Expand Down

0 comments on commit e2c46ef

Please sign in to comment.