about how to solidify the Quartus and nios programs into the FPGA

Source: Internet
Author: User

System:win8.1

SDK:Quartus II 14.1

FPGA:Cyclone IV

1, the Quartus generated . POF Files (configuration Flash can be automatically generated, not discussed here), and Nios generated . Elf files (in the project directory of the Sofeware folder) are copied to the same folder , Here I copy two files to the JIC new Folder in the D drive .

2. Create a new file with the suffix . Sh in the JIC folder , and use Notepad to create a new my.sh

3. Double-click to open, copy and enter the following code.

sof= "Test.sof"

elf= "Master.elf"

echo "Sof>flash ..."; Sof2flash--epcs--input= $sof--output=sof.flash--quiet

echo "Elf>flash ..."; Elf2flash--epcs--after=sof.flash--input= $elf--output=elf.flash

echo "Cat flash ..."; CP Sof.flash Sof_elf.flash; Cat Elf.flash >> Sof_elf.flash

echo "Flash>hex ..."; Nios2-elf-objcopy--input-target srec--output-target ihex sof_elf.flash Sof_elf.hex

echo "Del flash ..."; Rm-f *.flash

4. Search Command Shell using window 's search function , open

5, Input: Use the CD command to find the newly created my.sh(CD is the function to understand)

6, view JIC folder found a sof_elf.hex file, wait for a moment.

7. Open Quartus,File > Convert programming Files . . Select Configuration device, here Select EPCS16, add sof_elf.hex file

8, view JIC folder, the generated output_file.pof is a cured file.

9, the output_file.pof with as mode download to the FPGA can be cured successfully.

about how to solidify the Quartus and nios programs into the FPGA

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.