CN100369016C - Controller synchronous dynamic random access storage - Google Patents

Controller synchronous dynamic random access storage Download PDF

Info

Publication number
CN100369016C
CN100369016C CNB2005100870161A CN200510087016A CN100369016C CN 100369016 C CN100369016 C CN 100369016C CN B2005100870161 A CNB2005100870161 A CN B2005100870161A CN 200510087016 A CN200510087016 A CN 200510087016A CN 100369016 C CN100369016 C CN 100369016C
Authority
CN
China
Prior art keywords
random access
dynamic random
synchronous dynamic
access memory
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100870161A
Other languages
Chinese (zh)
Other versions
CN1900918A (en
Inventor
陈斌
刘大海
沈卫华
陈晓敏
孙辉先
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Space Science Center of CAS
Original Assignee
National Space Science Center of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National Space Science Center of CAS filed Critical National Space Science Center of CAS
Priority to CNB2005100870161A priority Critical patent/CN100369016C/en
Publication of CN1900918A publication Critical patent/CN1900918A/en
Application granted granted Critical
Publication of CN100369016C publication Critical patent/CN100369016C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dram (AREA)

Abstract

The present invention belongs to the field of space electronic technology, and is especially one controller chip for synchronous DRAM. The controller chip includes a chip selecting and address latching circuit and a synchronous DRAM data bus interface circuit, as well as a command decoding and refreshing control unit. The command decoding and refreshing control unit generates the control signal for the synchronous DRAM based on the received control command from the CPU; and the chip selecting and address latching circuit generates the chip selecting signal, the clock enabling signal and the address signal for the synchronous DRAM based on the received control command from the CPU. The present invention has the advantages of suitability for super bulk memory, high reliability suitable for space application, and being simple and flexible.

Description

A kind of controller of Synchronous Dynamic Random Access Memory
Technical field
The invention belongs to the space electronic technical field, specifically, the present invention relates to a kind of Synchronous Dynamic Random Access Memory controller chip based on software control, this chip is used for data storage and playback and the data retentive control with the Synchronous Dynamic Random Access Memory array of spacecraft cpu i/f.
Background technology
Spacecraft produces mass data in it executes the task process, these data need be kept in descending playback when aircraft misses the stop usually owing to be subjected to aircraft---the time and the bandwidth constraints of ground data link by mass storage.The storage medium of mass storage adopts magnetic medium or solid storage medium usually, wherein mainly contains Synchronous Dynamic Random Access Memory storer (SDRAM) and flash memory (FLASH storer) in the solid storage medium.Advantage such as SDRAM has, and physical construction is simple, reliability is high, but data random access, data access speed are fast, but because the intrinsic characteristic that needs dynamic refresh could keep data not lose of Synchronous Dynamic Random Access Memory itself, also there are refresh control complexity, shortcoming that power consumption is bigger, need special controller to control.Existing sdram controller generally has following several: a kind of is special-purpose sdram interface chip, and the sort controller interface is fixed, and the visit finite capacity can not satisfy the requirement of aircraft for the storer vast capacity; Another kind is the DSP that has sdram interface, TMS320C6000 series for example, and its shortcoming is a finite capacity, is difficult for expansion; Also having a kind of is the sdram controller based on FPGA at various Application Design, the sdram controller IP kernel that provides as Xilinx company, but these sdram controllers are except that same finite capacity, also often adopt the core of state machine as its controller, do not consider that single particle effect under the space radiation environment may cause the malfunction of state machine, thereby make the SDRAM storage chip enter error condition, cause loss of data.
Summary of the invention
The object of the present invention is to provide and a kind ofly be suitable for that spacecraft uses, Synchronous Dynamic Random Access Memory controller (being sdram controller) based on software control, this sdram controller can be under software control with data storage in the storage unit of any assigned address of solid-state memory array, and the data in the storage unit of any assigned address can be read, can utilize simultaneously software to control each SDRAM chip separately and enter automatically and refresh (AUTOREFRESH) pattern.
For achieving the above object, the Synchronous Dynamic Random Access Memory controller based on software control provided by the invention comprises sheet choosing and address latch circuit, Synchronous Dynamic Random Access Memory data bus interface circuit; It is characterized in that, also comprise instruction decode and refresh control unit, wherein instruction decode and refresh control unit, sheet choosing and address latch circuit link to each other with the control bus and the data bus of control with CPU; Described choosing and address latch circuit be according to the control that the receives instruction with CPU, produces that Synchronous Dynamic Random Access Memory array required sheet choosing, clock enable, address signal; Described instruction decode and refresh control unit produce the required control signal of Synchronous Dynamic Random Access Memory array according to the instruction of the control that receives with CPU; The data bus of Synchronous Dynamic Random Access Memory data bus interface circuit and cpu data bus, Synchronous Dynamic Random Access Memory array and instruction decode and refresh control unit link to each other, thereby finish the exchanges data between CPU and Synchronous Dynamic Random Access Memory array and the automatic refresh function of Synchronous Dynamic Random Access Memory.
The control signal that described instruction decode and refresh control unit produce comprises the required RAS of Synchronous Dynamic Random Access Memory array, CAS, WE, DQM signal.
Described instruction decode and refresh control unit also produce address output control signal, this signal controlling sheet choosing and address latch circuit output row address or column address; Instruction decode and refresh control unit also produce the data input/output control signal, the data flow of this signal controlling Synchronous Dynamic Random Access Memory data bus interface circuit.
Described instruction decode and refresh control unit can produce automatic refreshing instruction automatically, and Synchronous Dynamic Random Access Memory is carried out periodic refresh, to keep the correct of data storage.
Described controller can be supported the memory array of capacity maximum to 4096G bits.
Described controller circuitry is all realized with hardware, is write a slice FPGA (field programmable gate array) chip.
Compared with prior art, the invention has the advantages that: 1) be applicable to ultra-high capacity storage, by the expansion to " sheet choosing and address latch ", capacity can infinitely enlarge, and can satisfy the capacity requirement of spacecraft for mass storage fully.2) adopt software to send instructions, the control mode of hardware decoding, the automatic conversion and control mode of the state of the finite state machine of comparing, reliability is higher, more is applicable to space radiation environment.3) realize simple and flexible, can realize with a slice FPGA according to circuit such as system's needs and other interface circuits or coders, thus the dirigibility that improves system greatly, the volume and weight of reduction complete machine.
Description of drawings
Fig. 1 is the theory diagram of sdram controller provided by the invention;
Fig. 2 is instruction decode and refresh control unit block diagram;
Fig. 3 is SDRAM read-write sequence figure;
The meaning of each symbolic representation is as follows among the figure,
Ra:a every trade address Ca:a row column address BS: piece is selected Qa: a column data of reading
Db: the data that write the b column address
TSS: input tSH Time Created: input retention time tCCD: tRAS delays time between column address: the line activating time
TRC: line period time tRP: line precharge time tRCD: line activating arrives column address time delay tCC: the clock period
TSAC: clock is to effectively output time-delay
Fig. 4 is the SDRAM read-write oscillogram of actual emulation gained of the present invention.
Embodiment
For further specifying purpose of the present invention and feature, below in conjunction with drawings and the specific embodiments the present invention is made a detailed description, wherein Fig. 1 is a theory diagram of the present invention, and Fig. 2 is instruction decode and refresh control unit block diagram, and Fig. 3 is SDRAM read-write sequence figure.Fig. 4 is actual emulation gained SDRAM of the present invention read-write oscillogram (employing be software emulation, emulation platform is Modelsim).Table 1 is required external command and control signal truth table for SDRAM works.
As shown in Figure 1, the present invention is made up of sheet choosing and address latch circuit, instruction decode and refresh control unit, SDRAM data bus interface circuit three parts, wherein sheet choosing and address latch circuit, instruction decode and refresh control unit all link to each other with data bus with the control bus of control with CPU, sheet choosing and address latch circuit produce SDRAM memory array required sheet choosing (CS), clock and enable (CKE), Bank and address signal, and instruction decode and refresh control unit produce the required control signal (RAS, CAS, WE, DQM) of SDRAM memory array.The data bus of SDRAM data bus interface circuit and cpu data bus, SDRAM memory array and instruction decode and refresh control unit link to each other, thereby finish the exchanges data between CPU and SDRAM memory array and the automatic refresh function of SDRAM storer.Controller in the present embodiment can be supported the memory array of capacity maximum to 4096G bits.
SDRAM finishes read-write and refreshes that to wait operation be that appropriate address and data on the different sequential of its input control signal of dependence CLOCK, CKE, CS, RAS, CAS, WE, DQM and address, the data bus are finished.Referring to Fig. 3, to read a data instance from certain storage unit, need provide row address effective instruction (CKE=HIGH earlier, CSn=LOW, RAS=LOW, CAS=HIGH, WE=HIGH) and respective row address (ADDR, A10/AP) and piece (Bank) address (BA), certain hour (some clock period) provides read instruction (CKE=HIGH, CSn=LOW, RAS=HIGH afterwards more at interval, CAS=LOW, WE=HIGH) and respective column address (ADDR, A10/AP), when CAS Latency=3, after 3 clock period, the data of this address will appear on the data bus (DQ).Equally, write operation and initialize memory, refresh, precharge etc. all needs outside sdram controller to provide the command adapted thereto signal according to the regulation of table 1.
Order CKE n-1 CK En CS RAS CAS WE DQM BA0,1 A10/AP A11,A9~0
Mode register is provided with H X L L L L X Operational code
Automatically refresh H H L L L H V X
Line activating H X L L H H X V Row address
Read Auto-precharge closes H X L H L H X V L Column address
Auto-precharge is opened H
Write Auto-precharge closes H X L H L L X V L Column address
Auto-precharge is opened H
Burst finishes H X L H H L X X
Precharge Piece is selected H X L L H L X V L X
All pieces X H
No-operation instruction H X H X X X X X
L H H H
Table 1
In the table 1, the effective X=of V=it doesn't matter H=logic high L=logic low
The instruction that the present invention sends according to computer software, carry out instruction decode by instruction decode and refresh control unit, produce RAS, CAS, WE, the DQM signal of corresponding time sequence at the output signal end of this element, instruction decode simultaneously and refresh control unit also control strip choosing and address latch unit produce corresponding C KE, CS, BA and address (ADDR) signal, and control SDRAM data bus interface unit is written to the data on the cpu data bus in the SDRAM storer or with data and reads on the cpu data bus from the SDRAM memory array.When finishing each sequential of read-write, the instruction decode of Fig. 1 and refresh control unit also can produce automatic refreshing instruction automatically, and the SDRAM storer is carried out periodic refresh, to keep the correct of data storage.
Fig. 2 is the inside theory diagram of instruction decoding and refresh control unit.Instruction decoding unit receives the instruction (all instructions all are listed in the table 1) of cpu control bus and data bus, signal Y1, Y2, Y3 and Y4, Y5, Y6 after the instruction decode are delivered to WE and DQM signal generation unit and RAS and CAS signal generation unit respectively, also can produce simultaneously and refresh enabled instruction and start and to refresh and precharge instruction generation unit produces and refreshes (REFRESH) and precharge command signal PRG, WE and DQM signal generation unit and RAS and CAS signal generation unit produce RAS, CAS, WE, the DQM signal that meets SDRAM memory requirement sequential.Simultaneously, also will produce address output control signal control output row address or column address, and produce the data input/output control signal and flow to control data.
In the present embodiment, sheet choosing and address latch unit mainly are made up of a 6-64 code translator, two 12 latchs and 12 alternative MUX.The 6-64 code translator produces corresponding C S, Bank and CKE signal according to software instruction; Two 12 latchs latch row address and column address respectively, and this two-way address signal is given 12 alternative MUX, and MUX output row address or column address under the control of address output control signal are given the address bus of SDRAM array.
The SDRAM data bus interface unit mainly is made up of one 16 triple gate, the control end of triple gate with receive the data input/output signal that instruction decode and refresh control unit produce, with control the data on the cpu data bus are written in the SDRAM storer or with data and from the SDRAM memory array, read on the cpu data bus.
Present embodiment can be supported the memory array of capacity maximum to 4096G bits, it should be noted that by the expansion to sheet choosing and address latch circuit among the present invention, can further enlarge the capacity of memory array.
Controller circuitry in the present embodiment is all realized with hardware, is write a slice FPGA (field programmable gate array) chip at last.

