PeakRDL-regblock icon indicating copy to clipboard operation
PeakRDL-regblock copied to clipboard

Unaligned external addressable components

Open maltaisn opened this issue 10 months ago • 0 comments

Is there any reason why this restriction exists?

https://github.com/SystemRDL/PeakRDL-regblock/blob/a076609dad8f876f556144786a2af3ae4d46a7fd/src/peakrdl_regblock/validate_design.py#L164-L197

Would it be possible to simply subtract the component absolute address?

https://github.com/SystemRDL/PeakRDL-regblock/blob/a076609dad8f876f556144786a2af3ae4d46a7fd/src/peakrdl_regblock/field_logic/templates/external_block.sv#L25

assign {{prefix}}.addr = decoded_addr - 'h{{raw_absolute_address}}; 

maltaisn avatar Apr 23 '24 13:04 maltaisn