In this folder you'll find hardware code required for the fpga on chameleon.
The FPGA circuitry's job is to move large amount of video signals around.
See http://go/chameleon-fpga-architecture for more details.
v3*.sv
describes the whole boardIf you are a googler, you can access historical commits by accessing the internal repo.
Register map is available at: doc/register_map.md
Build system generates three different types of bitstream:
*.sof
- main bitstream with header*.rbf
- bitstream stripped from Quartus header, ready to flash directly to SD/EMMC*.itb
- U-Boot-friendly file format that U-Boot utilizes to program the FPGA.Most of the time one will only need *.itb
file.
Download and install Quartus Prime Pro 22.4 from https://www.intel.com/content/www/us/en/software-kit/764010/intel-quartus-prime-pro-edition-design-software-version-22-4-for-linux.html? To run Quartus, one will need a proper license - contact Chameleon team for access.
Make sure quartus_sh
was added to the PATH
. If not:
export PATH=${PATH}:<quartus_installation_dir>/quartus/bin
Install U-Boot utilities:
sudo apt install u-boot-tools
To build bitstream for given chip, use make bitstream FPGA_CHIP=<code name>
Type make help
for more information.
make tests
will run the tests for all SVUnit testbenches defined in sim/utests
. Refer to installation instruction for run tests inside sim/utests
directory. Essentially, one need to run:
export SVUNIT_INSTALL=~/chromiumos/src/third_party/svunit export PATH=${PATH}:${SVUNIT_INSTALL}/bin
Google's mirror of SVUnit repository can be found at src/third_party/svunit
.