Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAnother beginners question
Being new to FPGA's ( started yesterday ) when I was given an Altera DE2-115 I find I keep coming up with lots of questions that I dont know the answer to I have been reading all I can in t...
Altera_Forum
Honored Contributor
11 years agoThanks for the encouragement Dave
Yes I did synthesize the code I uploaded and assigned some pins to it and it eventually did as it should . I say eventually because when I tried to synthesize it I got a warning telling me that Error: The core supply voltage value of '1.0V' is illegal for the currently selected part. but it seems thats a known problem with Quartus 9.1 SP2 as its in the DE2-115 FAQs and they give a work around I have since changed from Quartus II v9.1 SP2 to V15 and it doesnt do that any more . The circuit was for a 2 way light switch, the sort of thing you would have on the stairs and it operated as a simple xor gate . in as much as if the 2 switches were set both up or both down the light was off , but one up and one down the light came on I wrote the code first using the schematic and then later wrote it in VHDL and both worked Although the schematic method was easier for that small circuit I can see that in a big circuit it might get out of hand I spent most of today printing out crib sheets of how to write an entity and architecture showing where you put in semi colons and where not to so as to keep the syntax correct I also printed out a list of pin numbers for the switches, Leds and 7 segments so I dont have to keep hunting through the manual to find them Making a blinking LED as you suggest should be a fun project and also playing with the 7 segments I was just trying to think what the best way to blink a LED would be . I suppose I could devide a 50Mhz clock by 2 about 25 times with a lot of D flip flops and that would give me a flash rate of about 1.5 Hz or I could just tell it to turn on wait for a set time and then turn off and wait again then loop to the top and start again or maybe I can get a PLL to give me the frequency I want ? I dont know . I never have used a PLL yet Oh well fun times ahead trying to find out Speak again soon Don