Read-write control clock generation circuit of off-chip memory, off-chip memory and system

By generating the read and write control clock signal inside the off-chip memory, the signal delay problem caused by the clock pulse signal provided by the host computer is solved, and the read and write efficiency and resource utilization of the off-chip memory are improved.

CN118760650APending Publication Date: 2024-10-11AMICRO SEMICONDUCTOR CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410842316.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, off-chip memory requires a host computer to provide clock pulse signals for read and write operations, which leads to signal transmission delay problems, reduces read and write efficiency, and takes up more resources.

Method used

Set up a read-write control clock generation circuit inside the off-chip memory, generate read control clock pulse signals and write control clock pulse signals through the chip select signal and address signal, and use the read-write control clock generation module to select the appropriate clock signal for read and write operations. Avoid the host computer providing clock pulse signals.

Benefits of technology

It improves the efficiency of read and write operations of off-chip memory, avoids the impact of clock pulse signal transmission delay on read operations, and reduces the occupation of system resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760650A_ABST
    Figure CN118760650A_ABST
Patent Text Reader

Abstract

The invention discloses a read-write control clock generation circuit of an off-chip memory, the off-chip memory and a system, and the circuit comprises a read control clock generation module which is used for generating a read control clock pulse signal based on a chip selection signal and an address signal, and transmitting the read control clock pulse signal to the read-write control clock generation module; the write control clock generation module is used for generating a write control clock pulse signal based on the chip selection signal and the write enable signal and transmitting the write control clock pulse signal to the read-write control clock generation module; and the read-write control clock generation module is used for selecting one of the read control clock pulse signal and the write control clock pulse signal as the read-write control clock pulse signal of the off-chip memory. According to the invention, the clock pulse signal required for realizing the read-write operation is generated in the off-chip memory by using the control signal of the upper computer to the off-chip memory, the read clock pulse signal or the write clock pulse signal is flexibly switched based on the read-write requirement of the upper computer based on the read-write control clock generation module, and the reliability of the clock pulse signal is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of off-chip memory reading, and in particular to a read / write control clock generating circuit of an off-chip memory, an off-chip memory and a system. Background Art

[0002] At present, the prior art generally uses clock pulse signals to control the read and write operations of the memory. For the memory integrated inside the system chip, the periodic pulse signal generated by the clock tree is generally used to drive the read and write operations. For example, the patent application number is "CN202310159789.4", and the patent application name is "Read Control System for DDR Memory". The disclosed technical solution controls the off-chip memory and the internal memory of the system chip to share the same clock source. For the off-chip memory that is not integrated inside the system chip, the host computer is generally required to provide a clock pulse signal to realize the read and write operations of the off-chip memory. This solution that requires the host computer to provide a clock pulse signal will have a signal delay problem due to signal transmission limitations, resulting in low read and write efficiency of the off-chip memory, and requires more resources to realize the read and write operations of the off-chip memory. Summary of the invention

[0003] The present application provides a read / write control clock generating circuit for an off-chip memory. The specific technical scheme includes: a read control clock generating module, which is used to generate a read control clock pulse signal based on a chip select signal and an address signal and transmit the signal to the read / write control clock generating module; a write control clock generating module, which is used to generate a write control clock pulse signal based on a chip select signal and a write enable signal and transmit the signal to the read / write control clock generating module; and a read / write control clock generating module, which is used to select one of the read control clock pulse signal and the write control clock pulse signal as the read / write control clock pulse signal of the off-chip memory.

[0004] Furthermore, the read control clock generation module specifically includes: an address read clock generation module, including an address clock pulse selection unit and N address clock pulse generation units, for receiving N address signals based on the N address clock pulse generation units to generate N address read clock signals, and selecting an address read clock signal from the N address read clock signals based on the address clock pulse selection unit to transmit to the clock pulse filtering module; a chip select read clock generation module, including a chip select inversion delay unit and a chip select falling edge detection unit; wherein the chip select inversion delay unit performs a read clock pulse width delay process on the received chip select signal to obtain a delayed chip select signal, and transmits the delayed chip select signal as the chip select read clock signal to the read Control clock filtering module and chip select falling edge detection unit; the chip select falling edge detection unit is used to perform falling edge detection processing on the received chip select signal and delayed chip select signal to obtain the chip select read clock alternative signal and transmit it to the read control clock pulse output module; the read control clock filtering module includes a read control and logic gate unit, which is used to perform and logic filtering operation processing on the received chip select read clock signal and address read clock signal to obtain the initial read control clock pulse signal; the read control clock pulse output module includes a read control or logic gate unit, which is used to perform or logic operation on the received initial read control clock pulse signal and the chip select clock alternative signal based on the read control or logic gate unit to output the read control clock pulse signal.

