3347 lines
58 KiB
VHDL
3347 lines
58 KiB
VHDL
-- Copyright (C) 2020 Intel Corporation. All rights reserved.
|
|
-- Your use of Intel Corporation's design tools, logic functions
|
|
-- and other software and tools, and any partner logic
|
|
-- functions, and any output files from any of the foregoing
|
|
-- (including device programming or simulation files), and any
|
|
-- associated documentation or information are expressly subject
|
|
-- to the terms and conditions of the Intel Program License
|
|
-- Subscription Agreement, the Intel Quartus Prime License Agreement,
|
|
-- the Intel FPGA IP License Agreement, or other applicable license
|
|
-- agreement, including, without limitation, that your use is for
|
|
-- the sole purpose of programming logic devices manufactured by
|
|
-- Intel and sold by Intel or its authorized distributors. Please
|
|
-- refer to the applicable agreement for further details, at
|
|
-- https://fpgasoftware.intel.com/eula.
|
|
|
|
-- *****************************************************************************
|
|
-- This file contains a Vhdl test bench with test vectors .The test vectors
|
|
-- are exported from a vector file in the Quartus Waveform Editor and apply to
|
|
-- the top level entity of the current Quartus project .The user can use this
|
|
-- testbench to simulate his design using a third-party simulation tool .
|
|
-- *****************************************************************************
|
|
-- Generated on "03/07/2023 20:53:51"
|
|
|
|
-- Vhdl Test Bench(with test vectors) for design : EqCmpDemo
|
|
--
|
|
-- Simulation tool : 3rd Party
|
|
--
|
|
|
|
LIBRARY ieee;
|
|
USE ieee.std_logic_1164.all;
|
|
|
|
ENTITY EqCmpDemo_vhd_vec_tst IS
|
|
END EqCmpDemo_vhd_vec_tst;
|
|
ARCHITECTURE EqCmpDemo_arch OF EqCmpDemo_vhd_vec_tst IS
|
|
-- constants
|
|
-- signals
|
|
SIGNAL LEDG : STD_LOGIC_VECTOR(0 DOWNTO 0);
|
|
SIGNAL SW : STD_LOGIC_VECTOR(15 DOWNTO 0);
|
|
COMPONENT EqCmpDemo
|
|
PORT (
|
|
LEDG : OUT STD_LOGIC_VECTOR(0 DOWNTO 0);
|
|
SW : IN STD_LOGIC_VECTOR(15 DOWNTO 0)
|
|
);
|
|
END COMPONENT;
|
|
BEGIN
|
|
i1 : EqCmpDemo
|
|
PORT MAP (
|
|
-- list connections between master ports and signals
|
|
LEDG => LEDG,
|
|
SW => SW
|
|
);
|
|
-- SW[15]
|
|
t_prcs_SW_15: PROCESS
|
|
BEGIN
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 50000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 50000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(15) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(15) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(15) <= '0';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_15;
|
|
-- SW[14]
|
|
t_prcs_SW_14: PROCESS
|
|
BEGIN
|
|
SW(14) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(14) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(14) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(14) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_14;
|
|
-- SW[13]
|
|
t_prcs_SW_13: PROCESS
|
|
BEGIN
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 40000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(13) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(13) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_13;
|
|
-- SW[12]
|
|
t_prcs_SW_12: PROCESS
|
|
BEGIN
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 40000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(12) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(12) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_12;
|
|
-- SW[11]
|
|
t_prcs_SW_11: PROCESS
|
|
BEGIN
|
|
SW(11) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 35000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 40000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(11) <= '0';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_11;
|
|
-- SW[10]
|
|
t_prcs_SW_10: PROCESS
|
|
BEGIN
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 50000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(10) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(10) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_10;
|
|
-- SW[9]
|
|
t_prcs_SW_9: PROCESS
|
|
BEGIN
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 45000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 45000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(9) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(9) <= '0';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_9;
|
|
-- SW[8]
|
|
t_prcs_SW_8: PROCESS
|
|
BEGIN
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(8) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(8) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_8;
|
|
-- SW[7]
|
|
t_prcs_SW_7: PROCESS
|
|
BEGIN
|
|
SW(7) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(7) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(7) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_7;
|
|
-- SW[6]
|
|
t_prcs_SW_6: PROCESS
|
|
BEGIN
|
|
SW(6) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 35000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(6) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(6) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_6;
|
|
-- SW[5]
|
|
t_prcs_SW_5: PROCESS
|
|
BEGIN
|
|
SW(5) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 40000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(5) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(5) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_5;
|
|
-- SW[4]
|
|
t_prcs_SW_4: PROCESS
|
|
BEGIN
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 40000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(4) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(4) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_4;
|
|
-- SW[3]
|
|
t_prcs_SW_3: PROCESS
|
|
BEGIN
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 30000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 40000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(3) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(3) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(3) <= '0';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_3;
|
|
-- SW[2]
|
|
t_prcs_SW_2: PROCESS
|
|
BEGIN
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(2) <= '0';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_2;
|
|
-- SW[1]
|
|
t_prcs_SW_1: PROCESS
|
|
BEGIN
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 45000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(1) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(1) <= '0';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_1;
|
|
-- SW[0]
|
|
t_prcs_SW_0: PROCESS
|
|
BEGIN
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 20000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 25000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 30000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 35000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 35000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 35000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 25000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 20000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 15000 ps;
|
|
SW(0) <= '1';
|
|
WAIT FOR 10000 ps;
|
|
SW(0) <= '0';
|
|
WAIT FOR 5000 ps;
|
|
SW(0) <= '1';
|
|
WAIT;
|
|
END PROCESS t_prcs_SW_0;
|
|
END EqCmpDemo_arch;
|