JPH0528107A - Data bus transfer circuit - Google Patents

Data bus transfer circuit

Info

Publication number
JPH0528107A
JPH0528107A JP18282691A JP18282691A JPH0528107A JP H0528107 A JPH0528107 A JP H0528107A JP 18282691 A JP18282691 A JP 18282691A JP 18282691 A JP18282691 A JP 18282691A JP H0528107 A JPH0528107 A JP H0528107A
Authority
JP
Japan
Prior art keywords
data
circuit
bus
signal
precharge
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP18282691A
Other languages
Japanese (ja)
Inventor
Takashi Nakamoto
貴士 中本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP18282691A priority Critical patent/JPH0528107A/en
Publication of JPH0528107A publication Critical patent/JPH0528107A/en
Pending legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To simplify the constitution of a data bus transfer circuit and also to eliminate a through current by using a bus driver circuit containing a tristate output circuit to transfer the data after precharging a data bus having a transistor. CONSTITUTION:A transfer circuit consists of a data bus 1, a precharge signal generating circuit 7, a precharge transistor 2 which precharges the bus 1 with a precharge signal SP of the output of the circuit 7, end a bus drive circuit 3 containing a tristate output circuit a which inputs a data signal SD and an enable signal SE and outputs the data to the bus 1. The circuit 7 inputs a clock SCL having the length equivalent to 2-dividing value of an instruction clock SC to a 2n-stage inverter 11 and also inputs the delay signal SDR outputted from the inverter 11 to an EXO gate 12 to obtain the signal SP. The number of stages of the inverter 11 is larger then the largest number of stages of a decoding circuit and used for precharge.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータバス転送回路に関
し、特にマイクロプロセッサや信号処理プロセッサで必
要なデータ転送に於けるバス転送回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data bus transfer circuit, and more particularly to a bus transfer circuit for data transfer required by a microprocessor or a signal processor.

【0002】[0002]

【従来の技術】従来のデータバス転送回路は次に示す2
方式が使用されるのが通常である。第1の方式は図4に
示すようにトライステート出力回路8を有するスタティ
ックなバスドライブ回路3と、データバス1から出力す
るゲートはNANDゲート5あるいはNORゲート等に
より構成される。
2. Description of the Related Art A conventional data bus transfer circuit is shown in FIG.
The method is usually used. In the first method, as shown in FIG. 4, a static bus drive circuit 3 having a tri-state output circuit 8 and a gate output from the data bus 1 are composed of a NAND gate 5 or a NOR gate.

【0003】また第2の方式は図5に示すようにデータ
バス1をプリチャージする為のプリチャージ用pチャネ
ルトランジスタ2とプリチャージされたデータバス1の
電荷をグランドGに引き込むためのダイナミックなNチ
ャネルバスドライブ回路6と、データバス1から他の回
路に出力するゲートはインバータ4により構成される。
In the second method, as shown in FIG. 5, a precharge p-channel transistor 2 for precharging the data bus 1 and a dynamic charge for drawing the precharged charges of the data bus 1 to the ground G are provided. The N-channel bus drive circuit 6 and the gate for outputting from the data bus 1 to other circuits are composed of the inverter 4.

【0004】ここで、このようなデータバス転送回路が
使用されるシステム例として、信号処理プロセッサを挙
げて説明する。信号処理プロセッサではデータの演算及
びデータバスを使用したデータ転送をインストラクショ
ンの指定により行なうが、演算とバス転送の間にパイプ
ライン処理を持たない信号処理プロセッサでは、1イン
ストラクション中にデータ演算及びバス転送を行なう必
要がある。
A signal processor will be described as an example of a system in which such a data bus transfer circuit is used. In the signal processor, data operation and data transfer using the data bus are performed by designating instructions. However, in the signal processor which does not have pipeline processing between the operation and the bus transfer, data operation and bus transfer are performed in one instruction. Need to do.

