?? corecomponents.vhd
字號:
-- -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/-- _/ _/ ____________________________________________ -- _/ _/ / / -- _/_/ _/ / NAND01GR3B / -- _/_/_/ _/ / / -- _/_/ _/ / 1Gbit / -- _/_/ _/ / 8 bit, 2112 Byte Page, 1.8 V, NAND / -- _/ _/ / / -- _/ _/ / VHDL Behavioral Model / -- _/ _/ / Version 3.0 / -- _/_/ _/ / /-- _/_/_/ _/ / Copyright (c) 2006 STMicroelectronics / -- _/_/_/ _/ /___________________________________________/ -- _/_/_/_/_/ _/ -- --LIBRARY IEEE; Use IEEE.std_logic_1164.all;LIBRARY Work; Use Work.data.all; Use Work.CUIcommandData.all; Use Work.BlockLib.all;package CoreComponents is----- OutputBuffer Component --Component OutputBuffer_entity port( DataInput : in IObus_type; DataOutput : out IObus_type; OutputEnable : in Std_Logic; Buffer_Task : in BufferTask_type; Reset : in Boolean );End Component;----- CUI DECODER Component --Component CUIdecoder_entity generic( Command : Command_type; AddrSeq : SeqAddr_type; cmdLen : IndexCommand_type; suspendable : boolean ); port( CommandBus : in IObus_type; Kernel_CUIcommand : in Event; Kernel_VerifyEvent : out TimeEvent; Kernel_CommandDecode : out command_type; Kernel_IseqCommand : inout IndexCommand_type; isActive : in boolean );End Component;------ Page Buffer ComponentComponent PageBuffer_entity is Generic( MemoryFileName : string; nPage : Natural ); Port( PageBuffer_task : inout PageBufferTask_type; Kernel_PageComplete : out PageBufferEvent; CacheStatus : inout CacheStatus_type; Program_task : out ProgramTask_type; Reset : in Boolean; Program_Status : in Status_type );End Component;------- Kernel ComponentComponent Kernel_entity is generic (devId : natural); port( VDD : in Real; Read_Status : in Status_type; CacheStatus : in CacheStatus_type; Program_Status : in Status_type; Erase_Status : in Status_type; Kernel_Status : out Status_type; Kernel_Report : in KernelReport_type; Kernel_LatchAddress : in TimeEvent; Kernel_VerifyEvent : out TimeEvent; Kernel_ErrorEvent : in ErrorEvent; Read_mode : out ReadMode_type; Reset : in boolean );end Component;------ Device Read ComponentComponent Read_entity is Generic ( isDebug : boolean ; devId : natural ); Port ( Read_Status : out Status_type; DataOutput : out IObus_type; BlockAddress : in BlockAddress_type; Signature_data : in SignatureData_type; Read_mode : in ReadMode_type; Kernel_ReadEvent : in Event; Read_task : in ReadTask_type; Kernel_ReadTaskComplete : out TimeEvent; kernel_ReadEventComplete : out TimeEvent; BlockLock_task : inout BlockLockTask_type; StatusRegister_task : inout StatusRegisterTask_type; PageBuffer_task : inout PageBufferTask_type; Kernel_PageComplete : in PageBufferEvent; Kernel_BlockLockComplete : inout TimeEvent; Kernel_ReadStatusRegComplete : inout TimeEvent; Kernel_Status : in Status_type; Kernel_Report : out KernelReport_type; Reset : in Boolean );End Component;Component Program_entity is port ( Program_Status : out Status_type; Program_Task : inout ProgramTask_type; BlockLock_task : inout BlockLockTask_type; Kernel_BlockLockComplete: in TimeEvent; PageBuffer_task : inout PageBufferTask_type; Kernel_PageComplete : in PageBufferEvent; VDD_check : in Boolean; Kernel_CUIcommand : in Event; Reset : in Boolean );End Component; Component BlockLock_entity is generic (devId : natural); Port( BlockLock_task : inout BlockLockTask_type; BlockBoundary : inout BlockBoundary_type; Kernel_BlockLockComplete : out TimeEvent; BlockLock_status : out status_type; WriteProtect : in Std_Logic; SetBlocks : in TimeEvent; BlockMode_on : in boolean; Reset : in Boolean );End Component;Component Erase_entity is port ( Erase_Status : out Status_type; Erase_Task : inout EraseTask_type; PageBuffer_task : out PageBufferTask_type; Kernel_PageComplete : in PageBufferEvent; BlockLock_task : inout BlockLockTask_type; BlockBoundary : in BlockBoundary_type; Kernel_BlockLockComplete : in TimeEvent; Kernel_CUIcommand : in Event; Reset : in Boolean );End Component;Component StatusRegister_entity is generic ( devId : natural ); Port( Kernel_status : in Status_type; CacheStatus : in CacheStatus_type; Read_Status : in Status_type; Kernel_ReadStatusRegComplete : out TimeEvent; StatusRegister_task : inout StatusRegisterTask_type; Kernel_CUIcommand : in Event; WriteProtect : in std_logic; Reset : in Boolean );End Component;Component ElectronicSignature_entity is Port( Signature_data : out SignatureData_type; Reset : in Boolean );End Component;Component TimingCheck_entity is Port ( I_O : in IObus_type; E_N : in std_logic; R_N : in std_logic; W_N : in std_logic; AL : in std_logic; CL : in std_logic; WP_N : in std_logic; Ready_Busy : in std_logic; timingCheck_on : in boolean );End Component;end CoreComponents;package body CoreComponents isend CoreComponents;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -