2) added qip files from pei and changed folder structure 3) added files generic_ip, .qip and related files
2.1 KiB
2.1 KiB
pei_fpga_project_qip
This package uses a cleaner Quartus flow:
quartus/sources.qipfor RTL and generic IP source inclusionquartus/create_project.tclto generate the project.qpf/.qsfconstraints/pei_fpga_top.sdcas the timing constraints fileconstraints/pei_fpga_top_assignments.qsffor non-source assignments migrated from the original design
Repository structure
src/for RTLgeneric_ip/for shared IPconstraints/for SDC and assignment fragmentsquartus/for the build entry points
Build usage
From quartus/:
./project_build.sh build
./project_build.sh clean
./project_build.sh rebuild
./project_build.sh compile
./project_build.sh full
./project_build.sh rbf
Command summary:
build: create or update the Quartus project onlycompile: run Analysis & Synthesis, Fitter, Assembler, and TimeQuest STAfull: run the full compile flow and generate an.rbffrom the.sofrbf: generate the.rbffrom an existing.sof
To populate generic_ip/ before build:
GENERIC_IP_SRC=/path/to/original/generic_ip ./project_build.sh full
Output files
After a successful full run, the main outputs are expected in:
build/output_files/pei_fpga_top.sofbuild/output_files/pei_fpga_top.rbf
The .rbf is generated from the .sof with:
quartus_cpf -c build/output_files/pei_fpga_top.sof build/output_files/pei_fpga_top.rbf
Notes
- The actual RTL and generic IP source files are not included here because they were not provided.
- Put your design files into
src/andgeneric_ip/so that the references inquartus/sources.qipresolve correctly. - Additional nested
.qipfiles referenced by the original design must also be present if the compile is to succeed. - The
.qdfis not part of the normal user-managed project flow here. Quartus generates the project.qpf/.qsf; timing stays in the separate.sdc. - Review
constraints/pei_fpga_top.sdcand add the real clocks and timing exceptions. - Review
constraints/pei_fpga_top_assignments.qsfbefore first compile.