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

Subversion Repositories mem_ctrl

[/] [mem_ctrl/] [trunk/] [bench/] [verilog/] [160b3ver/] [DP160B3B_RU.V] - Blame information for rev 28

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 rudi
 
2
//****************************************************************************
3
// This file contains the paramenters which define the part for the
4
// Smart 3 Advanced Boot Block memory model (adv_bb.v).  The '2.7V Vcc Timing'
5
// parameters are representative of the 28F160B3-120 operating at 2.7-3.6V Vcc.
6
// These parameters need to be changed if the 28F160B3-150 operating at
7
// 2.7-3.6V Vcc is to be modeled.  The parameters were taken from the Smart 3
8
// Advanced Boot Block Flash Memory Family datasheet (Order Number 290580).
9
 
10
// This file must be loaded before the main model, as it contains
11
// definitions required by the model.
12
 
13
//28F160B3-B
14
 
15
`define BlockFileBegin  "f160b3b.bkb"   //starting addresses of each block
16
`define BlockFileEnd    "f160b3b.bke"   //ending addresses of each block
17
`define BlockFileType   "f160b3b.bkt"   //block types
18
 
19
//Available Vcc supported by the device.
20
`define VccLevels       4       //Bit 0 - 5V, Bit 1 = 3.3V, Bit 2 = 2.7V
21
 
22
`define AddrSize        20          //number of address pins
23
`define MaxAddr         `AddrSize'hFFFFF    // device ending address
24
`define MainArraySize   0:`MaxAddr  //array definition in bytes
25
                                    //include A-1 for 8 bit mode
26
`define MaxOutputs      16          //number of output pins
27
`define NumberOfBlocks  39          //number of blocks in the array
28
 
29
`define ID_DeviceCodeB      'h8891  //160B3 Bottom
30
`define ID_ManufacturerB    'h0089
31
 
32
// Timing parameters.  See the data sheet for definition of the parameter.
33
// Only the WE# controlled write timing parameters are used since their
34
// respective CE# controlled write timing parameters have the same value.
35
// The model does not differentiate between the two types of writes.
36
 
37
//2.7V Vcc Timing
38
 
39
// Changed the timings below to represent a "c3" device. --- RU 9/9/99
40
 
41
`define TAVAV_27            110
42
`define TAVQV_27            110
43
`define TELQV_27            110
44
`define TPHQV_27            150
45
`define TGLQV_27              0
46
`define TELQX_27              0
47
`define TEHQZ_27             20
48
`define TGLQX_27              0
49
`define TGHQZ_27             20
50
`define TOH_27                0
51
`define TPHWL_27            150
52
`define TWLWH_27             70
53
`define TDVWH_27             60
54
`define TAVWH_27             70
55
`define TWHDX_27              0
56
`define TWHAX_27              0
57
`define TWHWL_27             30
58
`define TVPWH_27            200
59
 
60
// The following constants control how long it take an algorithm to run
61
// to scale all times together (for making simulation run faster
62
// change the constant later listed as TimerPeriod.  The actual delays
63
// are TimerPeriod*xxx_Time, except for the suspend latency times.
64
 
65
`define TimerPeriod_        1000    //1 usec = 1000ns  requires for
66
                                    //following times to be accurate
67
 
68
// The typical values given in the datasheet are used.
69
 
70
// reducing the following will reduce simulation time
71
 
72
//2.7V Vcc, 12V Vpp
73
`define AC_ProgramTime_Word_27_12      8       //usecs
74
`define AC_EraseTime_Param_27_12       800000  //0.8secs
75
`define AC_EraseTime_Main_27_12        1100000 //1.1secs
76
 //Latency times are NOT multiplied by TimerPeriod_
77
`define AC_Program_Suspend_27_12       5000    //5 usecs
78
`define AC_Erase_Suspend_27_12         10000   //10 usecs
79
 
80
//2.7V Vcc 2.7V Vpp
81
`define AC_ProgramTime_Word_27_27      22       //usecs
82
`define AC_EraseTime_Param_27_27       1000000  //1sec
83
`define AC_EraseTime_Main_27_27        1800000  //1.8secs
84
 //Latency times are NOT multiplied by TimerPeriod_
85
`define AC_Program_Suspend_27_27       6000     //6 usecs
86
`define AC_Erase_Suspend_27_27         13000    //13 usecs

powered by: WebSVN 2.1.0

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