DFPrinter

dfhdl.compiler.printing.DFPrinter
class DFPrinter(using val getSet: MemberGetSet, val printerOptions: PrinterOptions) extends Printer

Attributes

Graph
Supertypes
trait Printer
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

Value members

Concrete methods

def alignCode(cs: String): String
def colorCode(cs: String): String
def csAnnotations(meta: Meta): String
def csAssignment(lhsStr: String, rhsStr: String, shared: Boolean): String
def csCommentEOL(comment: String): String
def csCommentInline(comment: String): String
def csConnection(lhsStr: String, rhsStr: String, directionStr: String): String
def csDocString(doc: String): String
def csLazyConnection(lhsStr: String, rhsStr: String, directionStr: String): String
def csNBAssignment(lhsStr: String, rhsStr: String): String
def csOpenKeyWord: String
def csTimer(timer: Timer): String
def csViaConnection(lhsStr: String, rhsStr: String, directionStr: String): String
def csViaConnectionSep: String
def designFileName(designName: String): String
def dfhdlDefsFileName: String
def dfhdlSourceContents: String
def globalFileName: String

Inherited methods

final protected def bubbleBits(width: Int): String

Attributes

Inherited from:
AbstractDataPrinter
def csBlockBegin: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csBlockEnd: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csClkCfg(clkCfg: ClkCfg): String

Attributes

Inherited from:
Printer
def csClkEdgeCfg(edge: Edge): String

Attributes

Inherited from:
Printer
def csConditionalExprRel(csExp: String, ch: Header): String

Attributes

Inherited from:
DFValPrinter (hidden)
final def csConstData(dfType: DFType, data: Any): String

Attributes

Inherited from:
AbstractDataPrinter
final def csDB: String

Attributes

