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.

Why do I get an error when trying to compile hello_nios.c in lab 1?

Error hello_nios.c lab
0
Posted

Why do I get an error when trying to compile hello_nios.c in lab 1?

0

See also Section 12: Advanced Topics. You get an error because of the hardware design of lab 1. The hello_nios code uses a function called nr_showhex which displays output on the seven segment display. But recall that in the lab 1 hardware there is a seven segment decoder which drives part of the seven segment display. There is no sixteen bit parallel connection to the seven segment display as in lab0b. Thus, the hello_nios code won’t compile and won’t run. But you can still compile and run hello_world.c if you want to test out some software on your design.

Related Questions

What is your question?

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

Experts123