【0005】信号処理プロセッサのタイミングを示した
のが図6である。クロック一周期に対して1インストラ
クションを実行する。この際インストラクションに対す
るデータ演算がaの期間で行なわれ、そのご演算結果デ
ータに対しバス転送がbの期間で行なわれる。演算結果
が確定する時間はその演算のパターンによるので一定で
はない。
FIG. 6 shows the timing of the signal processor. One instruction is executed for one clock cycle. At this time, the data operation for the instruction is performed in the period a, and the bus data is transferred for the operation result data in the period b. The time for which the calculation result is determined is not constant because it depends on the pattern of the calculation.

【0006】このシステムで従来の第1のバス転送方式
の動作は図7に示されるように、インストラクションよ
りデータバスに出力するバスドライブ回路3の制御信号
と転送先のゲートへ入力される制御信号をデコードし、
このデコードしたイネーブル信号SEがバスドライブ回
路3に入力される。ところがデータ信号SDは演算が完
全に終了してないのでイネーブル開始の時点では転送す
べきデータに確定していない。バスドライブ回路3はデ
ータの演算が確定するまで不確定な値をデータバス1に
出力するが、その後確定したデータを出力し、転送先へ
データを転送する。
As shown in FIG. 7, the operation of the conventional first bus transfer method in this system is as shown in FIG. 7, in which the control signal of the bus drive circuit 3 output to the data bus by the instruction and the control signal input to the transfer destination gate Decode
The decoded enable signal SE is input to the bus drive circuit 3. However, the data signal SD has not been completely determined as the data to be transferred when the enable is started because the calculation is not completed completely. The bus drive circuit 3 outputs an indeterminate value to the data bus 1 until the operation of the data is confirmed, and then outputs the confirmed data and transfers the data to the transfer destination.

【0007】一方、従来の第2の方式では図8に示す動
作となる。この方式では前述のクロック信号SCの周期
より短かいクロック信号SCSが必要となる。インスト
ラクションのデータバス1に対するデータ出力元とデー
タ転送先をデコードしている間、バス1はプリチャージ
信号SPが入力されたトランジスタによってVD側にプ
リチャージされる。データバス1はダイナミック動作を
するので、演算未終了のデータSDをデータバス1に載
せる事は出来ない。そこで演算データが確定するのを待
って短クロック信号SCSによりイネーブル信号SEを
発生しデータSDによりデータバス1をディスチャージ
する。
On the other hand, the second conventional method operates as shown in FIG. This method requires a clock signal SCS shorter than the cycle of the clock signal SC described above. While decoding the data output source and the data transfer destination for the instruction data bus 1, the bus 1 is precharged to the VD side by the transistor to which the precharge signal SP is input. Since the data bus 1 operates dynamically, it is not possible to put the unfinished data SD on the data bus 1. Therefore, after the operation data is fixed, the enable signal SE is generated by the short clock signal SCS and the data bus 1 is discharged by the data SD.

【0008】[0008]

【発明が解決しようとする課題】この従来のデータバス
転送回路では以下に述べる問題点がある。すなわち従来
の第1の方式に於いて、例えば24bit幅を持つバス
に対し8bit分のデータをLSB詰めで転送しようと
した時、24bitのバス幅中のデータ8bitを除い
た上位16bitには“0”が出力されるのがそのデー
タとして望ましい。
The conventional data bus transfer circuit has the following problems. That is, in the first conventional method, when it is attempted to transfer 8 bits of data to the bus having a width of 24 bits by LSB packing, the upper 16 bits excluding the data of 8 bits in the bus width of 24 bits are "0". It is desirable that the data be output.