Inherited from:
Printer
def csDFBitBubbleChar: Char

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFBitFormat(bitRep: String): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFBits(dfType: DFBits, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFBitsBinFormat(binRep: String): String

Attributes

Inherited from:
DFDataPrinter (hidden)
final def csDFBitsData(dfType: DFBits, data: (BitVector, BitVector)): String

Attributes

Inherited from:
AbstractDataPrinter
def csDFBitsHexFormat(hexRep: String, actualWidth: Int, width: IntParamRef): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFBitsHexFormat(hexRep: String): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFBoolFormat(value: Boolean): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFBoolOrBit(dfType: DFBoolOrBit, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
final def csDFBoolOrBitData(dfType: DFBoolOrBit, data: Option[Boolean]): String

Attributes

Inherited from:
AbstractDataPrinter
def csDFCaseBlockEmpty: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCaseGuard(guardRef: GuardRef): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCaseKeyword: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCasePattern(pattern: Pattern): String

Attributes

Inherited from:
AbstractOwnerPrinter

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCasePatternBind(pattern: Bind): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCasePatternBindSI(pattern: BindSI): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCasePatternStruct(pattern: Struct): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFCaseSeparator: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
final def csDFCaseStatement(caseBlock: DFCaseBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
final def csDFConditional(ch: Header): String

Attributes

Inherited from:
AbstractOwnerPrinter
final def csDFConditionalBlock(cb: Block): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFDecimal(dfType: DFDecimal, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
final def csDFDecimalData(dfType: DFDecimal, data: Option[BigInt]): String

Attributes

Inherited from:
AbstractDataPrinter
def csDFDesignBlockDcl(design: DFDesignBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFDesignBlockInst(design: DFDesignBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFDesignDefDcl(design: DFDesignBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFDesignDefInst(design: DFDesignBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
final def csDFDesignLateBody(design: DFDesignBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFElseIfStatement(csCond: String): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFElseStatement: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFEnum(dfType: DFEnum, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFEnumData(dfType: DFEnum, data: Option[BigInt]): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFEnumDcl(dfType: DFEnum, global: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
final def csDFIfElseStatement(ifBlock: DFIfElseBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFIfEnd(lastCB: DFIfElseBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFIfGuard(ifBlock: DFIfElseBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFIfStatement(csCond: String): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFMatchEnd: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csDFMatchStatement(csSelector: String): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
final def csDFMember(member: DFMember): String

Attributes

Inherited from:
Printer
final def csDFMembers(members: List[DFMember]): String

Attributes

Inherited from:
AbstractOwnerPrinter
final def csDFNet(net: DFNet): String

Attributes

Inherited from:
Printer
def csDFOpaque(dfType: DFOpaque, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFOpaqueData(dfType: DFOpaque, data: Any): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFOpaqueDcl(dfType: DFOpaque): String

Attributes

Inherited from:
DFTypePrinter (hidden)
final def csDFOwnerBody(owner: DFOwner): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFSIntBubble(width: Int): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFSIntDataFromBits(csBits: String): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFSIntFormatBig(value: BigInt, width: IntParamRef): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFSIntFormatSmall(value: BigInt, width: Int): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFStruct(dfType: DFStruct, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFStructData(dfType: DFStruct, data: List[Any]): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFStructDcl(dfType: DFStruct): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFTuple(fieldList: List[DFType], typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFTupleData(dfTypes: List[DFType], data: List[Any]): String

Attributes

Inherited from:
DFDataPrinter (hidden)
final def csDFType(dfType: DFType, typeCS: Boolean): String

Attributes

Inherited from:
AbstractTypePrinter
def csDFUIntBubble(width: Int): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFUIntDataFromBits(csBits: String): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFUIntFormatBig(value: BigInt, width: IntParamRef): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFUIntFormatSmall(value: BigInt, width: Int): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFUnit(dfType: DFUnit, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFUnitData(dfType: DFUnit, data: Unit): String

Attributes

Inherited from:
DFDataPrinter (hidden)
def csDFValAliasApplyIdx(dfVal: ApplyIdx): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValAliasApplyRange(dfVal: ApplyRange): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValAliasAsIs(dfVal: AsIs): String

Attributes

Inherited from:
DFValPrinter (hidden)
final def csDFValAliasExpr(dfVal: Alias): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValAliasHistory(dfVal: History): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValAliasSelectField(dfVal: SelectField): String

Attributes

Inherited from:
DFValPrinter (hidden)
final def csDFValConstExpr(dfVal: Const): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValConstType(dfType: DFType): String

Attributes

Inherited from:
DFTypePrinter (hidden)
final def csDFValDcl(dfVal: Dcl): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValDclConst(dfVal: CanBeExpr): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValDclEnd(dfVal: Dcl): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValDclModifier(modifier: Modifier): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValDclWithoutInit(dfVal: Dcl): String

Attributes

Inherited from:
DFValPrinter (hidden)
final def csDFValExpr(dfValExpr: CanBeExpr, typeCS: Boolean): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValFuncExpr(dfVal: Func, typeCS: Boolean): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValNamed(dfVal: DFVal): String

Attributes

Inherited from:
DFValPrinter (hidden)
final def csDFValRef(dfVal: DFVal, fromOwner: DFOwner): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValType(dfType: DFType): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFVector(dfType: DFVector, typeCS: Boolean): String

Attributes

Inherited from:
DFTypePrinter (hidden)
def csDFVectorData(dfType: DFVector, data: Vector[Any]): String

Attributes

Inherited from:
DFDataPrinter (hidden)
final def csDocString(meta: Meta): String

Attributes

Inherited from:
Printer
def csDomainBlock(domain: DomainBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
final def csFile(design: DFDesignBlock): String

Attributes

Inherited from:
Printer
def csFreqUnit(freq: Freq): String

Attributes

Inherited from:
Printer
final def csGlobalConstDcls: String

Attributes

Inherited from:
AbstractTypePrinter
def csGlobalFileContent: String

Attributes

Inherited from:
Printer
final def csGlobalTypeDcls: String

Attributes

Inherited from:
AbstractTypePrinter
def csIfBlockEmpty: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csInitKeyword: String

Attributes

Inherited from:
DFValPrinter (hidden)
def csInitSeq(refs: List[InitRef]): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csInitSingle(ref: InitRef): String

Attributes

Inherited from:
DFValPrinter (hidden)
final def csLocalTypeDcls(design: DFDesignBlock): String

Attributes

Inherited from:
AbstractTypePrinter
final def csNamedDFTypeDcl(dfType: NamedDFType, global: Boolean): String

Attributes

Inherited from:
AbstractTypePrinter
def csProcessBlock(pb: ProcessBlock): String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
def csRTDomainCfg(cfg: RTDomainCfg): String

Attributes

Inherited from:
Printer
def csRTDomainCfg(clkCfg: ClkCfg, rstCfg: RstCfg): String

Attributes

Inherited from:
Printer
def csRateUnit(rate: Rate): String

Attributes

Inherited from:
Printer
def csRatioUnit(ratio: Ratio): String

Attributes

Inherited from:
Printer
final def csRef(ref: TwoWayAny, typeCS: Boolean): String

Attributes

Inherited from:
AbstractValPrinter
final def csRelVal(alias: Alias): String

Attributes

Inherited from:
AbstractValPrinter
def csRstActiveCfg(active: Active): String

Attributes

Inherited from:
Printer
def csRstCfg(rstCfg: RstCfg): String

Attributes

Inherited from:
Printer
def csRstModeCfg(mode: Mode): String

Attributes

Inherited from:
Printer
final def csSimpleRef(ref: TwoWayAny): String

Attributes

Inherited from:
AbstractValPrinter
def csTimeUnit(time: Time): String

Attributes

Inherited from:
Printer
def csTimerIsActive(dfVal: IsActive): String

Attributes

Inherited from:
DFValPrinter (hidden)
def csWidthInterp(width: IntParamRef): String

Attributes

Inherited from:
DFDataPrinter (hidden)
final def formatCode(cs: String): String

Attributes

Inherited from:
Printer
final def printedDB: DB

Attributes

Inherited from:
Printer

Concrete fields

val dfhdlKW: Set[String]
val dfhdlOps: Set[String]
val dfhdlTypes: Set[String]
val normalizeConnection: Boolean
val normalizeViaConnection: Boolean
val scalaKW: Set[String]
val tupleSupportEnable: Boolean

Inherited fields

Attributes

Inherited from:
DFValPrinter (hidden)

Attributes

Inherited from:
Printer
val allowBitsBinModeInHex: Boolean

Attributes

Inherited from:
DFDataPrinter (hidden)
val allowBitsExplicitWidth: Boolean

Attributes

Inherited from:
DFDataPrinter (hidden)
val allowDecimalBigInt: Boolean

Attributes

Inherited from:
DFDataPrinter (hidden)

Attributes

Inherited from:
Printer
val keyword2Color: String

Attributes

Inherited from:
Printer
val keywordColor: String

Attributes

Inherited from:
Printer
val maxVectorDisplay: Int

Attributes

Inherited from:
DFDataPrinter (hidden)
val typeColor: String

Attributes

Inherited from:
Printer

Givens