[go: up one dir, main page]

CN214253209U - A SDRAM Controller User Interface Module IP Core - Google Patents

A SDRAM Controller User Interface Module IP Core Download PDF

Info

Publication number
CN214253209U
CN214253209U CN202120608218.0U CN202120608218U CN214253209U CN 214253209 U CN214253209 U CN 214253209U CN 202120608218 U CN202120608218 U CN 202120608218U CN 214253209 U CN214253209 U CN 214253209U
Authority
CN
China
Prior art keywords
read
core
write
port
user interface
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
CN202120608218.0U
Other languages
Chinese (zh)
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.)
Shenzhen Xinji Electronic Technology Co ltd
Original Assignee
Shenzhen Xinji Electronic Technology Co ltd
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 Shenzhen Xinji Electronic Technology Co ltd filed Critical Shenzhen Xinji Electronic Technology Co ltd
Priority to CN202120608218.0U priority Critical patent/CN214253209U/en
Application granted granted Critical
Publication of CN214253209U publication Critical patent/CN214253209U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dram (AREA)

Abstract

本实用新型公开了一种SDRAM控制器用户接口模块IP核,包括多端口用户接口模块、MIG_v2.3IP核以及DDRx SDRAM内存组单元,通过MIG_v2.3IP核控制DDRx SDRAM内存组单元完成自动刷新、预充电、突发写、突发读,通过多端口用户接口模块把MIG_v2.3IP核的应用接口进一步封装成两个独立的操作端口,分别以类似于FIFO的形式向用户提供独立的读写操作。本实用新型克服了SDRAM控制器控制逻辑复杂、使用难度大、应用灵活性差等问题,同时保证了性能的高可靠性,从而大大缩短了产品的设计时间,丰富了SDRAM的应用场合。

Figure 202120608218

The utility model discloses an IP core of a user interface module of an SDRAM controller, comprising a multi-port user interface module, a MIG_v2.3 IP core and a DDRx SDRAM memory group unit. The MIG_v2.3 IP core controls the DDRx SDRAM memory group unit to complete automatic refresh, For charging, burst writing and burst reading, the application interface of the MIG_v2.3IP core is further encapsulated into two independent operation ports through the multi-port user interface module, which provide users with independent read and write operations in a form similar to FIFO. The utility model overcomes the problems of complex control logic of the SDRAM controller, high difficulty in use, poor application flexibility and the like, and at the same time ensures high reliability of performance, thereby greatly shortening the design time of the product and enriching the application occasions of the SDRAM.

Figure 202120608218

Description

