Package

spinal.lib.misc

database

Permalink

package database

Visibility
  1. Public
  2. All

Type Members

  1. class Database extends AnyRef

    Permalink

    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.

  2. abstract class Element[T] extends Nameable

    Permalink

    Represent a thing which can be in a data base (this is the key)

  3. class ElementBlocking[T] extends Element[T] with Area

    Permalink

    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.

  4. class ElementLambda[T] extends ElementValue[T]

    Permalink

    The lambda function body generates the value on the fly.

  5. class ElementValue[T] extends Element[T]

    Permalink

    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.

Value Members

  1. object Database extends ScopeProperty[Database]

    Permalink

    Provide a global implicit database

  2. object Element

    Permalink

Ungrouped