[0005] Furthermore, the address clock pulse generating unit specifically includes: an address delay unit and an address XOR logic gate unit; wherein the address delay unit is used to receive an address signal, perform a read clock pulse width delay process on the address signal to obtain a delayed address signal, and transmit the delayed address signal to the address XOR logic gate unit; the address XOR logic gate unit is used to receive an address signal and a delayed address signal, perform an address XOR logic operation on the address signal and the delayed address signal to generate an address read clock signal.

[0006] Furthermore, the write control clock generating module specifically includes: a write control signal selecting module, including a write control or logic gate unit, used to receive a chip select signal and a write operation enable signal, and select a signal from the chip select signal and the write operation enable signal as a write control signal to be transmitted to the write control clock pulse generating module and the write control clock pulse output module; a write control clock pulse generating module, including a write control inversion delay unit, used to receive the write control signal transmitted by the control signal selecting module, and perform write clock pulse width delay processing on the write control signal to obtain an initial write control clock pulse signal and transmit it to the write control clock pulse stable output module; a write control clock pulse output module, including a write control or-not logic gate unit, used to receive the initial write control clock pulse signal transmitted by the write control clock pulse generating module, and receive the write control signal transmitted by the write control signal selecting module, and perform an or-not logic operation based on the write control signal and the initial write control clock pulse signal to output a write control clock pulse signal.

[0007] Furthermore, the read-write control clock generating module specifically includes: a read-write or logic gate unit; the first input end of the read-write or logic gate unit is connected to the output end of the read control clock generating module, for receiving a read control clock pulse signal; the second input end of the read-write or logic gate unit is connected to the output end of the write control clock generating module, for receiving a write control clock pulse signal; the read-write or logic gate unit performs an OR logic operation on the read control clock pulse signal and the write control clock pulse signal to output a read-write control clock pulse signal for the off-chip memory to perform a read operation or a write operation.

[0008] Furthermore, the read-write control clock generating module also includes: a first read-write control filtering module and a second read-write control filtering module, the first read-write control filtering module is used to filter out the read control clock pulse signal; the second read-write control filtering module is used to filter out the write control clock pulse signal; the first read-write control filtering module is arranged between the read control clock generating module and the read-write or logic gate unit; the second read-write control filtering module is arranged between the write control clock generating module and the read-write or logic gate unit.

[0009] Furthermore, the first read-write control filtering module includes a first read-write control and logic gate unit and a first read-write control delay inversion unit; wherein, the input end of the first read-write control delay inversion unit receives an inverted output enable signal; the first read-write control and logic gate unit is used to receive the read control clock pulse signal transmitted by the read control clock generation module and receive the inverted output enable signal output by the first read-write control delay inversion unit after delayed inversion processing, perform an AND logic operation on the read control clock pulse signal and the inverted output enable signal after delayed inversion processing, and transmit the read control clock pulse signal after the AND logic operation to the read-write OR logic gate unit.

[0010] Furthermore, the second read-write control filtering module includes a second read-write control and logic gate and a second read-write control delay inversion unit, wherein the input end of the second read-write control delay inversion unit receives an output enable signal; the second read-write control and logic gate unit is used to receive the write control clock pulse signal transmitted by the write control clock generation module and receive the output enable signal output by the second read-write control delay inversion unit after delay inversion processing, perform an AND logic operation on the write control clock pulse signal and the output enable signal after delay inversion processing, and transmit the write control clock pulse signal after the AND logic operation to the read-write OR logic gate unit.

[0011] Furthermore, the read-write control clock generation module also includes: a first buffer unit arranged between the first read-write control filter module and the read-write or logic gate unit, and a second buffer unit arranged between the second read-write control filter module and the read-write or logic gate unit; wherein the read control clock pulse signal output by the first read-write control filter module is transmitted to the read-write or logic gate unit through the first buffer unit; and the write control clock pulse signal output by the second read-write control filter module is transmitted to the read-write or logic gate unit through the second buffer unit.

[0012] The present application also discloses an off-chip memory, wherein the off-chip memory includes a read / write control clock generating circuit of the off-chip memory as described in any one of the above items.

[0013] The present application also discloses an off-chip memory system, which includes: a host computer for transmitting an address signal, a chip select signal and an output enable signal to the off-chip memory to perform a read operation or a write operation; as the off-chip memory described above, the off-chip memory generates a read control clock pulse signal based on the address signal and the chip select signal, and the off-chip memory generates a write control clock pulse signal based on the chip select signal and the output enable signal.

