2 port (ok : out boolean);
6 use ieee.std_logic_1164.all;
7 use ieee.numeric_std.all;
9 architecture behav of snum01 is
11 constant a : unsigned (7 downto 0) := x"1e";
12 constant b : unsigned (3 downto 0) := x"2";
13 constant r1 : unsigned (7 downto 0) := a + b;
14 signal er1 : unsigned (7 downto 0);