Questions tagged [nios]

Nios II is a 32-bit embedded-processor architecture designed specifically for the Altera family of FPGAs. Do not use this tag for Infblox NIOS appliances.

Nios II incorporates many enhancements over the original Nios architecture, making it more suitable for a wider range of embedded computing applications, from DSP to system-control.

Nios II is comparable to MicroBlaze, a competing softcore CPU for the Xilinx family of FPGA. Unlike Microblaze, Nios II is licensable for standard-cell ASICs through a third-party IP provider, Synopsys Designware. Through the Designware license, designers can port Nios-based designs from an FPGA-platform to a mass production ASIC-device.

Nios II is a successor to Altera's first configurable 16-bit embedded processor Nios.

Do not use this tag for Infoblox NIOS appliances.

145 questions
-1
votes
1 answer

Build uClinux for FPGA?

I want to build a Linux for my Altera DE2-115 that connects with the serial port. Now I see kernel panic from the serial port when I try and run it: 0.000000] Linux version 4.8.0+ (developer@developer-Latitude-E7450) (gcc version 6.2.0 (Sourcery…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
-1
votes
2 answers

Error: unknown register when building uClinux

I'm trying to build uClinux according to the instructions. I have a build problem that I don't understand. /home/developer/altera/nios2-linux/linux-2.6/arch/nios2/kernel/entry.S: Assembler…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
-1
votes
1 answer

Why whenever I look information on how to use the SDRAM of my DE1-SOC on internet, it takes me to use NIOS-II?

I'm doing a simple project of taking 100 numbers from an external memory (one by one), doing a simple arithmetic to that number (like adding 1) and returning it to another memory. I successfully did that project "representing" a memory in verilog…
sujeto1
  • 371
  • 2
  • 4
  • 19
-1
votes
1 answer

How to interact between Nios and FPGA?

Example: Let's assume there is a Nios running on a FPGA that sends randomly (or every second) a string to an attached display over the SPI interface. On the other hand there is the FPGA code that monitors a pushbutton. Every press on this button…
Norick
  • 215
  • 1
  • 8
  • 19
-1
votes
1 answer

Nios II assembly code to C

I'm trying to write the code below in C but I have a real problem with doing that so if someone can help me out and explain to me in the same time I'd be grateful. array .word ? mystery: add r2,r0,r0 addi r7,r0,32 loop: movia r4, array …
jack bloom
  • 45
  • 3
-1
votes
1 answer

How can I improve my ad hoc cruise control system for Nios 2?

I have written in Nios 2 an ad hoc cruise control system for a school assignment. I versioned it with github. We want the cruise control to differ at most 2 m/s for speeds >= 25 m/s. The latest improvement I could do was checking the velocities in…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
-1
votes
1 answer

Without using interrupts produce a rising sawtooth waveform

Here I need to output a waveform on oscilloscope in C which should in a rising sawtooth waveform.I am not sure if my code is correct. Any help or suggestions? while(1) { for (i = 1; i < 360; i++); // Check to see if status.TRDY is 1 …
-1
votes
2 answers

Trying To Shift Hex Values, Help Please

I'm trying to shift my hex output to the left by one, so that I can display digits above 9 on a 7 segment lcd. Programming on C, the software I'm using is NIOS II, so that I can reprogram straight onto a DE0 Board. The aim of this project is to…
-2
votes
1 answer

Running linux on Altera Stratix 5

I want to run linux on my Altera Stratix 5. One possible way is running uClinux using Nios 2. Will this approach work for the Stratix 5? Are there any other approaches to achieve this?
-4
votes
1 answer

int* and char* to write into memory

I recently learnt nios II SOPC, and I encountered the process of writing into and reading from memory. The use of pointer int* and char* lets me have two different results. The code is as follow. #include "system.h" #include "stdio.h" int main() { …
1 2 3
9
10