Printer

dfhdl.compiler.printing.Printer
See thePrinter companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
class DFPrinter

Members list

Type members

Inherited and Abstract types

type TPrinter <: Printer

Attributes

Inherited from:
AbstractPrinter (hidden)

Value members

Abstract 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

Concrete methods

def csClkCfg(clkCfg: ClkCfg): String
def csClkEdgeCfg(edge: Edge): String
final def csDB: String
final def csDFMember(member: DFMember): String
final def csDFNet(net: DFNet): String
final def csDocString(meta: Meta): String
final def csFile(design: DFDesignBlock): String
def csFreqUnit(freq: Freq): String
def csGlobalFileContent: String
def csRTDomainCfg(clkCfg: ClkCfg, rstCfg: RstCfg): String
def csRTDomainCfg(cfg: RTDomainCfg): String
def csRateUnit(rate: Rate): String
def csRatioUnit(ratio: Ratio): String
def csRstActiveCfg(active: Active): String
def csRstCfg(rstCfg: RstCfg): String
def csRstModeCfg(mode: Mode): String
def csTimeUnit(time: Time): String
final def formatCode(cs: String): String
final def printedDB: DB

Inherited methods

final protected def bubbleBits(width: Int): String

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFCasePattern(pattern: Pattern): String

Attributes

Inherited from:
AbstractOwnerPrinter
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
final def csDFDecimalData(dfType: DFDecimal, data: Option[BigInt]): String

Attributes

Inherited from:
AbstractDataPrinter
final def csDFDesignLateBody(design: DFDesignBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
final def csDFIfElseStatement(ifBlock: DFIfElseBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFIfGuard(ifBlock: DFIfElseBlock): String

Attributes

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

Attributes

Inherited from:
AbstractOwnerPrinter
final def csDFOwnerBody(owner: DFOwner): String

Attributes

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

Attributes

Inherited from:
AbstractTypePrinter
final def csDFValAliasExpr(dfVal: Alias): String

Attributes

Inherited from:
AbstractValPrinter
final def csDFValConstExpr(dfVal: Const): String

Attributes

Inherited from:
AbstractValPrinter
final def csDFValDcl(dfVal: Dcl): String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
final def csGlobalConstDcls: String

Attributes

Inherited from:
AbstractTypePrinter
final def csGlobalTypeDcls: String

Attributes

Inherited from:
AbstractTypePrinter
final def csLocalTypeDcls(design: DFDesignBlock): String

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractValPrinter

Inherited and Abstract methods

def csBlockBegin: String

Attributes

Inherited from:
AbstractOwnerPrinter
def csBlockEnd: String

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csDFBitBubbleChar: Char

Attributes

Inherited from:
AbstractDataPrinter
def csDFBitFormat(bitRep: String): String

Attributes

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

Attributes

Inherited from:
AbstractTypePrinter
def csDFBitsBinFormat(binRep: String): String

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFBitsHexFormat(hexRep: String): String

Attributes

Inherited from:
AbstractDataPrinter
def csDFBoolFormat(value: Boolean): String

Attributes

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

Attributes

Inherited from:
AbstractTypePrinter
def csDFCaseBlockEmpty: String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFCaseGuard(guardRef: GuardRef): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFCaseKeyword: String

Attributes

Inherited from:
AbstractOwnerPrinter

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFCasePatternBind(pattern: Bind): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFCasePatternBindSI(pattern: BindSI): String

Attributes

Inherited from:
AbstractOwnerPrinter

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFCasePatternStruct(pattern: Struct): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFCaseSeparator: String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFDesignBlockInst(design: DFDesignBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFDesignDefDcl(design: DFDesignBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFDesignDefInst(design: DFDesignBlock): String

Attributes

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

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFElseStatement: String

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFMatchEnd: String

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFMatchStatement(csSelector: String): String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFOpaqueDcl(dfType: DFOpaque): String

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFSIntDataFromBits(csBits: String): String

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFStructDcl(dfType: DFStruct): String

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFUIntDataFromBits(csBits: String): String

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDFValAliasApplyIdx(dfVal: ApplyIdx): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValAliasApplyRange(dfVal: ApplyRange): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValAliasAsIs(dfVal: AsIs): String

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csDFValAliasSelectField(dfVal: SelectField): String

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csDFValDclEnd(dfVal: Dcl): String

Attributes

Inherited from:
AbstractValPrinter
def csDFValDclWithoutInit(dfVal: Dcl): String

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csDFValNamed(dfVal: DFVal): String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractDataPrinter
def csDomainBlock(pb: DomainBlock): String

Attributes

Inherited from:
AbstractOwnerPrinter
def csIfBlockEmpty: String

Attributes

Inherited from:
AbstractOwnerPrinter
def csInitKeyword: String

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csInitSingle(ref: InitRef): String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractValPrinter

Abstract fields

val normalizeConnection: Boolean
val normalizeViaConnection: Boolean

Concrete fields

val keyword2Color: String
val keywordColor: String
val typeColor: String

Inherited and Abstract fields

val allowBitsBinModeInHex: Boolean

Attributes

Inherited from:
AbstractDataPrinter
val allowBitsExplicitWidth: Boolean

Attributes

Inherited from:
AbstractDataPrinter
val allowDecimalBigInt: Boolean

Attributes

Inherited from:
AbstractDataPrinter
val tupleSupportEnable: Boolean

Attributes

Inherited from:
AbstractPrinter (hidden)

Givens

Inherited and Abstract givens

Attributes

Inherited from:
AbstractPrinter (hidden)
given printer: TPrinter

Attributes

Inherited from:
AbstractPrinter (hidden)

Attributes

Inherited from:
AbstractPrinter (hidden)