Electronic circuit for connecting a processor to a high-capacity memory
5 claims: 5 independent, 0 dependent
- 1An electronic circuit for connecting a processor (20) to a segmented high-capacity memory (21), comprising a data bus (DO-D7) having a given number of channels for transferring data from and to said memory and an address bus having a given number of channels for addressing said memory, the memory segments (SEG.0-SEG.255) each having a capacity such as can be directly addressed by means of a first portion (A0-A11) of the address bus, an auxiliary memory (30) interposed between the processor (20) and the high-capacity memory (21) and comprising a number of registers (RO-R15) equal to the number of segments of the high-capacity memory which can be connected at one time to the processor, and a decoder (31) interposed between the processor and the auxiliary memory for receiving a second portion (A12-A15) constituting the remainder of the address bus and selectively addressing the registers (RO-R15) so as to address one of the memory segments in accordance with the contents of the addressed register, and in which the contents of the registers (RO-R15) of the auxiliary memory (30) are loaded or modified by the processor (20) by addressing a predetermined one (SEG.O) of the memory segments which contains information items relating to those segments which are to be associated with the processor, reading said information items onto the data bus (22), and writing said information items from the data bus into the auxiliary memory (30) while generating a signal (CS) dependent on part of the first portion of the address bus for enabling the decoder (31). 1. Elektronische Schaltung zum Verbinden eines Prozessors (20) mit einem in Segmente unterteilten, eine hohe Speicherkapazität aufweisenden Speicher (21), mit einem Datenbus (DO-D7), der eine vorgegebene Anzahl von Kanälen zum Übertragen von Daten aus dem und in den erwähnten Speicher aufweist, und einem Adressenbus, der eine vorgegebene Anzahl von Kanälen zum Adressieren des erwähnten Speichers aufweist, wobei die Speichersegmente (SEG.0 - SEG.255) jeweils eine solche Speicherkapazität aufweisen, wie unmittelbar durch einen ersten Teil (AO - A11) des Adressenbus adressiert werden kann, einem Hilfsspeicher (30), der zwischen dem Prozessor (20) und dem die hohe Speicherkapazität aufweisenden Speicher (21) angeordnet ist und eine Anzahl von Registern (RO - R15) aufweist, die gleich der Anzahl der Segmente des die hohen Speicherkapazität aufweisenden Speichers ist, die gleichzeitig mit dem Prozessor verbunden werden können, und einem Decodierer (31), der zwischen dem Prozessor und dem Hilfsspeicher angeordnet ist, um einen zweiten Teil (A12 - A15) aufzunehmen, der den Rest des Adressenbus bildet und die Register (RO - R15) selektiv derart adressiert, das eines der Speichersegmente in Abhängigkeit von dem Inhalt des adressierten Registers adressiert wird, und wobei der Inhalt der Register (RO - R15) des Hilfsspeichers (30) durch den Prozessor (20) geladen oder modifiziert wird, und zwar durch Adressierung eines vorbestimmten Segments (SEG.O) der Speichersegmente, das Informationsposten enthält, die sich auf diejenigen Segmente beziehen, die dem Prozessor zugeordnet werden sollen, durch Auslesen der Informationsposten auf den Datenbus (22) und durch Einschreiben der Informationsposten von dem Datenbus in den Hilfsspeicher (30) unter Erzeugung eines Signals (CS) in Abhängigkeit von einer Gruppe des ersten Teils des Adressenbus zur Freigabe des Decodierers (31). 1. Un circuit électronique pour relier un processeur (20) à une mémoire de grande capacité segmentée (21), comprenant un bus de données (DO-D7) pourvu d'un nombre défini de canaux pour transférer des données vers et à partir de ladite mémoire et un bus d'adresses pourvu d'un nombre donné de canaux pour l'adressage de ladite mémoire, les segments de mémoire (SEG-0-SEG. 255) ayant chacun une capacité telle qu'ils peuvent être directement adressés au moyen d'une première partie (AO-A11) du bus d'adresses, une mémoire auxiliaire (30) interposée entre le processeur (20) et la mémoire de grande capacité (21) et comprenant un nombre de registres (RO-R15) égal au nombre de segments de la mémoire de grande capacité et pouvant être reliés au processeur à un moment donné, et un décodeur (31) interposé entre le processeur et la mémoire auxiliaire pour recevoir une seconde partie (A12-A15) constituant le reste du bus d'adresses et adressant sélectivement les registres (RO-R15) de manière à adresser un des segments de mémoire en concordance avec les contenus du registre adressé, et où les contenus des registres (RO-R15) de la mémoire auxiliaire (30) sont chargés ou modifiés par le processeur (20) par adressage d'un segment prédéterminé (SEG.O) parmi les segments de mémoire, qui contient des éléments d'information se rapportant aux segments qui doivent être associés au processeur, par lecture desdits éléments d'information dans le bus de données (22), et par écriture desdits éléments d'information provenant du bus de données dans la mémoire auxiliaire (30) et avec génération d'un signal (CS) dépendant en partie de la première partie du bus d'adresse pour la validation du décodeur (31).
- 2An electronic circuit according to claim 1, wherein the data bus (DO-D7) has 8 bits and the address bus (A0-A15) has 16 bits by means of which 64 Kbytes of the high-capacity memory (21) can be addressed, each of the segments (SEG.0-SEG.255) having a capacity of 4 Kbytes and the first portion of the address bus comprising 12 address bits (A0-A11). 2. Elektronische Schaltung nach Anspruch 1, bei der der Datenbus (DO - D7) 8 Bits und der Adressenbus (AO - A15) 16 Bits hat, mittels derer 64 Kbytes des die hohe Speicherkapazität aufweisenden Speichers (21) adressiert werden können, wobei jedes der Segmente (SEG.O - SEG.255) eine Speicherkapazität von 4 Kbytes hat und der erste Teil des Adressen- bus 12 Adressenbits (AO - A11) aufweist. 2. Un circuit électronique selon la revendication 1, dans lequel le bus de données (DO-D7) comporte 8 bits et le bus d'adresses (A0-A15) comporte 16 bits au moyen desquels peuvent être adressés 64 k.octets de la mémoire de grande capacité (21), chacun des segments (SEG.0-SEG.255) ayant une capacité de 4 k.octets et la première partie du bus d'adresse comprenant 12 bits d'adresses (AO-A11
- 3An electronic circuit according to claim 2, wherein the auxiliary memory (30) comprises 16 registers (RO-R15), the second portion of the address bus comprises 4 address bits (A12-A15), and the decoder (31) comprises a one-of-sixteen decoder. 3. Elektronische Schaltung nach Anspruch 2, bei der der Hilfsspeicher (30) 16 Register (RO - R15), der zweite Teil des Adressen-Bus 4 Adressenbits (A12 - A15) und der Decodierer (31) einen Eins-aus-Sechzehn-Decodierer aufweist. 3. Un circuit électronique selon la revendication 2, dans lequel la mémoire auxiliaire (30) comprend 16 registres (RO-R15), la seconde partie du bus d'adresses comprend 4 bits d'adresses (A12-A15) et le décodeur (31) comprend un décodeur un-sur-seize.
- 4An electronic circuit according to claim 3, wherein the high-capacity memory (21) is subdivided into 256 segments (SEG.0-SEG.255), and each of the registers (RO-R15) comprises eight memory cells, each connected to a line of the data bus (D0-D7). 4. Elektronische Schaltung nach Anspruch 3, bei der der die hohe Speicherkapazität aufweisende Speicher (21) in 256 Segmente (SEG.-0 - SEG.255) unterteilt ist und jedes der Register RO - R15 acht Speicherzellen aufweist, die jeweils mit einer Leitung des Datenbus (DO - D7) verbunden sind. 4. Un circuit électronique selon la revendication 3, dans lequel la mémoire de grande capacité (21) est subdivisée en 256 segments (SEG.O-SEG.255) et chacun des registres (RO-R15) comprend huit cellules de mémoire qui sont chacune reliées à une ligne du bus de données (D0-D7).
- 5An electronic circuit according to any of claims 1 to 4, including a second decoder (35) coupled between the first part (24,26) of the address bus (23) and the first decoder (31) for generating the signal (CS) for enabling the first decoder (31) when writing information items into the auxiliary memory. 5. Elektronische Schaltung nach einem der Ansprüche 1 bis 4 mit einem zweiten Decodierer (35), der zwischen dem ersten Teil (24, 26) des Adressenbus (23) und dem ersten Decodierer (31) angeschlossen ist, um das Signal (CS) zur Freigabe des ersten Decodierers (31) zu erzeugen, wenn Informationsposten in den Hilfsspeicher eingeschrieben werden. 5. Un circuit électronique selon une quelconque des revendications 1 à 4, comprenant un second décodeur (35) connecté entre la première partie (24, 26) du bus d'adresses (23) et le premier décodeur (31) pour produire un signal (CS) de validation du premier décodeur (31) lors d'une écriture d'éléments d'informations dans la mémoire auxiliaire.
Independent claims5
23 paragraphs, as filed
The present invention relates to an electronic circuit for connecting a processor to a high-capacity memory in which the processor is provided with an address bus having a given width, for example 16 bits, for addressing the memory. In that way the processor can directly address a given number of bytes at a time, for example 64K, but it is desirable for it to be able to address a memory which is larger than this.
It is known from US-A-4 037 215 to provide a processor with means for connecting it to a segmented memory, in which the memory segments each have a capacity such that they can be directly addressed by means of a first portion of the address supplied by the processor. A translator or auxiliary memory is interposed between the processor and the memory and comprises a plurality of registers, subdivided into groups with each group comprising a number of registers which is equal to the number of memory segments which can be addressed at one time by the processor. In use one of the groups is selected and the registers in the selected group are addressed by a second portion of the address supplied by the processor. The registers identify which of the segments of the processor are to be addressed.
To change the segments which are addressed, a different one of the register groups can be selected. Sufficient bits are required to address the selected one of the groups of registers. The information in the registers can also be changed.
The present invention provides an improved circuit for connecting a processor to a high-capacity memory as defined in claim 1 below. Advantageous features are set out in the dependent claims.
It is thus not necessary to provide for selection bits to select a group of registers, and the whole of the address output of the processor can be used to address the memory. However, changing (or loading) the content of the registers is possible at any time by performing a simple modification sequence to read information from the predetermined memory segment.
These and other features of the invention will be clearly apparent from the following description of a preferred embodiment which is given by way of non-limiting example with reference to the accompanying drawings in which:- <ul id="ul0001" list-style="none"><li>Figure 1 is a block diagram of an electronic circuit embodying the invention, and</li><li>Figure 2 is a block diagram showing the map for addressing of the high-capacity memory of the circuit shown in Figure 1.</li></ul>
Referring to Figure 1, an electronic circuit 10 embodying the invention provides the connection between a processor 20 and a memory 21 having a high capacity, for example 1 Megabyte.
The processor 20 may be of any known type but in the embodiment described herein reference will be made to a Zilog Z80 microprocessor which comprises an 8 channel data bus 22 for bi-directional transfer of the 8 bit data (D0-D7), and a 16 channel address bus 23 for addressing the memory 21 and the devices connected thereto, by means of 16 addresses (AO-A15).
The high-capacity memory 21 (Figures 1 and 2) is connected to the processor 20 by means of the data bus 22 and is subdivided into 256 segments (SEG 0 - SEG 255), each of which has a capacity of 4 Kbytes. The memory 21 can be addressed by twenty address bits MAO-MA19, the 12 least significant of which (MAO-MA11) are connected by means of two portions 24 and 26 of the address bus 23 directly to the 12 least significant address bits (AO-A11 ) of the processor 20.
The circuit 10 further comprises a random access memory 30 (RAM) formed by 16 registers (RO-R15), each of 8 bits. The RAM 30 is associated with a first decoder 31 whose input, by means of a portion 27 of the bus 23, receives the addresses A12, A13, A14 and A15, and whose outputs are capable of enabling the registers RO-R15 one at a time.
The RAM 30 is also connected to the processor 20 by means of the data bus 22 for receiving the data DO-D7 and is capable of generating eight signals RA12-RA19 which, by means of eight corresponding NAND gates 32, generate the eight most significant address signals MA12-MA19 for the memory 21, to which they are passed by means of a bus 28.
The circuit 10 further comprises a second decoder 35 which is capable of generating an enabling signal CS for the first decoder 31 and whose input receives the addresses AO-A7 from the processor 20 and a signal WRE which is generated by an AND gate 36. The inputs of the AND gate 36 receive from the processor 20 a signal WR which is indicative of the fact that a certain item of data (DO-D7) is to be written or stored in one of the memories, and a signal IORQ which is indicative of the fact that the addresses AO-A7 are intended for an input/output unit for data input or output operations.
The NAND gates 32 are enabled by a signal RDE generated by a flip-flop 38 which has a set input connected to the output of an AND gate 39 and a reset input connected to a general reset signal RS which is also passed to the processor 20.
The AND gate 39 receives from the processor 20 the signal IORQ and a signal RD which is indicative of the fact that data are to be read from one of the memories or an input/output unit.
The mode of operation of the circuit 10 as described hereinbefore is as follows:
Initially, by means of the reset signal RS, the flip-flop 38 is reset in such a way as to put the signal RDE at level 0, and consequently all the outputs MA12-MA19 of the gates 32 at level 1. In that way the first of the segments (SEG 0) of the memory 21 is addressed, being the segment containing the items of information relating to the number of the other segments, among the total of 256, to be associated with the processor 20 in this first phase.
The processor 20 reads the items of information stored in the segment SEG 0 and "writes" in each of the registers R00-R15 of the RAM 30 the value of the sixteen memory segments 21 with which it is successively connected. For each cycle in the RAM 30, the signals WR and IORQ are brought to level 1 so that the signal WRE, going to level 1, enables the decoder 35 to generate the signal CS which in turn enables the decoder 31. The addresses A12-A15 which are combined together address one at a time the registers RO-R15 in such a way that, when the data DO-D7 arrive from the processor 20, they are stored in the addressed register.
During that writing phase, the signal RDE remains at level 0 and maintains at level 1 the outputs MA12-MA19 of the NAND gates 32.
When the processor 20 is to perform a cycle of reading the RAM 30, it brings to level 1 the signals RD and IORQ which, by means of the AND gate 39, set the flip-flop 38, sending the signal RDE to level 1. In that way, with the RAM 30 being addressed by means of the addresses A12-A15, the registers RO-R15 are read. The content of the each register RO-R15 comes out of the RAM 30 by means of the eight signals RA12-RA19 and, by way of the NAND gates 32, becomes the address code for one of the 256 segments of the high-capacity memory 21.
In that way the processor 20, with 16 bit addressing (A0-A15), manages to be connected to each cell of any one of the 16 segments of the memory 21, which were previously selected among the total of 256 segments.
At any time moreover the processor 20 is capable of changing the content of the registers RO-R15 of the RAM 30, effecting a writing cycle in the manner described hereinbefore, and thus being connected to other segments of the memory 21.
It will be clear therefore that the processor 20, while being capable of addressing only 64 Kbytes of memory 21 at a time, has the entire 1 Megabyte memory available.
An electronic circuit of the type described hereinbefore may be used in any data processing or word processing units or in electronic typewriters provided with processors.
2 sheets
Sheet 1 Sheet 2
5 priority claims, no other members on record
Priority claims5
| Document | Office | Kind | Date |
|---|---|---|---|
| 6739685 | Italy | A | |
| 6739685 | Italy | A | |
| 6739685 | Italy | – | |
| 6739685 | – | – | – |
| IT19850067396 | – | – | – |
19 legal events, as 2 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Patent expired after termination of 20 yearsExpiredPE20 | PE20 | GB | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| European patent in force as of 2002-01-01IF02 | IF02 | GB | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Fr: translation filedET | ET | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0200440
- Publication, DOCDB
- 0200440
- Publication, EPODOC
- EP0200440
- Application
- 86302947
- Application, DOCDB
- 86302947
- Application, EPODOC
- EP19860302947
Titles3
- German
- Elektronische Schaltung zur Verbindung eines Prozessors mit einem leistungsfähigen Speicher
- English
- Electronic circuit for connecting a processor to a high-capacity memory
- French
- Circuit électronique pour connecter un processeur à une mémoire de grande capacité
Classification
- CPC, 1
- G06F12/0292
- IPC, 3
- G06F12 02
- G06F12 06
- G06F13 16
Designated states3
- Contracting states, 3
- Germany
- France
- United Kingdom
