Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for increasing RAM utilizing efficiency

A technology of efficiency and clock frequency, applied in the field of digital circuit design, can solve the problem of low utilization rate of RAM, achieve the effect of improving utilization efficiency and saving resources

Active Publication Date: 2006-11-08
HUAWEI TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to provide a kind of method that improves RAM utilization efficiency, to solve the low utilization rate problem of RAM when using in PLD in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for increasing RAM utilizing efficiency
  • Method for increasing RAM utilizing efficiency
  • Method for increasing RAM utilizing efficiency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Embodiment one, as attached figure 2 As shown, for a FIFO whose bit width is wider than that of dual-port RAM, the way to read and write data can be modified. First, the RAM clock is separated from the FIFO clock, and the write clock and read clock of RAM are set. The frequency is FIFO n times the clock frequency, the data written externally to the FIFO is divided into n parts, which are represented by "write data 1", "write data 2" ... "write data n-1", "write data n", and will be read from the FIFO The read data is also divided into n parts, respectively represented by "read data 1", "read data 2" ... "read data n-1", "read data n", since the write clock frequency of RAM is the FIFO write clock frequency n times of that, the RAM read clock frequency is n times of the FIFO read clock frequency, and the RAM bandwidth is correspondingly n times of the FIFO bandwidth. When external data is written into the FIFO, each RAM clock cycle writes 1\n copies of the data written...

Embodiment 2

[0026] Embodiment 2, if the FIFO width is the same as that of the dual-port RAM, the RAM space can also be divided into multiple parts by the method of the present invention, and a plurality of FIFOs are used to generate a plurality of FIFOs, so as to overcome the aforementioned block of RAM blocks only Defects that can be assigned to a module for use. as attached image 3 As shown, first separate the RAM clock from the FIFO clock, set the RAM write clock and read clock, and its frequency is n times the FIFO clock frequency. After modifying the clock, the RAM bandwidth is n times the FIFO bandwidth. In addition, it is necessary to modify each logic module inside the FIFO, divide the dual-port RAM into n parts (each part can be different in size), respectively "RAM1", "RAM2" ... "RAMn", and expand the external FIFO interface to n They are "FIFO1", "FIFO2", ... "FIFOn", and each FIFO uses its corresponding RAM. During the write operation, n FIFOs write data in one external FIF...

Embodiment 3

[0027]Embodiment three, in the above-mentioned two kinds of methods, the first method is that a FIFO takes up all time slices (n RAM clock cycles) of RAM, and the second method is that a FIFO takes up a time slice of RAM (1 RAM clock cycles). In fact, the two methods can also be used in combination. The internal RAM clock frequency can be increased to n times the external FIFO clock frequency, and then the RAM is divided into m parts corresponding to the external m FIFOs (m is less than or equal to n), and the RAM time slice (Clock cycle) is reasonably allocated to each FIFO, which can meet the needs of FIFOs with different widths and depths. For example: m=3, n=4, then 3 FIFOs can be generated, one of which occupies 2 time slices, and the data width is twice that of RAM. The other two each occupy a time slice, and the data width is the same as that of RAM. Similarly, if m=2 and n=4, two FIFOs can be generated, and each FIFO occupies two time slices, and the data width is tw...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This invention discloses a method for increasing the usability of RAM in the PLD, which separates the clock frequency of the RAM reading data from that outside, takes a multiple frequency clock as the clock of the RAM and reads the data read in the outside reading period orderly in multiple RAM clock periods so that the RAM in narrow bit width can be suitable for the function modules in the PLD in wide bit width and one RAM module can be used in more than one function modules in the PLD.

Description

technical field [0001] The present invention relates to the field of digital circuit design, more specifically, relates to the use of RAM (random memory module) in digital circuit design PLD (programmable logic device). Background technique [0002] PLD (Programmable Logic Device) technology and FPGA (Field Programmable Gate Array) technology are the most dynamic and promising technologies in the field of electronic design, which can almost complete the functions of any digital device. Like a piece of white paper or a pile of building blocks, engineers can freely design a digital system through traditional schematic input methods or hardware description languages. Although the names of PLD and FPGA are different, the functions of the two are basically the same, but the implementation principle is slightly different. The method described in the present invention is applicable to both PLD and FPGA and there is no principle difference, so the difference between the two is igno...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F5/06G06F3/06
Inventor 范嘉旗张玉泉李星何军
Owner HUAWEI TECH CO LTD