KR20000001334A - Booting circuit for pipe line control processor - Google Patents

Booting circuit for pipe line control processor Download PDF

Info

Publication number
KR20000001334A
KR20000001334A KR1019980021542A KR19980021542A KR20000001334A KR 20000001334 A KR20000001334 A KR 20000001334A KR 1019980021542 A KR1019980021542 A KR 1019980021542A KR 19980021542 A KR19980021542 A KR 19980021542A KR 20000001334 A KR20000001334 A KR 20000001334A
Authority
KR
South Korea
Prior art keywords
state
signal
state machine
reset
external clock
Prior art date
Application number
KR1019980021542A
Other languages
Korean (ko)
Other versions
KR100314805B1 (en
Inventor
정상수
Original Assignee
김영환
현대전자산업 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김영환, 현대전자산업 주식회사 filed Critical 김영환
Priority to KR1019980021542A priority Critical patent/KR100314805B1/en
Publication of KR20000001334A publication Critical patent/KR20000001334A/en
Application granted granted Critical
Publication of KR100314805B1 publication Critical patent/KR100314805B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • G06F9/30079Pipeline control instructions, e.g. multicycle NOP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE: A booting circuit for a pipe line control processor is provided for a safe operation on power-on or reset. CONSTITUTION: The booting circuit for a pipe line control processor comprises:a counting device for executing a counting operation by responding to an outer clock and keeping a counted number on a certain cycle; an enable device for outputting an enable signal of a state machine by responding to a counting signal output from the outer clock and the counting device; a state machine(28) for outputting a first, a second, and a third reset signals by responding to the outer clock and the state machine enable.

Description

파이프라인 제어 프로세서를 위한 부팅 회로Boot Circuit for Pipeline Control Processor

본 발명은 프로세서에 관한 것으로서, 특히 전원-온(Power-on) 및 리셋(reset) 시의 안정적인 동작을 위한 파이프라인 제어 프로세서의 부팅 회로에 관한 것이다.TECHNICAL FIELD The present invention relates to a processor, and more particularly, to a booting circuit of a pipelined control processor for stable operation at power-on and reset.

종래의 순차 제어 프로세서(sequential controlled processor)는 프로그램 카운터(program counter, 이하 PC라 함)가 가리키는 명령어를 페치(fetch)하여 명령어 레지스터(instruction register, 이하 IR이라 함)에 저장하고, 다시 명령어 디코딩(decoding) 블록에서 그 명령어를 입력받아 어떠한 명령어인지 분석한 후 프로세서 내부의 실행 블록에서 명령어를 실행한다. 이러한 순차 제어 프로세서는 차례로 하나의 명령어를 IR로 가져와 실행한 후에 그 다음 명령어를 다시 IR로 가져와 수행함으로써, IR은 한 명령어가 수행되는 중에 한 번만 새로운 데이터를 받아들이면 된다. 이러한 경우, 새로운 데이터를 받아 들이라는 제어 신호를 명령어마다 보내 더미 데이터(dummy data)가 IR로 들어올 확률은 거의 없다.A conventional sequential controlled processor fetches an instruction indicated by a program counter (hereinafter referred to as a PC), stores it in an instruction register (hereinafter referred to as IR), and decodes the instruction again. decoding) receives the instruction from the block, analyzes which instruction, and executes the instruction in an execution block inside the processor. The sequential control processor in turn takes one instruction to the IR, executes it, and then the next instruction back to the IR so that the IR only needs to accept new data once during the execution of the instruction. In this case, there is little possibility that dummy data enters the IR by sending a control signal for receiving new data for each instruction.

상기 순차 제어 프로세서와는 달리 파이프라인 제어 프로세서는 파이프라인 동작을 위해 1사이클마다 새로운 명령어를 계속 IR로 받아 들이고, 필요한 경우에 IR로 제어 신호를 보낸다. 즉, IR은 명령어에서 특별히 제어 신호를 보내지 않으면 자동으로 1사이클마다 새로운 데이터를 받아들인다. 그러나, 이러한 방법은 파이프라인 중에는 문제가 되지 않지만, 프로세서를 재시작하는 경우 예를 들어 전원-온 혹은 리셋 시에는 제어 특성상 PC에서 지정한 명령어가 미처 IR로 페치되기 전에 IR가 알 수 없는 데이터(unknown data) 또는 더미 데이터를 받아 들인다. 이런 잘못된 데이터가 디코딩 블록으로 들어가 수행되는 경우 프로세서의 동작을 예측할 수 없게 된다.Unlike the sequential control processor, the pipeline control processor continuously receives new instructions to the IR every cycle for pipeline operation, and sends control signals to the IR when necessary. In other words, the IR automatically accepts new data every cycle unless the command specifically sends a control signal. However, this is not a problem during the pipeline, but when restarting the processor, for example at power-on or reset, the control may not know the IR data before the instructions specified by the PC are fetched into the IR. ) Or accept dummy data. If such erroneous data enters the decoding block and is performed, the operation of the processor is unpredictable.

