R
Roman
Guest
Hy all,
I have a little problem to write a kind of WAIT-Procedure in VHDL. (
like in C, "loop until i = 0,...")
This is necessary to pass some data to an external chip (Cypress SL811)
to the right time.
In the end it should look like this:
send_data(xyz);
wait(t);
send_data(xyz);
wait(t);
send_data(xyz);
wait(t);
.....
I know that I can do it in an process with a counter, but I would prefer
a procedure, which I will put into the package body, and then call it
when I needed.
normal wait statements and "a <= x after t;" is not available after
the synthese.( i hope I am wrong and there is a smart way to do this)
Has anyone of you gurus an idea how to manage this?
Thank you very much,
Roman
I have a little problem to write a kind of WAIT-Procedure in VHDL. (
like in C, "loop until i = 0,...")
This is necessary to pass some data to an external chip (Cypress SL811)
to the right time.
In the end it should look like this:
send_data(xyz);
wait(t);
send_data(xyz);
wait(t);
send_data(xyz);
wait(t);
.....
I know that I can do it in an process with a counter, but I would prefer
a procedure, which I will put into the package body, and then call it
when I needed.
normal wait statements and "a <= x after t;" is not available after
the synthese.( i hope I am wrong and there is a smart way to do this)
Has anyone of you gurus an idea how to manage this?
Thank you very much,
Roman