I've been trying to get my Cyclone II FPGA (from the Starter Kit, EP2C20) to work. I've gotten the Quartus II software to work on my Ubuntu setup and it' ALMOST working - I can write some Verilog, compile it, and put it on my device via the programmer. However, I can't get my code to control the FPGA outputs in any meaningful way. Here is, essentially, the code I'm trying:
module fpga(output LEDG[7:0); assign LEDG = 1; endmodule
I want all the green LEDs on the FPGA to light up. What am I doing wrong?
Terribly sorry if this is something I could've Googled, I just spent the past hour trying to but didn't get too far (there doesn't seem to be much example Verilog code made for FPGAs out on the internet, at least any code which deals with minutiae like activating LEDs).
I can't wait to get started playing with this thing for real, so would appreciate any help getting this minor step working!
Update: The Quartus II Pin Planner is showing that the Fitter Location for the pins I care about is different from the pins specified in the datasheet. How can I fix this without manually re-assigning all the pins to the right places?