For some odd reason, Altera does not have anymore cyclone II education kits here. I was planning to use them for bitcoin mining or some other number crunching. Then I found x6500 and x6000 FPGAs but they are much more expensive/risky, here. Here is the code I would like to run on the board. How can I simulate the running without the board on my own CPU because the boards are expensive? I feel it is essential to learn this way, not get into some accident and break the board. Also, there is a lot of hot air around this issue so I would like to see what the boards really can do.
-
1\$\begingroup\$ Be warned that you won't be able to synthesize/place/route the HDL for the FPGAs on the x6500 boards unless you purchase the full version of Xilinx's software. Or you'd have to get someone else to generate the bitfile for you. \$\endgroup\$– mngJan 14, 2012 at 2:01
1 Answer
You need an HDL simulator. Icarus Verilog or GHDL are two opensource options (one for Verilog and one for VHDL, depending on what language your source code is written in)
With the simulator you can examine (veeerrrry slowly compared to the actual FPGA) what goes on inside with full visibility of the internal signals.
However, you are not likely to break the board just with code - as long as you treat it carefully with regard to keeping high voltages off the pins (nothing > 3.3V), take reasonable precautions against static zapping it, a well-designed board will take any code you can throw at it without blowing up. Heat may be a potential problem, but usually the code stops working as the chip heats up (and usually it stops heating up then as the logic stops toggling as it's all confused and the state machines tend to lock up). Stick a big heatsink on it or some temperature sensitive labels if you are worried.