도 1은 전원-온 시 파이프라인 제어 프로세서의 종래 타이밍도를 도시한 것이다. 파이프라인이 3 스테이지(stage)로 구성되고, 명령어가 PC-IR-실행 블록의 순으로 진행되는 프로세서를 일례로 들어 설명한다. 1번째 클럭(10)에서 PC는 명령어가 저장되어 있는 메모리의 0000h(hexa)번지부터 억세스하기 시작하고, 2번째 클럭(12)에서는 PC에 의해 지정된 0000h 번지에 있는 명령어가 IR로 들어간다. 그런데, 파이프라인 제어 특성상 IR 및 타 레지스터들도 1번째 클럭(10)에서부터 무조건 명령어를 받아 들이는데, 이때 받아들인 명령어는 알 수 없는 데이터로 디코딩했을 때 다른 명령어로 해석되거나 종래의 명령어 코드에 존재하지 않을 경우 프로세서가 정지될 수 있다.1 shows a conventional timing diagram of a pipeline control processor at power-on. An example is described where a pipeline is composed of three stages and instructions are processed in the order of PC-IR-execution blocks. At the first clock 10, the PC starts to access the 0000h (hexa) address of the memory where the instruction is stored, and at the second clock 12, the command at the 0000h address designated by the PC enters the IR. However, due to pipeline control characteristics, IR and other registers also accept instructions unconditionally from the first clock 10. At this time, the received instructions are interpreted as other instructions or exist in conventional instruction codes when they are decoded into unknown data. If not, the processor may hang.

결론적으로, 파이프라인 제어 프로세서에서의 전원-온 또는 리셋 시 PC에 의해 지정된 명령어를 읽어오기 전에 IR 및 다른 레지스터들이 오류 데이터를 받아들임으로써 프로세서의 오동작을 야기하는 문제가 있다.In conclusion, there is a problem that the IR and other registers accept error data before reading instructions designated by the PC at power-on or reset in the pipeline control processor, causing the processor to malfunction.

본 발명은 상기 문제점을 해결하기 위하여 안출된 것으로써, 전원-온 및 리셋과 같이 파이프라인을 새로 시작하는 경우 파이프라인 제어 프로세서의 정확한 동작을 보장하는 파이프라인 제어 프로세서를 위한 부팅 회로를 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and provides a booting circuit for a pipeline control processor to ensure the correct operation of the pipeline control processor when the pipeline is newly restarted, such as power-on and reset. There is a purpose.

도 1은 종래 기술에 따른 전원-온 시 파이프라인 제어 프로세서의 타이밍도.1 is a timing diagram of a pipeline control processor at power-on according to the prior art.

도 2는 본 발명에 따른 부팅 회로 블록도.2 is a boot circuit block diagram in accordance with the present invention.

도 3은 본 발명에 따른 스테이트 머신 상태도.3 is a state machine state diagram in accordance with the present invention.

도 4는 본 발명에 따른 부팅 회로의 타이밍도.4 is a timing diagram of a boot circuit in accordance with the present invention.

* 도면의 주요 부분에 대한 설명* Description of the main parts of the drawing

20 : 모드 8 카운터 22, 26 : 논리곱 게이트20: mode 8 counter 22, 26: logical gate

24 : D-플립플롭 28 : 스테이트 머신24: D-Flip-Flop 28: State Machine

30 : 동기부 32 : 삼상 버퍼30: synchronizer 32: three-phase buffer

