Semiconductor memory device and method for controlling semiconductor memory device

The storage device with dual memory sections and dynamic signal switching optimizes CPU cycle distribution and memory resource utilization, addressing performance issues in digital devices by reducing load and congestion, and extending equipment life cycles.

JP7567133B2Active Publication Date: 2024-10-16横山 勝憲
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020142131
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-03
Publication Date
2024-10-16
Estimated Expiration
2040-08-03

AI Technical Summary

Technical Problem

Conventional methods for improving digital device performance by adding external expansion memory or replacing HDD with SSD are insufficient to handle the rapid increase in user files and applications, leading to uneven task processing load on the CPU, signal congestion on the system bus, and financial burdens due to frequent model changes.

Method used

A storage device with a first and second memory section, utilizing multi-port cells, and a circuitry system that dynamically switches and relays address and data signals between memory sections to share CPU cycle functions, reducing load on the CPU and optimizing memory resource utilization.

Benefits of technology

The solution enhances device performance by evenly distributing CPU cycle functions, reducing signal congestion, and extending equipment life cycles while minimizing economic burdens on providers and users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007567133000008
    Figure 0007567133000008
  • Figure 0007567133000009
    Figure 0007567133000009
  • Figure 0007567133000010
    Figure 0007567133000010
Patent Text Reader

Abstract

To solve the problem of portable apparatuses that although five stages of instruction acquisition, decoding, address generation, operand acquisition and execution are performed on the CPU side and a memory unit is specialized in storage function, the CPU and apparatus capacities have reached limits due to advances in applications, which has brought about burdens of repeated development and consumption and environment problems, calling for means for persistently augmenting apparatus capacities.SOLUTION: A storage device at least includes a first and a second memory array, a first access path for selecting by an address signal, the first memory array including a second access path for selecting from multi-access cell and data signal, assuming the roles of instruction acquisition and operand acquisition. In the middle between a memory bus and the memory unit, a circuit for instruction decoding and execution and a circuit for relaying of intersections of data and address signals and physical and logical address generation are provided. Segments are constituted including a bus circuit and dynamically expanded to the bus net, memory function and five stage functions of the CPU are dynamically augmented to the address space, and memory increasing means contributes to sustainable capacity enhancements.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a storage device that has a memory function for storing data and five functions for a CPU cycle, including instruction acquisition, instruction decoding, address calculation, operand acquisition, and execution, by memory cycles for reading and writing data, on the memory side. [Background technology]

[0002] Conventionally, in the implementation of digital devices such as PCs and smartphones, the five functions of instruction acquisition, instruction decoding, address calculation, operand acquisition, and execution were concentrated on the CPU side, while the memory side was specialized in memory functions. In addition, the general division technology was to fix the core part such as the CPU to the board, and add the memory device as an expansion memory by user option. Summary of the Invention [Problem to be solved by the invention]

[0003] Digital devices such as PCs and smartphones are available in a lineup of models based on performance, In the past, the most common ways to improve device performance were to add an external memory expansion option or to replace the HDD with an SSD. However, while the previous methods could improve the throughput of the device for a while, the recent rapid increase in new applications and the increase in user files meant that the CPU's performance was insufficient, and model changes were becoming shorter. As a result, the device provider had to bear the economic burden of repeated development, and the purchaser had to bear the economic burden of replacing the entire device with a new model, as well as the resource loss caused by scrapping the old model. For this reason, it was a challenge to achieve sustainable improvements in device performance even by adding or replacing storage devices.

[0004] Furthermore, while conventional add-on memories contribute to system performance through their storage capacity and storage speed, the five stages of the CPU cycle, which are the CPU functions of obtaining instruction codes, decoding instructions, generating execution addresses, obtaining operands, and executing them, are concentrated on the CPU side. As a result, even with the recent rapid increase in new applications, the task processing load is unevenly distributed on the CPU side, causing problems such as insufficient CPU performance. For this reason, there was a challenge to share the five stages of the CPU cycle, including the storage device, and reduce the load on the CPU side.

[0005] Furthermore, in conventional memory expansion, there were problems with few user files at the beginning, and the free space became fragmented during use, resulting in unused memory resources. For this reason, a means of utilizing the free space of memory resources in a storage device to improve the current device performance was an issue.

[0006] Furthermore, the sudden increase in new applications for digital devices has led to an increase in the amount of signal traffic transmitted over the system bus between high-speed memory and the CPU, etc., causing congestion on the system bus and resulting in problems with the system's processing capacity not reaching its target. For this reason, the issue of dividing up the functions between memory and the CPU in order to reduce the amount of traffic on the system bus has become an issue.

[0007] The present invention has been made in consideration of the above problems, and its purpose is to provide a storage device means that uses an expansion method that is generally allowed as a user option to achieve continuous improvement in equipment performance and allows system performance to flexibly and dynamically track an increase in applications and fluctuations in external load, thereby aiming to extend the life cycle of equipment and reduce the economic and resource burdens on both equipment providers and purchasers.

[0008] [Means for solving the problem]

[0009] The memory section includes at least a first memory section and a second memory section. 1 The memory section has a multi-port cell,

[0010] the first memory section selects a cell by a word line that decodes an address signal, and is connected to a data bus by a first access path for reading and writing from a bit line, and further selects a cell by a selection line that decodes a data signal, and has at least one second access path specific to the multi-port cell for reading and writing;

[0011] the Mod selection unit has a circuit for selecting an operation mode of the storage device based on a value of a cell of the multiport of the first memory unit and sending a mode signal;

[0012] a route switching unit that switches between the memory bus, the second access path of the first memory unit, and the address decoder of the second memory unit and has a circuit that switches the transmission route and direction of the address signal according to a specified operation mode;

[0013] the logical address forming unit has a circuit for transmitting a logical address signal obtained by modifying and mixing an address signal with a data signal of the second access path of the first memory unit;

[0014] the coupling unit has a circuit for dividing the bit width of the address bus and coupling bits of the address signal for each division of the signal source;

[0015] a relay switching unit and an InsDec unit are provided in a path of the data signal, the relay switching unit relays at least between the memory bus, the second access path of the first memory unit, and the data port of the second memory unit, and has a circuit for switching the transmission route of the data signal in response to a mode signal;

[0016] The InsDec unit has a circuit for decoding an output of a transmission line specific to a cell of a multiport of the first memory as an instruction code in response to a mode signal, and for transmitting a decoding signal;

[0017] The transmission path to the second access path of the first memory unit has an IF unit, the IF unit has a circuit for moving data between bits and between words of the first memory unit, and is connected to at least a relay switching unit and an InsDec circuit;

[0018] The bus circuit is a relay circuit between the first memory unit and the memory bus. Switching section The signal between the AdrMdf circuit and the AdrMdf circuit is relayed by turning it on and off.

[0019] By forming a set of segments including a first memory unit, a second memory unit, a Mod selection unit, an AdrMdf circuit related to address signals and a relay switching unit related to data signals, an InsDec unit, an IF unit, and a Bus circuit, and having a means for connecting at least one or more segments with the Bus circuit, the segment unit is provided with means for performing five stages of a CPU cycle, namely, obtaining an instruction code, decoding an instruction, generating an execution address, obtaining an operand, and executing.

[0020] [Brief description of the drawings]

