Changes to tapeout transforms to support FIRRTL 1.3

This commit is contained in:
Albert Magyar
2020-05-06 21:40:23 +00:00
parent e230e8cf3f
commit acda0a3490
8 changed files with 150 additions and 94 deletions

View File

@@ -112,8 +112,8 @@ class AddPadFrame(
// Normal verilog in/out can be mapped to uint, sint, or clocktype, so need cast
case _ =>
val padBBType = UIntType(getWidth(p.port.tpe))
val padInRef = WSubField(padRef, DigitalPad.inName, padBBType, UNKNOWNGENDER)
val padOutRef = WSubField(padRef, DigitalPad.outName, padBBType, UNKNOWNGENDER)
val padInRef = WSubField(padRef, DigitalPad.inName, padBBType, UnknownFlow)
val padOutRef = WSubField(padRef, DigitalPad.outName, padBBType, UnknownFlow)
val (rhsPadIn, lhsPadOut) = p.portDirection match {
case Input => (extRef, intRef)
case Output => (intRef, extRef)
@@ -130,4 +130,4 @@ class AddPadFrame(
Module(NoInfo, padFrameName, ports = intPorts ++ extPorts, body = Block(ioPadInsts ++ connects ++ supplyPadInsts))
}
}
}