package database
- Alphabetic
- Public
- Protected
Type Members
- class Database extends AnyRef
Provide a API to access a HashMap which uses Element as keys.
Provide a API to access a HashMap which uses Element as keys.
The Database object provide a SpinalHDL ScopeProperty, allowing to have one globally accessible implicit database. That globally shared database can be used as a way to exchange "global" variable in a given context.
- abstract class Element[T] extends Nameable
Represent a thing which can be in a data base (this is the key)
- class ElementBlocking[T] extends Element[T] with Area
Same as ElementValue, but based on the SpinalHDL Fiber API.
Same as ElementValue, but based on the SpinalHDL Fiber API.
This means that when we get something which isn't set, it will put the current fiber thread in sleep until the thing is set.
- class ElementLambda[T] extends ElementValue[T]
The lambda function body generates the value on the fly.
- class ElementValue[T] extends Element[T]
Simple implementation, which allow to get/set a value.
Simple implementation, which allow to get/set a value.
Will throw an exception if we try to get something which isn't set.