-- Author: M. Gomez
-- Date : 10/30/1999
-- Rev No: 1.0
-- File : arm7_time_pkg.vhdl
-- Following is the CSE517 time package declaration and
-- definition for timing specifications.
--
-- To use this package include the following line into each
-- block that makes use of this set of package declarations:
-- USE work.arm_time_pkg.ALL;
PACKAGE arm7_time_pkg IS
-- Spec for Clock period
CONSTANT Tper : time := 100 ns;
-- Timing Specifications Based upon Figure 35
-- General Timing ON Page 94 ARM7 Data Sheet.
-- Spec for A[31:0]
CONSTANT Tah : time := 0.20*Tper;
CONSTANT Taddr : time := 0.40*Tper;
-- Spec for nRW
CONSTANT Trwh : time := 0.20*Tper;
CONSTANT Trwd : time := 0.40*Tper;
-- Spec for nBW,Lock
CONSTANT Tblh : time := 0.20*Tper;
CONSTANT Tbld : time := 0.40*Tper;
-- Spec for nM[4:0], nTRANS
CONSTANT Tmdh : time := 0.20*Tper;
CONSTANT Tmdd : time := 0.40*Tper;
-- Spec for nOPC
CONSTANT Topch : time := 0.20*Tper;
CONSTANT Topcd : time := 0.40*Tper;
-- Spec for nMREQ, SEQ
CONSTANT Tmsh : time := 0.20*Tper;
CONSTANT Tmsd : time := 0.40*Tper;
-- Timing Specifications Based upon Figure 36
-- Address Timing ON Page 94 ARM7 Data Sheet.
-- Spec for ALE, A[31:0]
CONSTANT Tald : time := 0.20*Tper;
CONSTANT Tale : time := 0.20*Tper;
-- Timing Specifications Based upon Figure 37
-- Data Write Cycle timing ON Page 95 ARM7 Data Sheet.
-- Spec for nENOUT, DOUT[31:0]
CONSTANT Tnen : time := 0.15*Tper;
CONSTANT Tdout : time := 0.25*Tper;
CONSTANT Tdoh : time := 0.10*Tper;
-- Timing Specifications Based upon Figure 38
-- Data read Cycle timing ON Page 95 ARM7 Data Sheet.
-- Spec for nENOUT, DATA[31:0]
-- dup CONSTANT Tnen : time := 0.15*Tper;
CONSTANT Tdis : time := 0.15*Tper;
CONSTANT Tdih : time := 0.10*Tper;
-- Timing Specifications Based upon Figure 39
-- Data Bus Control timing ON Page 95 ARM7 Data Sheet.
-- Spec for nENOUT, DBE
-- dup CONSTANT Tnen : time := 0.15*Tper;
CONSTANT Tdbn : time := 0.07*Tper;
-- Timing Specifications Based upon Figure 40
-- Configuration Pin timing ON Page 95 ARM7 Data Sheet.
-- Spec for LATEABT, BIGEND, DATA32 PROG32
-- CONSTANT Tdbn : time := 0.07*Tper;
-- Timing Specifications Based upon Figure 41
-- Coprocessor timing ON Page 95 ARM7 Data Sheet.
-- Spec for nCPI, CPA, CPB, nMREQ, SEQ
CONSTANT Tcpi : time := 0.40*Tper;
CONSTANT Tcpih : time := 0.20*Tper;
CONSTANT Tcps : time := 0.20*Tper;
CONSTANT Tcph : time := 0.25*Tper;
CONSTANT Tcpms : time := 0.15*Tper;
-- Timing Specifications Based upon Figure 42
-- Exception timing ON Page 97 ARM7 Data Sheet.
-- Spec for ABORT, nRESET, nFIQ, nIRQ
CONSTANT Tabts : time := 0.25*Tper;
CONSTANT Tabth : time := 0.20*Tper;
CONSTANT Tirs : time := 0.15*Tper;
CONSTANT Tirm : time := 0.15*Tper;
-- CONSTANT Tcpms : time := 0.15*Tper;
-- Timing Specifications Based upon Figure 43
-- Clock timing ON Page 97 ARM7 Data Sheet.
-- Spec for nWAIT, ph2, nMREQ, SEQ, A[31:0]
CONSTANT Tclkl : time := 0.50*Tper;
CONSTANT Tclkh : time := 0.20*Tper;
CONSTANT Tws : time := 0.25*Tper;
CONSTANT Twh : time := 0.25*Tper;
-- CONSTANT Tmsd : time := 0.40*Tper;
-- CONSTANT Taddr : time := 0.40*Tper;
END PACKAGE arm7_time_pkg;