Skip to content
Olof Kindgren edited this page Apr 5, 2016 · 2 revisions

In some cases files need to be transformed before they can be used by an EDA tool. This can for example be Migen, Chisel, MyHDL code or any other code that needs to be generated from a source description. Here are some ideas for how to implement such functionality

Providers as generators

Cores can have a provider section that generates hdl code from a source description, rather than downloading from an external source. Examples of this can be found in the logicore and coregen providers here https://github.com/andrzej-r/fusesoc/tree/andrzej-r/fusesoc/provider and cores that uses this feature can be found here https://github.com/andrzej-r/orpsoc-cores/tree/nexys4ddr/systems/nexys4ddr/nexys4ddr_ddr2

Benefits of this method is that the result is cached, so that generation only need to happen once. It also reuses the existing provider infrastructure.

Clone this wiki locally