【0009】ところが8bit分のバスドライバーを持
った従来の、第1の方式では、上位のデータはハイイン
ピーダンス状態でありデータ値として不確定となる。そ
こで上位に“0”を出力する為のバスドライバーを追加
する必要がある。これは内部のバス幅に対してそれ以下
のbit長を持つすべての転送資源に同様でこのバスド
ライバーの付加はハードウェアの増加になる。
However, in the conventional first method having a bus driver for 8 bits, the upper data is in a high impedance state, and the data value is uncertain. Therefore, it is necessary to add a bus driver for outputting "0" to the upper level. This is the same for all transfer resources having a bit length shorter than the internal bus width, and the addition of this bus driver increases hardware.

【0010】さらに転送するデータが無く転送を行なわ
ない場合アクティブになるバスドライバーが無い為デー
タバスはすべてハイインピーダンス状態になる。これに
より受け側のゲートがインバータであった場合、ゲート
入力に中間電位が入る事になり貫通電流が流れる。
Further, since there is no bus driver which becomes active when there is no data to be transferred and no data is transferred, all the data buses are in a high impedance state. As a result, if the gate on the receiving side is an inverter, an intermediate potential will be applied to the gate input, and a through current will flow.

【0011】一方従来の第2の方式では、データバスの
プリチャージ信号及びイネーブル信号を生成するクロッ
クが必要となるが、このクロックはインストラクション
サイクルより周期の短かいクロックであり、高速で動作
する信号処理プロセッサでは供給が困難である。
On the other hand, in the second conventional method, a clock for generating the precharge signal and the enable signal of the data bus is required, but this clock is a clock having a cycle shorter than the instruction cycle and a signal operating at high speed. It is difficult to supply with a processor.

【0012】また、演算が終了するまでのデータをイネ
ーブルしバスに載せる事は出来ないので、演算確定時間
は確実に待ってからイネーブルする必要がありそれをク
ロック周期で確保しなければならないのでその後の転送
時間を充分確保出来ない場合が考えられる。
Further, since it is not possible to enable the data until the operation is completed and put it on the bus, it is necessary to wait for the operation confirmation time before enabling it, and it is necessary to secure it in the clock cycle. It is possible that the transfer time cannot be secured sufficiently.

【0013】[0013]

【課題を解決するための手段】本発明のデータバス転送
回路は、複数の信号線を有するデータバスと、ゲートに
プリチャージ信号を入力して前記データバスをプリチャ
ージするプリチャージ用Pチャネルトランジスタと、デ
ータおよびイネーブル信号を入力して前記データバスに
前記データを伝えるバスドライブ回路とを有するデータ
バス転送回路において、前記プリチャージ信号を生成す
るプリチャージ信号生成回路は、一方の入力端に前記バ
ス転送またはその2分周期のクロック信号を入力し、他
方の入力端に転送元および転送先を決定する制御信号デ
コード回路の最大遅延時間よりも長いディレイ時間のデ
ィレイ回路を介して前記周期信号を入力する論理ゲート
を有し、かつ前記バスドライブ回路は、前記データ信号
とイネーブル信号の論理演算出力で複数のゲートが駆動
されるトライステート出力回路を有して構成されてい
る。
A data bus transfer circuit of the present invention includes a data bus having a plurality of signal lines, and a precharge P-channel transistor for precharging the data bus by inputting a precharge signal to its gate. And a bus drive circuit for inputting data and an enable signal and transmitting the data to the data bus, a precharge signal generating circuit for generating the precharge signal is provided at one input terminal with the precharge signal generating circuit. A bus transfer or a clock signal having a half cycle thereof is input, and the periodic signal is input to the other input terminal through a delay circuit having a delay time longer than the maximum delay time of a control signal decoding circuit that determines a transfer source and a transfer destination. The bus drive circuit has a logic gate for input, and the bus drive circuit includes the data signal and the enable signal. A plurality of gates is configured to have a tristate output circuit driven by a logic operation output.

