-- Copyright 2000 UCR all rights reserved
-- this program may be copy or altered so
-- long as this header stays intake
-- Original design Randy January rjanuary@cs.ucr.edu

library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_ARITH.all;

package SCPU_LIB is

  constant CD_32 : unsigned (31 downto 0):= "--------------------------------";
  constant CZ_32 : unsigned (31 downto 0):= "00000000000000000000000000000000";
  constant CD_9  : unsigned (8 downto 0) := "---------";
  constant CZ_9  : unsigned (8 downto 0) := "000000000";
  constant CZ_4  : unsigned (3 downto 0) := "0000";
  constant loadi : unsigned (4 downto 0) := "00000";
  constant add	 : unsigned (4 downto 0) := "00001";  
  constant subt  : unsigned (4 downto 0) := "00010";	  
  constant Xor_r : unsigned (4 downto 0) := "00011";
  constant and_r : unsigned (4 downto 0) := "00100";
  constant shr_r : unsigned (4 downto 0) := "00101"; 
  constant shl_r : unsigned (4 downto 0) := "00110"; 
  constant or_r  : unsigned (4 downto 0) := "00111";
  constant sign  : unsigned (4 downto 0) := "01000";
  constant jnz   : unsigned (4 downto 0) := "01001";
  constant store : unsigned (4 downto 0) := "01010";
  constant loadm : unsigned (4 downto 0) := "01011";
  constant halt	 : unsigned (4 downto 0) := "11111";
end SCPU_LIB;
-------------------------------------------------------------------------------

--end file--
