-- Copyright © 1993 by McGraw-Hill, Inc. and Zainalabedin Navabi
-- FIGURE 9.42
-- ENTITY DECLARATION OF PARWAN INSTRUCTION REGISTER :
LIBRARY cmos;
USE cmos.basic_utilities.ALL;
LIBRARY par_library;
USE par_library.par_utilities.ALL;
--
ENTITY instruction_register_unit IS
PORT (i8 : IN byte; o8 : OUT byte; load, ck : IN qit);
END instruction_register_unit;
--
-- DATAFLOW DESCRIPTION OF PARWAN INSTRUCTION REGISTER :
ARCHITECTURE dataflow OF instruction_register_unit IS
BEGIN
enable : BLOCK (load = '1')
BEGIN
clocking : BLOCK ( (ck = '0' AND NOT ck'STABLE) AND GUARD )
BEGIN
o8 <= GUARDED i8;
END BLOCK clocking;
END BLOCK enable;
END dataflow;
--