[0021] [Figure 1] 2 is a block configuration example of a segment. [Diagram 2] This is an example of the Mem1 array having a word structure of 16 bits. [Diagram 3] 1 is an example of a timing chart of a memory cycle. [Figure 4] 1 shows an example of a multi-port cell in a first memory section and a circuit in an IF section. [Diagram 5] 4 is a diagram showing an example of circuits of a logical address forming unit, a linking unit, and a route switching unit relating to an address signal. [Figure 6] 2 is a circuit example of a Mod selection unit, an InsDec unit, and a relay switching unit related to a data signal. [Figure 7] 13 shows an example of a control flow of a synchronization control unit when the operation mode is PrgMod, AzAMod, PzAMod, or DatMod. [Figure 8]13 is a circuit example of a ChnSel section, a ChnJun section, and a ChnCrs section related to a memory bus. [Figure 9] 13 shows an example of the arrangement of physical addresses and logical addresses of a first memory unit R0 and a second memory unit M0, and an example of a bus net topology. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] FIG. 1 of the first embodiment is a block diagram of an example of the configuration of segments that are constituent units of a storage device of the present invention.

[0023] Seg S0 is an example of a block configuration including a first memory unit R0, an IF unit R8, a second memory unit M0, a CodDec circuit D0, an AdrMdf circuit A0, a synchronization control unit F0, a bus circuit B0, and a program counter PC P0. The storage device of the present invention has at least one or more Seg S0s connected to a memory bus Q by a bus circuit B0. 0 Connect and build.

[0024] The first memory unit R0 is connected to the bus circuit B0 by a QR data bus Q4, a QR address bus Q5, and a QRSig bus Q6, and has a first access path accessed by the word line R4 and the bit line R5, and is connected to the CodDec circuit D0 by a selection signal bus D5 and a DR bus D6, and is connected to the AdrMdf circuit A0, the bus circuit B0, the CodDec circuit D0, and the synchronization control unit F0 by an RD bus D7, and has a second access path accessed by the selection signal bus D5 and the belonging line R6 via the sense amplifier unit R7 and the IF unit R8.

[0025] The AdrMdf circuit A0 is connected to the bus circuit B0 by the BA bus L5, and is connected to the first memory unit R0 and the IF unit R8 by the RD bus D7. The Mem2AdrDec M1 and the AM address bus A2 are connected to relay address signals between them. Also, the PC P0, the CodDec circuit D0 and the synchronous control unit Connected to F0 via DFAP bus A1

[0026] CodDec circuit D0 is M odIt is composed of a selection unit D1, a relay switching unit D3, and an InsDec unit D2, and is connected to the first memory unit R0 by a selection signal bus D5, a DR bus D6, and an RD bus D7, to the second memory unit M0 by a DM data bus D4, to the AdrMdf circuit A0, the synchronization control unit F0, and the PC P0 by a DFAP bus A1, and to the memory bus L0 by a BD bus L2.

[0027] M od The selection unit D1 is connected to the first memory unit R0 by an RD bus D7 in the CodDec circuit D0, and is connected to the AdrMdf circuit A0, the synchronization control unit F0, and the PC P0 by a DFAP bus A1.

[0028] The relay switching unit D3 is connected to the bus circuit B0 within the CodDec circuit D0 via the BD bus L2, to the first memory unit R0 via the IF unit R8 via the DR bus D6 and RD bus D7, and to the DatPort M2 of the second memory unit M0 via the DM data bus D4, and is positioned to relay data signals between each of them.

[0029] The InsDec unit D2 is connected to the first memory unit R0 in the CodDec circuit D0 by a selection signal bus D5 and an RD bus D7, and is connected to the synchronization control unit F0 by a DFAP bus A1.

[0030] The bus circuit B0 connects the RD bus D7 and the outer bus D1 to the first memory unit R0. SQ 1, connected to relay switching unit D3 by BD bus L2, connected to AdrMdf circuit A0 by BA bus L5, connected to synchronization control unit F0 by BF bus L3, and connected to adjacent segment Seg S0 by memory bus Q0.

[0031] The second memory unit M0 is connected to the AdrMdf circuit A0 by the AM address bus A2 for address signals, and to the relay switching unit D3 by the DM data bus D4. , It is connected via the FMSig bus F2 for RW signals and has a general memory interface access path.

[0032] The synchronous control unit F0 is connected to the Bus circuit B0 by a BF bus L3, to the second memory unit M0 by an FMSig bus F2, and to the CodDec circuit D0, the AdrMdf circuit A0, and the PC P0 by a DFAP bus A1.

[0033] The program counter PC P0 is connected to the AdrMdf circuit A0 and the synchronous control unit F0 via a DFAP bus A1.

[0034] Next, the means based on the connection of the first embodiment example will be described. Conventionally, the relationship of the address signal between the memory bus Q0 and the memory unit was a one-way relationship in which the address signal was transmitted from the memory bus Q0 to the memory unit. However, in the embodiment of the present proposal, an AdrMdf circuit A0 that relays the address signal in both directions depending on the operation mode is arranged between the memory bus Q0, the first memory unit R0, and the second memory unit M0, and has a path that sends the operand data of the first memory unit R0 or the count value of the PC P0 to the memory bus Q0 side as an address signal.

[0035] That is, it has a means for routing the address calculation steps similar to the execution address generation steps of the five steps of a CPU cycle.

[0036] In addition, in the past, the relationship of data signals was a relationship of sending and receiving between the memory bus Q0 and the memory. However, in the embodiment of the present invention, a relay switching unit D3 that relays data signals in both directions depending on the operation mode is arranged between the second memory unit M0 and the first memory unit R0, and a connection circuit is also provided that sends the output data signal of the second memory unit M0 to the first memory unit R0 without passing through the memory bus Q0.

[0037] Thus, there are five instruction fetch stages in a CPU cycle that are similar to the paths taken.

[0038] Also, the th 1 The output data signal of the memory section determines the operation mode within the segment. odIt has an RD bus D7 connection with the selection unit D1, and the determined operation mode is connected to the InsDec circuit D2 and the relay switching unit within the CodDec circuit D0, and has connections to the AdrMdf circuit A0, the synchronization control unit F0, and the DFAP bus A1 for transmitting to the PC_P0.

[0039] Furthermore, it has a connection of an RD bus D7 for transmitting the output data signal of the second memory unit M0 to an InsDec circuit D2 for decoding an instruction code depending on the operation mode.

[0040] Thus, we have a path similar to that of getting an instruction decoded at five stages in a CPU cycle.

[0041] The decoded result in the InsDec circuit D2 has a connection of a selection signal bus D5 which selects a word in the Mem1 array R3,

[0042] A DR bus D6 is connected to an IF unit R8 which moves data between bits of the input / output signals of the second access path in the selected word and between words of the first memory unit to generate an operand.

[0043] Therefore, there are five paths similar to the operand acquisition stages of a CPU cycle.

[0044] The generated operands are connected to an RD bus D7 for transmitting address signals and data signals from the IF unit R8 to the Bus circuit B0, the memory bus, the AdrMdf circuit A0, and the PC P0 according to the result of decoding the instruction code.

[0045] That is, the first embodiment is a general memory a In addition to the access means, the embodiment of the claim has a form in which the connection relationship within Seg S0 corresponds to the five-stage flow of the CPU cycle depending on the operating mode, and is connected to memory bus Q0 via Bus circuit B0.

[0046] Hereinafter, the Mem1 array R3, AdrMdf circuit F0, IF unit R8, CodDec circuit D0, and Bus circuit B0, which are in a connected relationship, will be explained.

[0047] 2 of the second embodiment shows an example of the word configuration of the Mem1 array R3, where one word is 16 bits wide.

[0048] In the following description, the word names shown in the word name columns in rows 1 to 12 of the row column in FIG. 2 will be used.

[0049] When referring to a bit in a word name quotation, a "-" is added after the word name or bit string name to indicate the bit position. When referring to the upper byte or lower byte, -E, -P, -B, and -A are used, respectively. When referring to one word, -EP and -BA are used, and when referring to two words, -EPBA is used. The meaning of each word will be explained as appropriate when quoting.

