METHOD FOR SIGNAL TRANSMISSION, CIRCUIT AND MEMORY
20220383914 · 2022-12-01
Inventors
Cpc classification
G11C7/1063
PHYSICS
G11C7/222
PHYSICS
G11C11/4096
PHYSICS
G11C7/1006
PHYSICS
G11C11/4093
PHYSICS
International classification
G11C7/10
PHYSICS
Abstract
A circuit for signal transmission, memory, and method for signal transmission are provided. The circuit includes: a signal processing circuit, configured to receive an input first signal, obtain a second signal by processing the first signal in a preset processing manner, and take the second signal as an output signal of the signal processing circuit; and a selection circuit, configured to receive the input first signal, the second signal and a control signal, and take the first signal or the second signal as an output signal of the selection circuit according to the control signal.
Claims
1. A circuit for signal transmission, comprising: a signal processing circuit, configured to receive an input first signal, obtain a second signal by processing the first signal in a preset processing manner, and take the second signal as an output signal of the signal processing circuit; and a selection circuit, configured to receive the input first signal, the second signal and a control signal, and take the first signal or the second signal as an output signal of the selection circuit according to the control signal.
2. The circuit of claim 1, further comprising: a control circuit, configured to send the control signal to the selection circuit.
3. The circuit of claim 2, wherein the signal processing circuit is further configured to receive the control signal; the signal processing circuit is configured to obtain the second signal by processing the first signal in the preset processing manner when the control signal corresponds to a first state; and the signal processing circuit is configured to set the second signal to a fixed value when the control signal corresponds to a second state.
4. The circuit of claim 1, wherein the preset processing manner comprises: setting a signal between two adjacent pulses in the first signal to a low level when the first signal is a pulse signal.
5. The circuit of claim 4, wherein the signal processing circuit comprises: a shift register, configured to shift the first signal according to a clock cycle of the first signal and output the shifted first signal to a latch; the latch, configured to latch a received signal and output the latched received signal to a logic processing subcircuit; and the logic processing subcircuit, configured to output the second signal according to a received signal.
6. The circuit of claim 5, wherein the shift register comprises: an N-bit serial shift register, wherein N is a number of first clocks corresponding to a cycle of the first signal, and wherein an input end of the N-bit serial shift register is configured to receive the first signal; an M-th shift register of the N-bit serial shift register is configured to output a first shifted signal, which has been shifted by M bits, to the latch, wherein M is a number of second clocks corresponding to a pulse length of the first signal; and an output end of the N-bit serial shift register is configured to output a second shifted signal, which has been shifted by N bits, to the latch.
7. The circuit of claim 6, wherein the latch comprises an edge triggered latch; and the edge triggered latch has a first input end for receiving the first shifted signal, a second input end for receiving the second shifted signal, and an output end for outputting a signal, which has been latched, to the logic processing subcircuit.
8. The circuit of claim 7, wherein the edge triggered latch is configured to: output, when a first edge of the first shifted signal is detected, a signal with a first level through an output end before a second edge of the second shifted signal is detected; and output, when the second edge of the second shifted signal is detected, a signal with a second level through the output end before the first edge of the first shifted signal is detected.
9. The circuit of claim 8, wherein the first level is opposite to a level of a pulse signal of the first signal; and the second level is the same level as the level of the pulse signal of the first signal.
10. The circuit of claim 1, wherein the circuit for signal transmission is applied to a memory to receive a first signal from external, and a control circuit is configured to: send a control signal corresponding to a first state to the selection circuit when the memory is in a test state; and send a control signal corresponding to a second state to the selection circuit when the memory is in a normal operating state.
11. A memory comprising a circuit for signal transmission, the circuit comprising: a signal processing circuit, configured to receive an input first signal, obtain a second signal by processing the first signal in a preset processing manner, and take the second signal as an output signal of the signal processing circuit; and a selection circuit, configured to receive the input first signal, the second signal and a control signal, and take the first signal or the second signal as an output signal of the selection circuit according to the control signal.
12. The memory of claim 11, further comprising: a control circuit, configured to send the control signal to the selection circuit.
13. The memory of claim 12, wherein the signal processing circuit is further configured to receive the control signal; the signal processing circuit is configured to obtain the second signal by processing the first signal in the preset processing manner when the control signal corresponds to a first state; and the signal processing circuit is configured to set the second signal to a fixed value when the control signal corresponds to a second state.
14. The memory of claim 11, wherein the preset processing manner comprises: setting a signal between two adjacent pulses in the first signal to a low level when the first signal is a pulse signal.
15. The memory of claim 14, wherein the signal processing circuit comprises: a shift register, configured to shift the first signal according to a clock cycle of the first signal and output the shifted first signal to a latch; the latch, configured to latch a received signal and output the latched received signal to a logic processing subcircuit; and the logic processing subcircuit, configured to output the second signal according to a received signal.
16. The memory of claim 15, wherein the shift register comprises: an N-bit serial shift register, wherein N is a number of first clocks corresponding to a cycle of the first signal, and wherein an input end of the N-bit serial shift register is configured to receive the first signal; an M-th shift register of the N-bit serial shift register is configured to output a first shifted signal, which has been shifted by M bits, to the latch, wherein M is a number of second clocks corresponding to a pulse length of the first signal; and an output end of the N-bit serial shift register is configured to output a second shifted signal, which has been shifted by N bits, to the latch.
17. A method for signal transmission, comprising: acquiring a control signal and a first signal; and outputting the first signal according to the control signal; or obtaining a second signal by processing the first signal in a preset processing manner, and outputting the second signal.
18. The method of claim 17, wherein the preset processing manner comprises: setting a signal between two adjacent pulses in the first signal to a low level when the first signal is a pulse signal.
19. The method of claim 18, wherein obtaining the second signal by processing the first signal in the preset processing manner comprises: obtaining a first shifted signal by shifting the first signal by M bits, wherein M is a number of second clocks corresponding to a pulse length of the first signal; obtaining a second shifted signal by shifting the first signal by N bits, wherein N is a number of first clocks corresponding to a cycle of the first signal; and obtaining the second signal according to a first edge of the first shifted signal and a second edge of the second shifted signal.
20. The method of claim 19, wherein obtaining the second signal according to the first edge of the first shifted signal and the first edge of the second shifted signal comprises: obtaining the second signal by outputting, when a first edge of the first shifted signal is detected, a signal with a first level through an output end before a second edge of the second shifted signal is detected; wherein the first level is opposite to a level of a pulse signal of the first signal; and obtaining the second signal by outputting, when the second edge of the second shifted signal is detected, a signal with a second level through an output end before the first edge of the first shifted signal is detected; wherein the second level is the same as the level of the signal level of the first signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] To explain the embodiments of the present disclosure or the technical solutions in the related art more clearly, references will now be made briefly to the accompanying drawings required for the embodiments or the related art. It will be apparent that the accompanying drawings in the following description are only some of the embodiments of the present disclosure, and other drawings may be obtained to those skilled in the art based on these accompanying drawings without involving any inventive efforts.
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with the reference of the accompanying drawings in the embodiments of the present disclosure. It will be apparent that the embodiments described herein are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure. Based on the embodiments in present disclosure, all other embodiments obtained by those skilled in the art without involving inventive effort shall fall within the scope of the present disclosure.
[0022] The terms “first”, “second”, “third”, and “fourth”, etc. (if any) in the description and claims of the present disclosure and the above-mentioned accompanying drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or order. It is to be understood that data used in this way may be interchangeable under appropriate cases so that the embodiments of the present disclosure described herein can be implemented, for example, in an order other than those illustrated or described herein. In addition, the terms “include” and “have” as well as any variations thereof are intended to cover non-exclusive inclusions. For example, processes, methods, systems, products, or devices that include a series of steps or units are not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or devices.
[0023]
[0024] In some embodiments, the processing circuit 11 may be a logic circuit having a signal processing capability, or the like. Then the external signal received by the memory 1 may be directly sent to the processing circuit 11 in the memory 1, and the processing circuit 11 performs subsequent processing on the external signal. The specific processing on the external signal performed by the processing circuit 11 is not limited herein.
[0025] In some embodiments, the interface 10 may be a physical device (e.g., a chip, a circuit, a logic circuit, etc. for receiving a signal) configured for the memory 1 for receiving the external signal. In some other embodiments, the interface 10 may be a virtual module for depicting
[0026]
[0027] Accordingly, the present disclosure further provides a method for signal transmission, a circuit, and a memory for eliminating the narrow pulse of the external signal received by the memory, so that the narrow pulse of the external signal will not affect normal processing on the external signal within the memory and improve the accuracy of processing the signal by the memory.
[0028] The technical solutions of the present disclosure will be described in detail with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be elaborated in some embodiments.
[0029]
[0030]
[0031] The signal processing circuit 121 is configured to receive an external signal (denoted as a first signal or External Signal, etc.), obtain a second signal (denoted as Internal Signal, or the like) by processing the first signal in a preset processing manner, and output the second signal to the selection circuit 122 as an output signal of the signal processing circuit 121.
[0032] In some embodiments, specifically, the signal processing circuit 121 may be configured to remove a narrow pulse signal between two adjacent pulses in the first signal. This process may also be understood as smoothing the signal between adjacent effective square wave pulse signals in the first signal. For example,
[0033] The selection circuit 122 may be configured to receive a first signal input from the external of the memory and receive a second signal from the signal processing circuit 121. In this case, the selection circuit 122 may select a signal from the first signal and the second signal, that is, the selection circuit 122 may select the first signal or the second signal as an output of the selection circuit 122. In this case, the output signal of the selection circuit 122 is the output signal of the circuit 12 for signal transmission. The selection circuit 122 may select a signal from the first signal and the second signal according to the control signal. The control signal may be sent by the control circuit of the memory. In a specific implementation, the selection circuit 122 may be a data multiplexer (MUX).
[0034] In some embodiments,
[0035] Then, the selection circuit 122 may determine the first signal or the second signal as an output signal according to the received control signal. For example, when the control signal received by the selection circuit 122 corresponds to a first state, the received second signal is output as an output signal. When the control signal received by the selection circuit 122 corresponds to the second state, the received first signal is output as an output signal. Herein, the first state and the second state may be different level states of the control signal. For example, the first state may be that the control signal is high level, and the second state may be that the control signal is low level, etc.
[0036] In some embodiments, the signal processing circuit 121 may also receive the control signal and obtains the second signal by processing the first signal in the preset manner only when the control signal corresponds to the first state. When the received control signal corresponds to the second state, since the selection circuit 122 outputs the first signal, the signal processing circuit 121 can output a fixed value as the second signal without processing the first signal, thereby reducing redundancy calculation and energy consumption.
[0037] In some embodiments, the control circuit 123 may send the control signal with different states to the selection circuit 122 according to different conditions. For example, when the control circuit 123 determines that a current condition meets a trigger condition, in this condition, it indicates that a narrow pulse may occur in the external signal received by the memory, and then the control circuit 123 sends the control signal with the first state to the selection circuit 122. The control signal with the second state is sent to the selection circuit when the control circuit 123 determines that the current case does not meet the trigger condition and the possibility that a narrow pulse occurs in the external signal is low. In another specific implementation scenario, when the memory is in a test state, the control circuit 123 may send a control signal with the first state to the selection circuit, and when the memory is in a normal operation state, the control circuit sends a control signal with the second state to the selection circuit.
[0038] Exemplarily, the circuit 12 for signal transmission illustrated in
[0039] Exemplarily,
[0040] In some embodiments,
[0041] The shift register 1211 is configured to receive the first signal and the clock signal, shift the first signal according to the clock cycle of the first signal, and output the shifted first signal to the latch 1212. In some embodiments,
[0042] In some embodiments, the output end of the N-bit serial shift register not only outputs a second shifted signal by shifting the first signal by N bits to the subsequent latch 1212, but also outputs a first shifted signal by shifting the first signal by M bits to the latch 1212. M is a number of second clocks corresponding to the pulse length of the first signal.
[0043] The above process will be described with reference to
[0044] Referring to
[0045] In some embodiments, the latch specifically includes an edge triggered latch. The edge triggered latch receives the first shifted signal {circle around (6)} and the second shifted signal {circle around (7)} as mentioned above. Specifically, the edge triggered latch generates a signal that the narrow pulse has been removed according to the states of the signal {circle around (6)} and the signal {circle around (7)}.
[0046] For example, referring to
[0047] The signal {circle around (5)} is obtained by passing the signal {circle around (8)} through the logic processing subcircuit 1213. Also referring to
[0048] In summary, the circuit for signal transmission provided in the embodiment of the present disclosure can, when the external first signal the is received, process the first signal and output the second signal, which does not include a narrow pulse, to the internal of the memory for processing if there is a narrow pulse in the external signal. When there is no narrow pulse in the external signal, the first signal is directly output to the internal of the memory for processing, thereby eliminating the narrow pulse of the external signal received by the memory, so that the narrow pulse of the external signal will not affect normal processing for the external signal by the memory, and the accuracy of processing the signal by the memory can be improved.
[0049] The present disclosure further provides a method for signal transmission. The method may be performed by the circuit 12 for signal transmission in the memory 1 as illustrated in
[0050] At step S1, a control signal and a first signal are acquired. The description of the control signal and the first signal can be referred to the foregoing embodiments of the present disclosure, and will not be elaborated herein.
[0051] At step S2, the first signal is output according to the control signal, or a second signal is obtained by processing the first signal in a preset processing manner according to the control signal, and the second signal is output.
[0052] In some embodiments, the preset processing manner includes removing a narrow pulse signal between two adjacent pulses in the first signal. For example, a signal between two adjacent pulses in the first signal is set to a low level. More specifically, obtaining the second signal by processing the first signal according to the preset manner includes: obtaining a first shifted signal by shifting the first signal by M bits, M being the number of second clocks corresponding to a pulse length of the first signal; obtaining a second shifted signal by shifting the first signal by N bits, N being the number of first clocks corresponding to a cycle of the first signal; and obtaining the second signal according to a first edge of the first shifted signal and a second edge of the second shifted signal.
[0053] In some embodiments, the above process of obtaining the second signal according to the first edge and the second edge specifically includes: obtaining the second signal by outputting, when a first edge of the first shifted signal is detected, a signal with a first level through an output end before a second edge of the second shifted signal is detected, herein the first level is opposite to a level of a pulse signal of the first signal; and obtaining the second signal by outputting, when the second edge of the second shifted signal is detected, a signal with a second level through an output end before the first edge of the first shifted signal is detected, herein the second level is same as the level of the pulse signal level of the first signal. The specific process may be referred to the process as illustrated in
[0054] In summary, the method for signal transmission method, the circuit, and the memory provided in the present disclosure can, when the external first signal is received, process the first signal and output the second signal, which does not include a narrow pulse, to the internal of the memory for processing if there is a narrow pulse in the external signal. When there is no narrow pulse in the external signal, the first signal is directly output to the internal of the memory for processing, thereby eliminating the narrow pulse of the external signal received by the memory, so that the narrow pulse of the external signal will not affect normal processing for the external signal by the memory, and the accuracy of processing the signal by the memory can be improved.
[0055] Those ordinary skilled in the art will understand that all or part of the steps to implement the above mentioned embodiments of the method may be accomplished by the hardware related to the program instruction. The foregoing program may be stored in a computer readable storage medium. When the program is executed, the steps including the above mentioned embodiments of the method are executed. The foregoing storage medium includes a Read Only Memory (ROM), a RAM, a magnetic disk, an optical disk, or any other medium that can store program codes.
[0056] It is to be understood that the above various embodiments are only used to describe the technical solutions of the present disclosure, and are not intended to limit the present disclosure. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those ordinarily skilled in the art should understand that they can still modify the technical solutions described in all the foregoing embodiments, or equivalently replace some or all of the technical features, and these modifications or replacements do not depart the essences of the corresponding technical solutions from the spirit and scope of the technical solutions of all the embodiments of the present disclosure.