m3s025bo.vhd
来自「another 8051 core porocesssor vhdl sourc」· VHDL 代码 · 共 146 行
VHD
146 行
--******************************************************************* ----IMPORTANT NOTICE ----================ ----Copyright Mentor Graphics Corporation 1996 - 1999. All rights reserved. ----This file and associated deliverables are the trade secrets, ----confidential information and copyrighted works of Mentor Graphics ----Corporation and its licensors and are subject to your license agreement ----with Mentor Graphics Corporation. ---- ----Use of these deliverables for the purpose of making silicon from an IC ----design is limited to the terms and conditions of your license agreement ----with Mentor Graphics If you have further questions please contact Mentor ----Graphics Customer Support. ---- ----This Mentor Graphics core (m8051 v1999.120) was extracted on ----workstation hostid _hostid_ Inventra ----Opcode latch sub block for m8051--Copyright Mentor Graphics Corpoarion and Licensors 1998. All rights reserved--v1.005--*********************************************************************--@(#)m3s025bo.vhd 1.2 04/08/99 SCCS Version Control--File : m3s025bo.vhd--Created on : 03th September 1995--Purpose : Opcode latch sub block for m8051--Version : 1.005--Mod Date : 2nd April 1998--Mod History : 1.005 _e suffix removed from entity names.-- 1.004 ECN 838-adjustment to opcode timing-- 1.003 change for download mode-- 1.002-Calling file changed to m8051.vhd-- 1.001(Original)--------*********************************************************************--Hierarchy record :--Called by :m8051.vhd--Calls to :None--*********************************************************************library IEEE;use IEEE.std_logic_1164.all;library WORK;--*********************************************************************--Entity Definition--*********************************************************************entity m3s025bo is--******************************************************************* ----IMPORTANT NOTICE ----================ ----Copyright Mentor Graphics Corporation 1996 - 1999. All rights reserved. ----This file and associated deliverables are the trade secrets, ----confidential information and copyrighted works of Mentor Graphics ----Corporation and its licensors and are subject to your license agreement ----with Mentor Graphics Corporation. ---- ----Use of these deliverables for the purpose of making silicon from an IC ----design is limited to the terms and conditions of your license agreement ----with Mentor Graphics If you have further questions please contact Mentor ----Graphics Customer Support. ---- ----This Mentor Graphics core (m8051 v1999.120) was extracted on ----workstation hostid _hostid_ Inventra -- port(OPC: out std_logic_vector(7 downto 0); OPLOAD: out std_logic; IROMD: in std_logic_vector(7 downto 0); STATD: in std_logic_vector(1 downto 1); PCON: in std_logic_vector(0 downto 0); CLEAR, RST, DIV2CK, NX1, INTA, LCYC, DLM: in std_logic ); end m3s025bo;--*********************************************************************--Architecture definition--*********************************************************************architecture m3s025bo_rtl of m3s025bo is--*********************************************************************--*********************************************************************--Signal definitions--*********************************************************************signal L_OPLOAD:std_logic;signal LOCALDAT:std_logic_vector(7 downto 0);--*********************************************************************begin--*********************************************************************--Process Definitions--*********************************************************************set_opccon:process(NX1)begin if NX1'event and NX1 ='1' then L_OPLOAD <= LCYC and (not CLEAR) and (INTA or not PCON(0)) and not DLM; end if;end process set_opccon;--*********************************************************************dat_lat:process(RST,NX1)begin if RST = '1' then OPC <= "00000000"; elsif NX1'event and NX1 ='1' then if (L_OPLOAD and STATD(1) and DIV2CK) = '1' then OPC <= LOCALDAT; end if; end if;end process dat_lat;--*********************************************************************dir_con:process(INTA,IROMD)begin if INTA = '0' then LOCALDAT <= IROMD; else LOCALDAT(0) <= '0'; LOCALDAT(1) <= '1'; LOCALDAT(2) <= '0'; LOCALDAT(3) <= '0'; LOCALDAT(4) <= '1'; LOCALDAT(5) <= '0'; LOCALDAT(6) <= '0'; LOCALDAT(7) <= '0'; end if;end process dir_con;--*********************************************************************opcodeout:process(L_OPLOAD)begin OPLOAD <= L_OPLOAD;end process opcodeout;--*********************************************************************end m3s025bo_rtl;--*********************************************************************
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?