Claims (6)

1. the controller of a Synchronous Dynamic Random Access Memory comprises sheet choosing and address latch circuit, Synchronous Dynamic Random Access Memory data bus interface circuit; It is characterized in that, also comprise instruction decode and refresh control unit, described instruction decode and refresh control unit, sheet choosing and address latch circuit link to each other with the control bus and the data bus of control with CPU;
Described choosing and address latch circuit be according to the steering order of the CPU that receives, produces that Synchronous Dynamic Random Access Memory array required sheet choosing, clock enable, address signal;
Described instruction decode and refresh control unit produce the required control signal of Synchronous Dynamic Random Access Memory array according to the steering order of the CPU that receives;
The data bus of described Synchronous Dynamic Random Access Memory data bus interface circuit and cpu data bus, Synchronous Dynamic Random Access Memory array and instruction decode and refresh control unit link to each other.
2. press the controller of the described Synchronous Dynamic Random Access Memory of claim 1, it is characterized in that the control signal that described instruction decode and refresh control unit produce comprises the required RAS of Synchronous Dynamic Random Access Memory array, CAS, WE, DQM signal.
3. by the controller of the described Synchronous Dynamic Random Access Memory of claim 1, it is characterized in that described instruction decode and refresh control unit also produce address output control signal, this signal controlling sheet choosing and address latch circuit output row address or column address; Instruction decode and refresh control unit also produce the data input/output control signal, the data flow of this signal controlling Synchronous Dynamic Random Access Memory data bus interface circuit.
4. press the controller of the described Synchronous Dynamic Random Access Memory of claim 3, it is characterized in that, described instruction decode and refresh control unit can produce automatic refreshing instruction automatically, and Synchronous Dynamic Random Access Memory is carried out periodic refresh, to keep the correct of data storage.
5. by the controller of the described Synchronous Dynamic Random Access Memory of claim 1, it is characterized in that described controller can be supported the memory array of capacity maximum to 4096 G bits.
6. by the controller of the described Synchronous Dynamic Random Access Memory of claim 1, it is characterized in that described controller circuitry is all realized with hardware, write a slice fpga chip.
CNB2005100870161A 2005-07-22 2005-07-22 Controller synchronous dynamic random access storage Expired - Fee Related CN100369016C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100870161A CN100369016C (en) 2005-07-22 2005-07-22 Controller synchronous dynamic random access storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100870161A CN100369016C (en) 2005-07-22 2005-07-22 Controller synchronous dynamic random access storage

