constraints
dfhdl.compiler.ir.constraints
object constraints
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
constraints.type
Members list
Type members
Classlikes
sealed abstract class Constraint extends HWAnnotation
Attributes
- Supertypes
-
class HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class GlobalConstraintclass DeviceConfigclass DeviceIDclass DeviceInfoclass DevicePropertiesclass ToolOptionsclass SigConstraintclass IOclass Clockclass IgnoreShow all
final case class DeviceConfig(flashPartName: String, interface: Interface, sizeLimitMb: Int, masterRate: ConfigN[RateNumber]) extends GlobalConstraint
Attributes
- Companion
- object
- Supertypes
-
class GlobalConstraintclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
object DeviceConfig
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DeviceConfig.type
final case class DeviceID(vendor: Vendor, deviceName: String, partName: String, deviceVersion: String) extends GlobalConstraint
Attributes
- Companion
- object
- Supertypes
-
class GlobalConstraintclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
object DeviceID
final case class DeviceInfo(slewRateSlowest: ConfigN[Int], slewRateFastest: ConfigN[Int]) extends GlobalConstraint
Attributes
- Supertypes
-
class GlobalConstraintclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
final case class DeviceProperties(properties: Map[String, String]) extends GlobalConstraint
Attributes
- Supertypes
-
class GlobalConstraintclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
sealed abstract class GlobalConstraint extends Constraint
Attributes
- Supertypes
-
class Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
- Known subtypes
final case class IO(bitIdx: ConfigN[Int] = ..., loc: ConfigN[String] = ..., dir: ConfigN[Dir] = ..., levelVolt: ConfigN[LevelVolt] = ..., standard: ConfigN[Standard] = ..., slewRate: ConfigN[SlewRate] = ..., driveStrength: ConfigN[Int] = ..., pullMode: ConfigN[PullMode] = ..., dualPurposeGroups: ConfigN[String] = ..., unusedPullMode: ConfigN[PullMode] = ..., invertActiveState: ConfigN[Boolean] = ..., missingPullDownSupport: ConfigN[Boolean] = ...) extends SigConstraint
Attributes
- Companion
- object
- Supertypes
-
class SigConstrainttrait HasTypeNameclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
object IO
sealed abstract class SigConstraint extends Constraint, HasTypeName
Attributes
- Supertypes
-
trait HasTypeNameclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
- Known subtypes
final case class ToolOptions(options: Map[String, String]) extends GlobalConstraint
Attributes
- Supertypes
-
class GlobalConstraintclass Constraintclass HWAnnotationtrait HasCodeStringtrait Serializabletrait Producttrait Equalstrait HasRefCompare[HWAnnotation]class Objecttrait Matchableclass AnyShow all
Givens
Givens
Extensions
Extensions
extension (list: List[SigConstraint])
Consolidate several constraints that are all the same for all the bits into a single constraint. This should be applied after merging.
Consolidate several constraints that are all the same for all the bits into a single constraint. This should be applied after merging.
Attributes
Merge constraints that are of the same type and are mergeable.
Merge constraints that are of the same type and are mergeable.
Attributes
In this article