case class ExportConfig(id: String, name: String, module: String, stub: String = "", vendor: String = "", supports: Map[String, Seq[String]] = Map(), options: Array[ExportOption] = Array(), actions: Map[String, ExportAction] = Map(), defines: Array[ExportDefineConfig] = Array(), templates: Seq[String] = Seq()) extends Product with Serializable
The following is an example
- id
"xilinx.pll"
- name
"Xilinx PLL"
- module
"clk_wiz"
- stub
.<...>
- vendor
"vivado"
- supports
(empty), only vendor is supported
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExportConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ExportConfig(id: String, name: String, module: String, stub: String = "", vendor: String = "", supports: Map[String, Seq[String]] = Map(), options: Array[ExportOption] = Array(), actions: Map[String, ExportAction] = Map(), defines: Array[ExportDefineConfig] = Array(), templates: Seq[String] = Seq())
- id
"xilinx.pll"
- name
"Xilinx PLL"
- module
"clk_wiz"
- stub
.<...>
- vendor
"vivado"
- supports
(empty), only vendor is supported
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val actions: Map[String, ExportAction]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val defines: Array[ExportDefineConfig]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getContextMap(context: Map[String, Any] = Map()): Map[String, Any]
get context map, merge from default values
get context map, merge from default values
- context
instance options
- returns
context map
- Annotations
- @JsonIgnore()
- def getDefineHeadCode: String
- Annotations
- @JsonIgnore()
- def getModuleContextMap: Map[String, Any]
- Annotations
- @JsonIgnore()
- def getOptionContextMap(data: Map[String, Any] = Map()): Map[String, Any]
- Annotations
- @JsonIgnore()
- def getSupports: Map[String, Seq[String]]
- returns
Example:
{ "vivado": ["all", ], "generic": ["simulation", ] }
- Annotations
- @JsonIgnore()
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val module: String
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val options: Array[ExportOption]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def renderStub(context: Map[String, Any] = Map())(implicit replace: ImplicitPathReplace = NoPathReplace): String
Render stub text
Render stub text
- context
instance options
- replace
path replacer
- returns
rendered stub text
- Annotations
- @JsonIgnore()
- def renderTemplate(context: Map[String, Any] = Map(), projectBase: Option[String] = None)(implicit replace: ImplicitPathReplace = NoPathReplace): Map[String, String]
render all templates
render all templates
- context
instance options
- projectBase
project base path
- replace
path replacer
- returns
map of target filename and rendered content
- Annotations
- @JsonIgnore()
- val stub: String
- val supports: Map[String, Seq[String]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val templates: Seq[String]
- val vendor: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)