It shows how to:
- Build for different targets with different configurations based on:
- different filesets
- VHDL generics defined in .core file
- Set synthesis options
To build targets run:
custom_target_1:
fusesoc --cores-root . run --target custom_target_1 ::fusesoc_example
custom_target_2:
fusesoc --cores-root . run --target custom_target_2 ::fusesoc_example
NOTE:
To make it work you need the latest master commit from edalize. If FuseSoc is not installed on your machine you want to run:
sudo pip install fusesoc
sudo pip uninstall edalize
sudo pip install git+git://github.com/olofk/edalize@master
If you want, install wihtout sudo with --user.