[0050] Similarly, when referring to a bus name or signal name partially or entirely, the bus name or signal name is connected with a "-". That is, when referring to the lowest 8 bits of the rAdr signal in Figure 2, it is expressed as rAdr-A, and when referring to all 32 bits, it is expressed as rAdr-EPBA. Also, when indicating that it is a tangible signal line related to a word in Mem1 array R3, it is expressed by adding "s" to the end of the word name.

[0051] Bits rMod-b15 to b14 of rMod are called bMod, and are an example of a bit string name that specifies the operation mode of the storage device of the present invention in two bits, and bit bIntReq holds the state of an interrupt request to the system.

[0052] rBuf on line 5 is a word that prefetches the opcode, depending on the operating mode.

[0053] rFch in line 6 is the word that fetches the instruction code from rBuf depending on the operating mode, and rFch-b15 is the Exc bit, which is fetched from the second access path of Mem1 array R3. RD Bus D7 fartThis bit indicates the transmission of data. rFch-b8 is an LH bit, and is an example of a bit that indicates the transmission destination of the lower 8 bits of the operand portion rFch-b7 to b0.

[0054] 3 of the third embodiment illustrates a timing chart similar to that of a general SRAM to explain the operation of the memory device of the present invention. TAdr, TCS, TOE, and TRW are synchronous signals generated from three clocks Ta, Tb, and Tc. 、 The examples are TDIO and T1 to T8. The signal names in parentheses next to the control period signal names indicate that they are similar to the timing charts of input / output signal names of conventional general SRAM memories.

[0055] In the following explanation of the synchronization signals, only the names, time domains and positioning of the signals will be explained, and their actions and functions will be explained in the explanation of the operation of each circuit.

[0056] For example, in the CodDec circuit, rBuf is the synchronous signal that is the starting point for loading and decoding the instruction code acquired in phase T5 one memory cycle ago into rFch in phase T1. In the AdrMdf circuit, the sum of the exclusive OR of rAdr-EP and rPag-EP determines the starting point for sending the bBusReq signal and the PC_ P0 This is the starting point for stopping the count.

[0057] Phase T1 is an example of the timing when rFch fetches the value of rBuf and starts outputting it.

[0058] TAdr is an example of the timing for sending and receiving an address signal to and from the address bus during the period from T1 to T8.

[0059] TCS is an example of the timing when the CS signal is received from the Sig bus during the period from T2 to T7.

[0060] TOE is an example of the timing for sending and receiving the OE signal to and from the Sig bus during the period from T3 to T6.

[0061] TRW is an example of the timing for sending and receiving the RW signal to and from the Sig bus during the period from T4 to T5.

[0062] TDIO is an example of the timing for sending and receiving data signals to and from the data bus during the period from T5 to T6.

[0063] Phase T5 is an example of the timing when rBuf prefetches the signal of DR bus D6.

[0064] The falling edge of phase T8 is an example of the timing of PC+1 count up.

[0065] FIG. 4 of the fourth embodiment shows an example in which a multi-port cell is included in the Mem1 array R3 of the present invention, an example of a connection configuration in which the multi-port cell is a flash memory cell C1, a DRAM cell C2, or an SRAM cell C3, and an example of a connection between a sense amplifier section R7 and an IF section R8.

[0066] In addition to the first access path for reading and writing using word lines and bit lines, a multi-port cell has a second access path specific to the cell, and in this embodiment, in the case of cell C1 of a flash memory, a line R6a specific to cell C1 is provided from the floating gate C11 of gate C21.

[0067] In addition, in the DRAM cell C2, in addition to the bit line R5b of the gate C22 which is made conductive by the word line R4b derived from the Mem1AdRDec R1, an embodiment is provided in which an assignment line R6b unique to the cell C2 is provided at the gate C23 which is made conductive by the selection line D5a derived from the CodDec circuit D0.

[0068] Moreover, in the SRAM cell C3, an attribute line R6c is provided at a node C13 that stores a signal value on the gate side of a driver transistor C26.

[0069] IF DepartmentThe R8 connection expression is to draw one of the lines that make up the bus to represent the connection and logic. Therefore, lines of different orders within the bus, such as address signals and data signals, also have the same connection path and logic.

[0070] A cell C1, which stores data using a floating gate such as a flash memory, is connected from its floating gate C11 to a sensor amplifier section R7 via a line R6a specific to the cell.

[0071] The cell C2, which is stored in the capacitance part of the DRAM memory, is sensed by the gate C23 of the selection line D5a through the cell-specific belonging line R6b. vinegar It is connected to amplifier section R7.

[0072] A cell C3 such as an SRAM memory that stores data in a flip-flop section is connected to a sensor amplifier section R7 by a line R6c specific to the cell from a node C13 that stores a signal value on the gate side of a driver transistor C26.

[0073] As explained above, the cell of the present invention has a line means for minimizing the number of lines R6 of the second access line specific to the cell of the multi-port section, and for writing, erasing, and reading of stored values ​​on a bit-by-bit basis on the sense amplifier section R7 side. In other words, the number of transfer gates for the second access path can be reduced, which is beneficial for increasing the density of the memory mat.

[0074] Furthermore, in the case of flash memory, erasure of stored values ​​is generally restricted to block units, and writing and reading are restricted to page units, but the present invention has a means for erasing, writing, and reading on a cell-by-cell basis, which is beneficial in utilizing flash memory to address the issue of retaining user files.

[0075] Next, the connections and means of the IF unit R8 will be described. The IF unit R8 is connected to the input selection signal bus D5 and the CodDec circuit D0 via the DR bus D6, is connected to the Mem1 array R3 via the sense amplifier unit R7 via the SI bus R9, and is connected to the Bus circuit B0, the CodDec circuit D0, and the AdrMdf circuit A0 via the RD bus D7.

[0076] The output direction of the D7-Mod line is connected to the RD bus D7. On the other hand, the input direction is connected to rMod shown in rows 1 to 4 of the Mem1 array R3 in FIG. 2 via the sense amplifier R7 and the TRI element S42. rJ It is connected to the R6 affiliation line of un, rMap-EP, and rPag-EP.

[0077] Therefore, when the IsIns signal on the input line D5-IsIns is "1", rMod and rJ The values ​​of un, rMap-EP, and rPag-EP are sent to the RD bus D7.

[0078] The R9-Buf line transmits the input signal of DR bus D6 to rBuf in row 5 of FIG. 2 when the external input IsIns signal is "1" and phase T7 is "1".

[0079] The output direction of the R9-Buf line of the SI bus R9 is connected via the sense amplifier unit R7 to the line belonging to rBuf shown in row 5 of the Mem1 array R3 in Figure 2. Also, the input direction is connected to the DR bus D6 via the TRI elements S12 and S11.

[0080] That is, the IsIns signal on the input line D5-IsIns indicating that the operating mode is non-RAMMod TIFF0007567133000002.tif11170. Therefore, the instruction code is written to the Mem1 array. R3 The memory controller 100 has a means for prefetching data on the memory.

[0081] Next, the output direction of the R9-Fch line is connected to the line R6 belonging to rFch in Fig. 2. Also, the input direction is connected to the line belonging to rBuf via the sense amplifier unit R7 and the TRI elements S21 and S22.

[0082] TIFF0007567133000003.tif15170m1 Array R3 It has a means similar to the acquisition stage of the instruction code of the CPU cycle to be fetched above.

[0083] Next, the output direction of R9-b15 to b8 lines is connected to the lines belonging to the upper 8 bits of rows 7 to 12 in Fig. 2. Also, the input direction is connected to the lines belonging to the lower 8 bits of rFch via the sense amplifier unit R7 and TRI elements S31 to S33, S35.