상기 목적을 달성하기 위한 본 발명은 외부 클럭에 응답하여 카운팅 동작을 수행하고, 임의의 사이클에서 카운팅된 값을 계속 유지하는 카운팅 수단; 상기 외부 클럭 및 상기 카운팅 수단으로부터 출력되는 카운팅 신호에 응답하여 스테이트 머신 인에이블 신호를 출력하는 인에이블 수단; 상기 외부 클럭 및 상기 스테이트 머신 인에이블에 응답하여 제1 리셋 신호, 제2 리셋 신호 및 제3 리셋 신호를 출력하는 스테이트 머신; 및 상기 카운팅 수단으로부터 출력되는 카운팅 신호에 응답하여 상기 외부 클럭을 상기 프로세서의 내부 클럭으로 전달하는 내부 클럭 생성 수단을 포함하여 이루어진다.The present invention for achieving the above object comprises a counting means for performing a counting operation in response to an external clock, and maintaining the counted value in any cycle; Enable means for outputting a state machine enable signal in response to a counting signal output from said external clock and said counting means; A state machine outputting a first reset signal, a second reset signal, and a third reset signal in response to the external clock and the state machine enable; And internal clock generation means for transmitting the external clock to the internal clock of the processor in response to a counting signal output from the counting means.

본 발명은 파이프라인 제어 프로세서에서 최초로 파이프라인이 시작될 때 PC나 IR과 같이 프로세서의 동작을 주도하는 레지스터들을 프로세서 리셋 시의 초기값으로 리셋하여 더미 데이터가 IR과 타 레지스터들에 들어가지 못하도록 하고, 다시 파이프라인 상에서 이들이 정상적으로 동작해야 할 시점에서 리셋을 해제하는 부팅 회로에 관한 것이다.The present invention resets the registers that drive the operation of the processor, such as a PC or an IR, to the initial value at the processor reset when the pipeline is first started in the pipeline control processor so that dummy data cannot enter the IR and other registers. Again, it's about booting circuits that release the reset when they should work normally in the pipeline.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 살펴본다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 부팅 회로에 대한 블록도로서, 20은 이진 모드 8 카운터, 21은 스테이트 머신 인에이블부, 22 및 26은 논리곱 게이트, 24는 D-플립플롭(flipflop), 28은 스테이트 머신(state machine), 30은 동기부, 32는 삼상 버퍼(tri-state buffer)를 각각 나타낸다.FIG. 2 is a block diagram of a boot circuit of the present invention, where 20 is a binary mode 8 counter, 21 is a state machine enable portion, 22 and 26 are AND gates, 24 is a D-flipflop, and 28 is a state A state machine, 30 denotes a synchronizer, 32 denotes a tri-state buffer, respectively.

모드 8 카운터(20)는 "0"에서 "7"까지 세는 이진 카운터로서 프로세서가 전원-온된 후 외부 클럭이 안정화될 때까지 기다리는 역할을 한다. "7"이 카운팅되면 논리곱 게이트(22)의 출력 신호가 "1"이 되고, 상기 "1"의 출력 신호가 모드 8 카운터(20)로 피드백되어 카운터는 "7"인 상태를 홀드(Hold)하여 계속 그 값을 유지한다.The mode 8 counter 20 is a binary counter that counts from "0" to "7" and waits for the external clock to stabilize after the processor is powered on. When " 7 " is counted, the output signal of the AND gate 22 becomes " 1 ", and the output signal of " 1 " is fed back to the mode 8 counter 20 so that the counter holds " 7 " To keep the value.

스테이트 머신 인에이블부(21)는 모드 8 카운터(20)의 출력에 응답하여 스테이트 머신(28)을 인에이블하는 인에이블 신호(ASM_enable)를 생성하되, 카운터가 "7"이 되는 그 사이클 동안만 "하이"상태로 유지하도록 구성된다. 스테이트 머신 인에이블부(21)는 외부 클럭에 동기되어 논리곱 게이트(22)의 출력 신호를 래치하는 D-플립플롭(24)과, 카운터의 출력신호를 논리곱하는 논리곱 게이트(22)의 출력과 반전된 D-플립플롭(24) 출력을 입력받아 ASM_enable을 출력하는 논리곱 게이트(26)를 포함한다.The state machine enable unit 21 generates an enable signal ASM_enable that enables the state machine 28 in response to the output of the mode 8 counter 20, but only during those cycles in which the counter becomes " 7 ". Configured to remain in a "high" state. The state machine enable unit 21 outputs the D-flip flop 24 which latches the output signal of the AND gate 22 in synchronization with an external clock, and the AND gate 22 which ANDs the output signal of the counter. And an AND gate 26 that receives the inverted D-flip-flop 24 output and outputs ASM_enable.