Publications (2)

Publication Number Publication Date
CN1900918A CN1900918A (en) 2007-01-24
CN100369016C true CN100369016C (en) 2008-02-13

Family

ID=37656807

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100870161A Expired - Fee Related CN100369016C (en) 2005-07-22 2005-07-22 Controller synchronous dynamic random access storage

Country Status (1)

Country Link
CN (1) CN100369016C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494090B (en) * 2008-01-21 2014-03-19 南亚科技股份有限公司 Memory access control method
CN101216751B (en) * 2008-01-21 2010-07-14 戴葵 DRAM device with data handling capacity based on distributed memory structure
CN101539981B (en) * 2009-05-06 2011-07-20 成都市华为赛门铁克科技有限公司 Method, system and sensor node for controlling data security
CN105094103A (en) * 2015-06-09 2015-11-25 中国电子科技集团公司第三十六研究所 DSP code solidification storage circuit applied in spacecraft
CN111124433B (en) * 2018-10-31 2024-04-02 华北电力大学扬中智能电气研究中心 Program programming equipment, system and method
CN110022101B (en) * 2019-04-04 2024-04-19 苏州国科视清医疗科技有限公司 FSMC-based multi-step motor driving method, circuit and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243285A (en) * 1998-07-24 2000-02-02 国际商业机器公司 High-bandwidth dynamic direct access storage device with low energy-consumption mode
KR20030051966A (en) * 2001-12-20 2003-06-26 엘지전자 주식회사 Private branch exchange's public line board for dsl connecting
US20040160853A1 (en) * 2003-02-17 2004-08-19 Renesas Technology Corp. Semiconductor memory device inputting/outputting data and parity data in burst operation
CN1524230A (en) * 2001-06-22 2004-08-25 英特尔公司 Method and apparatus for active memory bus peripheral control utilizing address call sequencing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243285A (en) * 1998-07-24 2000-02-02 国际商业机器公司 High-bandwidth dynamic direct access storage device with low energy-consumption mode
CN1524230A (en) * 2001-06-22 2004-08-25 英特尔公司 Method and apparatus for active memory bus peripheral control utilizing address call sequencing
KR20030051966A (en) * 2001-12-20 2003-06-26 엘지전자 주식회사 Private branch exchange's public line board for dsl connecting
US20040160853A1 (en) * 2003-02-17 2004-08-19 Renesas Technology Corp. Semiconductor memory device inputting/outputting data and parity data in burst operation