[0014] The read / write control clock generating circuit, off-chip memory and system of the off-chip memory described in the present application set a read / write control clock pulse generating circuit inside the off-chip memory, so that the off-chip memory can generate a read / write control clock pulse signal inside to complete the read and write operations, and output a targeted read control clock pulse signal or a write clock pulse signal for the read request or write request of the host computer, without the need for the host computer to provide a clock pulse signal separately, thereby improving the read and write operation efficiency of the off-chip memory and avoiding the delay in the transmission of the clock pulse signal affecting the execution of the read operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A module diagram of a read / write control clock generating circuit for an off-chip memory according to an embodiment of the present application.

[0016] Figure 2A circuit diagram of a read control clock generation module according to an embodiment of the present application.

[0017] Figure 3 A circuit diagram of a write control clock generation module according to an embodiment of the present application.

[0018] Figure 4 This is a circuit diagram of a read / write control clock generating circuit according to an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following will describe the embodiments of the present application in detail in conjunction with the accompanying drawings. It should be understood that the specific embodiments described below are only used to explain the present application and are not used to limit the present application.

[0020] At present, the existing technology usually uses a clock pulse signal to control the read and write operations of the memory. For an off-chip memory that is not integrated into the system chip, a host computer is usually required to provide a clock pulse signal to realize the read and write operations of the off-chip memory. This solution that requires the host computer to provide a clock pulse signal will have a signal delay problem due to signal transmission limitations, resulting in low read and write efficiency of the off-chip memory, and requiring more system resources to realize the read and write operations of the off-chip memory.

[0021] To solve the aforementioned problems, the present application provides a read-write control clock generating circuit for an off-chip memory, which aims to set a read-write control clock pulse generating circuit inside the off-chip memory so that a clock pulse signal can be generated inside the off-chip memory to complete the read and write operations, and output a targeted read control clock pulse signal or a write clock pulse signal for the read request or write request of the host computer, without the need for the host computer to provide a clock pulse signal separately, thereby improving the read and write operation efficiency of the off-chip memory and avoiding the impact of the delay in the transmission of the clock pulse signal on the execution of the read operation.

[0022] Specifically, if Figure 1 As shown, the read / write control clock generating circuit of the off-chip memory includes: a read control clock generating module, a write control clock generating module and a read / write control clock generating module. The read control clock generating module is used to generate a read control clock pulse signal based on a chip select signal and an address signal and transmit it to the read / write control clock generating module; the write control clock generating module is used to generate a write control clock pulse signal based on a chip select signal and a write enable signal and transmit it to the read / write control clock generating module; the read / write control clock generating module is used to select one of the read control clock pulse signal and the write control clock pulse signal as the read / write control clock pulse signal of the off-chip memory.

[0023] Specifically, the address signal refers to the control signal corresponding to the target address corresponding to the read operation issued by the host computer to the off-chip memory; the chip select signal refers to the chip select control signal corresponding to the read operation or write operation issued by the host computer to the off-chip memory; the write enable signal refers to the enable control signal of the write operation issued by the host computer to the off-chip memory.

[0024] This implementation scheme is based on a read control clock generation module and a write control clock generation module, and utilizes the host computer's address signal, chip select signal, and write enable signal of the off-chip memory to realize generating a read control clock pulse signal and a write control clock pulse signal inside the off-chip memory for realizing read operations and write operations. Then, the read and write control clock generation module selects a matching clock pulse signal from the two clock pulse signals for the off-chip memory to realize read operations or write operations, thereby solving the problem that there may be a delay in the off-chip memory receiving the clock pulse signal transmitted by the host computer.

[0025] As a preferred implementation of the present application, the read control clock generation module specifically includes: an address read clock generation module, a chip select read clock generation module, a read control clock filter module and a read control clock pulse output module. The address read clock generation module comprises an address clock pulse selection unit and N address clock pulse generation units, which are used to generate N address read clock signals based on the N address clock pulse generation units receiving N address signals, and select an address read clock signal from the N address read clock signals based on the address clock pulse selection unit to transmit to the read control clock filter module. The output end of each address clock pulse generation unit is connected to a corresponding input end of the address clock pulse selection unit; the number of input ends of the address clock pulse selection unit is equal to the number N of the address clock pulse generation units, so that each address clock pulse generation unit has a unique input end corresponding to it in the address clock pulse selection unit. The input end of each address clock pulse generation unit serves as one of the input ends of the address read clock generation module, and is used to receive a corresponding address signal. The output end of the address clock pulse selection unit serves as the output end of the address clock pulse generation module to output an address clock pulse signal. Specifically, the address clock pulse selection unit is used to receive N address read clock signals transmitted by N address clock pulse generation units, so as to select a read clock signal from the N address read clock signals transmitted by the N address clock pulse generation units as the address read clock signal generated by the address read clock generation module and transmitted to the read control clock filtering module. In order to realize the selection of the address read clock signal, the address clock pulse selection unit can be but is not limited to being implemented by an OR logic gate unit. The number N of the address clock pulse generation units is a positive integer greater than or equal to 1.

[0026] The chip select read clock generation module is as follows: Figure 2 As shown, it includes a chip select inverting delay unit T2 and a chip select falling edge detection unit OR2; wherein the chip select inverting delay unit T2 is used to perform a read clock pulse width delay process on the received chip select signal to obtain a delayed chip select signal, and transmit the delayed chip select signal as a chip select read clock signal to the read control clock filter module and the chip select falling edge detection unit. The input end of the chip select inverting delay unit T2 is used as the input end of the chip select read clock generation module to receive the chip select signal transmitted by the host computer; the output end of the chip select inverting delay unit T2 is connected to the input end of the chip select falling edge detection unit OR2, and is used to transmit the acquired delayed chip select signal to the chip select falling edge detection unit. The read clock pulse width delay process refers to the chip select inverting delay unit performing a delay process of a certain clock pulse width on the chip select signal, and the specific delay duration is set according to the read control clock pulse signal requirements of the off-chip memory.

[0027] The chip select falling edge detection unit OR2 is used to perform falling edge detection processing on the received chip select signal and delayed chip select signal to obtain the chip select read clock alternative signal and transmit it to the read control clock pulse output module. Among them, the first input end of the chip select falling edge detection unit is used to receive the input chip select signal; the second input end of the chip select falling edge detection unit is used to receive the delayed chip select signal transmitted by the chip select inverting delay unit; the chip select falling edge detection unit performs falling edge detection processing based on the chip select signal and the delayed chip select signal, and transmits the chip select read clock alternative signal that has undergone falling edge detection processing to the read control clock pulse output module. Specifically, the falling edge detection processing refers to detecting the falling edge of the delayed chip select signal based on the chip select signal, and the falling edge of the delayed chip select signal refers to the level drop change generated when the delayed chip select signal changes from a high level to a low level. The chip select read clock generation module of the present application detects the change of the chip select signal through the chip select falling edge detection unit, so as to output the chip select read clock alternative signal accordingly based on the change of the chip select signal.

[0028] The read control clock filter module, such as Figure 2 As shown, it includes a read control and logic gate unit AND, which is used to perform AND logic filtering operations on the received chip select read clock signal and address read clock signal to obtain an initial read control clock pulse signal; specifically, since changes in multiple address signals will cause glitches in the clock pulse signal, the chip select read clock signal and the address read clock signal are processed by AND logic filtering operations to filter out clock pulse glitches caused by address changes, thereby optimizing the initial read control clock pulse signal.

[0029] The read control clock pulse output module, such as Figure 2As shown, it includes a read control or logic gate unit OR3, which is used to perform an OR logic operation on the received initial read control clock pulse signal and the chip select clock alternative signal based on the read control or logic gate unit to output the read control clock pulse signal. If the initial read control clock pulse signal output by the read control clock filter module is directly used as the read control clock pulse signal finally output by the read control clock generation module, there may be a situation where the execution success rate of the read operation is low due to the poor stability of the control signal. In order to solve this problem, this embodiment sets a read control clock pulse output module after the read control clock filter module, and uses the initial read control clock pulse signal and the chip select clock alternative signal to perform an OR logic operation to ensure the stability of the read control clock pulse signal finally output by the read control clock generation module, thereby optimizing the execution success rate of the read operation.

[0030] Preferably, Figure 2 An address read clock generation module used in an implementation is shown. The address read clock generation module includes an address clock pulse selection unit OR1 and two address clock pulse generation units, which are used to generate two address read clock signals based on receiving two address signals from the two address clock pulse generation units, and select an address read clock signal from the two address read clock signals based on the address clock pulse selection unit to transmit to the read control clock filter module.