【0014】[0014]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の一実施例のブロック図である。デー
タバス転送回路は、データバス1とプリチャージ信号生
成回路7と、その出力のプリチャージ信号SPによって
データバス1をプリチャージするプリチャージトランジ
スタ2と、データ信号SDとイネーブル信号SEを入力
してデータバス1にデータを出力するトライステート出
力回路8を有するバスドライブ回路3とを有している。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention. The data bus transfer circuit inputs the data bus 1, the precharge signal generation circuit 7, the precharge transistor 2 for precharging the data bus 1 by the output precharge signal SP, the data signal SD and the enable signal SE. A bus drive circuit 3 having a tri-state output circuit 8 for outputting data to the data bus 1.

【0015】バスドライブ回路3はイネーブル直後は演
算データが確定してないので不確定なデータを転送する
が、その後に演算結果データが確定したら、その時点か
ら正しいデータの転送が行なわれる。
The bus drive circuit 3 transfers indeterminate data because the operation data has not been determined immediately after it is enabled, but when the operation result data is subsequently determined, the correct data is transferred from that point.

【0016】また、プリチャージ信号生成回路7はイン
ストラクションクロックSCの2分周分の長クロックS
CLを2n段のインバータ11に入力し、長クロックS
CLと2n段インバータの出力するディレイ信号SDR
とをエクスクルシブオアゲート12に入力してプリチャ
ージ信号SPを得ている。このインバータ11の段数は
インストラクションをデコードするデコード回路の最多
段数よりも多くとり、デコード期間中はプリチャージに
当てる様にする。
Further, the precharge signal generation circuit 7 has a long clock S for dividing the instruction clock SC by two.
CL is input to the 2n-stage inverter 11 and the long clock S
Delay signal SDR output from CL and 2n stage inverter
Are input to the exclusive OR gate 12 to obtain the precharge signal SP. The number of stages of the inverter 11 is set to be larger than the maximum number of stages of a decoding circuit that decodes an instruction, and the precharge is applied during the decoding period.

【0017】図2は図1のブロックの動作を説明するた
めの各信号のタイミング図である。インストラクション
からデータバス1の転送の転送先,転送先の制御信号を
出力するデコーダ回路の最多ゲート段数より多くした偶
数個の2n段インバータ11によりデコード時間TDは
完全にプリチャージ期間にあて、プリチャージ終了後す
ぐにデータ転送をイネーブルすることができる。
FIG. 2 is a timing chart of each signal for explaining the operation of the block of FIG. The decoding time TD is completely applied to the precharge period by the even number of 2n-stage inverters 11 whose number is larger than the maximum number of gate stages of the decoder circuit that outputs the control signal of the transfer destination and the transfer destination of the data bus 1 from the instruction. Data transfer can be enabled as soon as it is finished.

【0018】本実施例によると、例えば24ビット幅の
バス1に下位8bitデータを出力する場合、上位16
ビットにドライバー回路を接続しなくても固定値が出力
される。また何もデータ転送が行なわれない場合でもバ
ス1はサイクル毎にプリチャージされるのでバスの状態
は“H”に固定されている。
According to this embodiment, when outputting lower 8-bit data to the bus 1 having a width of 24 bits, the upper 16 bits are output.
A fixed value is output without connecting a driver circuit to the bit. Even if no data is transferred, the bus 1 is precharged in each cycle, so the bus state is fixed at "H".

【0019】従って受け側ゲートがインバータであって
もバスが中間値にならないので貫通電流が流れる恐れが
ない。従ってハードウェア的にデータ出力側とデータ入
力側のゲートを削減出来る。
Therefore, even if the gate on the receiving side is an inverter, the bus does not have an intermediate value, so there is no risk of a through current flowing. Therefore, the number of gates on the data output side and the data input side can be reduced in terms of hardware.

【0020】さらにプリチャージ信号SPはインストラ
クションサイクルのクロックSCから生成出来るので、
それ以上周波数の高いクロックを必要としない。またプ
リチャージ終了後はバスドライブ回路3をすぐイネーブ
ルにできるので、その時点でデータが確定しなくても確
定後はフルにバス転送時間にあてることが出来る。
Furthermore, since the precharge signal SP can be generated from the clock SC of the instruction cycle,
No higher frequency clock is required. Further, since the bus drive circuit 3 can be immediately enabled after the precharge is completed, even if the data is not confirmed at that time, the bus transfer time can be fully applied after the confirmation.

