Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

need quick intro to start

It is a bit overwhelming trying to start on my own.

I need a quick intro to all the tools to compare and to give me directions to which I should decide on using.

So there is Quartus (for synthesis), Modelsim (for simulation), and that Quartus can interact with Modelsim... and what's Nios for? I've downloaded the web edition free ones in the list.

Is there a short documentation or a quick tutorial that would present this side by side?

Would following the introduction tutorial on Quartus explain all this?

Thanks.

Your sincerely,

New and slow...

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What are you trying to do? This stuff can take years to learn and fully understand, and the people who do it full time still don't understand it all. That being said, you're probably not building an EP3S340 design with multiple Nios processors and DSP functions running at 350MHz for your first design. For right now, probably look at anything and everything you can, as you're not going to get too much assistance if you haven't gone through any tutorials or intro stuff. But if you describe what you're trying to do and what you already know(digital design? HDL? simulation? something algorithm you're trying to implement?), you might get some guidance to help narrow the field.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would like to implement an algorithm onto FPGA using Verilog. I have some little basic background on digital design.

    I will go through the introduction tutorials for Quartus.

    But before that I was just wondering what is the Nios EDS tool for. Just so that I know where I'm heading. Is that to include libraries of processors into the design? I may have missed the very first intro explaining what all the options available are for.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok fazhan, here's how it works (more or less).

    Quartus is the multifunction tool; you can edit/compile/debug code for your FPGA using it.

    Quartus also provides access to a tool called SOPC Builder, which allows you to assemble IP subsystems.

    Multisim is one of many simulators that Quartus can interface with; If you want to use real test benches to verify your code you'll need a real simulator like Multisim.

    Nios EDS is a C/C++ compiler for the Nios II soft processor.

    So as an example, lets say we want to make a generic FPGA product...

    1) You would write or buy all of your RTL

    2) You would possibly integrate some IP into a subsystem using SOPC Builder, found in Quartus. This is how people make Nios II processor subsystems. The rest of the IP you integrate manually using your favorite HDL.

    3)You would then use Quartus to assign pins, set timing constraints, and compile all of your IP into a format you can download to the FPGA.

    4) You then use Quartus to download your code to the FPGA after compilation.

    5)Woa! The code doesn't work! Use Modelsim or the feature simulator in Quartus to simulate your code and track down your bug. As a beginner the Quartus simulator is probably easier. Also, Quartus has a feature called SignalTap that allows you to inspect the logic in the FPGA realtime*, which can be a lifesaver during system bring up. Simulation is a key step that a lot of FPGA designers skip. At least spot check your code with some low coverage sim; it will save you a lot of time in the long run.

    6)In parallel with your debug, software people will use the Nios II EDS to develop all of the C or C++ code that will run on the Nios II processor.

    Thats it! Of course there are many many fine points that I left out, but the main idea is Quartus is for FPGA code, Modelsim is for simulating FPGA code, and EDS is for C/C++ code.

    Good luck!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    On the Altera main WEB page, in the lower middle is a link to training.

    Go in there, and then find all the free training you need.

    There are defined class flows based on the type of things you are looking to do.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you Avatar and OMG.

    OMGFPGAS your explanation is clear, giving me a whole picture. I have been introduced to Modelsim and Leonardo Spectrum in lectures but couldn't seem to fit in the other tools. At least now I can figure out the purpose of the tools and decide that I don't need Nios EDS.

    Avatar, I tried downloading the free online training but the internet line was so unstable that I couldn't even download the zip file. Either that or the traffic going to those pages.

    Determination or foolish I don't know, but I will solve it. :-)

    Can anyone point me to the direction of newbie discussion forums?

    Thanks.