IP core of user interface module of SDRAM controller
Technical Field
The utility model relates to an electronic information technical field especially relates to a SDRAM controller user interface module IP core.
Background
With the high-speed development of modern science and technology, in the fields of high-speed data acquisition, high-speed image processing and the like, the processing requirements of high speed, large capacity, strong real-time performance and high bandwidth generally exist for data caching. The fourth generation SDRAM has been developed so far, and becomes the preferred scheme of the cache memory by virtue of the advantages of low price, high density, fast data read-write speed, etc. However, compared with other memory devices such as SRAM and FIFO, SDRAM requires a series of operations such as timing refresh, precharge and row and column addressing, so that its control logic is complex and the requirement for timing is strict. The scheme of adopting the special chip not only makes the hardware circuit become complicated, increases the design cost, but also mostly can not be flexibly customized for specific occasions, and is not beneficial to the special application of the SDRAM. Therefore, it is necessary to design an SDRAM controller with simple interface, flexible use and reliable performance. Therefore the utility model provides a SDRAM controller user interface module IP core solves above-mentioned problem.
SUMMERY OF THE UTILITY MODEL
The utility model provides a SDRAM controller user interface module IP nuclear has overcome SDRAM controller control logic complicacy, has used the degree of difficulty big, uses the poor scheduling problem of flexibility.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
an SDRAM controller user interface module IP core comprises a multi-port user interface module, an MIG _ v2.3IP core and a DDRx SDRAM memory group unit, wherein the MIG _ v2.3IP core controls the DDRx SDRAM memory group unit to complete automatic Refresh (Auto Refresh), pre-charge (Precharge), Burst Write (Burst Write) and Burst Read (Burst Read), an application interface of the MIG _ v2.3IP core is further packaged into two independent operation ports through the multi-port user interface module, and independent Read-Write operation is provided for a user in a form similar to FIFO respectively.
Preferably, the DDRx SDRAM bank units include DDR2, DDR3, LPDDR 2.
Preferably, the MIG _ v2.3IP core converts the complicated read-write time sequence of the DDRx SDRAM into the simple read-write time sequence of the user, and converts the double-clock edge data of the DDRx SDRAM interface into the single-clock edge data of the user, so that the user controls the DDRx SDRAM like operating a common SRAM.
Preferably, the multi-port user interface module comprises a parameter configuration unit, two port write data cache units, two port read data cache units and a multi-port read-write arbitration unit, wherein the multi-port read-write arbitration unit adopts a mechanism of taking command control right in turn, processes read operation or write operation from two ports in a time-sharing manner, converts the read operation or write operation into a corresponding read-write command, sends the read-write command to the MIG _ v2.3IP core, and completes user data exchange at the same time.
Preferably, the two port write data buffer units have the same function, the two port read data buffer units have the same function, and the independently operating operation interfaces respectively comprise a write data buffer unit and a read data buffer unit to complete the writing and reading of the user data.
Compared with the prior art, the beneficial effects of the utility model are that: the utility model discloses the inside memory controller IP core MIG _ v2.3 of Xilinx 7 series device has been combined ingeniously, but has designed a parameterization multiport access's user interface. The SDRAM controller not only flexibly supports common SDRAMs such as DDR2, DDR3 and LPDDR2, but also provides a read-write operation port similar to FIFO, supports two ports to independently read and write data of a memory at the same time, well overcomes the problems of complex control logic, high use difficulty, poor application flexibility and the like of the SDRAM controller, and simultaneously ensures high reliability of performance, thereby greatly shortening the design time of products and enriching the application occasions of the SDRAM. The utility model discloses be applied to in the product design, compare the mode that adopts special chip, every product can reduce 12% PCB area, has reduced 15% total consumption, has practiced thrift 20% product development time. Meanwhile, the IP core has strong portability and high universality, can be compatible with most mainstream SDRAM in the market, simplifies the hardware design of products, and improves the miniaturization degree, stability and reliability of the products.
Drawings
Fig. 1 is a schematic block diagram of an IP core of a user interface module of an SDRAM controller according to the present invention.
Fig. 2 is a schematic block diagram of a multi-port user interface module of an SDRAM controller user interface module IP core according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments.
Referring to fig. 1, the SDRAM controller user interface module IP core provided by the present invention includes a multi-port user interface module, an MIG _ v2.3IP core, and a DDRx SDRAM memory bank unit, where the DDRx SDRAM memory bank unit includes DDR2, DDR3, and LPDDR2, the DDRx SDRAM memory bank unit is controlled by the MIG _ v2.3IP core to complete automatic refresh, precharge, burst write, and burst read, an application interface of the MIG _ v2.3IP core is further encapsulated into two independent operation ports by the multi-port user interface module, and independent read and write operations are provided to a user in a form similar to FIFO, respectively.
In this embodiment, the MIG _ v2.3IP core has the main functions of completing initialization of the DDRx SDRAM, converting a complex read-write timing sequence of the DDRx SDRAM into a simple read-write timing sequence of a user, and converting double-clock-edge data of the DDRx SDRAM interface into single-clock-edge data of the user, so that the user controls the DDRx SDRAM like operating a normal SRAM. Meanwhile, the IP core also generates a periodic refresh command to maintain the data of the DDRx SDRAM.
Referring to fig. 2, in this embodiment, the multi-port user interface module mainly includes a parameter configuration unit, a port 1 write data cache unit, a port 1 read data cache unit, a port 2 write data cache unit, a port 2 read data cache unit, and a multi-port read-write arbitration unit, where the port 1 and the port 2 are two operation interfaces with the same function and running independently, and each operation interface includes a write data cache unit and a read data cache unit, so as to complete writing and reading of user data. The multi-port read-write arbitration unit adopts a mechanism of taking command control right in turn, processes read operation or write operation from two ports in a time-sharing way, converts the read operation or the write operation into a corresponding read-write command and sends the read-write command to the MIG _ v2.3IP core, and completes the exchange of user data at the same time.
(1) Parameter configuration unit
The unit can independently configure the bit width of the user data of the two ports, the burst length of read-write operation, the initial address and the space size of the memory allocation of each port and other parameters.
(2) Port 1 write data buffer unit
The function of this unit is to buffer the user data written from port 1, then to follow 1: 4, and finally reading the data bit width under the control of a multi-port read-write arbitration unit and sending the data bit width to an MIG _ v2.3IP core.
(3) Port 1 read data buffer unit
The function of this unit is to buffer the user data read from the DDRx SDRAM memory chip under the control of the multi-port read-write arbitration unit, then according to 4: the bit width conversion of the data is carried out according to the proportion of 1, and finally the data is provided for a user interface of the port 1 to read.
(4) Port 2 write data buffer unit
The function of this unit is to buffer the user data written from port 2, then to follow 1: 4, and finally reading the data bit width under the control of a multi-port read-write arbitration unit and sending the data bit width to an MIG _ v2.3IP core.
(5) Port 2 read data buffer unit
The function of this unit is to buffer the user data read from the DDRx SDRAM memory chip under the control of the multi-port read-write arbitration unit, then according to 4: the bit width conversion of the data is carried out according to the proportion of 1, and finally the data is provided for a user interface of a port 2 to read.
(6) Multi-port read-write arbitration unit
The function of the unit is to adopt an operation mechanism which takes command control right in turn to process 4 transactions of port 1 read operation, port 1 write operation, port 2 read operation and port 2 write operation in a time-sharing way. The method comprises the following steps: an operation mark symbol containing 4 kinds of numerical values is defined, and the operation mark symbol respectively represents the 4 kinds of operation transactions. Then, an arbitration state machine is designed to define 7 states of idle, port 1 read command, port 1 write command, port 2 read command, port 2 write command, port 1 operation completion and port 2 operation completion. In idle state, the operation mark symbol continuously updates the value, and the command control right of MIG _ v2.3IP core is circularly circulated in the 4 transactions. When a certain transaction obtains the control right and meets the condition of triggering transaction operation, the arbitration state machine jumps to a corresponding state to finish reading the data with the specified length from the DDRx SDRAM memory chip or writing the data with the specified length into the DDRx SDRAM memory chip. After the process is completed, the arbitration state machine returns to the idle state, the operation mark symbol is continuously updated, and the next trigger is waited for, and the processes are circulated in sequence.
The above, only be the concrete implementation of the preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art is in the technical scope of the present invention, according to the technical solution of the present invention and the utility model, the concept of which is equivalent to replace or change, should be covered within the protection scope of the present invention.