【0021】図3は本発明の第2の実施例のブロック図
である。本実施例の転送回路は、トライステート出力回
路3aをクロックトインバータで構成している。またプ
リチャージ信号生成回路7aは、転送周期のクロックS
CTと(2n+1)段のインバータ13とNORゲート
14により構成されており、ブロック動作と効果は第1
の実施例と同様である。
FIG. 3 is a block diagram of the second embodiment of the present invention. In the transfer circuit of this embodiment, the tri-state output circuit 3a is composed of a clocked inverter. Further, the precharge signal generation circuit 7a uses the clock S of the transfer cycle.
It is composed of a CT, a (2n + 1) stage inverter 13 and a NOR gate 14, and has the first block operation and effect.
It is similar to the embodiment of.

【0022】[0022]

【発明の効果】以上説明したように本発明は、データバ
スをPチャネルトランジスタによりプリチャージするこ
とによって、回路が簡単で、貫通電流も流れないデータ
バス転送回路が得られる。
As described above, according to the present invention, by precharging the data bus by the P-channel transistor, a data bus transfer circuit having a simple circuit and in which a through current does not flow can be obtained.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】図1のブロックの動作を説明するための各信号
のタイミング図である。
FIG. 2 is a timing diagram of signals for explaining the operation of the block of FIG.

【図3】本発明の第2の実施例のブロック図である。FIG. 3 is a block diagram of a second embodiment of the present invention.

【図4】従来のデータバス転送回路の第1の例のブロッ
ク図である。
FIG. 4 is a block diagram of a first example of a conventional data bus transfer circuit.

【図5】従来のデータバス転送回路の第1の例のブロッ
ク図である。
FIG. 5 is a block diagram of a first example of a conventional data bus transfer circuit.

【図6】信号処理プロセッサの動作を説明するための各
信号のタイミング図である。
FIG. 6 is a timing chart of each signal for explaining the operation of the signal processor.

【図7】図4のブロックの動作を説明するための各信号
のタイミング図である。
FIG. 7 is a timing chart of each signal for explaining the operation of the block of FIG.

【図8】図5のブロックの動作を説明するための各信号
のタイミング図である。
FIG. 8 is a timing chart of signals for explaining the operation of the block of FIG.

【符号の説明】[Explanation of symbols]

1 データバス 2 プリチャージ用Pチャネルトランジスタ 3,3a バスドライブ回路 4 インバータ 7,7a プリチャージ信号生成回路 8 トライステート出力回路 11 2n段インバータ 12 EXORゲート 13 (2n+1)段インバータ 14 NORゲート SCL 長クロック SD データ信号 SE イネーブル信号 SC クロック SDR ディレイ信号 1 Data Bus 2 P-Channel Transistor for Precharge 3, 3a Bus Drive Circuit 4 Inverter 7, 7a Precharge Signal Generation Circuit 8 Tri-State Output Circuit 11 2n-stage Inverter 12 EXOR Gate 13 (2n + 1) -stage Inverter 14 NOR Gate SCL Long Clock SD data signal SE enable signal SC clock SDR delay signal

Claims (1)

