Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;
entity AddProgram is
Port (
a : in INTEGER;
b : in INTEGER;
sum_out : out INTEGER
);
end AddProgram;
architecture Behavioral of AddProgram is
signal sum : INTEGER := 0;
begin
sum_out <= a + b;
end Behavioral;Coding works best on desktop or with an external keyboard.