luna_soc.gateware.core.ila module
- class luna_soc.gateware.core.ila.Peripheral(*args, src_loc_at=0, **kwargs)[source]
Bases:
ComponentA simple peripheral interface to the ila.
- class Control(*args, src_loc_at=0, **kwargs)[source]
Bases:
RegisterA CSR register.
Parameters
- fields
dictorlistorField Collection of register fields. If
None(default), a dict is populated from Python variable annotations.fieldsis used to create aFieldActionMap,FieldActionArray, orFieldAction, depending on its type (dict, list, or Field).
Interface attributes
- element
Element Interface between this register and a CSR bus primitive.
Attributes
- field
FieldActionMaporFieldActionArrayorFieldAction Collection of field instances.
- f
FieldActionMaporFieldActionArrayorFieldAction Shorthand for
Register.field.
Raises
TypeErrorIf
fieldsis neitherNone, adict, alist, or aField.ValueErrorIf
fieldsis notNoneand at least one variable annotation is aField.ValueErrorIf
element.accessis not readable and at least one field is readable.ValueErrorIf
element.accessis not writable and at least one field is writable.
- trigger: <amaranth_soc.csr.reg.Field object at 0x7514531c2780>
- fields
- class Trace(*args, src_loc_at=0, **kwargs)[source]
Bases:
RegisterA CSR register.
Parameters
- fields
dictorlistorField Collection of register fields. If
None(default), a dict is populated from Python variable annotations.fieldsis used to create aFieldActionMap,FieldActionArray, orFieldAction, depending on its type (dict, list, or Field).
Interface attributes
- element
Element Interface between this register and a CSR bus primitive.
Attributes
- field
FieldActionMaporFieldActionArrayorFieldAction Collection of field instances.
- f
FieldActionMaporFieldActionArrayorFieldAction Shorthand for
Register.field.
Raises
TypeErrorIf
fieldsis neitherNone, adict, alist, or aField.ValueErrorIf
fieldsis notNoneand at least one variable annotation is aField.ValueErrorIf
element.accessis not readable and at least one field is readable.ValueErrorIf
element.accessis not writable and at least one field is writable.
- a: <amaranth_soc.csr.reg.Field object at 0x7514531c2840>
- b: <amaranth_soc.csr.reg.Field object at 0x7514531c28d0>
- c: <amaranth_soc.csr.reg.Field object at 0x75145329d3a0>
- d: <amaranth_soc.csr.reg.Field object at 0x75145329d580>
- fields