OpenCores
URL https://opencores.org/ocsvn/light52/light52/trunk

Subversion Repositories light52

[/] [light52/] [trunk/] [vhdl/] [light52_pkg.vhdl] - Diff between revs 2 and 17

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 17
Line 35... Line 35...
 
 
---- SFR addresses -------------------------------------------------------------
---- SFR addresses -------------------------------------------------------------
 
 
subtype t_byte is unsigned(7 downto 0);
subtype t_byte is unsigned(7 downto 0);
 
 
-- These include only the CPU SFRs (B,ACC,PSW,DPH,DPL,SP,IE)
-- These include only the CPU SFRs (B,ACC,PSW,DPH,DPL,SP,IE,IP)
constant SFR_ADDR_ACC       : t_byte := X"E0";
constant SFR_ADDR_ACC       : t_byte := X"E0";
constant SFR_ADDR_PSW       : t_byte := X"D0";
constant SFR_ADDR_PSW       : t_byte := X"D0";
constant SFR_ADDR_B         : t_byte := X"F0";
constant SFR_ADDR_B         : t_byte := X"F0";
constant SFR_ADDR_SP        : t_byte := X"81";
constant SFR_ADDR_SP        : t_byte := X"81";
constant SFR_ADDR_DPH       : t_byte := X"83";
constant SFR_ADDR_DPH       : t_byte := X"83";
constant SFR_ADDR_DPL       : t_byte := X"82";
constant SFR_ADDR_DPL       : t_byte := X"82";
constant SFR_ADDR_IE        : t_byte := X"A8";
constant SFR_ADDR_IE        : t_byte := X"A8";
 
constant SFR_ADDR_IP        : t_byte := X"B8";
 
 
 
 
---- Configuration constants ---------------------------------------------------
---- Configuration constants ---------------------------------------------------
 
 
---- Magic numbers - not to be changed! ----------------------------------------
---- Magic numbers - not to be changed! ----------------------------------------

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.