Dijskstra
Newbie level 5
- Joined
- Jun 28, 2014
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 93
As a VHDL beginner, I'm stranded in the language idiosyncrasies.
One of the basic things I've learning are as follows:
1) All statments runs in parallel.
2) Inside processes all statements runs sequentially, even though we have imediate assigments and deferred assigments (this is one of the biggest sources of confusion).
3) Several processes runs in parallel among them.
As more I study as more I have questions (and misconceptions).
Let's suppose I have two (or more) processes:
I want to run the two processe sequentially and, because of that, I think I need some kind of "main" process
that "calls" each "subprocess" (sorry but I am strongly software biased).
Something like the pseudocode below:
However I can't accomplish valid results !
Can someone write a little code that does what I want ?
Thank you
Anders
One of the basic things I've learning are as follows:
1) All statments runs in parallel.
2) Inside processes all statements runs sequentially, even though we have imediate assigments and deferred assigments (this is one of the biggest sources of confusion).
3) Several processes runs in parallel among them.
As more I study as more I have questions (and misconceptions).
Let's suppose I have two (or more) processes:
Code:
process1: process(clk)
begin
.
.
.
end process;
process2: process(clk)
begin
.
.
.
end process;
I want to run the two processe sequentially and, because of that, I think I need some kind of "main" process
that "calls" each "subprocess" (sorry but I am strongly software biased).
Something like the pseudocode below:
Code:
Main_Process : process(clk)
begin
process1;
process2;
end process;
Can someone write a little code that does what I want ?
Thank you
Anders