【特許請求の範囲】 【請求項1】 複数の信号線を有するデータバスと、ゲ
ートにプリチャージ信号を入力して前記データバスをプ
リチャージするプリチャージ用Pチャネルトランジスタ
と、データおよびイネーブル信号を入力して前記データ
バスに前記データを伝えるバスドライブ回路とを有する
データバス転送回路において、前記プリチャージ信号を
生成するプリチャージ信号生成回路は、一方の入力端に
前記バス転送またはその2分周期のクロック信号を入力
し、他方の入力端に転送元および転送先を決定する制御
信号デコード回路の最大遅延時間よりも長いディレイ時
間のディレイ回路を介して前記周期信号を入力する論理
ゲートを有し、かつ前記バスドライブ回路は、前記デー
タ信号とイネーブル信号の論理演算出力で複数のゲート
が駆動されるトライステート出力回路を有することを特
徴とするデータバス転送回路。
Claim: What is claimed is: 1. A data bus having a plurality of signal lines, a precharge P-channel transistor for inputting a precharge signal to a gate to precharge the data bus, and a data and enable signal. In a data bus transfer circuit having a bus drive circuit for inputting and transmitting the data to the data bus, a precharge signal generation circuit for generating the precharge signal has a bus transfer or one half cycle thereof at one input end. Of the control signal decoding circuit that determines the transfer source and the transfer destination at the other input terminal, and has a logic gate that inputs the periodic signal through a delay circuit having a delay time longer than the maximum delay time of the control signal decoding circuit. In addition, the bus drive circuit outputs a plurality of gates by a logical operation output of the data signal and the enable signal. There the data bus transfer circuit, characterized in that it comprises a tri-state output circuit driven.
JP18282691A 1991-07-24 1991-07-24 Data bus transfer circuit Pending JPH0528107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18282691A JPH0528107A (en) 1991-07-24 1991-07-24 Data bus transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18282691A JPH0528107A (en) 1991-07-24 1991-07-24 Data bus transfer circuit

Publications (1)

Publication Number Publication Date
JPH0528107A true JPH0528107A (en) 1993-02-05

Family

ID=16125143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18282691A Pending JPH0528107A (en) 1991-07-24 1991-07-24 Data bus transfer circuit

Country Status (1)

Country Link
JP (1) JPH0528107A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263563B2 (en) 2003-08-08 2007-08-28 Samsung Electronics Co., Ltd. Multi-bus driver apparatus and method for driving a plurality of buses
US7394285B2 (en) 2005-09-29 2008-07-01 Hynix Semiconductor, Inc. Circuit for driving bus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263563B2 (en) 2003-08-08 2007-08-28 Samsung Electronics Co., Ltd. Multi-bus driver apparatus and method for driving a plurality of buses
US7394285B2 (en) 2005-09-29 2008-07-01 Hynix Semiconductor, Inc. Circuit for driving bus

Similar Documents

Publication Publication Date Title
US5880608A (en) Pulsed domino latches
US5892372A (en) Creating inversions in ripple domino logic
JPH10126249A (en) Logic circuit
US5224065A (en) Arithmetic operation unit having bit inversion function
US6052008A (en) Generation of true and complement signals in dynamic circuits
US6169422B1 (en) Apparatus and methods for high throughput self-timed domino circuits
JPH0573268A (en) Adder
JPH0528107A (en) Data bus transfer circuit
US6140843A (en) Conditional invert functions in precharged circuits
US4807176A (en) Manchester type carry propagation circuit
JPH04248196A (en) Dynamic type logic circuit
US6223199B1 (en) Method and apparatus for an N-NARY HPG gate
US4734592A (en) Interface circuit for data processing system
US6271684B1 (en) Method and apparatus for stalling OTB domino circuits
US6219687B1 (en) Method and apparatus for an N-nary Sum/HPG gate
US6216146B1 (en) Method and apparatus for an N-nary adder gate
US6219686B1 (en) Method and apparatus for an N-NARY sum/HPG adder/subtractor gate
US6593778B1 (en) Zero detect circuit and method for high frequency integrated circuits
JPH0950694A (en) Semiconductor logic circuit
JP2690604B2 (en) Semiconductor integrated circuit
US6240041B1 (en) Signal generator with timing margin by using control signal to control different circuit
JP2735268B2 (en) LSI output buffer
KR100273308B1 (en) Data i/o circuit
JPS62234293A (en) Rom power consumption decreasing method
JPH04314161A (en) Information processor