First Nios II project using Qsys-------let Qsys Say Hello

Source: Internet
Author: User

1. New Project

2. Add schematic files

Note: It seems Nios II projects need to involve schematic programming.

3. Enter Qsys for kernel design

Note: Start After Qsys, the system has added a component clk_0 to the kernel by default.

4. Set the clock name and frequency

Note: The clock input on the Development Board is 50MHz.

5. Add Nios II Core

Note: Select Nios II Core is: Nios ii/f, the other tabs remain the default settings.

6. Perform clock connection operation

7. Add On-chip-memory (RAM) cores

Note: At the same time, you need to set the on-chip memory size, where we set to 40960, that is, 40KB, the other tabs remain the default settings.

8. Connection of clock, data port, instruction Port

Note: Connection rules for data and command ports, if this is a memory type The IP core requires that its slave port be connected to the Data_master and Instruction_master of Nios II, while the other non-memory IP cores simply connect to Nios II's Data_master.

9. Add the system ID peripheral kernel

Note: Enter the System ID number of the + bit.

10. Connection of clock, data port

Note: Because The System ID peripheral is not a memory device and is mounted on Nios II only if it is connected to the Data_master and does not need to be connected to the Instruction_master.

11. Add Jtag UART Core

Note: Keep the default settings.

12. Connection of clock, data port

Note: Because The JTAG UART is not a memory device, and when mounted on Nios II, it only needs to be connected to the data_master and not to the instruction_master.

13. Specify the reset and exception address for Nios II

Configuration The Nios II processor's reset vetor and exception vectors are onchip_ram.s1.

14. Connecting the reset Signal

Click Qsys the "Create Global Reset Network" under "System" in the menu bar of the main interface.

15. Allocation of base sites

Click Qsys "Assign Base Addresses" under "System" in the menu bar of the main interface.

16. Assigning the interrupt number

17. Generate Qsys System

Click Generate HDL.

18. Add the configured kernel to the schematic file

19. Add an IP file to the project

20. Add phase-locked loop

Note: The chip speed level and input frequency parameters need to be input.

21. Pin Generation

Select single symbol, click the mouse button, and click Generate Pins for symbol ports.

22. Configuring the Chip

23. Pin Assignment

24. Turn on Eclipse

25. Create a new app

File-new-nios II application and BSP from Template.

26.Build Project

27. Running the program

Run as----Nios II hardware

First Nios II project using Qsys-------let Qsys Say Hello

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.