CN1219056A - Buffer withs imultaneous asynchronous read and write - Google Patents
Buffer withs imultaneous asynchronous read and write Download PDFInfo
- Publication number
- CN1219056A CN1219056A CN 98103535 CN98103535A CN1219056A CN 1219056 A CN1219056 A CN 1219056A CN 98103535 CN98103535 CN 98103535 CN 98103535 A CN98103535 A CN 98103535A CN 1219056 A CN1219056 A CN 1219056A
- Authority
- CN
- China
- Prior art keywords
- write
- read
- address
- input
- selector
- 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.)
- Granted
Links
Images
Landscapes
- Static Random-Access Memory (AREA)
- Communication Control (AREA)
Abstract
The present invention relates to a buffer used in data code speed regulator in communication, especially buffer with simultaneous asynchronous read and write constituted with combined single-port RAM to replace double-port RAM. The buffer includes memory, comparator and decoder, and features that it also has M selectors, M ADN gates and 2M tristate gates. The decoder includes read address higher Ah bit decoder and write address higher Ah bit decoder, the selector is 1-of-2 selector, and the memory consists of M small single-port RAM modules. The code speed regulating module can be combined organically with other modules in data transmission system to reduce system cost.
Description
The buffer devices that uses in the data yardage adjusting device in the present invention relates to communicate by letter.
In transfer of data, often have the justification module of data, constitute by the clock relevant of the buffer with FIFO (push-up storage) function, control circuit when this modular circuit realizes, see Fig. 1 with it.The input data are with fm speed write buffer, simultaneously dateout is read with fout speed, and this just requires this buffer to have FIFO (push-up storage) function (tentation data is first in first out) and asynchronous read and write (because the read-write clock is generally different) simultaneously.The data writing format of writing controller control input, the form of Read Controller control dateout.This buffer generally has ready-made FIFO (push-up storage) device or realizes with dual-ported memory, need increase read/write address when realizing with dual-ported memory and produce circuit and read-write control circuit.
Because chip-scale is limited, it is fewer that inside has other logical block of PLD (programming device) of FIFO (push-up storage) or dual-ported memory, just not competent to realizing the monolithic PLD of system (programming device) that complex data handles.
The objective of the invention is to adopt the combination of fritter one-port memory (will have only the memory of an address and FPDP to be called one-port memory (being called for short RAM) herein) to replace dual-ported memory to constitute buffer with while asynchronous read and write.
The object of the present invention is achieved like this.Single port RAM only has an address, a data port, can not carry out the read and write operation simultaneously, and we combine a plurality of single port RAM fritters, read and write different RAM fritter (promptly write a certain, read another piece) respectively.M RAM fritter (its capacity is N * k position) combined, add and write its peripheral address, read-write control circuit just to have constituted capacity be the buffer of M * N * k, the width of tentation data transmission here is k.Only otherwise operate, just can reach the function that reads while write of dual-ported memory fully at same RAM fritter, thus the buffering of realization data.
Below in conjunction with drawings and Examples the present invention is further described.
Fig. 1, existing justification module.
Fig. 2, buffer of the present invention constitute schematic diagram.
The port figure of Fig. 3, embodiment buffer.
Buffer of the present invention is called simulated dual port ram buffer.A kind of buffer of asynchronous read and write simultaneously, comprise memory 1, comparator 2 and decoder 3, its special sheet be also to be provided with M selector 4, with door 5 and 2M triple gate 6, wherein decoder 3 is to read high Ah bit decoder in address and the high Ah bit decoder of write address, selector 4 is 2 to select 1 selector, and memory 1 is made up of M single port RAM fritter; Low AI position connects " 1 " end of selector 4 among the write address bus AW, read " O " end of low AI position connection selection 4 devices among the address bus AR, high Ah position connects the input of the high Ah decoder 3 of write address among the write address bus AW, its M decoding output connects the control end of M selector 4 and the control end of M triple gate 6 respectively, the address input end of M the RAM fritter of output butt joint of M selector 4; M of write address Ah bit decoder 3 decoding output connect respectively M with 5 input, be connected with the Writing/Reading signal with another input of door 5, with the output termination RAM fritter Writing/Reading control end of door 5; Read that high Ah position connects the input of reading the high Ah bit decoder 3 in address among the address bus AR, its M decoding output is connected with the control end of M triple gate 6 respectively, the input of M triple gate 6 is corresponding to be connected with the data terminal of M RAM fritter, triple gate 6 export readout data bus DR to; Write data/address bus DW and be connected with the input of M triple gate 3, the output of M triple gate 3 is corresponding to be connected with the data terminal of M RAM fritter; High Ah position connects the P input of comparator 2 among the write address bus AW, reads the Q input that high Ah position among the address bus AR connects comparator 2, and the output of comparator 2 connects the read/write conflict indication.
It is as follows that its realization reads while write process:
The low AI position of write address bus AW is selected the address (AI position) of 1 selector (4) as each RAM fritter with the low AI position of reading address bus AR by 2, and the capacity of each RAM fritter is that (k is the bit width of transmission data units, N=2 in N * k position
A1Unit number for the RAM fritter); M (M=2 after the high Ah position of write address bus AW deciphered
Ah) the position signal selects the selection signal of 1 selector (4) as 2 of each RAM fritter address, suppose that decoding value is P, then the operation address of P#RAM fritter is the low AI of write address bus AW, the data that the triple gate (6) of opening this P#RAM fritter simultaneously will write data/address bus DW input to this RAM fritter, and the write signal W of this RAM fritter of gating is 1, this RAM fritter is carried out write operation, data are write the AI determining unit of the AW of this RAM fritter, the operation address of other RAM fritter is the low AI that reads address bus AR, and its Writing/Reading is 0 promptly it to be carried out read operation.M (M=2 after the high AI position of reading address bus AR deciphered
Ah) the position signal is as the data strobe signal of each RAM fritter, suppose decoding value position Q, the triple gate (6) of the dateout of Q#RAM fritter then by opening, the data of the unit that the low AI that reads address bus AR is definite are delivered to readout data bus DR.As long as any moment P ≠ Q does not promptly read while write same block RAM, just guarantee that the read-write of this simulated dual port ram buffer is normal.Read while write same block RAM when P=Q, then read/write conflict makes the data of read-write undesired.
Make this analog port RAM buffer operate as normal,, data can be read and write normally as long as the minimum interval of address AW, the AR of control read-write just can guarantee not read while write same block RAM fritter greater than the code word capacity N of RAM fritter.
The periphery of buffer of the present invention increases by what counter was formed reads address production electric circuit and write address generation circuit, and write address bus AW is connected with the write address output, read address bus AR and read address output end and be connected, constitute a numeric data code velocity modulation mould preparation piece circuit, be used for transfer of data (communication).
As from the foregoing, can realize FIFO (push-up storage) function fully, to realize the data justification in the transfer of data with the combination of RAM fritter.
Claims (2)
1, a kind of buffer of asynchronous read and write simultaneously, comprise memory 1, comparator 2 and decoder 3, it is characterized in that also being provided with M selector 4, with door 5 and 2M triple gate 6, wherein decoder 3 is to read high Ah bit decoder in address and the high Ah bit decoder of write address, selector 4 is 2 to select 1 selector, and memory 1 is made up of M single port RAM fritter; Low AI position connects " 1 " end of selector 4 among the write address bus AW, read " O " end of low AI position connection selector 4 among the address bus AR, high Ah position connects the input of the high Ah decoder 3 of write address among the write address bus AW, its M decoding output connects the control end of M selector 4 and the control end of M triple gate 6 respectively, the address input end of M the RAM fritter of output butt joint of M selector 4; M of the high Ah bit decoder 3 of write address decoding output connect respectively M with 5 input, be connected with the Writing/Reading signal with another input of door 5, with the output termination RAM fritter Writing/Reading control end of door 5; Read that high Ah position connects the input of reading the high Ah bit decoder 3 in address among the address bus AR, its M decoding output is connected with the control end of M triple gate 6 respectively, the input of M triple gate 6 is corresponding to be connected with the data terminal of M RAM fritter, triple gate 6 export readout data bus DR to; Write data/address bus DW and be connected with the input of M triple gate 3, the output of M triple gate 3 is corresponding to be connected with the data terminal of M RAM fritter; High Ah position connects the P input of comparator 2 among the write address bus AW, reads the Q input that high Ah position among the address bus AR connects comparator 2, and the output of comparator 2 connects the read/write conflict indication.
2, press the application of the described buffer of claim 1, it is characterized in that peripheral the increasing by what counter was formed of buffer read address production electric circuit and write address generation circuit, and write address bus AW is connected with the write address output, read address bus AR and read address output end and be connected, constitute a numeric data code velocity modulation mould preparation piece circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 98103535 CN1090859C (en) | 1998-07-31 | 1998-07-31 | Buffer withs imultaneous asynchronous read and write |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 98103535 CN1090859C (en) | 1998-07-31 | 1998-07-31 | Buffer withs imultaneous asynchronous read and write |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1219056A true CN1219056A (en) | 1999-06-09 |
CN1090859C CN1090859C (en) | 2002-09-11 |
Family
ID=5217971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 98103535 Expired - Fee Related CN1090859C (en) | 1998-07-31 | 1998-07-31 | Buffer withs imultaneous asynchronous read and write |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1090859C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100437801C (en) * | 2006-05-22 | 2008-11-26 | 炬力集成电路设计有限公司 | Automatic regulating method of Mips number operated during decoder decoding process |
CN100466601C (en) * | 2005-04-28 | 2009-03-04 | 华为技术有限公司 | Data read/write device and method |
CN1833394B (en) * | 2003-08-06 | 2010-06-09 | 罗伯特·博世有限公司 | Method and device for bi-directional single-wire data transmission |
CN101924578A (en) * | 2002-02-19 | 2010-12-22 | 马维尔国际贸易有限公司 | The RAKE receiver interface |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100405343C (en) * | 2006-06-21 | 2008-07-23 | 北京中星微电子有限公司 | Asynchronous data buffer storage |
-
1998
- 1998-07-31 CN CN 98103535 patent/CN1090859C/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924578A (en) * | 2002-02-19 | 2010-12-22 | 马维尔国际贸易有限公司 | The RAKE receiver interface |
CN101924578B (en) * | 2002-02-19 | 2014-07-16 | 马维尔国际贸易有限公司 | RAKE receiver interface |
CN1833394B (en) * | 2003-08-06 | 2010-06-09 | 罗伯特·博世有限公司 | Method and device for bi-directional single-wire data transmission |
CN100466601C (en) * | 2005-04-28 | 2009-03-04 | 华为技术有限公司 | Data read/write device and method |
CN100437801C (en) * | 2006-05-22 | 2008-11-26 | 炬力集成电路设计有限公司 | Automatic regulating method of Mips number operated during decoder decoding process |
Also Published As
Publication number | Publication date |
---|---|
CN1090859C (en) | 2002-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4309755A (en) | Computer input/output arrangement for enabling a simultaneous read/write data transfer | |
US5802131A (en) | Multiport serial access self-queuing memory switch | |
US5446843A (en) | Interface unit for dynamically configuring a buffer in different modes to store data transfers based upon different connection details of connected processing units | |
US4115854A (en) | Channel bus controller | |
EP0755540A1 (en) | Efficient addressing of large memories | |
US5666390A (en) | High speed programmable counter | |
GB2110507A (en) | Time division switching matrix | |
US5805590A (en) | Switching device for digital data networks and asynchronous transfer mode | |
JP4022442B2 (en) | Control method of fieldbus interface board | |
CA1173929A (en) | Bus system | |
CN1219056A (en) | Buffer withs imultaneous asynchronous read and write | |
CN110134622A (en) | The data interaction system of data acquisition module and data transmission module | |
EP0674411A1 (en) | Virtual interconnection memory especially for communication between terminals operating at different speeds | |
CN1191615A (en) | Buffer circuit on module | |
US5577055A (en) | Method and circuit device to control a memory | |
CN212364990U (en) | File storage system and intelligent device | |
KR20100087294A (en) | Controller with indirect accessible memory | |
US6178490B1 (en) | Method and device for the incremental reading of a memory | |
CN1366247A (en) | PCI bridge with improved structure | |
EP0617530A1 (en) | Interconnection memory comprising an array of dual-port FIFO memories | |
CA2275063A1 (en) | Digital switch with rate conversion | |
EP0183486A2 (en) | Microprocessor interface device for use in a telecommunications system | |
CN212990690U (en) | Double-serial-port bus Nand type memory | |
JPS6077239A (en) | Circuit device having at least one microcomputer allow to beadjusted to or setted for operation value predetermined | |
JPS6130294B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20020911 Termination date: 20130731 |