[0084] The output direction of the R9-b7 to b0 lines is connected to the lines belonging to the lower 8 bits of rows 7 to 12 in Fig. 2. The input direction is connected to the lines belonging to the lower 8 bits of rFch via the sense amplifier unit R7 and TRI elements S31 to S34.

[0085] That is, when the IsIns signal on the input line D5-IsIns is "1", and the phase T1 of the D5-T1 line is "1", and D5-LH is "0", it has a means for reading the value of rFch into rows 7 to 12 in Fig. 2. Therefore, it has a means for transmitting the operand portion of the instruction code onto the Mem1 array R3, which is similar to the operand acquisition stage of the CPU cycle.

[0086] Next, the output direction of the R9-Acc line is connected to the line belonging to row 12 in Fig. 2. Also, the input direction is connected to the DR bus D6 via the TRI elements S52 and S51.

[0087] That is, it has means for reading data on the DR bus D6 into rAcc when the IsIns signal on the input line D5-IsIns is "1" and the signal on the D5-Dir line is "1".

[0088] Next, the output direction of the R9-rMod-IntReq line is connected to the line to which the bIntReq bit belongs in row 1 of Figure 2. Meanwhile, the output direction of the D7-IntReq line is connected to the RD bus D7. Also, the input direction is connected to the IntReq line of the selection signal bus D5 via TRI elements S61 and S62.

[0089] That is, it has means for reading and holding a "1" signal on the IntReq line in the bIntReq bit only when the IsIns signal on the input line D5-IsIns is "1" and the IntReq signal is "1", and means for transmitting an interrupt request signal to the RD bus D7 and notifying the memory bus Q0 and synchronization control unit F0 of the occurrence of an interrupt event.

[0090] Next, the output direction of the D7-AD line is connected to the RD bus D7. Also, the input direction is the line belonging to each cell of rAdr-EP, rAdr-BA, rJmp-EP, rJmp-BA, and rDat in rows 7 to 10 of FIG. R6 via the sense amplifier section R7 and the TRI elements S41 and S43.

[0091] That is, when the IsIns signal is "1" and the Excs signal on the D5-Excs line is "1", it has means for sending an address signal to the AdrMdf circuit A0 and a data signal to the relay switching unit D3 via the RD bus D7.

[0092] The sense amplifier R7 has a unique cell-specific R6 The weak signal is compared with a reference signal, amplified, and transmitted to the output stage.

[0093] As explained in the fourth embodiment, the first memory unit R0 of the present invention has a second access path according to a selection signal from the CodDec circuit D0 in addition to a first access path for reading and writing according to an address signal, and has a means for holding and transmitting the operation mode of the Seg S0 and control parameters. Therefore, it is useful for effective use of memory resources by sharing cells.

[0094] Furthermore, the instruction code that was once read into rBuf in phase T7 is fetched into rFch in phase T1 and sent to InsDec unit D2. That is, it has means that corresponds to the acquisition stage of the instruction code in the CPU cycle.

[0095] Furthermore, it has a means equivalent to the operand acquisition stage, which is therefore useful for reducing the load on the CPU.

[0096] Furthermore, a multi-port cell can also read and write data from the first access path, i.e., it has a means for transmitting write operations from other than the Seg S0 to the second access path, which is beneficial for reducing the load on the CPU through cooperation between the CPU and Seg S0. [Prior art documents] [Patent documents]

[0097] [Patent documents] Special table 2016-531433

[0098] For a dual-port SRAM cell, the above-mentioned prior art document proposes a method of providing dual transfer gates.

[0099] FIG. 5 of the fifth embodiment shows the address signal Logical address formation section 13 is a circuit example of an AdrMdf circuit A0 that is configured with a connection unit and a route switching unit.

[0100] In the diagram, the lines that make up the bus are drawn to represent the connections and logic. Therefore, lines of different orders within the bus also have the same connection paths and logic.

[0101] In the connection example, the input end is connected via the DFAP bus A1 to the mode signal lines of PrgMod, AzAMod, PzAMod, DatMod, and RAMMod of the Mod selection unit D1, and to the PC-BA signal of the program counter P0, via the RD bus D7 to the 8-bit wide rAdr-E and rAdr-P of the Mem1 array R3, the 16-bit wide rAdr-BA, the 8 bits of rPag-P, and the 8-bit output of rMap-P via the IF unit R8, and then connected to the address bus of the memory bus L0 by the BA bus L5.

[0102] The input / output terminal is the BA bus L5, which is connected to the memory bus L0, the 8-bit bus AdrBus-P for address signals, and the 16-bit bus AdrBus-BA.

[0103] The output terminal is connected to the memory bus L0 and the 8-bit AdrBus-E signal of the address signal at the BA bus L5, and the Mem2Ad r It is connected to the upper 8 bits of Dec M1, AdrDec-P, and the lower 16 bits, AdrDec-BA.

[0104] Next, the operation and means of each part will be described. In the logical address forming part, when PrgMod, AzAMod, and PzAMod, the OR gate A10 and the TRI gate A29 are conductive, and the signal of rPag-Ps derived from the Mem1 array R3 is transferred to Mem2Ad r The upper 8 bits of Dec M1 are transmitted to AdrDec-P.

[0105] That is, the storage device of the present invention has a means for dynamically providing the value of rPag-Ps to the second memory unit M0. Therefore, the storage device of the present invention has a means for addressing multiple second memory units M0 with the same logical address in parallel, which is useful for increasing the speed by parallel processing in order to improve the throughput.

[0106] In the case of DatMod, when the bit value of the memory array rMap-Ps is "1", the address signal AdrBus-P from the BA bus L5 is sent via the TRI element A42, while when it is "0", the inverted signal is sent via the INV element A40 and the TRI element A41 through the TRI elements A30 and A31. r The AdrBus-BA signal is also transmitted to the Ad r Transmit to Dec-BA.

[0107] That is, at the time of DatMod, the logical address formation unit has means for dynamically giving a plurality of logical addresses to the second memory unit M0 depending on the bit position modified by rMap-Ps.

[0108] As described above, the logical address forming unit has a means for transmitting a logical address signal obtained by modifying and mixing an address signal with a data signal of the second access path of the first memory unit, and a physical address signal.

[0109] In other words, it has the advantage that it can dynamically multiplex logical addresses to place multiple memory arrays on the same address using software, facilitating parallel memory access, and that it can easily expand the word size for each address area.

[0110] Therefore, this is useful for addressing the conventional problem of increased load due to diversification of applications, by enabling a non-simplex memory system to keep up with the throughput and word size.

[0111] Furthermore, in the event of an unexpected memory error, a method of recovery using a normal address in the second memory section M0 and multi-systemization become easier, which is also beneficial in improving reliability.

[0112] Furthermore, it becomes easy to reorganize memory area fragments and unused portions in the address space into continuous free areas using logical addresses, which is beneficial in making better use of free memory resources, which has been an issue.

[0113] Next, the circuit example of the address signal connection part is as follows: When the operation mode is PrgMod, AzAMod, or PzAMod toward the AM address bus A2 on the Mem2AdrDec M1 side, the OR element A10 becomes "1", the TRI elements A27 to A29 are conductive, and the signal rPag-Ps is transmitted to the AdrDec-P, and the Ad r The lower 16 bits of PC P0 of the program counter, PCBA, are transmitted to Dec-BA.

[0114] That is, it has means for changing the second memory unit M0 into a logical address page and addressing the inside of the page with the count signal of PCP0.

[0115] Also, when the operating mode is DatMod, the TRI elements A30 to A32 are conductive, and Ad r The signal of AdrBus-P that has passed bit modification is transmitted to Dec-P, and the signal of AdrBus-BA is transmitted to AdrDec-BA.

