Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I source the pin_assign.tcl script, my compilation focus changes to the nios_tutorial project and the nios_system_module top-level design. How do I make pin assignments for my design?

0
Posted

When I source the pin_assign.tcl script, my compilation focus changes to the nios_tutorial project and the nios_system_module top-level design. How do I make pin assignments for my design?

0

To make pin assignments using a TCL script, you will need to copy the pin_assign.tcl script to your local directory and make a few modifications. You should set the project_name to the name of your project and set the top_name to the name of your top-level design file. Save the modified file, run the TCL console, and run your modified pin_assign.tcl. Now, when the script runs, it will operate on the correct design file. • When I try to compile the sample code for hello_nios.c, I receive a message that na_seven_seg_pio is not defined. What does this mean? The Excalibur SDK is not able to handle arbitrary peripheral names in all cases. You most likely named your seven segment display something other than seven_seg_pio. The precompiled assembly code for pio_showhex.s assumed the use of the seven_seg_pio name. You will either need to modify the assembly code by hand and switch the name of the pio or you will need to re- generate your system module with the appropriate seven_seg_pio name. •

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123