lowRISC / lowrisc-chip

The root repo for lowRISC project and FPGA demos.
http://www.lowrisc.org/
Other
593 stars 149 forks source link

register map for peripherals #189

Closed kidonglee closed 3 years ago

kidonglee commented 3 years ago

Hi,

Where can I find the information about register map of lowrisc-chip peripherals, such as plic, eth and sd ? In order to control these peripherals, we need the information. But I can not find it. Could you please let me know where I can find the information on register map of peripherals?

Thanks.

jrrk commented 3 years ago

There isn’t a formal document describing what every bit does, but there is example usage in the bootloader and the Linux device drivers. Base addresses are generated according to configuration in the usual device tree manner, failing that look in the Verilog for more clarity. There is no particular intention to maintain compatibility from one version of LowRISC to the next.

This is not an entirely satisfactory situation but as the development team slimmed down from three to one and now zero, I’m afraid it is not likely to change unless LowRISC CIC decides to offer commercial support in future, which would be a distraction from their flagship OpenTitan project.