-------------------------------------------------------------------------------- -- File Name: std02.vhd -------------------------------------------------------------------------------- -- Copyright (C) 1997 Free Model Foundry; http://www.FreeModelFoundry.com -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License version 2 as -- published by the Free Software Foundation. -- -- MODIFICATION HISTORY: -- -- version | author | mod date | changes made -- V1.0 R. Munden 97 MAY 28 Conformed to style guide -------------------------------------------------------------------------------- -- PART DESCRIPTION: -- -- Library: STD -- Technology: 54/74XXXX -- Part: STD02 -- -- Desciption: 2-input positve-NOR gate -------------------------------------------------------------------------------- LIBRARY IEEE; USE IEEE.std_logic_1164.ALL; USE IEEE.VITAL_timing.ALL; USE IEEE.VITAL_primitives.ALL; LIBRARY FMF; USE FMF.gen_utils.ALL; -------------------------------------------------------------------------------- -- ENTITY DECLARATION -------------------------------------------------------------------------------- ENTITY std02 IS GENERIC ( -- tipd delays: interconnect path delays tipd_B : VitalDelayType01 := VitalZeroDelay01; tipd_A : VitalDelayType01 := VitalZeroDelay01; -- tpd delays tpd_B_YNeg : VitalDelayType01 := UnitDelay01; tpd_A_YNeg : VitalDelayType01 := UnitDelay01; -- generic control parameters InstancePath : STRING := DefaultInstancePath; -- For FMF SDF techonology file usage TimingModel : STRING := DefaultTimingModel ); PORT ( B : IN std_logic := 'X'; A : IN std_logic := 'X'; YNeg : OUT std_logic := 'U' ); ATTRIBUTE VITAL_LEVEL0 of std02 : ENTITY IS TRUE; END std02; -------------------------------------------------------------------------------- -- ARCHITECTURE DECLARATION -------------------------------------------------------------------------------- ARCHITECTURE vhdl_behavioral of std02 IS ATTRIBUTE VITAL_LEVEL1 of vhdl_behavioral : ARCHITECTURE IS TRUE; SIGNAL B_ipd : std_ulogic := 'X'; SIGNAL A_ipd : std_ulogic := 'X'; BEGIN ---------------------------------------------------------------------------- -- Wire Delays ---------------------------------------------------------------------------- WireDelay : BLOCK BEGIN w_1: VitalWireDelay (B_ipd, B, tipd_B); w_2: VitalWireDelay (A_ipd, A, tipd_A); END BLOCK; ---------------------------------------------------------------------------- -- Concurrent procedure calls ---------------------------------------------------------------------------- a_1: VitalNOR2 ( q => YNeg, a => A_ipd, b => B_ipd, tpd_a_q => tpd_A_YNeg, tpd_b_q => tpd_B_YNeg ); END vhdl_behavioral;