[0031] As a preferred implementation of the present application, the address clock pulse generating unit is as follows: Figure 2As shown, it specifically includes: an address delay unit T1 and an address XOR logic gate unit XOR; wherein the address delay unit T1 is used to receive an address signal, perform a read clock pulse width delay process on the address signal to obtain a delayed address signal, and transmit the delayed address signal to the address XOR logic gate unit; specifically, the read clock pulse width delay process on the address signal refers to a delay process of a certain clock pulse width on the address signal, and the specific delay time is set according to the read control clock pulse signal requirement of the off-chip memory. The address XOR logic gate unit XOR is used to receive an address signal and a delayed address signal, perform an address XOR logic operation on the address signal and the delayed address signal to generate an address read clock signal. Specifically, the purpose of the address XOR logic gate unit XOR performing an address XOR operation based on the address signal and the delayed address signal is to detect the change of the address signal, so as to output the address read clock signal accordingly according to the change of the address signal. It should be noted that the address signal and the delayed address signal used for comparison by the address XOR logic gate unit XOR are not address signals obtained at the same time. The delayed address signal refers to the address signal received by the address delay unit T1 before time T, and the address signal that performs an XOR logic operation with the delayed address signal refers to the address signal received by the address XOR logic gate unit at the current time. The purpose of the address XOR logic gate unit XOR performing address XOR operation processing is to detect changes in the address signal within T time before the current time.

[0032] Specifically, the connection relationship inside the address clock pulse generating unit is as follows: the input end of the address delay unit T1 is used as the first input end of the address clock pulse generating unit to receive the input address signal; the first input end of the address XOR logic gate unit XOR is connected as the second input end of the address clock pulse generating unit to receive the input address signal; the output end of the address delay unit T1 is connected to the second input end of the address XOR logic gate unit XOR to transmit the delayed address signal to the address XOR logic gate unit XOR; the output end of the address XOR logic gate unit XOR is used as the output end of the address clock pulse generating unit to be connected to a corresponding input end of the address clock pulse selecting unit OR1 to transmit the address read clock signal generated by the address clock pulse generating unit to the address clock pulse selecting unit OR. The address clock pulse generating unit provided in this embodiment uses the address delay unit to perform read clock pulse width delay processing on the address signal, and uses the address XOR logic gate unit to compare the delayed address signal with the address signal to detect the change of the address signal, so as to output the address read clock signal accordingly based on the change of the address signal.

[0033] As a preferred implementation of the present application, the write control clock generation module is as follows: Figure 3As shown, it specifically includes: a write control signal selection module, a write control clock pulse generation module and a write control clock pulse output module. Among them, the write control signal selection module includes a write control or logic gate unit OR3, which is used to receive a chip select signal and a write operation enable signal, and select a signal from the chip select signal and the write operation enable signal as a write control signal to be transmitted to the write control clock pulse generation module and the write control clock pulse output module; specifically, the write control or logic gate OR3 is used to use the chip select signal and the write operation enable signal when both the chip select signal and the write operation enable signal are in a low level state, and the latter signal of the chip select signal and the write operation enable signal that enters a low level state is used as the write control signal. The write operation enable signal is a control enable signal for the host computer to send a write operation request to the off-chip memory, so as to feedback the write operation demand of the host computer to the off-chip memory through the level state of the write operation enable signal.

[0034] The write control clock pulse generating module includes a write control inversion delay unit T3, which is used to receive the write control signal transmitted by the control signal selection module, and perform write clock pulse width delay processing on the write control signal to obtain the initial write control clock pulse signal and transmit it to the write control clock pulse stable output module; wherein, the write control inversion delay unit T3 can be implemented by an inverter. The write clock pulse width delay processing refers to delay processing of a certain clock pulse width on the write control signal, and the specific delay duration is set according to the clock pulse width requirement of the write control clock signal of the off-chip memory.

[0035] The write control clock pulse output module includes a write control OR-not logic gate unit NOR, which is used to receive the initial write control clock pulse signal transmitted by the write control clock pulse generation module and receive the write control signal transmitted by the write control signal selection module, and perform an OR-not logic operation based on the write control signal and the initial write control clock pulse signal to output the write control clock pulse signal.

[0036] As a preferred implementation of the present application, the read-write control clock generation module, such as Figure 4As shown, it specifically includes: a read-write or logic gate unit OR4; the first input end of the read-write or logic gate unit OR4 is connected to the output end of the read control clock generation module, for receiving a read control clock pulse signal; the second input end of the read-write or logic gate unit OR4 is connected to the output end of the write control clock generation module, for receiving a write control clock pulse signal; the read-write or logic gate unit OR4 performs an OR logic operation on the read control clock pulse signal and the write control clock pulse signal to output a read-write control clock pulse signal for the off-chip memory to perform a read operation or a write operation. This embodiment is based on the read-write or logic gate unit selecting a clock pulse signal that meets the read and write operations performed by the host computer on the off-chip memory between the read control clock pulse signal and the write control clock pulse signal to output, so that the host computer can perform read and write operations on the off-chip memory based on the read control clock pulse signal or the write control clock pulse signal.

