Deo Nano SoC has code at start up.
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)
begin
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');
end if;
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?