[0116] That is, it has means for moving the second memory section M0 to a page of a logical address and addressing it with an address signal on the AM address bus A2.

[0117] Also, when the operating mode is RAMMod, TRI elements A24 and A25 are conductive, and Ad r The AdrBus-P signal is transmitted to Dec-P, and the AdrBus-BA signal is transmitted to AdrDec-BA.

[0118] That is, like a general-purpose memory, it has means for addressing with an address signal on the BA bus L5.

[0119] The connection unit has a circuit for dividing the bit width of the address bus and linking bits of the address signal for each division of the signal source as described above, and has means for accessing the memory.

[0120] Therefore, the connection section is useful for utilizing memory resources by segmenting the second memory section M0 for each operation mode.

[0121] Next, in the circuit example of the route switching unit, when the operating mode is PrgMod, AzAMod, or PzAMod, the OR element A10 is "1" and the TRI elements A20 and A21 are conductive, transmitting the rAdr-Es signal to AdrBus-E and the rAdr-Ps signal to AdrBus-P toward the BA bus L5 on the Bus circuit B0 side.

[0122] Also, in the case of PrgMod, the TRI element A22 becomes conductive and transmits the signal of rAdr-BAs to AdrBus-BA.

[0123] That is, Mem1 has a means for addressing the address space based on the operand value in storage array R3.

[0124] Also, in the case of AzAMod, the TRI element A26 becomes conductive and transmits the signal of PCBA to AdrBus-BA.

[0125] That is, it has a means for sequentially addressing within a page.

[0126] Also, when PzAMod is selected, the TRI element A23 is conductive, and the AdrBus-BA and rAdr-BA s Transmits the signal.

[0127] That is, it has means for addressing a fixed address and for continuous addressing within a page.

[0128] That is, the route switching unit is a memory bus Q0 and the first memory section R0 a second access path for the second memory unit; M0 Address Decoder M1 and has means for switching the transmission route and reception / transmission of the address signal according to the designated operation mode.

[0129] Next, the function of each operation mode will be explained. In the example of the operation mode of PrgMod, the second memory M0 of the relevant Seg S0 is sequentially addressed by an address signal that combines the bit value of rPag-P and the bit value of PCBA, while the signal rAdr-EPBA is sent to the Bus circuit B0.

[0130] That is, it has means for addressing to obtain an instruction code and for addressing to transmit and receive data, which is useful for reducing the load at the instruction acquisition stage and the operand acquisition stage of the CPU cycle.

[0131] Next, an example of an operation mode of PzAMod is an example of transmitting and receiving an address between a fixed address and a memory area, and has a means for dynamically setting the value of Mem1 array R3.

[0132] Next, an example of an operation mode of AzAMod is an example of sending and receiving addresses between memory areas, and has a means for dynamically setting the value of Mem1 array R3.

[0133] In other words, it has a means similar to a DMAC, and is therefore useful for addressing the issue of permanently improving device performance and reducing the load on the CPU due to data transfer.

[0134] Next, an example of an operation mode of DatMod is a mode in which the second memory of the Seg is also accessed by a logical address.

[0135] Next, an example of an operation mode of RAMMod is an operation mode in which it can be addressed as a general-purpose memory.

[0136] The AdrMdf circuit A0 relays between the BA bus L5 and has means for dynamically switching the transmission of operands of the Mem1 array R3 as well as receiving address signals.

[0137] That is, the present invention has a means for generating execution addresses within the five stages of a CPU cycle, which was a problem in the past, and is therefore useful for reducing the load on the CPU.

[0138] Furthermore, the storage device of the present invention can be used interchangeably between operation modes, which is beneficial in terms of the utilization of memory resources, which has been an issue.

[0139] FIG. 6 shows a sixth embodiment of the present invention. The sixth embodiment is a CodDec circuit D0 and a Mod selection unit D1. relay This is an example consisting of a switching section D3 and an InsDec section D2.

[0140] In the example of the instruction code of rFch in Figure 2 mentioned above, b15 of rFch is the bExc bit which indicates execution, b14 is the bRed bit which indicates read / write, b13 to b12 are empty bits, b11 to b8 are the code section, and b7 to b0 are the operand section. The bExc bit is an example which indicates transmission from Mem1 array R3 to Bus B0 via RD bus D7, and the bRed bit, together with the externally input RW signal, generates the Dir signal in Seg S0 in the synchronization control unit F0.

[0141] 2, the input lines rMod-b15s to b14s are connected to the outputs of bits b15 and b14 of rMod in the Mem1 array R3 via the IF unit R8 and the RD bus D7. Also, the external input IsIns signal is connected to the synchronization control circuit F0 via the DFAP bus A1.

[0142] The output lines are connected to the relay switching unit D3 and the InsDec unit D2. The lines of the Mod signals RAMMod, PrgMod, AzAMod, PzAMod, and DatMod, which indicate the operating mode, are connected to the AdrMdf circuit A0 and the program counter PC P0 via the DFAP bus A1.

[0143] The input terminals rFch-b11 to b8 of the InsDec section D2 are connected to the output terminals of the corresponding cells of the Mem1 array R3 via the RD bus D7.

[0144] The output terminal is the output terminal of the 4-16 decoder D27, and is connected via a selection signal bus D5 to the selection line of the corresponding cell array of the Mem1 array R3 at the IF unit R8, and to the synchronization control unit F0 via the DFAP bus A1.

[0145] The input of the relay switching unit D3 is connected to the Mod selection unit D1, and the Dir signal of the RW signal system is connected to the synchronization control unit F0 via the DFAP bus A1. For input / output, the data transmission BD bus L2 is connected to the Bus circuit B0, and the DM data bus D4 is connected to the DatPortM2. The output is the data transmission DR bus D6, which is connected to the input of rBufs via the IF unit R8.

[0146] Next, the means of the CodDec circuit D0 will be described. D1 IsIn TIFF0007567133000004.tif15170 and sends one of the mode signals PrgMod, AzAMod, PzAMod, and DatMod to the DFAP bus A1. Also, a selection signal for PrgMod is sent to the relay switching unit D3. Also, an OR element D15 sends a selection signal for PrgMod, AzAMod, or PzAMod to the InsDec circuit D2.

[0147] When the PrgMod signal is "1", the TRI element D31 of the relay switching unit D3 becomes conductive, and the output data of the second memory unit M0 of the DM data bus D4 is conducted to the rBuf side of the DR bus D6.

[0148] That is, it has a means for transmitting the instruction code of the second memory unit M0 to rBuf of the Mem1 array R3.

[0149] Furthermore, when the Dir signal is "1", the TRI gate D32 is made conductive by the AND gate D38, and the data signal of the BD bus L2 is conducted to rAcc.

[0150] That is, when the instruction code is a read instruction, it has means for transmitting data read from the target memory to rAcc.

[0151] The TIFF0007567133000005.tif11170rDats signal is conducted to BD bus L2.

[0152] Next, when the PrgMod signal is "0" and the Dir signal is "1", the AND gate D40 causes the TRI gate D34 to conduct, and the data signal on the BD bus L2 is conducted to the DM data bus D4.

[0153] That is, it has means for transmitting a data signal from the bus circuit B0 to the second memory section M0.

[0154] On the other hand, when the Dir signal is "0", the AND gate D41 causes the TRI gate D35 to conduct, and the data signal on the DM data bus D4 is conducted to the BD bus L2.

[0155] That is, it has a means for transmitting a data signal from the second memory unit M0 to the bus circuit B0 side.

[0156] Next, in the InsDec section D2, when the operation mode is PrgMod, AzAMod, or PzAMod, the values ​​of rFch-b11 to rFch-b8 of the RD bus D7 are decoded by a 4-16 decoder element D27 and a "1" signal is sent to the corresponding line of the selection signal bus D5.

