Open jfng opened 11 months ago
Updated, mainly to track changes in amaranth-lang/amaranth#978:
$id
URLs;Signature.annotations
property with Signature.annotations(self, interface, /)
to access memory maps, which are assigned to bus interfaces;csr.Interface
: from /csr.json
to /csr/bus.json
;csr.Element
: from /csr-element.json
to /csr/element.json
;wishbone.Interface
: from /wishbone.json
to /wishbone/bus.json
;memory.MemoryMap
: from /memory-map.json
to /memory/memory-map.json
.
Depends on PR amaranth-lang/amaranth#978.
MemoryMap
resources (e.g.csr.Element
s) are now assumed to have a.signature
property, which lets them hold annotations. I am not sure whether we should enforce this inMemoryMap.add_resource()
, or introduce a base class instead.