OPOS93 SP FPGA designing
From ArmadeusWiki
Requisites
You'll need to install Efinity in order to synthetise your design for the embedded Efinix Trion T20.
Starting from a template project
Template projects for Chisel or Verilog/VHDL development are publicly available on the flexIO to Wishbone bus wrapper repository.
Chisel
- Install Scala/SBT on your environment
- Setup a Chisel project and add the flexIO to Wishbone bus wrapper as a dependency
- From the flexIO to Wishbone bus wrapper repository, copy the opos93sp-template or opos93sp-template-wb (with Wishbone bus instantiated) folder from the hardware directory.
- You can then hack the different files:
- Makefile: change your project name, change your Chisel project's directory, ...
- generate-project.py: IO configurations of the FPGA (see documentation from Efinix)
- Load Efinity's environment variables (do it only one time):
$ source <EFINITY_PATH>/bin/setup.sh
- Build the project
$ make
Verilog/VHDL
The flexIO to Wishbone bus wrapper repository build template projects for every releases. Those tamplate projects can be found under the asset section on the release page.
- Download the Opos93SP template project or the Opos93SP wishbone template project whether you need a Wishbone bus or not.
- Open the project in Efinity and start hacking the generated wishbone or FlexIO Verilog modules depending on the template project you chose in the step above.