(Formerly known) after modifying qsys or RTL, how should the Nios ii sbt face the new hardware? (SOC) (nio ii) (qsys)

Source: Internet
Author: User

Abstract
The most noteworthy aspect of the concept is the adequacy of the concept. As a result, render manager has already created a niosii SBT project. You can also change the architecture and IP address of fpga rtl or qsys, at this time, what steps should the niosii SBT project perform to reflect the modified hardware architecture? Is it generate BSP? Or should it be BSP editor? Or should I build a project? What is the sort order of the distinct rows?

Introduction
Environment: Windows XP SP3 + virtualbox 4.1.2 + Quartus II 11.0

Since the use of the niosii SBT, after each qsys or fpga rtl modification, I have been wondering whether to just build a project on the same line? Or clean project first? Or do I have to initialize the line generate BSP first? Does the BSP editor need to be written? For some time there will always be some unpredictable production, until I see [1] p.4-30 of the niosii software build toolsRevising your BSPZhang Yu, all questions are open. I suggest you take a full look at the [1] niosii software build toolsRevising your BSPChapter. This article is just a summary of individual understanding and cannot replace the official information of Altera.

Generate BSPThe workflow is as follows:

It is worth noting that generate BSP will re-root *. sopcinfo to generate drivers/hal, that is, if you remove an IP address from qsys, generate BSP will automatically help you delete the case related to drivers/hal, if you manually modify the C code of drivers/hal, The generate BSP will be overwritten again, therefore, if you do not recommend that you manually modify the C code of drivers/hal, generate BSP should automatically generate the code.

BSP Editor: Modify settings. BSP settings.

Clean Project: When make clean is used, all object files will be deleted. Because if you delete an IP address in qsys, in generate BSP, the drivers/hal file of the IP address will be deleted, and the object files of the IP address will not be deleted. Therefore, you must manually use the clean project file.

Build Project: As in make all, the root makefile operation will be used to repeat all cases.

Conclusion
Most people know that the last part is the Clean Project and build project. This is not a big problem. But who should write the line for generate BSP and BSP editor first?The answer is that you should first generate the BSP line and then upload the BSP editor line., Because if you first upload the BSP Editor, your settings must be the root component *. settings of sopcinfo. BSP settings do not reflect the latest hardware. Therefore, you must generate the BSP line first to generate the settings for the latest hardware. BSP, and then upload the BSP editor.

The process is as follows:

See also
(Original issue) How can I solve the problem that the niosii project cannot renew when the project changes? (SOC) (nano II) (DE2-70)

Reference
[1] niosii software build tools
[2] NiO II software build tools reference

The full text is complete.

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.