Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
1  
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. – mng Jan 14 '12 at 2:01

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.