스테이트 머신(28)은 외부 클럭 및 인에이블 신호(ASM_enable)에 응답하여 현재의 스테이트에서 다음 스테이트로 천이하는 기능을 가지는 것으로 파이프라인 제어 프로세서의 PC, IR 및 다른 레지스터를 각각 리셋하는 제1, 제2 및 제3 리셋 신호를 출력한다.The state machine 28 has a function of transitioning from the current state to the next state in response to an external clock and enable signal ASM_enable, and is used to reset the PC, IR and other registers of the pipeline control processor, respectively. The second and third reset signals are output.

삼상 버퍼(32)는 모드 8 카운터(20)의 출력에 응답하여 외부 클럭을 마이크로프로세서의 내부 클럭으로 전달한다. 즉, 카운터가 "7"을 카운팅할 때 인에이블 되어 외부 클럭을 내부 클럭으로 계속 전달한다.The three-phase buffer 32 transfers an external clock to the internal clock of the microprocessor in response to the output of the mode 8 counter 20. In other words, when the counter counts "7", it is enabled and continues to deliver the external clock to the internal clock.

동기부(30)는 제1, 제2 및 제3 리셋 신호를 내부 클럭 신호에 동기시켜 최종 출력한다. 이는 파이프라인 방식으로 동작하는 프로세서의 경우 대부분이 다중 위상(multi-phase)을 사용하기 때문에 각 레지스터가 동작하는 위상에 미리 맞추기 위한 것이다.The synchronizer 30 finally outputs the first, second and third reset signals in synchronization with the internal clock signal. This is to pre-tune each register to the operating phase, since most processors that operate in a pipelined manner use multi-phase.

다음으로, 스테이트 머신(28)에 대해 자세히 살펴보면, 파이프라인 제어 프로세서에서 최초로 파이프라인이 시작될 때 PC나 IR과 같이 프로세서의 동작을 주도하는 레지스터들을 프로세서가 리셋 시 가지는 초기값으로 리셋되게하여 더미 데이터가 IR과 타 레지스터들에 들어가지 못하도록 하고, 다시 파이프라인 상에서 이들이 정상적으로 동작해야 할 시점에 리셋을 해제하기 위해, 스테이트 머신(28)은 내부 클럭이 인가되지 않을 때 PC, IR, 타 레지스터들 모두 초기값을 가지게 하고, 1번째 내부 클럭에서 IR과 타 레지스터들만 초기값을 가지게 하고 PC는 정상 동작(즉, 명령어 억세스를 위한 유효한 주소를 가짐)을 하도록 리셋을 풀어주고, 2번째 내부 클럭에서 IR의 리셋 해제하고 3번째 내부 클럭에서는 모든 리셋을 해제하도록 한다.Next, when the state machine 28 is examined in detail, when the pipeline is first started in the pipeline control processor, the dummy data may be reset by initializing the registers that drive the operation of the processor, such as a PC or an IR, to an initial value of the processor. To prevent the PC from entering the IR and other registers and again to reset the point in time when they should be operating normally on the pipeline, the state machine 28 is responsible for all of the PC, IR, and other registers when the internal clock is not applied. Have initial value, only reset the IR and other registers on the 1st internal clock, reset the PC to normal operation (ie have a valid address for instruction access), and IR on the 2nd internal clock Undo the reset and reset all resets on the third internal clock.

도 3은 스테이트 머신에 대한 상태도이다. 스테이트 머신(28)의 구체적인 상태 천이를 살펴보면, 제1 스테이트(40)는 유휴 스테이트(idle state)로, 파이프라인 제어 마이크로프로세서가 전원-온된 후 아직 파이프라인 동작을 수행하기 이전이거나 파이프라인 동작을 시작하고 난 후 정상적으로 파이프라인이 진행 중인 경우로서 부팅 회로가 별다른 동작을 수행하지 않는다. 제1 스테이트(40)에서 ASM_enable 신호가 "하이"로 입력되면 본격적인 부팅 회로의 동작을 시작하기 위해 제2 스테이트(42)로 천이한다. 제2 스테이트(42)에서는 제1, 제2 및 제3 리셋 신호를 인에이블하여 PC, IR 및 타 레지스터들을 리셋한다. 이때, 부팅회로를 통해 제2 스테이트(42)부터 내부 클럭이 인가되어진다. 제2 스테이트(42)로부터 내부 클럭에 동기되어 차례로 제3 및 제4 스테이트(44, 46)로 천이되며, 제3 스테이트(44)에서는 제1 리셋 신호만을 디스에이블(disable)시켜 PC에 명령어 억세스를 위한 유효한 주소를 받아들일 수 있게 하고, 나머지 제2 및 제3 리셋 신호는 계속 인에이블하여 IR 및 타 레지스터들은 계속 리셋한다. 제4 스테이트(46)에서는 제2 리셋 신호를 디스에이블시켜 IR에 페치한 명령어를 저장할 수 있게 한다. 제4 스테이트(46)에서 내부 클럭에 동기되어 제1 스테이트(40)로 천이하게 되고, 제3 리셋 신호가 디스에이블되어 모든 레지스터들이 정상적으로 데이터를 받아들여 파이프라인 동작을 정상적으로 수행한다.3 is a state diagram for a state machine. Looking at the specific state transitions of state machine 28, first state 40 is an idle state, which is either before the pipelined microcontroller is powered on but before the pipeline operation has been performed, or before the pipelined operation. After startup, the pipeline is normally in progress, and the boot circuit does nothing. When the ASM_enable signal is input "high" in the first state 40, the state transitions to the second state 42 to start the operation of the full-fledged boot circuit. The second state 42 resets the PC, IR, and other registers by enabling the first, second, and third reset signals. At this time, the internal clock is applied from the second state 42 through the boot circuit. Transition from the second state 42 to the third and fourth states 44 and 46 in synchronization with the internal clock is performed. In the third state 44, only the first reset signal is disabled to access instructions to the PC. Allow a valid address to be accepted and the remaining second and third reset signals continue to enable so that the IR and other registers continue to reset. The fourth state 46 disables the second reset signal so that the fetched command can be stored in the IR. The fourth state 46 is shifted to the first state 40 in synchronization with the internal clock, and the third reset signal is disabled so that all registers normally receive data and perform a pipeline operation normally.

도 4는 본 발명의 부팅 회로에 대한 타이밍도를 도시한 것이다.Figure 4 shows a timing diagram for the boot circuit of the present invention.

전원-온 후 본격적인 파이프라인 동작을 진행하기 이전이라 가정하고, 모드 8 카운터(20)에 의해 외부 클럭이 안정화될 때까지 카운팅 동작을 수행한다. 이때, 외부 클럭은 계속 클럭킹을 진행한다. 카운팅 결과가 "7"이 되었을 때, 비로소 삼상 버퍼(32)가 인에이블되어 외부 클럭이 내부 클럭으로 전달되어 내부 클럭의 클럭킹 동작을 진행하고, 논리곱 게이트(22)는 "하이" 신호를 출력한다. 그리고, 논리곱 게이트(26)는 D-플립플롭(24)의 "로우"신호("7"을 카운팅하는 사이클의 바로 이전 사이클에 의해 래치된 값)와 논리곱 게이트(22)의 "하이" 출력 신호에 응답하여 "하이"의 ASM_enable 신호를 스테이트 머신(28)으로 출력한다. 그에 따라, 스테이트 머신(28)은 제1 스테이트(40)에서 ASM_enable 신호에 의해 제2 스테이트(52)로 천이되어 제1, 제2 및 제3 리셋 신호를 "하이"로 인에이블시켜 PC, IR 및 타 레지스터를 초기값으로 리셋하여 더미 데이터의 유입을 차단한다.It is assumed that after the power-on and before the full pipeline operation is performed, the counting operation is performed until the external clock is stabilized by the mode 8 counter 20. At this time, the external clock continues to clock. When the counting result is "7", the three-phase buffer 32 is enabled and the external clock is transferred to the internal clock to proceed with the clocking operation of the internal clock, and the AND gate 22 outputs a "high" signal. do. The AND gate 26 is then the "low" signal of the D-flip-flop 24 (the value latched by the cycle immediately preceding the cycle counting "7") and the "high" of the AND gate 22. In response to the output signal, an ASM_enable signal of "high" is output to the state machine 28. Accordingly, state machine 28 transitions from first state 40 to second state 52 by the ASM_enable signal to enable the first, second, and third reset signals to " high " And other registers are reset to initial values to block the inflow of dummy data.

