Archive for the NIOS II Experiments Category

Cyclone II-Exp.11- Revisited

Posted in Cyclone II Experiments, NIOS II Experiments on May 15, 2014 by asteriondaedalus

As mentioned, having uninstalled Quartus ® II 10.1 and installed 11.1, I thought we’d revisit the initial Nios II experiment.

So, you will need (at least):

  1. Introduction to the Altera Qsys System Integration Tool
  2. Qsys Training

Note Qsys was introduced in version 11.x to replace SOPC by version 12.x.  The trick was the Qsys tutorial is not available in the 11.1 coffers (the one above is the 12.1 tutorial).

SOPC is still available in 11.1 so any SOPC based designs you have, or are presented in the wealth of [cheap, free] books around, can still be used.

So Quartus ® II 11.1 and ModelSim 11.1 are actually a good trade off between working on older chips and also being able to work from older internet resources that go with those chips.

A report  – Cylone II-EXP11-Qsys – will follow once I have buzzed out the tutorial.

Helpful also will be:

  1. Nios II Hardware Development Tutorial
  2. Altera® Monitor Program manual
  3. Nios Software Build Tools
Advertisements

Cyclone II-Exp.11- Complete

Posted in Cyclone II Experiments, NIOS II Experiments on May 4, 2014 by asteriondaedalus

Nailed the tutorial up to and including the Assembly  and C steps with monitor.

I also jumped into a second tutorial to try building software with the Eclipse based Nios II SBT.

So, you will need (at least):

  1. Altera® Introduction to the Altera® SOPC Builder Using VHDL Designs
  2. My First Nios II Software Tutorial

Here is a report I roughed to tell the story – Cylone II-EXP11 – read it along with the two above.

Helpful also will be:

  1. Altera® SOPC Builder User Guide
  2. Nios II Hardware Development Tutorial
  3. Altera® Monitor Program manual
  4. Nios Software Build Tools

 

Cylone II-Exp.11-Epiphany! Or ah ha!

Posted in Cyclone II Experiments, NIOS II Experiments, The Downside of software development on May 4, 2014 by asteriondaedalus

I pinged the board vendor to see if there were any gothchas when setting up this board.

Turns out, a couple of steps missing from the tutorial from Altera – go figure, you have to have priori knowledge to be a Newbee.  I hate the idea of Newbee, I am not sure why in a world of liberal education the idea persists.  If an educator was to take the viewpoint that someone ‘new’ was to be left to the devices of people not more knowledgeable than they for help then parents would be rioting and burning schools down I suspect.  Once you’re out of school, it is okay to make people put on a dunce’s cap and make them stand in the corner.

In any event, at least one step missing was to set the un-used pins to tri-stated inputs.  The other potentially missing step appeared to be running a second menu command to auto select interrupt vectors (inline with Step 11.).

We’ll see where those new bits of information get us.

Cylone II-Exp.11 – the saga continues

Posted in Cyclone II Experiments, NIOS II Experiments, The Downside of software development on May 4, 2014 by asteriondaedalus

Can’t clear the screaming board, software loads but board screams.

I did a compare between the hand built and example project *.ptf and nothing jumps out.

Tried building against VHDL instead of Verilog and got “Error: generation skipped because the system has validation errors”!

So, building a 5 component software core, with defaults, in a wizard, based on an example from Altera, and can’t even get the tool to generate the files.

Wretched isn’t it.

I am downloading 11.1 SP2 and will remove 10.1 and re-install etc.

I am not holding my breath and neither should you.

Cyclone II-Exp.11

Posted in Cyclone II Experiments, NIOS II Experiments on April 30, 2014 by asteriondaedalus

Dust clear out the dust of the LAST EXAM EVER!

I thought I would play a little with the NIOS II example code BUT it soon became apparent that it was beyond poking about to work it out.

However, it you go to the Altera site their is a SOPC tutorial that takes you top to bottom to build what turns out to be one of the example projects that comes with our board.  Don’t forget to get a hold of the companion SOPC User Guide.  Oh, and the Altera Monitor Program.

So, I will plod through it and do a write up on any differences of note between what they are doing on the Altera boards and ours.

Stay tuned.