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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [verilog/] [include/] [cfi_flash_CUIcommandData.h] - Blame information for rev 861

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 655 julius
//          _/             _/_/
2
//        _/_/           _/_/_/
3
//      _/_/_/_/         _/_/_/
4
//      _/_/_/_/_/       _/_/_/              ____________________________________________ 
5
//      _/_/_/_/_/       _/_/_/             /                                           / 
6
//      _/_/_/_/_/       _/_/_/            /                                 28F256P30 / 
7
//      _/_/_/_/_/       _/_/_/           /                                           /  
8
//      _/_/_/_/_/_/     _/_/_/          /                                   256Mbit / 
9
//      _/_/_/_/_/_/     _/_/_/         /                                single die / 
10
//      _/_/_/ _/_/_/    _/_/_/        /                                           / 
11
//      _/_/_/  _/_/_/   _/_/_/       /                  Verilog Behavioral Model / 
12
//      _/_/_/   _/_/_/  _/_/_/      /                               Version 1.3 / 
13
//      _/_/_/    _/_/_/ _/_/_/     /                                           /
14
//      _/_/_/     _/_/_/_/_/_/    /           Copyright (c) 2010 Numonyx B.V. / 
15
//      _/_/_/      _/_/_/_/_/    /___________________________________________/ 
16
//      _/_/_/       _/_/_/_/      
17
//      _/_/          _/_/_/  
18
// 
19
//     
20
//             NUMONYX              
21
 
22
// **********************
23
//
24
// COMMAND USER INTERFACE 
25
//
26
// **********************
27
 
28
// Read Commands     
29
 
30
`define RD_cmd                  8'hFF   // Read Memory Array
31
`define RSR_cmd                 8'h70   // Read Status Register 
32
`define RSIG_cmd                8'h90   // Read Electronic Signature
33
`define RCFI_cmd                8'h98   // Read CFI
34
 
35
 
36
// Program/Erase Commands 
37
 
38
`define PG_cmd                  8'h40   // Program
39
`define PES_cmd                 8'hB0   // Program/Erase Suspend 
40
`define PER_cmd                 8'hD0   // Program/Erase Resume
41
`define BLKEE_cmd               8'h20   // Block Erase
42
`define BLKEEconfirm_cmd        8'hD0   // Block Erase Confirm
43
`define CLRSR_cmd               8'h50   // Clear Status Register 
44
`define PRREG_cmd               8'hC0   // Protection Register Program //verificare se va bene x OTP register program setup
45
 
46
 
47
// Protect Commands
48
 
49
`define BL_cmd                  8'h60   // Block Lock //setup??
50
`define BUL_cmd                 8'h60   // Block UnLock
51
`define BLD_cmd                 8'h60   // Block lock-down
52
`define BLDconfirm_cmd          8'h2F   // Block Lock-down confirm
53
`define BLconfirm_cmd           8'h01   // Block Lock Confirm
54
`define BULconfirm_cmd          8'hD0   // Block unLock Confirm
55
 
56
 
57
// Additional Features Commands
58
 
59
`define PB_cmd                  8'hE8   // Program Buffer
60
`define PBcfm_cmd               8'hD0   // Close Sequence of Program Buffer Command
61
 
62
 
63
// Configuration Register
64
 
65
`define SCR_cmd                 8'h60   // Set Configuration Register
66
`define SCRconfirm_cmd          8'h03   // Set Configuration Register confirm
67
 
68
// Additional Features Commands //aggiunto
69
`define BLNKCHK_cmd             8'hBC // Blank Check Command
70
`define BLNKCHKconfirm_cmd      8'hD0 // Blank Check Confirm
71
 
72
 
73
// Factory Program Commands
74
`define BuffEnhProgram_cmd      8'h80   // Enhanced Setup Command
75
`define BuffEnhProgramCfrm_cmd  8'hD0   // Enhanced Setup confirm
76
 
77
`define EnhSetup_cmd            8'h80   // Enhanced Setup Command
78
`define EnhSetup_cfrm           8'hD0   // Enhanced Setup confirm
79
 
80
 
81
// CUI Status
82
 
83
// Read Bus Status Operation
84
 
85
`define ReadArray_bus           2'b00       // Read Memory Array 
86
`define ReadSignature_bus       2'b01       // Read Electronic Signature
87
`define ReadStatusReg_bus       2'b10       // Read Status Register
88
`define ReadCFI_bus             2'b11       // Read CFI
89
 
90
 
91
// Program/Erase Controller Status
92
 
93
`define Free_pes                0       // No Operation
94
`define Program_pes             1       // Programming
95
`define ProgramBuff_pes         7       // Programming
96
 
97
 
98
`define BlockErase_pes          2       // Erasing Block
99
`define ChipErase_pes           3       // Chip Erasing
100
`define BlockEraseSuspend_pes   4       // Block Erase Suspend
101
`define ProgramEraseSuspend_pes 5       // Program/Erase Resume
102
`define ProgramEraseWait_pes    6       // Program/Erase Wait
103
`define Reset_pes               10      // Reset status
104
 
105
 
106
 

powered by: WebSVN 2.1.0

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