typos fixées

This commit is contained in:
Adrien Bourmault 2021-12-10 15:48:53 +01:00
parent 98d8c2788e
commit 9ec2a36613
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 11 additions and 11 deletions

View File

@ -85,16 +85,16 @@ begin
report "[test_01] addition of 32 random numbers, range between (0 to 536870911)";
la : for va in 0 to 31 loop
-- calcul the first random number
uniform(seed1, seed2, x);
y := integer(floor(x * 536870911.0));
-- assign the random number to op1
op1 <= std_logic_vector(to_unsigned(y, op1'length));
-- calcul the second random number
uniform(seed1, seed2, x);
y := integer(floor(x * 536870911.0));
-- assign the random number to op2
op2 <= std_logic_vector(to_unsigned(y, op2'length));
wait for 1 ns;
vtemp := (std_logic_vector(unsigned("0" & op1) + unsigned("0" & op2) + to_unsigned(bit_to_integer(cin), 1)));
@ -205,16 +205,16 @@ begin
cmd <= "10";
wait for 1 ns;
lc : for vc in 0 to 31 loop
-- calcul the first random number
uniform(seed1, seed2, x);
y := integer(floor(x * 536870911.0));
-- assign the random number to op1
op1 <= std_logic_vector(to_unsigned(y, op1'length));
-- calcul the second random number
uniform(seed1, seed2, x);
y := integer(floor(x * 536870911.0));
-- assign the random number to op2
op2 <= std_logic_vector(to_unsigned(y, op2'length));
wait for 1 ns;
vtemp := (("0" & op1) or ("0" & op2));
@ -245,13 +245,13 @@ begin
cmd <= "11";
wait for 1 ns;
ld : for vd in 0 to 31 loop
-- calcul the first random number
uniform(seed1, seed2, x);
y := integer(floor(x * 536870911.0));
-- assign the random number to op1
op1 <= std_logic_vector(to_unsigned(y, op1'length));
-- calcul the second random number
uniform(seed1, seed2, x);
y := integer(floor(x * 536870911.0));
-- assign the random number to op2