⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cuicommanddata.vhd

📁 nand flash NAND01GR3B (st)的仿真模型 (VHDL) 的
💻 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;Package CUIcommandData is-----------  Table of Commands  ---------------------type Command_Type is ( None,                        ReadCmdCode_cmd, ReadCfmCode_cmd,                        RandomDataOutputCmdCode_cmd, RandomDataOutputCfmCode_cmd,                        CacheRead_cmd,                        ExitCacheRead_cmd,                        PageProgramCmdCode_cmd, PageProgramCfmCode_cmd, RandomDataInput_cmd,                        CopyBackProgramCmdCode_cmd, CopyBackProgramCfmCode_cmd,                        CacheProgramCmdCode_cmd, CacheProgramCfmCode_cmd ,                        BlockErase_cmd , Reset_cmd ,                        ReadElectronicSignature_cmd , ReadStatusRegister_cmd , ReadBlockLockStatus_cmd ,                       BlockUnLockStart_cmd, BlockUnLockEnd_cmd , BlockLock_cmd , BlockLockDown_cmd );                                            Constant ADDRCMD: natural := 8;Constant ADDRCMD_hex: natural := ADDRCMD/4;SubType  ADDRCMD_range is natural range ADDRCMD - 1 downto 0;SubType  ADDRCMDhex_range is natural range 1 to ADDRCMD_hex;Constant command_subsequence : integer := 5; Type seqAddr_type is Array(1 to command_subsequence) of  String(ADDRCMDhex_range);Type vectorCommand_type is array (Integer range <>) of Command_type;-- ================ Singles Command Codes (used in some entities) ============= -- constant StatusReg_cmd      : natural := 112;  -- 70hconstant ElectronicSign_cmd : natural := 144;  -- 90hconstant CacheRead_code     : natural := 49;  -- 31h-- ================ Command Sequences ============= ----------------   Read Command First Code ----------------Constant ReadCmdCode_seqAddr: seqAddr_type:= ("00", "XX", "XX", "XX", "XX");Constant ReadCmdCode_CmdLen: Integer:= 1;--------------   Read Command Confirm Code ----------------Constant ReadCfmCode_seqAddr: seqAddr_type:= ("30", "XX", "XX", "XX", "XX");Constant ReadCfmCode_CmdLen: Integer:= 1;--------------   Random Data Output Command  ----------------Constant RandomDataOutputCmdCode_seqAddr: seqAddr_type:= ("05", "XX", "XX", "XX", "XX");Constant RandomDataOutputCmdCode_CmdLen: Integer:= 1;--------------   Random Data Output Command Confirm  ----------------Constant RandomDataOutputCfmCode_seqAddr: seqAddr_type:= ("E0", "XX", "XX", "XX", "XX");Constant RandomDataOutputCfmCode_CmdLen: Integer:= 1;--------------   Cache Read Command ----------------Constant CacheRead_seqAddr: seqAddr_type:= ("31", "XX", "XX", "XX", "XX");Constant CacheRead_CmdLen: Integer:= 1;--------------   Command  ----------------Constant ExitCacheRead_seqAddr: seqAddr_type:= ("34", "XX", "XX", "XX", "XX");Constant ExitCacheRead_CmdLen: Integer:= 1;--------------   Command  ----------------Constant PageProgramCmdCode_seqAddr: seqAddr_type:= ("80", "XX", "XX", "XX", "XX");Constant PageProgramCmdCode_CmdLen: Integer:= 1;--------------   Command  ----------------Constant PageProgramCfmCode_seqAddr: seqAddr_type:= ("10", "XX", "XX", "XX", "XX");Constant PageProgramCfmCode_CmdLen: Integer:= 1;--------------   Command  ----------------Constant RandomDataInput_seqAddr: seqAddr_type:= ("85", "XX", "XX", "XX", "XX");Constant RandomDataInput_CmdLen: Integer:= 1;--------------   Command  ----------------Constant CopyBackProgramCmdCode_seqAddr: seqAddr_type:= ("35", "XX", "XX", "XX", "XX" );Constant CopyBackProgramCmdCode_CmdLen: Integer:= 1;--------------   Command  ----------------Constant CopyBackProgramCfmCode_seqAddr: seqAddr_type:= ("85", "XX", "XX", "XX", "XX" );Constant CopyBackProgramCfmCode_CmdLen: Integer:= 1;--------------   Command  ----------------Constant CacheProgramCmdCode_seqAddr: seqAddr_type:= ("80", "XX", "XX", "XX", "XX");Constant CacheProgramCmdCode_CmdLen: Integer:= 1;--------------   Command  ----------------Constant CacheProgramCfmCode_seqAddr: seqAddr_type:= ("15", "XX", "XX", "XX", "XX");Constant CacheProgramCfmCode_CmdLen: Integer:= 1;--------------   Command  ----------------Constant BlockErase_seqAddr: seqAddr_type:= ("60", "D0", "XX", "XX", "XX");Constant BlockErase_CmdLen: Integer:= 2;--------------   Command  ----------------Constant Reset_seqAddr: seqAddr_type:= ("FF", "XX", "XX", "XX", "XX");Constant Reset_CmdLen: Integer:= 1 ;--------------   Command  ----------------Constant ReadElectronicSignature_seqAddr: seqAddr_type:= ("90", "XX", "XX", "XX", "XX");Constant ReadElectronicSignature_CmdLen: Integer:= 1;--------------   Command  ----------------Constant ReadStatusRegister_seqAddr: seqAddr_type:= ("70", "XX", "XX", "XX", "XX");Constant ReadStatusRegister_CmdLen: Integer:= 1;--------------   Command  ----------------Constant ReadBlockLockStatus_seqAddr: seqAddr_type:= ("7A", "XX", "XX", "XX", "XX");Constant ReadBlockLockStatus_CmdLen: Integer:= 1;--------------   Command  ----------------Constant BlockUnLockStart_seqAddr: seqAddr_type:= ("23", "XX", "XX", "XX", "XX");Constant BlockUnLockStart_CmdLen: Integer:= 1;--------------   Command  ----------------Constant BlockUnLockEnd_seqAddr: seqAddr_type:= ("24", "XX", "XX", "XX", "XX");Constant BlockUnLockEnd_CmdLen: Integer:= 1;--------------   Command  ----------------Constant BlockLock_seqAddr: seqAddr_type:= ("2A", "XX", "XX", "XX", "XX");Constant BlockLock_CmdLen: Integer:= 1;--------------   Command  ----------------Constant BlockLockDown_seqAddr: seqAddr_type:= ("2C", "XX", "XX", "XX", "XX");Constant BlockLockDown_CmdLen: Integer:= 1;end CUIcommandData; Package body CUIcommandData is          ---------  The body is empty  -----------end CUIcommandData;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -