KR100278017B1 - Shift register circuit by using memory - Google Patents
Shift register circuit by using memory Download PDFInfo
- Publication number
- KR100278017B1 KR100278017B1 KR1019970078117A KR19970078117A KR100278017B1 KR 100278017 B1 KR100278017 B1 KR 100278017B1 KR 1019970078117 A KR1019970078117 A KR 1019970078117A KR 19970078117 A KR19970078117 A KR 19970078117A KR 100278017 B1 KR100278017 B1 KR 100278017B1
- Authority
- KR
- South Korea
- Prior art keywords
- reference clock
- clock signal
- signal
- shift register
- memory
- Prior art date
Links
Images
Landscapes
- Pulse Circuits (AREA)
Abstract
본 발명은 쉬프트 레지스터 회로에 관한 것으로서, 특히 지연소자 수에 구애됨이 없이 입력데이터를 N주기만큼 지연시킬 수 있도록 하기 위하여 메모리를 이용한 쉬프트 레지스터 회로에 대한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shift register circuit, and more particularly, to a shift register circuit using a memory in order to delay input data by N periods regardless of the number of delay elements.
본 발명은, 입력데이터를 기준클럭신호에 동기시켜 출력하는 제1래치부와, 상기 기준클럭신호를 카운팅하여 어드레스 신호를 발생시키는 카운터와, 상기 기준클럭신호와 지연된 상기 기준클럭신호를 게이팅조합하여 리드/라이트 인에이블 신호를 발생시키는 리드/라이트 인에이블 신호 발생부와, 상기 리드/라이트 인에이블 신호에 응답하여 상기 어드레스 신호에 의하여 지정된 어드레스 영역에 상기 제1래치부의 출력데이터를 저장하거나 출력하는 메모리와, 상기 메모리의 출력데이터를 상기 기준클럭신호에 동기시켜 출력하는 제2래치부를 포함함을 특징으로 한다.The present invention provides a first latch unit for outputting input data in synchronization with a reference clock signal, a counter for counting the reference clock signal to generate an address signal, and a gating combination of the reference clock signal and the delayed reference clock signal. A read / write enable signal generator for generating a read / write enable signal and storing or outputting output data of the first latch unit in an address region designated by the address signal in response to the read / write enable signal; And a second latch unit configured to output an output data of the memory in synchronization with the reference clock signal.
Description
본 발명은 쉬프트 레지스터(shift register) 회로 설계에 관한 것으로, 특히 필드 프로그래머블 게이트 어레이(Field Programmable Gate Array: FPGA) 등에서 소수의 PLC(Programmable Logic Cell)를 사용하여 다단의 쉬프트 레지스터 회로를 구현할 수 있는 회로에 관한 것이다.BACKGROUND OF THE
도 1 은 4비트 쉬프트 레지스터 회로도를 예시한 것이며, 도 2 는 도 1 의 구성을 갖는 쉬프트 레지스터 회로의 동작 타이밍도를 도시한 것이다. 도 1을 참조하여 4비트 쉬프트 레지스터 회로의 동작을 간략히 설명하면, 첫번째 D-플립플롭 10의 D단자에 입력된 입력데이터 Din은 기준클럭신호(CK)의 상승엣지(rising edge)시에 래치출력됨으로써 1 클럭주기만큼 지연출력된다. 그리고 상기 D-플립플롭 10의 출력신호 Q0는 다음단의 D-플립플롭 20에서 또 다시 1클럭 주기만큼 지연된 Q1신호로 출력되고, 상기 Q1신호는 D-플립플롭 30에서 다음 기준클럭신호(CK)의 상승엣지시에 래치되어 또 다시 1주기 지연된 Q2신호로 출력된다. 그리고 상기 Q2신호는 D-플립플롭 40에서 1주기 더 지연되어 출력데이터 Dout으로 출력됨으로써, 결과적으로 입력데이터 Din이 4클럭 주기만큼 지연 출력된다.FIG. 1 illustrates a 4-bit shift register circuit diagram, and FIG. 2 shows an operation timing diagram of the shift register circuit having the configuration of FIG. Referring to FIG. 1, the operation of the 4-bit shift register circuit will be briefly described. The input data Din input to the D terminal of the first D-
상술한 구성의 쉬프트 레지스터 회로는 많은 영역에서 폭넓게 사용된다. 그러나 상기와 같은 일반적인 쉬프트 레지스터 회로에서 입력데이터를 10주기 지연시키기 위해서는 10개의 플립플롭이 필요하며, 100주기 지연시키기 위해서는 100개의 플립플롭이 필요하다. 즉, 입력데이터를 N주기만큼 지연시키기 위해서는 N개의 지연소자가 필요하나, FPGA등과 같이 한정된 수의 지연소자를 가지는 장치에서는 지연소자 수의 제약으로 인하여 원하는 다단계의 쉬프트 레지스터 회로를 구현할 수 없다는 문제가 있었다.The shift register circuit of the above-described configuration is widely used in many areas. However, in the general shift register circuit as described above, 10 flip-flops are needed to delay the input data by 10 cycles, and 100 flip-flops are required to delay the 100 cycles. In other words, N delay elements are required to delay the input data by N periods. However, in a device having a limited number of delay elements, such as an FPGA, a problem in that a desired multi-stage shift register circuit cannot be implemented due to the limitation of the number of delay elements. there was.
따라서 본 발명의 목적은 지연소자 개수에 구애됨이 없이 입력데이터를 N주기만큼 지연시킬 수 있도록 한, 메모리를 이용한 쉬프트 레지스터 회로를 제공함에 있다.Accordingly, an object of the present invention is to provide a shift register circuit using a memory that can delay input data by N periods without being limited by the number of delay elements.
본 발명의 또 다른 목적은 필드 프로그래머블 게이트 어레이(FPGA) 등에서 소수의 프로그래머블 로직 셀만으로도 다단의 쉬프트 레지스터 회로를 설계할 수 있는 쉬프트 레지스터 회로를 제공함에 있다.It is still another object of the present invention to provide a shift register circuit capable of designing a multi-stage shift register circuit using only a few programmable logic cells in a field programmable gate array (FPGA).
상기 목적을 달성하기 위한 본 발명에 의한 쉬프트 레지스터 회로는,The shift register circuit according to the present invention for achieving the above object,
입력데이터를 기준클럭신호에 동기시켜 출력하는 제1래치부와,A first latch unit for outputting input data in synchronization with a reference clock signal;
상기 기준클럭신호를 카운팅하여 어드레스 신호를 발생시키는 카운터와,A counter for counting the reference clock signal to generate an address signal;
상기 기준클럭신호와 지연된 상기 기준클럭신호를 게이팅조합하여 리드/라이트 인에이블 신호를 발생시키는 리드/라이트 인에이블 신호 발생부와,A read / write enable signal generator configured to generate a read / write enable signal by gating a combination of the reference clock signal and the delayed reference clock signal;
상기 리드/라이트 인에이블 신호에 응답하여, 상기 어드레스 신호에 의하여 지정된 어드레스 영역에 상기 제1래치부의 출력데이터를 저장하거나 출력하는 메모리와,A memory for storing or outputting output data of the first latch unit in an address area designated by the address signal in response to the read / write enable signal;
상기 메모리의 출력데이터를 상기 기준클럭신호에 동기시켜 출력하는 제2래치부를 포함하여 구성됨을 특징으로 한다.And a second latch unit configured to output the output data of the memory in synchronization with the reference clock signal.
도 1 은 통상적인 4비트 쉬프트 레지스터 회로도.1 is a typical 4-bit shift register circuit diagram.
도 2 는 도 1 의 구성을 갖는 쉬프트 레지스터 회로의 동작 타이밍도.2 is an operation timing diagram of a shift register circuit having the configuration of FIG.
도 3 은 본 발명의 실시예에 따른 쉬프트 레지스터 회로도.3 is a shift register circuit diagram according to an embodiment of the present invention.
도 4 는 도 3 중 인에이블 신호(EN)가 "하이"레벨로 액티브되어 있을 경우의 동작 타이밍도.FIG. 4 is an operation timing diagram when the enable signal EN in FIG. 3 is active at the "high" level.
도 5 는 도 3 중 인에이블 신호(EN)가 "로우"레벨로 디액티브되어 있을 경우의 동작 타이밍도.FIG. 5 is an operation timing diagram when the enable signal EN in FIG. 3 is deactivated to the "low" level. FIG.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the preferred embodiment of the present invention. In the following description of the present invention, detailed descriptions of well-known functions or configurations will be omitted if it is determined that the detailed description of the present invention may unnecessarily obscure the subject matter of the present invention.
도 3 은 본 발명의 실시예에 따른 쉬프트 레지스터 회로도를 도시한 것이며, 도 4 는 도 3 중 인에이블 신호(EN)가 "하이"레벨로 액티브(active)되어 있을 경우의 동작 타이밍도를, 도 5 는 도 3 중 인에이블 신호(EN)가 "로우"레벨로 디액티브(de-active)되어 있을 경우의 동작 타이밍도를 각각 도시한 것이다.FIG. 3 illustrates a shift register circuit diagram according to an exemplary embodiment of the present invention, and FIG. 4 illustrates an operation timing diagram when the enable signal EN of FIG. 3 is active at a "high" level. 5 shows an operation timing diagram when the enable signal EN in FIG. 3 is de-active to the "low" level, respectively.
우선 도 3 을 참조하여 본 발명의 실시예에 따른 쉬프트 레지스터 회로의 구성을 설명하면, D-플립플롭 50은 인에이블(EN)신호가 액티브된 구간에서 입력데이터 Din을 기준클럭신호(CK)의 상승엣지시에 래치하여 Q단자를 통해 출력한다. 이와 같이 Q단자를 통해 출력되는 신호 DI는 메모리 70의 데이터 입력단 DI로 입력된다. 카운터 60은 인에이블 신호(EN)가 액티브된 구간에서 기준클럭신호(CK)를 카운트하여 발생된 어드레스 신호를 메모리 70의 어드레스단자 AD로 출력한다.First, referring to FIG. 3, a configuration of a shift register circuit according to an exemplary embodiment of the present invention will be described. The D-flip-
상기 메모리 70에는 쉬프트하고자 하는 데이터가 저장된다. 따라서 D-플립플롭 80은 상기 메모리 70으로부터 출력되는 데이터 D0를 기준클럭(CK)의 하강엣지시에 래치하여 출력한다. 한편 D-플립플롭 90은 상기 D-플립플롭 80의 출력데이터 Dn을 기준클럭신호(CK)의 상승엣지시에 래치하여 출력데이터 Dout을 출력함으로서 상기 D-플립플롭 80에 의한 반주기 위상차를 보상한다.The data to be shifted is stored in the
한편, 기준클럭신호(CK)는 딜레이(100)에 의해 소정 주기만큼 딜레이(delay)된 후 낸드게이트 110으로 입력되고, 상기 낸드게이트 110은 딜레이된 기준클럭신호(CK)와 반전된 기준클럭신호(CK)를 낸드게이팅 조합하여 출력한다. 그리고 상기 낸드게이트 110의 출력신호는 오아게이트 120으로 입력되어 인에이블 신호(EN)와 오아게이팅 조합되어 상기 메모리 70의 리드/라이트(Read/Write)단자로 입력된다. 즉, 상기 딜레이 100과 낸드게이트 110 및 오아게이트 120은 상기 기준클럭신호의 반주기내에서 입력데이터를 상기 메모리 70에 저장하기 위한 리드/라이트 인에이블 신호를 발생하여 출력한다. 이에 따라 상기 딜레이 100과 낸드게이트 110 및 오아게이트 120을 리드/라이트 인에이블 신호 발생부로 정의한다.On the other hand, the reference clock signal CK is delayed by the
이하 도 3 내지 도 5 를 참조하여 인에이블 신호(EN)가 액티브 혹은 디액티브될 때의 동작을 상세히 설명하면 다음과 같다.Hereinafter, an operation when the enable signal EN is activated or deactivated will be described in detail with reference to FIGS. 3 to 5.
우선 도 4 와 같이 인에이블 신호(EN)가 "하이"레벨로 액티브되어 있을 경우의 동작을 설명하면, D-플립플롭 50에 입력되는 데이터 Din은 기준클럭신호(CK)의 상승엣지시에 래치출력됨으로써 1주기 지연된 출력신호 DI가 메모리 70의 DI단자로 입력되며, 카운터 60은 상기 기준클럭신호(CK)를 카운팅하여 메모리 70의 어드레스를 1증가시킨다. 본 발명의 실시예에 따른 쉬프트 레지스터 회로에서, 입력데이터를 쉬프트시키고자 하는 횟수가 N이라고 할 때, 상기 카운터 60은 (N-2)진 카운터로 설계된다.First, when the enable signal EN is active at the "high" level as illustrated in FIG. 4, the data Din input to the D-flip-
한편 낸드게이트 110에서는 딜레이 100에 의하여 지연된 기준클럭신호(CK)와 반전된 기준클럭신호(CK)가 낸드게이팅 조합됨으로써 상기 딜레이 100에 의한 지연시간만큼의 주기를 가진 반전펄스신호가 발생되어 오아게이트 120으로 입력된다. 그리고 오아게이트 120에서는 상기 반전펄스신호와 반전된 인에이블 신호(EN)가 오아게이팅 조합됨으로서 도 4 에 도시한 바와 같은 타이밍을 갖는 리드/라이트 인에이블 신호 R/W가 발생된다.On the other hand, the
따라서 D-플립플롭 50의 출력신호 DI는 기준클럭신호(CK)가 "로우"인 반주기내에 메모리 70에 저장된다. 한편 기준클럭신호(CK)가 "하이"인 상태에서 메모리 70은 데이터 리드상태가 되며, 이때 상기 메모리 70에서는 N-2 클럭 전의 데이터가 DO단자를 통해 출력된다. 즉 메모리 70에 저장된 데이터는 N-2 클럭주기 후에 출력된다. 이에 따라 기준클럭신호(CK)가 하강엣지가 될 때 메모리 70의 출력신호 DO는 D-플립플롭 80에서 래치출력되며, 이와 같이 래치출력된 출력신호 Dn은 D-플립플롭 90에서 다시 기준클럭신호(CK)의 상승엣지시에 래치출력됨으로써, Dn과는 반주기의 위상차를 가지는 데이터 Dout이 출력된다.Therefore, the output signal DI of the D-flip-
이하 도 5 와 같이 인에이블 신호(EN)가 "로우"레벨로 디액티브되어 있을 경우의 쉬프트 레지스터 회로 동작을 설명하면, 우선 D-플립플롭 50은 기준클럭신호(CK)의 입력에 무관하게 이전 데이터를 출력하며, 카운터 60도 이전 어드레스값을 유지한다. 그리고 낸드게이트 110에서는 딜레이 100에 의하여 지연된 기준클럭신호(CK)와 반전된 기준클럭신호(CK)가 낸드게이팅 조합됨으로써 상기 딜레이 100에 의한 지연시간만큼의 주기를 가진 반전펄스신호가 발생되어 오아게이트 120으로 입력된다. 오아게이트 120에서는 상기 반전펄스신호와 반전된 인에이블 신호(EN)가 오아게이팅 조합됨으로써, 상기 인에이블 신호(EN)가 디액티브된 구간에서는 라이트 인에이블 신호가 발생하지 않는다. 따라서 기준클럭신호(CK)가 "로우"인 반주기동안에는 D-플립플롭 50의 출력신호 DI가 메모리 70에 저장되지 않는다.Hereinafter, the shift register circuit operation when the enable signal EN is deactivated to the "low" level as shown in FIG. 5 will be described. First, the D-flip-
한편, 기준클럭신호(CK)가 "하이"인 상태에서 메모리 70은 리드상태가 되며, 메모리 70의 출력신호 DO는 어드레스가 변하지 않으므로 이전 데이터를 출력하게 된다. 따라서 기준클럭신호(CK)가 하강엣지일 때 D-플립플롭 80도 이전 데이터를 출력하게 되며, 기준클럭신호(CK)가 상승엣지일 때 D-플립플롭 90도 이전 데이터를 Dout으로 출력하게 된다.On the other hand, when the reference clock signal CK is " high, " the
따라서 본 발명은 상술한 바와 같은 동작을 기준클럭신호의 매 주기마다 반복 수행함으로써 N진 쉬프트 레지스터 회로로 동작할 수 있게 된다.Accordingly, the present invention can operate as the N-shift shift register circuit by repeatedly performing the above-described operation every cycle of the reference clock signal.
상술한 바와 같이 본 발명은 카운터와 메모리 및 소수의 지연소자를 사용하여 소망하는 쉬프트 레지스터 회로를 설계할 수 있기 때문에 FPGA나 기타 회로를 최적화시키는 회로에 효율적으로 활용할 수 있는 장점이 있다. 특히, FPGA내의 PLC를 소용량 메모리로 활용할 수 있는 회로에서는 보다 더 큰 효과를 볼 수 있다.As described above, since the desired shift register circuit can be designed using a counter, a memory, and a small number of delay elements, the present invention can be efficiently utilized for a circuit for optimizing an FPGA or other circuits. In particular, circuits that can utilize PLCs in FPGAs as small-capacity memory can benefit even more.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970078117A KR100278017B1 (en) | 1997-12-30 | 1997-12-30 | Shift register circuit by using memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970078117A KR100278017B1 (en) | 1997-12-30 | 1997-12-30 | Shift register circuit by using memory |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990058034A KR19990058034A (en) | 1999-07-15 |
KR100278017B1 true KR100278017B1 (en) | 2001-01-15 |
Family
ID=66180104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970078117A KR100278017B1 (en) | 1997-12-30 | 1997-12-30 | Shift register circuit by using memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100278017B1 (en) |
-
1997
- 1997-12-30 KR KR1019970078117A patent/KR100278017B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19990058034A (en) | 1999-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6573754B2 (en) | Circuit configuration for enabling a clock signal in a manner dependent on an enable signal | |
US8476949B2 (en) | Edge-triggered flip-flop design | |
US5789953A (en) | Clock signal generator providing non-integer frequency multiplication | |
US6864735B2 (en) | Circuit and method for regenerating reset and clock signals and high-speed digital system incorporating the same | |
US7420872B2 (en) | Command decoder circuit of semiconductor memory device | |
US7843743B2 (en) | Data output circuit for semiconductor memory apparatus | |
KR20020049387A (en) | High speed counter having sequential binary order and the method thereof | |
US5742190A (en) | Method and apparatus for clocking latches in a system having both pulse latches and two-phase latches | |
US5047658A (en) | High frequency asynchronous data synchronizer | |
US6137331A (en) | Electronic circuit with dual edge triggered flip-flop | |
US5708688A (en) | High speed programmable burst address generation circuit | |
KR100278017B1 (en) | Shift register circuit by using memory | |
US6194938B1 (en) | Synchronous integrated clock circuit | |
US6075398A (en) | Tunable digital oscillator circuit and method for producing clock signals of different frequencies | |
US4975884A (en) | Presettable synchronous predecoded counter | |
KR100792379B1 (en) | Delay locked loop that is capable of multi frequency operation and method for dividing frequency of the same | |
JP3087734B2 (en) | Clock signal generation circuit | |
US6201414B1 (en) | Pulse width modulation circuit | |
US20050146385A1 (en) | Power-on reset circuit | |
KR20010006850A (en) | Improved skew pointer generation | |
US6633966B1 (en) | FIFO memory having reduced scale | |
KR100551898B1 (en) | Shift register and d-flipflop | |
KR0153046B1 (en) | Phase converting circuit enable to select phase delay | |
JP3662411B2 (en) | Trigger circuit | |
JP2007159132A (en) | Circuit and method for trigger event in fraction of clock cycle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20110929 Year of fee payment: 12 |
|
LAPS | Lapse due to unpaid annual fee |