pulp-platform / pulp_soc

pulp_soc is the core building component of PULP based SoCs
Other
78 stars 81 forks source link

Replace apb soc ctrl #89

Open meggiman opened 1 year ago

meggiman commented 1 year ago

The existing apb_soc_ctrl register file in soc_peripherals is extremely cumbersome to modify and causes tons of linter warnings. This PR replaces the old regfile with an auto-generated register file using reggen. Where appropriate, the existing registers were ported using the same address offsets to remain compatible with existing software. Some registers that no longer served any purpose were committed while some completely new registers were added. pulp_soc now contains a Makefile to quickly regenerate the register file RTL from a modified regfile hjson in rtl/pulp_soc/soc_ctrl_reg.

meggiman commented 1 year ago

depends on #88