Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
note.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 25, 2024
1 parent 083100b commit 484d8fc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ abstract class ResourceData[HW <: Data](gen: => HW, invert: Boolean = false)
}
}

// XXX: This stuff is getting pretty ugly — do we need a separate topIo as
// opposed to the io from ioInstOrMake? We can probably chop out a level, and
// possibly two if we move the inversion logic into the SB_IO generation like
// Amaranth (assuming there's no other kind of connectIo we want to do).
final def makeIoConnection(): (HW, HW) = {
if (topIoInst.isDefined)
throw new IllegalStateException("topIoInst already defined")
Expand Down

0 comments on commit 484d8fc

Please sign in to comment.