외부 클럭 신호의 그 다음 사이클에서, D-플립플롭(24)은 "하이"신호("7"을 카운팅한 사이클에서 래치된 값)를 논리곱 게이트(26)로 출력하여 "로우"의 ASM_enable 신호를 출력한다. 그에 따라 스테이트 머신(28)은 제2 스테이트(42)에서 제3 스테이트(44)로 천이되어 제1 리셋 신호를 "로우"로 디스에이블시켜 PC로 데이터(0000h)를 받아들이게 한다. 여기서, 나머지 리셋 신호는 계속 "하이"로 인에이블된 상태이므로 IR 및 타 레지스터는 초기값으로 리셋되어 더미 데이터의 유입은 차단된다.In the next cycle of the external clock signal, the D-flip-flop 24 outputs a "high" signal (a value latched in the cycle counting "7") to the AND gate 26 to output a "low" ASM_enable signal. Outputs State machine 28 thus transitions from second state 42 to third state 44 to disable the first reset signal " low " to receive data 0000h into the PC. In this case, since the remaining reset signal is continuously enabled as "high", the IR and other registers are reset to initial values so that the inflow of dummy data is blocked.

외부 클럭 신호의 그 다음 사이클에서, 계속해서 "로우"의 ASM_enable 신호를 출력한다. 그에 따라 스테이트 머신(28)은 제3 스테이트(44)에서 제4 스테이트(46)로 천이되어 제2 리셋 신호를 "로우"로 디스에이블시켜 PC 및 IR로 데이터(0001h, 0000h)를 받아들이게 한다. 여기서, 제3 리셋 신호만 계속 "하이"로 인에이블된 상태이므로 타 레지스터는 초기값으로 리셋되어 더미 데이터의 유입은 차단된다.In the next cycle of the external clock signal, it continues to output a "low" ASM_enable signal. State machine 28 thus transitions from third state 44 to fourth state 46, disabling the second reset signal " low " to accept data (0001h, 0000h) from PC and IR. Here, since only the third reset signal is continuously enabled as "high", the other register is reset to an initial value and the inflow of dummy data is blocked.

그 다음 사이클에서, 외부 클럭 신호에 응답하여 스테이트 머신(28)은 제4 스테이트(46)에서 제1 스테이트(40)로 천이되어 제3 리셋 신호를 "로우"로 디스에이블시켜 PC, IR 및 타 레지스터로 데이터(0002h, 0001h, 0000h)를 받아들이게 한다. 여기서, 모든 리셋 신호가 디스에이블되어 본격적인 파이프라인 동작을 시작한다.In the next cycle, in response to an external clock signal, state machine 28 transitions from fourth state 46 to first state 40 to disable the third reset signal to " low " Allows the register to accept data (0002h, 0001h, 0000h). Here, all reset signals are disabled to start full pipeline operation.

전술한 바와 같이 본 발명은 PC, IR 및 타 레지스터에 더미 데이터가 유입되는 것을 정확히 차단하고 있음을 알 수 있다.As described above, it can be seen that the present invention accurately blocks dummy data from flowing into the PC, the IR, and other registers.

본 발명의 기술 사상은 상기 바람직한 실시예에 따라 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며, 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술 분야의 통상의 전문가라면 본 발명의 기술 사상의 범위 내에서 다양한 실시예가 가능함을 이해할 수 있을 것이다.Although the technical spirit of the present invention has been described in detail according to the above-described preferred embodiment, it should be noted that the above-described embodiment is for the purpose of description and not of limitation. In addition, those skilled in the art will understand that various embodiments are possible within the scope of the technical idea of the present invention.

상기와 같이 이루어지는 본 발명은, 파이프라인 제어 마이크로프로세서에 채용되어 리셋시 혹은 전원-온 시 파이프라인 동작을 시작할 때의 더미 데이터를 차단하여 마이크로프로세서의 동작의 정확성을 보장해줄 수 있는 효과가 있다.The present invention made as described above has the effect that can be employed in the pipeline control microprocessor to ensure the accuracy of the operation of the microprocessor by blocking the dummy data when starting the pipeline operation at reset or power-on.

Claims (11)

