Guest
Please forgive me - as I am very very new to VHDL - but I'm trying to
get a LCD to work strictly in VHDL that uses a HLL (C/Java) to dump
down a command - and then enters a delay loop. We decided that the loop
was too costly and are trying to move it into vhdl. So I entered this
loop into the section of the FSM where waiting needs to happen:
x <= '1';
for i in 5000 downto 0 loop
x <= not x;
end loop;
However this loop isn't synthesised, in fact when we flash the chip it
skips over it stating that the sof files are the same. I'm assuming
that you can't syntesize a delay loop?
My next question is how do I create and subsequently call a counter
that will satisfy my requirments. Say I need a 500ns delay - how do I
call this from the procedure that houses the FSM?
get a LCD to work strictly in VHDL that uses a HLL (C/Java) to dump
down a command - and then enters a delay loop. We decided that the loop
was too costly and are trying to move it into vhdl. So I entered this
loop into the section of the FSM where waiting needs to happen:
x <= '1';
for i in 5000 downto 0 loop
x <= not x;
end loop;
However this loop isn't synthesised, in fact when we flash the chip it
skips over it stating that the sof files are the same. I'm assuming
that you can't syntesize a delay loop?
My next question is how do I create and subsequently call a counter
that will satisfy my requirments. Say I need a 500ns delay - how do I
call this from the procedure that houses the FSM?