The following VHDL is to be used to test bench a booth multiplier. I keep getting an error on the first wait statement during analysis and elaboration : "wait statement must contain condition clause with until keyword" I have several working test benches written this way (i.e. signal assignment, wait for x ns, other assignment, wait for x ns ...). I can't seem to find what the error might be.
LIBRARY ieee;
USE ieee.std_logic_1164.all;
ENTITY BoothMultiplier_32_test IS
END BoothMultiplier_32_test;
ARCHITECTURE test_arch OF BoothMultiplier_32 IS
SIGNAL A_test : STD_LOGIC_VECTOR (31 downto 0);
SIGNAL B_test : STD_LOGIC_VECTOR (31 downto 0);
SIGNAL result_test : STD_LOGIC_VECTOR (63 downto 0);
COMPONENT BoothMultiplier_32
PORT (
dataA, dataB : IN STD_LOGIC_VECTOR (31 downto 0);
result : OUT STD_LOGIC_VECTOR (63 downto 0)
);
END COMPONENT;
BEGIN
DUT1: BoothMultiplier_32
PORT MAP(
dataA=>A_test,
dataB=>B_test,
result=>result_test
);
testing : PROCESS
BEGIN
wait for 10 ns;
A_test<=x"0000000A";
B_test<=x"0000000A";
--wait for 10 ns;
--A_test<=x"10000000";
--B_test<=x"00000010";
--wait for 10 ns;
--A_test<=x"FFFFFFFF";
--B_test<=x"FFFFFFFF";
wait;
END PROCESS testing;
END ARCHITECTURE test_arch;