Claims (4)

1. The utility model provides a SDRAM controller user interface module IP core, includes multiport user interface module, MIG _ v2.3IP core and DDRx SDRAM memory bank unit, its characterized in that, DDRx SDRAM memory bank unit includes DDR2, DDR3, LPDDR2, accomplishes automatic refresh, precharge, burst write, burst read through MIG _ v2.3IP core control DDRx SDRAM memory bank unit, further encapsulates into two independent operation ports through multiport user interface module MIG _ v2.3IP core's application interface, provides independent read-write operation to the user with the form similar to FIFO respectively.
2. An IP core of a user interface module of an SDRAM controller according to claim 1, wherein the MIG _ v2.3IP core converts a complicated read-write timing of the DDRx SDRAM into a simple read-write timing of a user and converts a double clock edge data of the DDRx SDRAM interface into a single clock edge data of the user, so that the user controls the DDRx SDRAM like operating a general SRAM.
3. The IP core of the SDRAM controller user interface module according to claim 1, wherein the multi-port user interface module comprises a parameter configuration unit, two port write data buffer units, two port read data buffer units and a multi-port read-write arbitration unit, the multi-port read-write arbitration unit uses a mechanism for taking command control right in turn to process read operation or write operation from two ports in a time-sharing manner, then converts the read operation or write operation into a corresponding read-write command and sends the read-write command to the MIG _ v2.3IP core, and completes user data exchange.
4. An IP core of SDRAM controller user interface module according to claim 3, wherein the two port write data buffer units have the same function, the two port read data buffer units have the same function, and the independently operating operation interfaces respectively comprise a write data buffer unit and a read data buffer unit to complete the writing and reading of user data.
CN202120608218.0U 2021-03-25 2021-03-25 A SDRAM Controller User Interface Module IP Core Expired - Fee Related CN214253209U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120608218.0U CN214253209U (en) 2021-03-25 2021-03-25 A SDRAM Controller User Interface Module IP Core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120608218.0U CN214253209U (en) 2021-03-25 2021-03-25 A SDRAM Controller User Interface Module IP Core

Publications (1)

Publication Number Publication Date
CN214253209U true CN214253209U (en) 2021-09-21

Family

ID=77727966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120608218.0U Expired - Fee Related CN214253209U (en) 2021-03-25 2021-03-25 A SDRAM Controller User Interface Module IP Core

Country Status (1)

Country Link
CN (1) CN214253209U (en)

Similar Documents

Publication Publication Date Title
KR100353348B1 (en) Microprocessor
US7149824B2 (en) Dynamically setting burst length of memory device by applying signal to at least one external pin during a read or write transaction
CN107924375B (en) Command arbitration for high-speed memory interface
KR102444201B1 (en) Software mode register access for platform margining and debug
US20070055813A1 (en) Accessing external memory from an integrated circuit
Ware et al. Improving power and data efficiency with threaded memory modules
CN104850501B (en) A kind of DDR memory memory access address mapping method and memory access address mapping unit
CN101196856A (en) Dual-port interface to a single dynamic memory
US20020013880A1 (en) Integrated circuit with flash bridge and autoload
JP2008305350A (en) Memory system, memory device, and method for controlling memory device
CN111158633A (en) A FPGA-based DDR3 multi-channel read-write controller and control method
WO2017206000A1 (en) Memory access method and memory controller
CN102945213A (en) FPGA (field programmable date array) based out-of-order memory controller and realizing method thereof
CN100369156C (en) Semiconductor memory and its control method
US6091667A (en) Semiconductor memory device and a data reading method and a data writing method therefor
CN101404177B (en) Computation type memory with data processing capability
CN214253209U (en) A SDRAM Controller User Interface Module IP Core
CN100357870C (en) Method of proceeding access multikind storage on chip select outer unibus
US7353327B1 (en) Dedicated command port for memory controllers
CN117312210A (en) Method for expanding performance of RISC-V processor
CN201936294U (en) Caching system for high-speed image acquisition system
CN101221532B (en) Interface method for implementing dynamic RAM with data processing capability
CN111459560A (en) RISC-V architecture based multi-core processor wake-up system
US20250110667A1 (en) Low-latency code fetching from memory
CN113609034B (en) Processor system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210921