[0157] That is, it decodes the instruction code and sends a selection signal to the first memory unit R0.

[0158] Also, the instruction code rFch-b14 is sent as an Excs signal, and rFch-b13 is sent as an RWs signal to the selection signal bus D5.

[0159] As described above in the sixth embodiment example, the operating mode PrgMod is an example mode in which the data string stored in the second memory unit M0 is decoded as an instruction code by the CodDec circuit D0, and a program is executed in the memory cycle within Seg S0.

[0160] AzAMod is an example of a mode in which data in block units in the second memory unit M0 is written to or read from another Seg.

[0161] PzAMod is an example of a mode in which data in block units in the second memory unit M0 is written to or read from a specific address in another Seg.

[0162] In RAMMod, the first memory unit R0 and the second memory unit M0 are general-purpose memories, and address signals, data signals, and CS signals are transmitted between the memory bus. 、 This is an example of a general memory mode accessed using the RW Sig signal.

[0163] DatMod is an example of a mode in which, when the storage device of the present invention is not RAMMod, the second memory unit M0 can be accessed in SegS0 units in the same manner as RAMMod.

[0164] As explained above, the CodDec circuit D0 has a means for transmitting data from the second memory unit M0 to the first memory unit R0 and from the first memory unit R0 to the Bus circuit B0 in accordance with the operation mode of the Mod selection unit D1 through the relay switching unit D3, and the InsDec unit D2 has a means for decoding and executing the instruction code transmitted to the first memory unit R0. That is, it has a means for performing five steps similar to the CPU cycle of obtaining an instruction code, decoding an instruction, generating an execution address, obtaining an operand, and executing, in a read / write memory cycle. Therefore, it is useful for reducing the CPU load, which has been an issue.

[0165] Furthermore, the instruction code and operands are acquired through the internal DM data buses D4 and D5 between the adjacent Mem2 and Mem1 arrays. R This can be done via the RD bus D6 and RD bus D7. Therefore, in order to reduce congestion, which has been an issue, the amount of data transmitted on the system bus between the memory and the CPU and the memory bus Q0 can be reduced, which is beneficial.

[0166] Furthermore, since the CodDec circuit D0 uses the parameters of the multi-port cells of the Mem1 array R3, including rFch, it can be rewritten from outside the Seg depending on the operating mode. In other words, while instruction codes and data were previously mixed on the data bus, this proposal has a means for selecting the mainstream flow of instruction codes or data, and a means for selecting whether to place instruction codes or data in the second memory section M0. Therefore, this is useful for solving the problem of bus congestion and the problem of diversifying user applications.

[0167] Furthermore, in the case of PzAMod and AzAMod, it is possible to repeatedly execute the instruction while the instruction code of rFch is not rewritten. In other words, if the instruction code is used as a transfer execution instruction, it is possible to transfer data from the second memory unit M0 to a specific address in the system, or to perform a DMA transfer to another memory area. Therefore, it is useful for reducing the load on the dedicated IC for DMA transfer and the CPU.

[0168] FIG. 7 of the seventh embodiment is a diagram showing an example of the control flow of the synchronization control unit F0 along the timing of FIG.

[0169] In step F01, the AdrMdf circuit A0 is operated according to the operation mode determined by the Mod selection section D1.

[0170] If the operation mode is PrgMod in step F02, go to step F11, and AzAMod and P If the value is zAMod, the control flow branches to F12; if the value is DatMod, the control flow branches to branch 6.

[0171] In step F11, the instruction code is fetched from rBuf to rFch in phase T1 according to IF part R8.

[0172] In step F12, the instruction code of rFch is decoded by the InsDec section D2.

[0173] In step F13, when rFch is a transfer command, if the LH signal of rFch-b8 is "1", the lower byte is transferred to the lower byte, and if it is "0", the lower byte is transferred to the upper byte, and the operand is obtained in the Mem1 array.

[0174] In step F14, an interrupt request state is issued by the synchronization control unit F0. If the rAdr-EP value does not match the rPag-EP value, the IntReq bit is set and an interrupt request signal is sent to the Sig bus.

[0175] At step F15, when Excs of the InsDec circuit D2 is "0", the IF section R8 tri-states the D7-AD bus.

[0176] When Excs is "1" in step F16, IF section R8 of An address signal is sent to the D7-AD bus.

[0177] step F In 21, the synchronization control unit F0 controls the CS and RW system signals by enabling the CS signal of the second memory unit of the SegS0 if the values ​​of the AdrEP signal on the address bus and rPag-EP match, and disabling it if they do not match.

[0178] In step F31, the synchronization control unit F0 branches the control flow according to the value of the access instruction bit RWs.

[0179] In step F32, the synchronization control unit F0 sends an enable TOE signal.

[0180] In step F41, the synchronization control unit F0 sends a DIR signal, which is an inversion of the value of RWs, to the IF unit R8.

[0181] In step F51, the instruction code is prefetched into rBuf in phase T5 according to IF unit R8.

[0182] In step F52, the read data is acquired from the relay switching unit D3 to rAcc by the IF unit R8.

[0183] In step F42, the synchronization control unit F0 sends a signal of the RWs value to the Sig bus.

[0184] At step F53, the rDat signal is generated by the IF unit R8. of Send.

[0185] In step F71, the synchronization control unit F0 compares the bits of rAcc and rCcf, and if they match, loads the value of rJmp-BA into PC-PA.

[0186] In step F72, the synchronization control unit F0 counts the PC.

[0187] At step F73, the synchronization control unit F0 judges the overflow bit PCOv of the PC and branches the control flow.

[0188] In step F81, the synchronization control unit F0 stops the counting of the PC and sends an interrupt request signal to the Sig bus.

[0189] At step F82, PC P0 b If the PCStt bit is set to "1" to stop, the system waits until a start condition is met. b If the PCStt bit is "0", the flow returns to the beginning.

[0190] Stage F 02 If the operation mode is DatMod, the process of step F21 is carried out.

[0191] In step F22, the second memory unit M0 accesses the general-purpose memory via the address bus of L5 and the data bus of L2, and the flow returns to the beginning.

[0192] FIG. 8 of the eighth embodiment shows an example of the circuit of the Bus circuit B0. In the representation in Figure 8, the lines that make up the bus are used to represent the connection and logic of one of the lines. Therefore, the address bus, data bus, Memory control of A similar example is the connection paths and logic of the bus lines.

[0193] The memory bus Q0 is configured with three channels: an outer bus Q1, which serves as a transmission path between an external device or an adjacent Seg S0 and the outer ring, and inner buses Q2 and Q3, which serve as transmission paths between Seg S0 of the segment.

[0194] The bus width of the external bus Q1 is 57 bits, with the address bus being 32 bits wide, the data bus being 16 bits, and the CS 、 This is an example where the Sig bus for RW signals is 9 bits.

[0195] The bus width of the inner bus Q2 and Q3 is rAdr - In this example, the bus is configured with a width of 24 bits excluding the 8-bit width of E, the data bus is configured with a width of 16 bits, and the Sig bus is configured with a width of 4 bits.

[0196] In FIG. 8, the circuit configuration for the memory bus Q0 is as follows: Make the transmission path between Seg S0 and its adjacent Segs conductive or non-conductive Channel connection circuit section Make the transmission paths between B3, B5, the outer bus Q1, the inner bus Q2, Q3 and the inner part of the relevant Seg S0 conductive or non-conductive. Channel Selection Circuit Make the transmission path between the lines constituting part B4 and the internal buses Q2 and Q3 conductive or non-conductive. Cross-connect circuit This is an embodiment example configured with part B2.

