indu15
Junior Member level 3
- Joined
- Nov 23, 2005
- Messages
- 31
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,560
VHDL clock delay problem
I have 2 processes in my code for example as shown below. If I run the simulation c output is taking place with 1 clock period delay after a = '1'. Can anyone please help me to get the c output when a = '1' without delay?
begin
process1: process(clk)
if rising_edge(clk) then
a <= b;
end process process1;
process2: process(clk, a)
if rising_edge(clk) then
if (a = '1') then
c <= d;
end process process2;
end;
Thanks a lot!
I have 2 processes in my code for example as shown below. If I run the simulation c output is taking place with 1 clock period delay after a = '1'. Can anyone please help me to get the c output when a = '1' without delay?
begin
process1: process(clk)
if rising_edge(clk) then
a <= b;
end process process1;
process2: process(clk, a)
if rising_edge(clk) then
if (a = '1') then
c <= d;
end process process2;
end;
Thanks a lot!