DFPrinter

dfhdl.compiler.printing.DFPrinter
class DFPrinter(using val getSet: MemberGetSet) 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): 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 globalFileName: String

Inherited methods

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(edgeCfg: EdgeCfg): String

Attributes

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

Attributes

Inherited from:
DFValPrinter (hidden)
final def csDB: String

Attributes

Inherited from:
Printer
def csDFBitBubbleChar: Char

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractTokenPrinter
def csDFBitsHexFormat(hexRep: String, width: Int): String

Attributes

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

Attributes

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

Attributes

Inherited from:
DFTokenPrinter (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:
AbstractTokenPrinter
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:
AbstractTokenPrinter
def csDFDesignBlockDcl(design: DFDesignBlock): String

Attributes

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

Attributes

Inherited from:
DFOwnerPrinter (hidden)
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:
DFTokenPrinter (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: String

Attributes

Inherited from:
DFOwnerPrinter (hidden)
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:
DFTokenPrinter (hidden)
def csDFOpaqueDcl(dfType: DFOpaque): String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractOwnerPrinter
def csDFSIntFormatBig(value: BigInt, width: Int): String

Attributes

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

Attributes

Inherited from:
DFTokenPrinter (hidden)
def csDFSIntTokenFromBits(csBits: String): String

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
DFTypePrinter (hidden)
final def csDFToken(token: DFTokenAny): String

Attributes

Inherited from:
AbstractTokenPrinter
final def csDFTokenSeq(tokenSeq: Seq[DFTokenAny]): String

Attributes

Inherited from:
AbstractTokenPrinter
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:
DFTokenPrinter (hidden)
final def csDFType(dfType: DFType, typeCS: Boolean): String

Attributes

Inherited from:
AbstractTypePrinter
def csDFUIntFormatBig(value: BigInt, width: Int): String

Attributes

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

Attributes

Inherited from:
DFTokenPrinter (hidden)
def csDFUIntTokenFromBits(csBits: String): String

Attributes

Inherited from:
DFTokenPrinter (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 csDFValAliasRegDIN(dfVal: RegDIN): String

Attributes

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

Attributes

Inherited from:
DFValPrinter (hidden)
def csDFValConstDcl(dfVal: Const): String

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csDFValFuncExpr(dfVal: Func): 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 csDFVector(dfType: DFVector, typeCS: Boolean): String

Attributes

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

Attributes

Inherited from:
DFTokenPrinter (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
def csGlobalFileContent: String

Attributes

Inherited from:
Printer
final def csGlobalTypeDcls: String

Attributes

Inherited from:
AbstractTypePrinter
def csIfBlockEmpty: String

Attributes

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

Attributes

Inherited from:
AbstractTypePrinter
def csNameCfg(nameCfg: NameCfg): String

Attributes

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

Attributes

Inherited from:
AbstractTypePrinter
final def csOpenPorts(owner: DFOwner): List[String]

Attributes

Inherited from:
Printer
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 csRatioUnit(ratio: Ratio): String

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractValPrinter
def csRstActiveCfg(activeCfg: ActiveCfg): String

Attributes

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

Attributes

Inherited from:
Printer
def csRstModeCfg(modeCfg: ModeCfg): 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)
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]

Inherited fields

Attributes

Inherited from:
DFValPrinter (hidden)
val alignEnable: Boolean

Attributes

Inherited from:
Printer
val allowBitsBinModeInHex: Boolean

Attributes

Inherited from:
DFTokenPrinter (hidden)
val allowBitsExplicitWidth: Boolean

Attributes

Inherited from:
DFTokenPrinter (hidden)
val allowDecimalBigInt: Boolean

Attributes

Inherited from:
DFTokenPrinter (hidden)
val colorEnable: Boolean

Attributes

Inherited from:
Printer
val keyword2Color: String

Attributes

Inherited from:
Printer
val keywordColor: String

Attributes

Inherited from:
Printer
val maxVectorDisplay: Int

Attributes

Inherited from:
DFTokenPrinter (hidden)
val typeColor: String

Attributes

Inherited from:
Printer

Givens

Givens

given printer: TPrinter