[0197] Also, columns 1-2 in FIG. 2 show when the IsIns signal is “1”, s times road B0 In the example of the Mem1 array R3 bit related to the control of rMod S el 3 Bits and rJ Un 6 This is an example having bits.

[0198] Next, the connections are explained. External bus Q1 is connected to the external bus of the adjacent Seg to form a storage device.

[0199] Inner bus Q2 is connected to inner bus Q2 of the adjacent Seg, and inner bus Q3 is also connected to inner bus Q3 of the adjacent Seg.

[0200] The bidirectional bus of the external bus Q1 is connected to the first memory unit R0.

[0201] The bidirectional bus of the memory bus L0 is connected to the CodDec circuit D0, the AdrMdf circuit A0, and the synchronization control unit F0.

[0202] The input rSel-b10s to b8s is connected to the RD bus D7 and the IF section R8. rS Connected to the outputs of el-b10~b8.

[0203] Input rJ un-b11s~b8s are connected to the RD bus D7 and the IF section R8. rJ Connected to outputs of unb11~b8.

[0204] Next, an example of the circuit configuration of each section will be described. Channel Selection Circuit The section B4 is made up of TRI elements B41 to B46 which make the signals of the transmission paths between the memory bus L0 and the line Q11 belonging to the outer bus Q1 and the lines B14 and B17 belonging to the inner buses Q2 and Q3 conductive or non-conductive depending on the values ​​of rSel-b10 to rSel-b8.

[0205] Channel Connection Circuit Segs B3 and B5 are made up of TRI elements B31 to B34 and B51 to B54 that make the signal on the transmission path between adjacent Seg S0 and the adjacent Seg S0 conductive or non-conductive depending on the values ​​of rJun-b11 to rJun-b8.

[0206] Cross-connect circuit Part B2 is made up of TRI elements B21 and B22 that make signals conductive or non-conductive between internal buses Q2 and Q3 depending on the values ​​of rJun-b0 and rJun-b1.

[0207] Next, the operations and means according to the above embodiment will be described.

[0208] The bidirectional transmission path between the external bus line Q11 of the ChnSel section B4 and the memory bus L0 is TIFF0007567133000006.tif11170 is conductive, and between the external bus Q1, the AdrMdf circuit A0 transmits the Adr signal, the CodDec circuit D0 transmits the data signal, and the synchronous control unit F0 transmits the CS 、 The transmission path for the RW system Sig signal becomes conductive.

[0209] Similarly, the internal bus Q2 is connected to the memory bus L0 when rSel-b9 is "1", and the internal bus Q3 is connected to the memory bus L0 when rSel-b8 is "1".

[0210] As explained above in the eighth embodiment, the device has a means for dynamically connecting or disconnecting the connection between the memory bus L0 and the buses in which the memory bus Q0 is hierarchically organized into outer bus Q1, inner buses Q2, and Q3, depending on the value of the bit string bSel in the Mem1 array R3.

[0211] The bidirectional transmission line of the line B14 of the ChnJun section _B3 is the rJun Conduction is achieved through TIFF0007567133000007.tif11170un-b9.

[0212] Channel Connection Circuit Similarly, part B5 is conductive via rJun-b10 and rJun-b8.

[0213] End 、J The un unit has means for dynamically connecting or disconnecting the transmission paths to the internal buses 1 and 2 of the adjacent Segs depending on the value of the bit string rJun in the Mem1 array R3.

[0214] That is, it has a means for making the signal propagation between adjacent Segs wider by making it conductive, or narrowing it by making it non-conductive.

[0215] Cross-connect circuit Between the line B14 and the line B17 of the part B2, when rJun-b0 is "1", the TRI element B21 becomes conductive and transmits a signal from the line B17 to the line B14.

[0216] Similarly, when rJun-b1 is "1", TRI element B22 is conductive and transmits a signal from line B14 to line B17.

[0217] That is, it has means for crossing channels and for bypassing or dropping signals depending on the value of rJun.

[0218] As explained above, the bus circuit B0 Chn The Jun sections B3 and B5 can link or close the signal path with the adjacent Seg channel, the ChnCrs section B2 can bypass or branch the channel, and the ChnSel section B5 has a means for dynamically setting the transmission route between the channel and the Seg internal circuit section by rewriting the values ​​in the Mem1 array.

[0219] In other words, the above means provides the ability to dynamically combine the connection topology between segments to a star type, a bus type, etc., and the distributed and centralized processing types. This is therefore useful in reducing the amount of traffic on the system bus and memory bus, which has been an issue.

[0220] Furthermore, in a typical memory, one memory cycle time per storage device is limited to one read or write operation, whereas in the storage device of the present invention, reading and writing are possible within a narrowed Seg group, which is beneficial for reducing signal congestion on the system bus and improving throughput.

[0221] FIG. 9 of the ninth embodiment shows an example of the layout relationship in the address space when a plurality of Seg S0s of the present invention are linked together.

[0222] The example of layout surrounded by dashed line Z1 represents an example of layout on physical addresses, in which the first memory unit R0 of Seg S0 is arranged on a continuous physical address space across multiple segments, and similarly, the second memory unit M0 is also arranged on a continuous physical address space.

[0223] That is, since the first memory section R0 has a small number of words, the words are arranged in consecutive addresses and fit into page boundaries, making it easier for the system to grasp the address of the first memory section R0.

[0224] In addition, in the case of RAMMod, each segment Seg S0 is arranged in a continuous address space.

[0225] The example of arrangement enclosed by the dashed line Z2 is an example of a network topology in which discrete logical addresses are given to the second memory unit M0 via the AdrMdf circuit A0, and the memory units are arranged on a bus net via the bus circuit B0.

[0226] The dashed lines Y1 and Y3 are connected in a bus or line configuration by an internal bus Q2, and represent an example in which the second memory unit M0 of Seg2 accesses data in DatMod of the second memory unit M0 of Seg0 with PrgMod.

[0227] The dashed line portion Y3 is connected to Y5 and Y7 in a star or tree configuration by the internal bus Q2 and the internal bus Q3, and Seg5 represents an example in which the second memory unit M0 moves to the same logical address as the second memory unit M0 in Seg4, and the operating modes are AzAMod and PzAMod, respectively, and Seg2 is a centralized type.

[0228] The dashed line Y4 represents an example in which the second memory unit M0 of Seg3 is moved to the same logical address as the second memory unit M0 of Seg2, and each is set to the operation mode PrgMod. This is useful for improving throughput in a distributed system and improving reliability in multi-processing.

[0229] The dashed line Y2 indicates that the second memory unit M0 of Seg1 is 0 This shows an example in which the data is moved to the same logical address as the second memory unit M0 of the first memory unit M1. This is useful for improving reliability by word expansion or multiplication for the system bus.

[0230] Although the buses are shown spatially divided in FIGS. 1 to 9, the buses may also be configured to be divided temporally. [Explanation of symbols]

