I have a Deo Nano SoC connected to a PCB with several LEDs. I have a simple is it alive test. In one of me processes, I have the following code.
screen_shot : process(CLK)
if rising_edge(CLK) and gate >=1 then
-- gate is a placement value. There is a 5 sec delay between gate 1 and gate2
timer100 <= timer100 + 1;
if timer100 = 100000000 then -- 100 000 000 = 1 second
t100 <= not t100;
timer100 <= (others => '0');
elsewhere, I have the following:
tst_led(3) <= t100;
This code causes my test_led(3) to blink as it should. No problems there.
I am using Quartus Programmer to load the compiled code into the Deo.
Here is the issue, If I unplug the Deo from power and disconnect the two USP cables, wait about 5 seconds, connect power and connect the two USP cables, the test_led(3) will continue to blink as if the program were loaded.
Note, I did not start the Quartus Programmer.
How does the code get loaded? How do I control this?
I presume you mean USB, not USP.
If you flashed the onboard flash memory with your design (.pof file probably) instead of programming the FPGA directly with a .sof file, then the FPGA would be programmed on power-up.
How did you last program/configure the device?
Do you mean that you program the code to your board and disconnect it after? Did you reset your board after you program the board?
What file did you program to the board? .sof/.pof etc.
I programmed the *.sof file to the board. I physically removed my Deo Nano Soc board from the system. All connections were removed from the board. The D-N-S board was reinstalled into my system which consists of a PCB with LEDs, opto-isolators and connectors to other equipment. The test LED on the board started to blink per the previous code listed when power was applied. The D-N-S board was not flashed after start-up. The board will not operate fully until the *.soc file is flashed. However, the test LED will blink per the code without being flashed.