BU-Tools / uHAL_AXI_regmap

Tools for building AXI slave VHDL from uHAL address tables.
Apache License 2.0
4 stars 4 forks source link

feature request: Address table packer #22

Open dgastler opened 2 years ago

dgastler commented 2 years ago

This would be an abstraction layer that would take uHAL or uHAL-like address tables and densely pack registers to minimize the FPGA resources needed to decode the address lookups.

Fully expressed uHAL address tables would pass through intact, but a register with the address of "auto" would have its address assigned by the software.

This would output a new, fully uHAL compatible, flat address table to be used by software for register access.

An additional suggested feature would be to force a new register at relative address 0 in the endpoint to be some kind of hash of the address table so that one can verify the FW and SW match.

dgastler commented 2 years ago

Rules for register merging.

dgastler commented 2 years ago

Nodes will keep their FW_INFO tags and FW_INFO based arrays must be compressed in the same way.

dgastler commented 2 years ago

Rule #2 should be modified to allow read-only and read+write registers to exist in the same register. Write only registers are only allowed to be mixed with other write-only registers.