Also Published As

Publication number Publication date
CN1900918A (en) 2007-01-24

Similar Documents

Publication Publication Date Title
US6330636B1 (en) Double data rate synchronous dynamic random access memory device incorporating a static RAM cache per memory bank
US10002659B2 (en) System and method for decoding commands based on command signals and operating state
EP1981033B1 (en) Apparatus and method for pipelined memory operations with write mask
CN100369016C (en) Controller synchronous dynamic random access storage
JP2005222581A (en) Semiconductor memory device
JPH09198875A (en) Synchronous type semiconductor memory
CN101140792A (en) Synchronous semiconductor memory device for high frequency operation
JP2004171609A (en) Semiconductor storage device
JP3689229B2 (en) Column selection line enable circuit for semiconductor memory device
US6763443B1 (en) System and method for using a synchronous memory device with an asynchronous memory controller
CN101425330B (en) Refreshing control module for synchronous dynamic memory
US7492661B2 (en) Command generating circuit and semiconductor memory device having the same
JP2012113819A (en) Automatic precharge control circuit, semiconductor memory device and precharging operation control method
Lee et al. A 1.6-Gb/s/pin double data rate SDRAM with wave-pipelined CAS latency control
Sreehari et al. AHB DDR SDRAM enhanced memory controller
JP5048102B2 (en) Semiconductor memory device
JP5058295B2 (en) Semiconductor memory device
Li et al. Design and Verification of DDR3 Controller Based on FPGA
Latti Design and implementation of DDR SDRAM controller for embedded processors
JP5328957B2 (en) Semiconductor memory device
Anup et al. A Low Power DDR SDRAM Controller Design
Naresh et al. Implementation of DDR SDRAM Memory Controller for embedded SOC
Venna et al. Design and implementation of High Speed DDR SDRAM Controller on FPGA
JADHAV et al. Design and Implementation of a DDR SDRAM Controller for Embedded System
NAYAK SDR Synchronous Dynamic Random Access Memory Controller Using Adaptive Bank Management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080213

Termination date: 20160722

CF01 Termination of patent right due to non-payment of annual fee