[0037] As a preferred implementation of the present application, the read-write control clock generation module also includes: a first read-write control filtering module and a second read-write control filtering module; wherein the first read-write control filtering module is used to filter out clock glitches and clock aliasing that may exist in the read control clock pulse signal; the second read-write control filtering module is used to filter out clock glitches and clock aliasing that may exist in the write control clock pulse signal; the first read-write control filtering module is arranged between the read control clock generation module and the read-write or logic gate unit; the second read-write control filtering module is arranged between the write control clock generation module and the read-write or logic gate unit. Since the read control clock generation module and the write control clock generation module provided in the present application both realize the generation of the read control clock pulse signal and the write control clock pulse signal based on the chip select signal, therefore, when the read control clock generation module or the write control clock generation module generates the read control clock pulse signal or the write control clock pulse signal, it may be affected by the write control clock pulse signal or the read control clock pulse signal, resulting in problems such as clock glitches and clock aliasing. In order to solve the problems of clock glitches and clock aliasing that affect the read control clock pulse signal / write control clock pulse signal, the present application sets a first read-write filter module and a second read-write filter module in the read-write control clock pulse signal generation module to perform signal filtering on the read control clock pulse signal and the write control clock pulse signal respectively to filter out clock glitches and clock aliasing, thereby optimizing the read control clock pulse signal and the write control clock pulse signal finally output by the read-write control clock pulse signal generation module.

[0038] As a preferred implementation of the present application, the first read-write control filter module includes a first read-write control and logic gate unit and a first read-write control delay inversion unit; wherein, the input end of the first read-write control delay inversion unit receives an inverted output enable signal; the first read-write control and logic gate unit is used to receive the read control clock pulse signal transmitted by the read control clock generation module and receive the inverted output enable signal output by the first read-write control delay inversion unit after delayed inversion processing, perform an AND logic operation on the read control clock pulse signal and the inverted output enable signal after delayed inversion processing, and transmit the read control clock pulse signal after the AND logic operation to the read-write or logic gate unit. wherein, the delayed inversion processing refers to the delay processing of the signal after the inverter; the inverted output enable signal refers to the inverted signal of the output enable signal sent by the host computer to the off-chip memory. The first read-write control filtering module provided in this embodiment performs an AND logic operation on the read control clock pulse signal and the reverse output enable signal that has been delayed and inverted through the first read-write control AND logic gate unit, so as to eliminate the influence of clock glitches and clock aliasing that may be caused by the write control clock pulse signal generated by the chip select signal in the write control clock generation module during the read control clock pulse signal generation process, thereby optimizing the read control clock pulse signal.

[0039] As a preferred implementation of the present application, the second read-write control filter module includes a second read-write control and logic gate and a second read-write control delay inversion unit, wherein the input end of the second read-write control delay inversion unit receives an output enable signal; the second read-write control and logic gate unit is used to receive the write control clock pulse signal transmitted by the write control clock generation module and receive the output enable signal output by the second read-write control delay inversion unit after delay inversion processing, perform an AND logic operation on the write control clock pulse signal and the output enable signal after delay inversion processing, and transmit the write control clock pulse signal after AND logic operation to the read-write or logic gate unit. The delay inversion processing refers to the delay processing of the signal after the inverter; the output enable signal refers to the output enable signal sent by the host computer to the off-chip memory. The second read-write control filtering module provided in this embodiment performs an AND logic operation on the write control clock pulse signal and the output enable signal that has been delayed and inverted through the second read-write control AND logic gate unit, so as to eliminate the influence of clock glitches and clock aliasing that may be caused by the read control clock pulse signal generated by the chip select signal in the read control clock generation module during the write control clock pulse signal generation process, thereby optimizing the write control clock pulse signal.

