entity testbench is
end entity;
architecture sim of testbench is
signal CountUp: integer :=0;
signal CountDown : integer :=10;
begin
process is
begin
CountUp <= CountUp +1;
CountDown <= CountDown-1;
wait for 10ns;
end process;
process is
begin
if CountUp = CountDown then
report "Process A: Jackpot!";
end if;
wait on CountUp,CountDown;
end process;
process(CountUp, CountDown) is
begin
if CountUp = CountDown then
report "Process B: Jackpot!";
end if;
end process;
end architecture;
end entity;
architecture sim of testbench is
signal CountUp: integer :=0;
signal CountDown : integer :=10;
begin
process is
begin
CountUp <= CountUp +1;
CountDown <= CountDown-1;
wait for 10ns;
end process;
process is
begin
if CountUp = CountDown then
report "Process A: Jackpot!";
end if;
wait on CountUp,CountDown;
end process;
process(CountUp, CountDown) is
begin
if CountUp = CountDown then
report "Process B: Jackpot!";
end if;
end process;
end architecture;
It is difficult to read the white text on the black background.
ReplyDelete