파이프라인 방식으로 동작하는 프로세서에 있어서,In a processor operating in a pipelined manner, 외부 클럭에 응답하여 카운팅 동작을 수행하고, 임의의 사이클에서 카운팅된 값을 계속 유지하는 카운팅 수단;Counting means for performing a counting operation in response to an external clock and maintaining a counted value in any cycle; 상기 외부 클럭 및 상기 카운팅 수단으로부터 출력되는 카운팅 신호에 응답하여 스테이트 머신 인에이블 신호를 출력하는 인에이블 수단;Enable means for outputting a state machine enable signal in response to a counting signal output from said external clock and said counting means; 상기 외부 클럭 및 상기 스테이트 머신 인에이블에 응답하여 제1 리셋 신호, 제2 리셋 신호 및 제3 리셋 신호를 출력하는 스테이트 머신; 및A state machine outputting a first reset signal, a second reset signal, and a third reset signal in response to the external clock and the state machine enable; And 상기 카운팅 수단으로부터 출력되는 카운팅 신호에 응답하여 상기 외부 클럭을 상기 프로세서의 내부 클럭으로 전달하는 내부 클럭 생성 수단Internal clock generation means for transmitting the external clock to the internal clock of the processor in response to a counting signal output from the counting means; 을 포함하여 이루어지는 부팅 회로.Boot circuit consisting of. 제 1 항에 있어서,The method of claim 1, 상기 제1, 제2 및 제3 리셋 신호를 상기 내부 클럭에 동기시켜 상기 프로세서로 출력하는 동기 수단Synchronization means for outputting the first, second, and third reset signals to the processor in synchronization with the internal clock; 을 더 포함하여 이루어지는 부팅 회로.Boot circuit made further comprising. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 인에이블 수단은The enable means 상기 임의의 사이클에서 카운팅된 값에 응답하여 상기 임의의 사이클에서만 상기 스테이트 머신을 인에이블하는 임의의 레벨을 가진 상기 스테이트 머신 인에이블 신호를 출력하는 부팅 회로.And outputting said state machine enable signal with an arbitrary level enabling said state machine only in said any cycle in response to a value counted in said any cycle. 제 3 항에 있어서,The method of claim 3, wherein 상기 인에이블 수단은The enable means 상기 외부 클럭에 응답하여 상기 카운팅 수단으로부터 출력되는 카운팅 신호를 래치하는 래칭 수단; 및Latching means for latching a counting signal output from said counting means in response to said external clock; And 상기 카운팅 신호와 반전된 상기 래칭 수단의 출력을 입력받아 논리곱하여 상기 스테이트 머신 인에이블 신호로 출력하는 논리 수단Logic means for receiving the output of the latching means and the counting signal inverted and logically multiplied to output as the state machine enable signal 을 포함하여 이루어지는 부팅 회로.Boot circuit consisting of. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제1, 제2 및 제3 리셋 신호는The first, second and third reset signals are 상기 프로세서의 프로그램 카운터, 명령어 레지스터 및 기타 다른 레지스터를 각각 리셋하는 신호인 것을 특징으로 하는 부팅 회로.And a signal for resetting a program counter, an instruction register, and other registers of the processor, respectively. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 내부 클럭 생성 수단은The internal clock generating means 상기 임의의 사이클에서 카운팅된 값에 의해 인에이블되어 상기 외부 클럭을 마이크로프로세서의 내부 클럭으로 전달하는 삼중 버퍼Triple buffer enabled by the counted value in the arbitrary cycle to transfer the external clock to the internal clock of the microprocessor 를 포함하여 이루어지는 부팅 회로.Boot circuit comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 스테이트 머신은The state machine 제1 스테이트, 제2 스테이트, 제3 스테이트 및 제4 스테이트로 구성되고, 상기 각 상태는 상기 스테이트 머신 인에이블 신호 및 상기 외부 클럭 신호에 의해 제어되는 것을 특징으로 하는 부팅 회로.And a first state, a second state, a third state, and a fourth state, wherein each state is controlled by the state machine enable signal and the external clock signal. 제 7 항에 있어서,The method of claim 7, wherein 상기 스테이트 머신은The state machine 상기 제1 스테이트에서 상기 임의의 레벨을 가진 상기 스테이트 머신 인에이블 신호가 입력될 때 상기 제1, 제2 및 제3 리셋 신호를 인에이블 상태로 출력하고, 상기 제2 스테이트로 천이하는 것을 특징으로 하는 부팅 회로.Outputting the first, second and third reset signals in an enabled state and transitioning to the second state when the state machine enable signal having the arbitrary level is input in the first state; Boot circuit. 제 7 항에 있어서,The method of claim 7, wherein 상기 스테이트 머신은The state machine 상기 제2 스테이트에서 상기 외부 클럭 신호에 동기될 때 상기 제1 리셋 신호를 디스에이블 상태로 출력하고, 상기 제2 및 제3 리셋 신호를 계속 인에이블 상태로 출력하고, 상기 제3 스테이트로 천이하는 것을 특징으로 하는 부팅 회로.Outputting the first reset signal in a disabled state when the second state is synchronized with the external clock signal, continuing to output the second and third reset signals in the enabled state, and transitioning to the third state Boot circuit, characterized in that. 제 7 항에 있어서,The method of claim 7, wherein 상기 스테이트 머신은The state machine 상기 제3 스테이트에서 상기 외부 클럭 신호에 동기될 때 상기 제1 및 제2 리셋 신호를 디스에이블 상태로 출력하고, 상기 제3 리셋 신호를 계속 인에이블 상태로 출력하고, 상기 제4 스테이트로 천이하는 것을 특징으로 하는 부팅 회로.Outputting the first and second reset signals in a disabled state when the third state is synchronized with the external clock signal, continuing to output the third reset signal in a disabled state, and transitioning to the fourth state Boot circuit, characterized in that. 제 7 항에 있어서,The method of claim 7, wherein 상기 스테이트 머신은The state machine 상기 제4 스테이트에서 상기 외부 클럭 신호에 동기될 때 상기 제1, 제2 및 제3 리셋 신호를 모두 디스에이블 상태로 출력하여 상기 제1 스테이트로 천이하여 정상적인 파이프라인 동작을 수행하는 것을 특징으로 하는 부팅 회로.When the fourth state is synchronized with the external clock signal, all of the first, second and third reset signals are output in a disabled state to transition to the first state to perform a normal pipeline operation. Boot circuit.
KR1019980021542A 1998-06-10 1998-06-10 A booting circuit for pipeline-controlled processor KR100314805B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980021542A KR100314805B1 (en) 1998-06-10 1998-06-10 A booting circuit for pipeline-controlled processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980021542A KR100314805B1 (en) 1998-06-10 1998-06-10 A booting circuit for pipeline-controlled processor

