-------------------------------------------------------------------------------- -- Function: tbcnt1s - Test bench for cnt11s. -- Requires: cnt1s.vhd; -- Author: Jerry H. Tucker -- Creation: 9/20/99 -- Verified: 9/20/99 -- Version: 1.0 ---------------------------------------------------------------------------------- LIBRARY IEEE; USE work.all; USE IEEE.Std_Logic_1164.all; USE IEEE.std_logic_unsigned.all; ENTITY tbcnt1s is END tbcnt1s ; ARCHITECTURE behav OF tbcnt1s IS SIGNAL Q : std_logic_vector(7 downto 0) := "00000000"; SIGNAL Qext : std_logic_vector(4 downto 0); BEGIN U1: ENTITY cnt1s(behav) PORT MAP(Q,Qext); Q <= Q + "00000001" after 50 ns; END behav;