Aggiunto modulo OutputSelector con test

This commit is contained in:
2019-09-07 15:54:31 +02:00
parent 0250f39c47
commit 3b54fbe6a0
13 changed files with 202 additions and 51 deletions

View File

@@ -67,36 +67,36 @@ BEGIN
test_process :process
begin
X_IN <= "111111110000010001000100000000";
Y_IN <= "001001000000000010001000000000";
X_IN <= "1111111100000100010001000000000";
Y_IN <= "0010010000000000100010000000000";
DIFF_EXP <= "000000000"; --0
wait for clock_period;
X_IN <= "000000000000100000000001000000";
Y_IN <= "000000000000001111111000000000";
X_IN <= "0000000000001000000000010000000";
Y_IN <= "0000000000000011111110000000000";
DIFF_EXP <= "000001000"; --8
wait for clock_period;
X_IN <= "000000000000000000111000000000";
Y_IN <= "000010000000000000000000000111";
X_IN <= "0000000000000000001110000000000";
Y_IN <= "0000100000000000000000000001111";
DIFF_EXP <= "010011100"; --156
wait for clock_period;
X_IN <= "000000100000000000000000000000";
Y_IN <= "000000001000000001111111111111";
X_IN <= "0000001000000000000000000000000";
Y_IN <= "0000000010000000011111111111111";
DIFF_EXP <= "000110000"; --48
wait for clock_period;
X_IN <= "000000000000000000000000010000";
Y_IN <= "000000000000000000011100000000";
X_IN <= "0000000000000000000000000100000";
Y_IN <= "0000000000000000000111000000000";
DIFF_EXP <= "111111111"; --511
wait for clock_period;
X_IN <= "000000000000000000000000000000";
Y_IN <= "000000000000011100000000000000";
X_IN <= "0000000000000000000000000000000";
Y_IN <= "0000000000000111000000000000000";
DIFF_EXP <= "000100100"; --36
wait for clock_period;
X_IN <= "000000000000000000000000000000";
Y_IN <= "000000000000000000000000000000";
X_IN <= "0000000000000000000000000000000";
Y_IN <= "0000000000000000000000000000000";
DIFF_EXP <= "000001101"; --13
wait for clock_period;
X_IN <= "000000000000000001110001100100";
Y_IN <= "000000000000000000000011110000";
X_IN <= "0000000000000000011100011001000";
Y_IN <= "0000000000000000000000111100000";
DIFF_EXP <= "000011111"; --31
wait for clock_period;
end process;