[0040] As a preferred implementation of the present application, the read-write control clock generation module also includes: a first buffer unit arranged between the first read-write control filter module and the read-write or logic gate unit, and a second buffer unit arranged between the second read-write control filter module and the read-write or logic gate unit; wherein the read control clock pulse signal output by the first read-write control filter module is transmitted to the read-write or logic gate unit through the first buffer unit; and the write control clock pulse signal output by the second read-write control filter module is transmitted to the read-write or logic gate unit through the second buffer unit. Specifically, in the read and write operation requirements of some off-chip memories, the timing requirements between the read and write control signals and the clock pulse signals are required to be met. In order to achieve the timing adjustment of the read control clock pulse signal and the write control clock pulse signal, this embodiment sets a first buffer unit between the first read and write control filter module and the read and write or logic gate unit to adjust the timing of the read control clock pulse signal based on the first buffer unit; a second buffer unit is set between the second read and write control filter module and the read and write or logic gate unit to adjust the timing of the write control clock pulse signal based on the second buffer unit, so that the timing of the adjusted read control clock pulse signal and the write control clock pulse signal meets the timing requirements between the control signal and the clock pulse signal.

[0041] As a preferred embodiment of the present application, an off-chip memory is provided. The off-chip memory includes a read-write control clock generating circuit of the off-chip memory as described in any of the previous embodiments. The off-chip memory provided in this embodiment is based on the above-mentioned read-write control clock generating circuit, and does not need to wait for the clock pulse transmitted by the host computer. It can self-generate the clock pulse signal required for the read and write operations based on the read-write operation control signal sent by the host computer, thereby improving the read-write operation efficiency of the off-chip storage and eliminating the negative impact of the possible delay of the host computer transmission clock pulse.

[0042] As a preferred implementation of the present application, an off-chip memory system includes: a host computer for transmitting an address signal, a chip select signal, and an output enable signal to the off-chip memory to perform a read operation or a write operation; the off-chip memory as described above, the off-chip memory generates a read control clock pulse signal based on the address signal and the chip select signal, and the off-chip memory generates a write control clock pulse signal based on the chip select signal and the output enable signal.

[0043] Obviously, the above-mentioned embodiments are only a part of the embodiments of the present invention, rather than all the embodiments, and the technical solutions between the various embodiments can be combined with each other. Although the embodiments of the present invention have been shown and described, it can be understood by those of ordinary skill in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is limited by the attached claims and their equivalents. The above is only the preferred embodiment of the present invention and is not intended to limit the present invention. For those of ordinary skill in the art, the present invention can have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A read / write control clock generating circuit for an off-chip memory, characterized in that: The read / write control clock generating circuit of the off-chip memory specifically comprises: A read control clock generating module, used for generating a read control clock pulse signal based on a chip select signal and an address signal and transmitting the signal to a read / write control clock generating module; A write control clock generating module, used for generating a write control clock pulse signal based on a chip select signal and a write enable signal and transmitting the signal to a read / write control clock generating module; The read / write control clock generating module is used to select one of the read control clock pulse signal and the write control clock pulse signal as the read / write control clock pulse signal of the off-chip memory.

2. The read / write control clock generating circuit of the off-chip memory according to claim 1, characterized in that: The read control clock generating module specifically comprises: An address read clock generating module comprises an address clock pulse selecting unit and N address clock pulse generating units, and is used for generating N address read clock signals based on receiving N address signals from the N address clock pulse generating units, and selecting an address read clock signal from the N address read clock signals based on the address clock pulse selecting unit and transmitting the selected address read clock signal to the clock pulse filtering module; A chip select read clock generation module comprises a chip select inversion delay unit and a chip select falling edge detection unit; wherein the chip select inversion delay unit performs a read clock pulse width delay process on a received chip select signal to obtain a delayed chip select signal, and transmits the delayed chip select signal as a chip select read clock signal to a read control clock filter module and a chip select falling edge detection unit; the chip select falling edge detection unit is used to perform a falling edge detection process on the received chip select signal and the delayed chip select signal to obtain a chip select read clock candidate signal and transmit it to the read control clock pulse output module; A read control clock filter module, including a read control and logic gate unit, is used to perform an AND logic filter operation on the received chip selection read clock signal and address read clock signal to obtain an initial read control clock pulse signal; The read control clock pulse output module includes a read control or logic gate unit, which is used to perform an OR logic operation on the received initial read control clock pulse signal and the chip selection clock alternative signal based on the read control or logic gate unit to output the read control clock pulse signal.

3. The read / write control clock generating circuit of the off-chip memory according to claim 2, characterized in that: The address clock pulse generating unit specifically includes: an address delay unit and an address XOR logic gate unit; wherein, An address delay unit is used to receive an address signal, perform a read clock pulse width delay process on the address signal to obtain a delayed address signal, and transmit the delayed address signal to an address XOR logic gate unit; The address XOR logic gate unit is used to receive the address signal and the delayed address signal, and perform an address XOR logic operation on the address signal and the delayed address signal to generate an address read clock signal.

