case class ProjectConfig(name: String = "default-project", description: String = "", version: String = "0.1", author: String = "", type: String = "rtl", source: String = "src/", sources: Seq[String] = Seq(), test: String = "test/", tests: Seq[String] = Seq(), topModule: Option[String] = None, constraintPaths: Seq[String] = Seq(), targets: Array[TargetConfig] = Array(), ipFiles: Seq[String] = Seq(), ipPaths: Seq[String] = Seq(), exports: Option[ExportConfig] = None, ips: Seq[IPInstance] = Seq(), cwd: Option[String] = None) extends ConfigNode with Product with Serializable
- Annotations
- @JsonInclude()
- Alphabetic
- By Inheritance
- ProjectConfig
- Serializable
- Product
- Equals
- ConfigNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ProjectConfig(name: String = "default-project", description: String = "", version: String = "0.1", author: String = "", type: String = "rtl", source: String = "src/", sources: Seq[String] = Seq(), test: String = "test/", tests: Seq[String] = Seq(), topModule: Option[String] = None, constraintPaths: Seq[String] = Seq(), targets: Array[TargetConfig] = Array(), ipFiles: Seq[String] = Seq(), ipPaths: Seq[String] = Seq(), exports: Option[ExportConfig] = None, ips: Seq[IPInstance] = Seq(), cwd: Option[String] = None)
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
- val author: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val constraintPaths: Seq[String]
- Definition Classes
- ProjectConfig → ConfigNode
- val cwd: Option[String]
- Definition Classes
- ProjectConfig → ConfigNode
- val description: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exports: Option[ExportConfig]
- 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()
- def headTarget: Option[TargetConfig]
- def headTargetTask: Option[(TargetConfig, TaskConfig)]
- def headTask: Option[TaskConfig]
- val ipFiles: Seq[String]
- Definition Classes
- ProjectConfig → ConfigNode
- val ipPaths: Seq[String]
- Definition Classes
- ProjectConfig → ConfigNode
- val ips: Seq[IPInstance]
- Definition Classes
- ProjectConfig → 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()
- var parentNode: Option[ConfigNode]
- Definition Classes
- ConfigNode
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val source: String
- Definition Classes
- ProjectConfig → ConfigNode
- val sources: Seq[String]
- Definition Classes
- ProjectConfig → ConfigNode
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targets: Array[TargetConfig]
- def targetsByToolchain(toolchain: String): Array[TargetConfig]
- def targetsWithImpl: Array[TargetConfig]
- def targetsWithSim: Array[TargetConfig]
- def targetsWithSynth: Array[TargetConfig]
- def taskByName(taskName: String): Option[(TargetConfig, TaskConfig)]
Auto find target and task
Auto find target and task
- taskName
name of task
- def taskByTaskTargetName(taskName: String, targetName: String): Option[(TargetConfig, TaskConfig)]
- def taskNames: Array[String]
- val test: String
- Definition Classes
- ProjectConfig → ConfigNode
- val tests: Seq[String]
- Definition Classes
- ProjectConfig → ConfigNode
- val topModule: Option[String]
- Definition Classes
- ProjectConfig → ConfigNode
- val type: String
- val version: 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)