Skip to content

Commit

Permalink
connections: final move to Chisel 3
Browse files Browse the repository at this point in the history
  • Loading branch information
schoeberl committed Feb 4, 2024
1 parent d50991f commit f237b5c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions hardware/src/main/scala/patmos/connections.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

package patmos

import Chisel._
import chisel3.VecInit
import chisel3._

import Constants._

Expand Down Expand Up @@ -287,8 +286,8 @@ class MemWb() extends Bundle() {

class RegFileRead() extends Bundle() {
// first two are for pipeline A, second two for pipeline B
val rsAddr = Vec(2*PIPE_COUNT, UInt(INPUT, REG_BITS) )
val rsData = Vec(2*PIPE_COUNT, UInt(OUTPUT, DATA_WIDTH) )
val rsAddr = Vec(2*PIPE_COUNT, Input(UInt(REG_BITS.W)))
val rsData = Vec(2*PIPE_COUNT, Output(UInt(DATA_WIDTH.W)))
}

class RegFileIO() extends Bundle() {
Expand Down Expand Up @@ -327,7 +326,7 @@ class DecodeIO() extends Bundle() {
val fedec = Input(new FeDec())
val decex = Output(new DecEx())
val rfWrite = Vec(PIPE_COUNT, Input(new Result()))
val exc = new ExcDec().asInput
val exc = Input(new ExcDec())
}

class ExecuteIO() extends Bundle() {
Expand Down

0 comments on commit f237b5c

Please sign in to comment.