litex icon indicating copy to clipboard operation
litex copied to clipboard

CSR ordering support in generated files

Open AndrewD opened this issue 10 months ago • 4 comments

Add CSR_ORDERING constants and update access functions. Unchanged behaviour with default csr_ordering="big".

Can use --csr-ordering little on command line or parser.set_defaults(csr_ordering="little").

Note that this only affects the addressing of CSR that are 64bit or wider.

This is a proof of concept implementation - only confirmed by inspection so far.

AndrewD avatar Apr 09 '24 07:04 AndrewD