4. The read / write control clock generating circuit of the off-chip memory according to claim 1, characterized in that: The write control clock generating module specifically comprises: A write control signal selection module, including a write control or logic gate unit, is used to receive a chip select signal and a write operation enable signal, and select a signal from the chip select signal and the write operation enable signal as a write control signal to be transmitted to the write control clock pulse generation module and the write control clock pulse output module; A write control clock pulse generating module, including a write control inversion delay unit, is used to receive a write control signal transmitted by the control signal selecting module, and perform write clock pulse width delay processing on the write control signal to obtain an initial write control clock pulse signal and transmit it to the write control clock pulse stable output module; The write control clock pulse output module includes a write control OR-NOT logic gate unit, which is used to receive the initial write control clock pulse signal transmitted by the write control clock pulse generation module and receive the write control signal transmitted by the write control signal selection module, and perform an OR-NOT logic operation based on the write control signal and the initial write control clock pulse signal to output the write control clock pulse signal.

5. The read / write control clock generating circuit of the off-chip memory according to claim 1, characterized in that: The read-write control clock generating module specifically includes: a read-write or logic gate unit; the first input end of the read-write or logic gate unit is connected to the output end of the read control clock generating module, and is used to receive a read control clock pulse signal; the second input end of the read-write or logic gate unit is connected to the output end of the write control clock generating module, and is used to receive a write control clock pulse signal; the read-write or logic gate unit performs an OR logic operation on the read control clock pulse signal and the write control clock pulse signal to output a read-write control clock pulse signal for an off-chip memory to perform a read operation or a write operation.

6. The read / write control clock generating circuit of the off-chip memory according to claim 5, characterized in that: The read-write control clock generation module also includes: a first read-write control filter module and a second read-write control filter module, the first read-write control filter module is used to filter out the read control clock pulse signal; the second read-write control filter module is used to filter out the write control clock pulse signal; the first read-write control filter module is arranged between the read control clock generation module and the read-write or logic gate unit; the second read-write control filter module is arranged between the write control clock generation module and the read-write or logic gate unit.

7. The read / write control clock generating circuit of the off-chip memory according to claim 6, characterized in that: The first read-write control filtering module includes a first read-write control and logic gate unit and a first read-write control delay inversion unit; wherein, the input end of the first read-write control delay inversion unit receives an inverted output enable signal; the first read-write control and logic gate unit is used to receive the read control clock pulse signal transmitted by the read control clock generation module and receive the inverted output enable signal output by the first read-write control delay inversion unit after delayed inversion processing, perform an AND logic operation on the read control clock pulse signal and the inverted output enable signal after delayed inversion processing, and transmit the read control clock pulse signal after the AND logic operation to the read-write OR logic gate unit.

8. The read / write control clock generating circuit of the off-chip memory according to claim 6, characterized in that: The second read-write control filtering module includes a second read-write control and logic gate and a second read-write control delay inversion unit, wherein the input end of the second read-write control delay inversion unit receives an output enable signal; the second read-write control and logic gate unit is used to receive the write control clock pulse signal transmitted by the write control clock generation module and receive the output enable signal output by the second read-write control delay inversion unit after delay inversion processing, perform an AND logic operation on the write control clock pulse signal and the output enable signal after delay inversion processing, and transmit the write control clock pulse signal after the AND logic operation to the read-write OR logic gate unit.

9. The read / write control clock generating circuit of the off-chip memory according to claim 6, characterized in that: The read-write control clock generation module also includes: a first buffer unit arranged between the first read-write control filter module and the read-write or logic gate unit, and a second buffer unit arranged between the second read-write control filter module and the read-write or logic gate unit; wherein the read control clock pulse signal output by the first read-write control filter module is transmitted to the read-write or logic gate unit through the first buffer unit; and the write control clock pulse signal output by the second read-write control filter module is transmitted to the read-write or logic gate unit through the second buffer unit.

10. An off-chip memory, characterized in that: The off-chip memory comprises a read / write control clock generating circuit for the off-chip memory as claimed in any one of claims 1 to 9.

11. An off-chip memory system, characterized in that: The external memory system includes: a host computer for transmitting address signals, chip selection signals and output enable signals to the external memory to perform read operations or write operations;According to the off-chip memory as claimed in claim 10, the off-chip memory generates a read control clock pulse signal based on an address signal and a chip select signal, and the off-chip memory generates a write control clock pulse signal based on the chip select signal and an output enable signal.

Citation Information

Patent Citations

  • Read control system for DDR (Double Data Rate) memory

    CN116226032A