A
ALuPin
Guest
Hi,
I am writing a VHDL testbench with the following structure:
For the purpose of clarity
I want to assign values to a signal in process A.
When reaching a certain value I want to continue assigning
values to the same signal in a different process B.
Is this possible somehow?
Thank you for your opinion.
A: process
begin
l_signal <= 0;
wait until rising_edge(clk);
wait until rising_edge(clk);
l_signal <= 1;
wait until rising_edge(clk);
l_signal <= 2;
wait until rising_edge(clk);
-->change process;
wait;
end process A;
B: process
begin
l_signal <= 3;
wait until rising_edge(clk);
l_signal <= 4;
wait until rising_edge(clk);
wait;
end process B;
I am writing a VHDL testbench with the following structure:
For the purpose of clarity
I want to assign values to a signal in process A.
When reaching a certain value I want to continue assigning
values to the same signal in a different process B.
Is this possible somehow?
Thank you for your opinion.
A: process
begin
l_signal <= 0;
wait until rising_edge(clk);
wait until rising_edge(clk);
l_signal <= 1;
wait until rising_edge(clk);
l_signal <= 2;
wait until rising_edge(clk);
-->change process;
wait;
end process A;
B: process
begin
l_signal <= 3;
wait until rising_edge(clk);
l_signal <= 4;
wait until rising_edge(clk);
wait;
end process B;