Skip to content

Instantly share code, notes, and snippets.

View oyvindrobertsen's full-sized avatar

Øyvind Robertsen oyvindrobertsen

  • spacemaker.ai
  • Oslo, Norway
View GitHub Profile
package plan9
import Chisel._
object EnumeratedUInt {
def apply(dir: IODirection = NODIR, enum: Map[Symbol, UInt]): EnumeratedUInt = {
val res = new EnumeratedUInt()
res.create(dir, enum)
return res
}