case class TargetConfig(name: String = "", toolchain: String = "iverilog", topModule: Option[String] = None, constraintPaths: Seq[String] = Seq(), options: Option[Map[String, String]] = None, tasks: Array[TaskConfig] = Array(), cwd: Option[String] = None) extends ConfigNode with Product with Serializable
Case class for config of a target
- name
Config name
- toolchain
Toolchain type of this target
- topModule
Top module name of this target; can be inherited if is None
- options
Extra options for this target, e.g. part number (xc7a100tfgg484-1) for Xilinx Vivado
- tasks
Tasks under this target
- Annotations
- @JsonInclude()
- Alphabetic
- By Inheritance
- TargetConfig
- Serializable
- Product
- Equals
- ConfigNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TargetConfig(name: String = "", toolchain: String = "iverilog", topModule: Option[String] = None, constraintPaths: Seq[String] = Seq(), options: Option[Map[String, String]] = None, tasks: Array[TaskConfig] = Array(), cwd: Option[String] = None)
- name
Config name
- toolchain
Toolchain type of this target
- topModule
Top module name of this target; can be inherited if is None
- options
Extra options for this target, e.g. part number (xc7a100tfgg484-1) for Xilinx Vivado
- tasks
Tasks under this target
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
- 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 constraintPaths: Seq[String]
- Definition Classes
- TargetConfig → ConfigNode
- val cwd: Option[String]
- Definition Classes
- TargetConfig → ConfigNode
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def findTopModule: Option[String]
Get top module name
Get top module name
- returns
top module name, may not exist
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getAllIps(implicit project: ScaledaProject): Map[String, ProjectConfig]
Recursively get ALL IPs from this project
Recursively get ALL IPs from this project
- returns
map of ip abs-path and ProjectConfig
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getConstraintFiles(project: ScaledaProject): Set[File]
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getConstraints: Seq[String]
Get constraints file or directories
Get constraints file or directories
- returns
constraints file or directories
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getIpFiles(implicit project: ScaledaProject): Set[String]
Get all Simple Target IP files
Get all Simple Target IP files
- returns
simple target ip files or search path in absolute path
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getIpInstances(implicit project: ScaledaProject): Seq[IPInstance]
Get IP Instances
- def getIpPaths(implicit project: ScaledaProject): Set[String]
Get Scaleda IP search path, including basic paths: .ip, ip, ips
Get Scaleda IP search path, including basic paths: .ip, ip, ips
- returns
ip search paths
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getLocalIps(implicit project: ScaledaProject): Map[String, ProjectConfig]
Get defined Scaleda IP in this project, but not recursively from other IPs
Get defined Scaleda IP in this project, but not recursively from other IPs
- returns
map of ip abs-path and ProjectConfig
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getSourceSet(implicit project: ScaledaProject): Set[String]
Get all source set based on project base, with folders and files mixed
Get all source set based on project base, with folders and files mixed
- returns
sources in absolute path
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getTestSet(implicit project: ScaledaProject): Set[String]
Get testbench source set.
Get testbench source set. Default is project base.
- returns
testbench in absolute path
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- def getWorkingDirectory(implicit project: ScaledaProject): File
- Definition Classes
- ConfigNode
- Annotations
- @JsonIgnore()
- val ipFiles: Seq[String]
- Definition Classes
- TargetConfig → ConfigNode
- val ipPaths: Seq[String]
- Definition Classes
- TargetConfig → ConfigNode
- val ips: Seq[IPInstance]
- Definition Classes
- TargetConfig → ConfigNode
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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: Option[Map[String, String]]
- var parentNode: Option[ConfigNode]
- Definition Classes
- ConfigNode
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val source: String
- Definition Classes
- TargetConfig → ConfigNode
- val sources: Seq[String]
- Definition Classes
- TargetConfig → ConfigNode
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tasks: Array[TaskConfig]
- val test: String
- Definition Classes
- TargetConfig → ConfigNode
- val tests: Seq[String]
- Definition Classes
- TargetConfig → ConfigNode
- val toolchain: String
- val topModule: Option[String]
- Definition Classes
- TargetConfig → ConfigNode
- 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)