Publications (2)

Publication Number Publication Date
KR20000001334A true KR20000001334A (en) 2000-01-15
KR100314805B1 KR100314805B1 (en) 2002-01-15

Family

ID=19538912

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980021542A KR100314805B1 (en) 1998-06-10 1998-06-10 A booting circuit for pipeline-controlled processor

Country Status (1)

Country Link
KR (1) KR100314805B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180099096A (en) 2017-02-28 2018-09-05 한국원자력연구원 Small-angle spectrometer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180099096A (en) 2017-02-28 2018-09-05 한국원자력연구원 Small-angle spectrometer

Also Published As

Publication number Publication date
KR100314805B1 (en) 2002-01-15

Similar Documents

Publication Publication Date Title
US5796995A (en) Circuit and method for translating signals between clock domains in a microprocessor
US4870562A (en) Microcomputer capable of accessing internal memory at a desired variable access time
US5440747A (en) Data processor with control logic for storing operation mode status and associated method
US11593241B2 (en) Processor with debug pipeline
US5887129A (en) Asynchronous data processing apparatus
US8458516B2 (en) Processor system and operation mode switching method for processor system
KR20020073233A (en) Method and apparatus for executing coprocessor instructions
CN113228024A (en) Secure predictor for speculative execution
US5559458A (en) Reset circuit for a pipelined signal processor
CN110806899B (en) Assembly line tight coupling accelerator interface structure based on instruction extension
KR20070004705A (en) Electronic circuit
JPH0728670A (en) Information processor
US6070218A (en) Interrupt capture and hold mechanism
US5742842A (en) Data processing apparatus for executing a vector operation under control of a master processor
KR20000001334A (en) Booting circuit for pipe line control processor
US20070294519A1 (en) Localized Control Caching Resulting In Power Efficient Control Logic
US4811211A (en) On-line overflow response system and ALU branching structure
US20080229074A1 (en) Design Structure for Localized Control Caching Resulting in Power Efficient Control Logic
JP2001014161A (en) Programmable controller
JP2504191B2 (en) Microprocessor
JP2636074B2 (en) Microprocessor
JP5012562B2 (en) Microcomputer
US6473864B1 (en) Method and system for providing power management to a processing system
JPH05100883A (en) Semiconductor device for processing data
US7124281B1 (en) Processing system having sequential address indicator signals

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: 20051021

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee