FixitFast
Junior Member level 2
- Joined
- Feb 6, 2013
- Messages
- 20
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,462
Hi all,
First of all, Does One sequential PROCESS statement means 1- Clock global line ?
I have seen in some code that inside one process statement they have several IFs-else and etc. Apparently they should run in Parallel, since they are merely making a Logic element, but by the definition of process statement itself, every thing inside it runs in sequential.
Hence Lets say we have 'N' IFs-else cases in a process.
Does using multiple processes have any effect on timing or defining logic or gates consumption. I understand that in some cases the signals are to be changed in multiple IFs hence they are put inside one Process.
But what I feel comfortable with is that I want to put COMPLETELY INDEPENDETN IFs as well in the same process, since it will save me the global clock lines. Is this thing right?
Thanks
First of all, Does One sequential PROCESS statement means 1- Clock global line ?
I have seen in some code that inside one process statement they have several IFs-else and etc. Apparently they should run in Parallel, since they are merely making a Logic element, but by the definition of process statement itself, every thing inside it runs in sequential.
Hence Lets say we have 'N' IFs-else cases in a process.
Does using multiple processes have any effect on timing or defining logic or gates consumption. I understand that in some cases the signals are to be changed in multiple IFs hence they are put inside one Process.
But what I feel comfortable with is that I want to put COMPLETELY INDEPENDETN IFs as well in the same process, since it will save me the global clock lines. Is this thing right?
Code:
--ignore syntax please
process(clk, rst)
if rst then
..
..
elsif (rising_edge ( clk..))
if(blah blah) then
elsif...
else
end if;
if(blah blah) then
elsif....
end if;
if(blah blah) then
elsif...
end if;
Thanks