Packages

class Database extends AnyRef

Provide a API to access a HashMap which uses Element[_ <: Any] as keys The Database object provide a SpinalHDL ScopeProperty[DataBase] allowing to have one globaly accessible implicit database That globaly shared database can be used as a way to exchange "global" variable in a given context (ex : VexiiRiscv core 3)

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Database
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Database()

Value Members

  1. def apply[T](key: Element[T]): T
  2. def on[T](body: ⇒ T): T
  3. val storage: LinkedHashMap[Element[_], Any]
  4. def storageExists[T](key: Element[T]): Boolean
  5. def storageGet[T](key: Element[T]): T
  6. def storageGetElseUpdate[T](key: Element[T], create: ⇒ T): T
  7. def storageUpdate[T](key: Element[T], value: T): Unit
  8. def update[T](key: Element[T], value: T): Unit