amaranth-lang / amaranth-soc

System on Chip toolkit for Amaranth HDL
BSD 2-Clause "Simplified" License
83 stars 31 forks source link

Add annotations for memory maps, wishbone and CSR primitives. #58

Open jfng opened 11 months ago

jfng commented 11 months ago

Depends on PR amaranth-lang/amaranth#978.

MemoryMap resources (e.g. csr.Elements) are now assumed to have a .signature property, which lets them hold annotations. I am not sure whether we should enforce this in MemoryMap.add_resource(), or introduce a base class instead.

jfng commented 9 months ago

Updated, mainly to track changes in amaranth-lang/amaranth#978: