Altera_Forum
Honored Contributor
15 years agoSome very basic questions
Hello,
So I'm a student; my background is in EE but I have very little experience with FPGAs. My task is to develop a motion control solution for a robotics project. I was given a "Motionfire" development kit (containing a Cyclone III), both to learn about FPGAs and then to use as a platform for developing a robot controller. I also have some books on VHDL and the syntax seems fairly straightforward. EDA tools, however, do not. I'm hoping that someone here can answer some very broad questions that I have to orient me a bit, and maybe point me to some tutorials somewhere. Some questions: -On the surface, Quartus II seems analogous to a more conventional IDE, but it's tightly integrated with SOPC Builder (and probably a lot of other things I haven't run into yet). I understand that SOPC Builder is a graphical method of assembling devices (particularly the Nios II processor) but I don't understand how the product of SOPC Builder manifests into the rest of the code visible within Quartus. Perhaps it's the other way around, and the rest of your code must be recognizable by SOPC Builder? This dev kit came with a fairly large Quartus project, and the highest tier file seems to contain a lot of references to signals in SOPC Builder. Was this file automatically generated? -With 8-bit MCUs, the work flow is pretty simple: Code, compile into a binary, and then upload into the MCU flash via ISP or similar. The next level of complication in embedded devices that I'm familiar with involves a bootloader and possibly TFTP instead of an ISP programmer. I gather that the FPGA workflow is a good deal more complex, especially since there can be two code bases (C/C++ for the Nios and VHDL/Verilog for the FPGA). Is it entirely up to the system designer to figure out how to program the Nios (e.g. using a bootloader), or is there some basic mechanism built into Quartus or the Nios IDE? Lastly, I realize that a complicated dev kit probably isn't the best thing to start out with, but if we'd purchased a simple, cheap educational kit, we probably couldn't get this larger kit that we knew we'd eventually need. Perhaps I should just cough up the $100 or so to get a BeMicro and protoboard? Also, I've been reading through the documentation linked to by Quartus and SOPC Builder, but if there are any other good tutorials out there, I'd appreciate being pointed to them. Thanks!