[0231] A0...AdrMdf circuit, A1...DFAP bus, A10...OR element, A2...AM address bus, A20~A29 and A31~A32...TRI elements, A40, A43...NOT elements, A41, A42...TRI elements, AdrBus-BA...bus of the lower 16 bits of the address bus, AdrBus-E...bus of the upper 8 bits of the upper 16 bits of the address bus, AdrBus-P...bus of the lower 8 bits of the upper 16 bits of the address bus, AdrDec-BA...bus of the lower 16 bits of the 24 bits of the address decoder, AdrDec-P...bus of the page part of the upper 8 bits of the 24 bits of the address decoder, AzAMod...signal line of AzAMod, B0...Bus circuit, B14...inner line 1, B17...inner line 2, B2 ...JunCrs section, B21-B22 and B31-B34 and B41-B46 and B51-B5...TRI element, B3...ChnJun section 1, B4...ChnSel section, B5...ChnJun section 2, C1...floating type cell, C21...floating gate, C12...capacitance, C2...capacitive type cell, C21...control gate, C22-C25...transfer gate, C26...drive gate, C3...latch type cell, C31...source line, D0...CodDec circuit, D1...Mod selection section, D11...NOT element, D12-D13...AND element, D14...2-4 decoder, D15...OR element, D2...InsDec section, D21-D26...AND element, D3...relay switching section, D31-D35... With TRI element Tri-state element Generic term for, D36~D37...NOT elements, D38~D41...AND elements, D4...DM data bus, D5...selection signal bus, D5a...selection line, D5-Dir...Dir signal line, D5-Exc...Exc signal line, D5-IntReq...interrupt signal line, D5-IsIns...IsIns signal line, D5-LH...LH signal line that specifies the transfer destination of the lower 8 bits of rFch to the upper or lower byte, D5-T1...phase T1 signal line, D5-T7...phase T7 signal line, D6...DR bus, D7-Mod...Mod signal line, D7...RD bus, DatMod...DatMod signal line, F0...synchronous control unit, F2...FMSig bus, IsIns...IsIns signal line, L0...memory bus, L1...branching unit, L2...BD bus, L3...BF bus, L4...branching unit, L5...BA bus, M0...second memory unit, M1...Mem2AdrDec, M2...DatPort, M3...Mem2 array, M4...word line, M5...bit line, P0... It is a PC, Program Counter Generic term for , PrgMod...PrgMod signal line, PzAMod...PzAMod signal line, Q0...memory bus, Q1...external bus 1, Q11...external line, Q2...internal bus 1, Q3...internal bus 2, Q4...QR data bus, Q5...QR address bus, Q6...QRSig bus, R0...First memory section, R1...Mem1AdrDec, R2...Mem1IO, R3...Mem1 array, R4...word line, R4-1~R4-3...word line, R4a~R4c...word line, R5...bit line, R5a~R5d...bit line, R6...belonging line, R6a~R6c...belonging line, R6-Acc...rAcc signal line, R7...sense amplifier section, R8...IF section, R9...SI bus, R9-AD...rAdr-EPBA, rJmpBA and rD at-BA bus, R9-b15~b8...rAdrE, rAdr-B, rJmpB, rCcf-B, and rAccB signal lines, R9-b7~b0...rAdrP, rAdr-A, rJmpA, rCcf-A, and rAccA signal lines, R9-Buf...rBuf signal line, R9-Fch...rFch signal line, R9-IntReq...R9-IntReq signal line, R9-rMod-IntReq...IntReq signal line, rAdr-BA...Mem1 distribution Address signal bus derived from rAdr-B and rAdr-A in column R3, rAdr-E...Mem1 bus of address signals derived from rAdr-E in array R3, rAdr-P...Mem1 bus of address signals derived from rAdr-P in array R3, RAMMods...RAMMod signal lines, rFch-b11s~b8s...rFch-b11s~b8s signal lines, rJun-b0s~b11s...rJun-b0s~b11 signal lines, rMap-P...Mem1 Address signal bus derived from rAdr-P of array R3, rMod-b15s~b14s...signal lines of rMod-b15~b14, rPag-P...Mem1 bus of address signals derived from rAdr-P of array R3, rSel-b8s~b10s...signal lines of rSel-b8~b10, S0...segment, S11~S12, S21~S22, S31~S35, S41~S43, S51~S52, S61~S62...TRI element, S71...NOT element.

Claims

1. A semiconductor memory device having at least a memory section having a first memory section and a second memory section, a CodDec circuit, and an AdrMdf circuit, wherein the first memory section and the second memory section each have an address decoder section, an IO port, and a cell array of memory elements, the cell array having word lines for selecting rows of the cell array with an address signal, and shared bit lines in a column direction between words, the bit lines forming a first access path for inputting and outputting to the IO port, the cell array of the first memory section further having an affiliation line specific to each cell, which serves as a transmission path for a signal level of the cell, and a selection line connected to a gate of a transfer gate of each cell, and configured as a multi-port cell array in which one cell can be selected by either a combination of a word line and a bit line, or a combination of a selection line and an affiliation line,The first memory unit also has a sense amplifier unit that amplifies the signal level of the line to which it belongs, and an IF unit, and has a transfer gate of the cell on a path from the cell to the sense amplifier unit, and the IF unit functions as a function of transferring data between the cells of the multi-port and as a second access path for inputting and outputting data without passing through the IO port of the first memory unit. The CodDec circuit has a Mod selection unit, a relay switching unit, and an InsDec unit, and the Mod selection unit has a decoder and functions to send a mode signal that decodes the value of the cell of the multi-port. In response to the mode signal, the relay switching unit relays crossings of data signals between a memory bus, the IF unit of the first memory unit, and the IO port of the second memory unit, and functions to switch the transmission route and direction. The InsDec unit decodes the output of the IF unit of the first memory unit as an instruction code, and the selection The AdrMdf circuit is configured with a route switching unit, a logical address forming unit, and a connecting unit, and the route switching unit functions to relay an address signal between the memory bus, the second access path of the first memory unit, and the address decoder of the second memory unit, and to switch the transmission route and direction of the address signal depending on the value of the cell of the multiport, the logical address forming unit functions to transmit a logical address signal by modifying and mixing the address signal with the data signal of the second access path of the first memory unit, and the connecting unit functions to connect bits of the address signal for each division of the address signal source, and the semiconductor memory device is characterized in that a segment is formed by a set including the first memory unit, the second memory unit, the CodDec circuit, the AdrMdf circuit, and the memory bus.

2. The memory bus is a bus circuit that is made up of a ChnSel section, a ChnCrs section, and a ChnJun section, and the memory bus of the bus circuit is made up of at least an inner bus and an outer bus that are made up of address signals, data signals, and memory control signals, and the number of channels, which indicates the number of inner buses, is at least one channel, and the ChnSel section transmits signals between the inner bus and the CodDec circuit and the AdrMdf circuit of the segment.

2. A semiconductor memory device as claimed in claim 1, characterized in that the ChnCrs section makes the transmission of signals between the channels of the internal bus of adjacent segments conductive or non-conductive, the ChnJun section makes the transmission of signals between the channels of the internal bus of adjacent segments conductive or non-conductive, and the conduction or non-conduction of transmission of the ChnSel section, ChnCrs section, and ChnJun section function to be dynamically switched depending on the value of a cell of a multi-port of the first memory section.

3. A control method executed by the semiconductor memory device of claim 1, comprising the steps of: command acquisition for writing an instruction word to the cell array of the multiport; causing the InsDec unit to decode an instruction code portion of the acquired instruction word; causing the IF unit to transfer an operand portion of the instruction to the multiport cell array of the first memory unit; operand acquisition for organizing an address operand and a data operand into the cell array of the multiport; address generation with the AdrMdf circuit; and depending on a value of a bit instructing execution of an instruction in the instruction word, a value of the multi-access cell array of the first memory unit is transmitted to the memory bus by the AdrMdf circuit between the IF unit and the memory bus, whereby the value of the address operand is transmitted as an address signal, the value of the data operand is transmitted as a data signal in the relay switching unit, and the value of a bit instructing read / write in the instruction word is transmitted as a read / write signal, thereby executing the instruction word, and the cycle of command acquisition, decoding, address generation, operand acquisition, and execution is performed in a memory cycle.

Citation Information

Patent Citations

  • Memory extending method

    JP1993233519A

  • Semiconductor storage device and manufacture thereof

    JP1993243522A

  • Memory, circuit, and memory cell for color look-up table

    JP1993265421A

  • Method and apparatus for data processing

    JP1994215160A

  • Semiconductor memory and information processor

    JP2000215659A