Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5919377B2 - digital output device - Google Patents
[go: Go Back, main page]

JPS5919377B2 - digital output device - Google Patents

digital output device

Info

Publication number
JPS5919377B2
JPS5919377B2 JP52036699A JP3669977A JPS5919377B2 JP S5919377 B2 JPS5919377 B2 JP S5919377B2 JP 52036699 A JP52036699 A JP 52036699A JP 3669977 A JP3669977 A JP 3669977A JP S5919377 B2 JPS5919377 B2 JP S5919377B2
Authority
JP
Japan
Prior art keywords
output
data
register
mask
signal
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.)
Expired
Application number
JP52036699A
Other languages
Japanese (ja)
Other versions
JPS53121530A (en
Inventor
昌之 村上
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP52036699A priority Critical patent/JPS5919377B2/en
Publication of JPS53121530A publication Critical patent/JPS53121530A/en
Publication of JPS5919377B2 publication Critical patent/JPS5919377B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は、プロセス入出力装置におけるディジタル出
力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital output device in a process input/output device.

第1図は従来のディジタル出力装置を示す回路図である
FIG. 1 is a circuit diagram showing a conventional digital output device.

この第1図の1はレジスタ選択回路であり、また、2a
、2bは出力データ保持用レジスタである。このレジス
タ2a、2bには出力回路3a、3bに出力するデータ
が1バイト分のデータライン100(8ラインで構成さ
れる)を通しで保持されるようになつている。そして、
レジスタ選択回路1から選択ライン200を通してレジ
スタ2a、2bに保持されている出力データを選択し、
選択された出力データが出力回路3a、3bに送出する
ようになつている。出力回路3a、3bに送。出される
1バイトの出力データは出力回路3a、3bから例えば
スイッチ等の出力点にビット対応で出力される。この結
果、上記レジスタ2a、2bの保持内容の各ビット単位
でスイッチ等の動作制御が行なわれることになる。なお
、レジスタ2a、2bと出力回路3a、3b間のライン
La、Lbもそれぞれ8ラインで構成されている。この
ような従来のディジタル出力装置において、レジスタ2
a、2bに保持されているデータの出力は1バイト(ま
たは2バイト)単位で行なわれる。したがつて、レジス
タ2aまたは2bに記憶されている8ビットの出力デー
タのうち、任意の出力点に対応するビットのデー゜夕だ
けを変化させるためには、レジスタ2aまたは2bに記
憶されているデータをソフトウェア的に記憶しておき、
任意の出力点だけを変化させようなデータに変換する作
業がソフトウェアで必要である。しかしながら、任意の
出力点だけを変化させるためには、ソフトウェアの処理
が複雑になる欠点があつた。この発明は、上記の点にか
んがみなされたもので、各出力点にマスク機能をもたせ
て、任意の出力点だけをソフトウェアで記憶することな
く変化させることができ、ソフトウェアの処理の簡略化
を期することのできるディジタル出力装置を提供するこ
とを目的とする。
1 in FIG. 1 is a register selection circuit, and 2a
, 2b are registers for holding output data. The registers 2a and 2b are configured to hold data to be output to the output circuits 3a and 3b through a 1-byte data line 100 (consisting of 8 lines). and,
Selects output data held in registers 2a and 2b from register selection circuit 1 through selection line 200,
The selected output data is sent to output circuits 3a and 3b. Send to output circuits 3a and 3b. The 1-byte output data is output from the output circuits 3a and 3b to an output point such as a switch in a bit-by-bit manner. As a result, the operations of switches and the like are controlled for each bit of the contents held in the registers 2a and 2b. Note that the lines La and Lb between the registers 2a and 2b and the output circuits 3a and 3b are each composed of eight lines. In such a conventional digital output device, register 2
The data held in a and 2b is output in units of 1 byte (or 2 bytes). Therefore, in order to change only the bit data corresponding to an arbitrary output point among the 8-bit output data stored in register 2a or 2b, it is necessary to change the data stored in register 2a or 2b. Store data in software,
Software is required to convert data into data that changes only arbitrary output points. However, in order to change only an arbitrary output point, the software processing becomes complicated. This invention was developed in consideration of the above points, and by providing each output point with a mask function, it is possible to change only an arbitrary output point without having to memorize it using software, and it is expected to simplify software processing. The purpose of the present invention is to provide a digital output device that can perform the following functions.

以下、この発明のディジタル出力装置の実施例について
図面に基づき説明する。
Embodiments of the digital output device of the present invention will be described below with reference to the drawings.

第2図はその一実施例を示す回路図である。この第2図
において、11はレジスタ選択用のデコード回路である
。デコード回路11の入力端はn本のラインが接続され
、また、出力端からは、ラインTla,tlbを通して
デコード信号BAがゲート12a,12bに送出される
ようになつている。各ゲート12a,12bはそれぞれ
8個のアンドゲートで構成され、デコード信号BAは全
てのアンドゲートに共通人力されている。また、デコー
ド回路11の出力端よりラインTlOを通してマスクデ
ータ保持用のレジスタ(以下、REGと略称する)13
に信号300が送出されるようになつている。この信号
300はREGl3にマスクデータを入力するときのイ
ネーブル信号である。ソフトウエアにおいては変化させ
るべき任意の出力点を表わすマスクデータを最初にライ
ト(WRITE)命令によりデータライン110を介し
てREGl3に出力し、次にデータライン110を介し
て所定の出力データ保持用REGl4aまたは14b・
・・に対して出力点のデータだけを考慮したデータをラ
イト命令により出力する。上記出力データ保持用REG
l4a,l4b・・・はそれぞれ8個のフリツプ.フロ
ツプで構成されるレジスタである。上記REGl3およ
び出力データ保持用REGl4a,l4b・・・には、
データライン110が接続されている。
FIG. 2 is a circuit diagram showing one embodiment thereof. In FIG. 2, numeral 11 is a decoding circuit for register selection. The input end of the decode circuit 11 is connected to n lines, and the output end thereof sends a decode signal BA to gates 12a and 12b through lines Tla and tlb. Each gate 12a, 12b is composed of eight AND gates, and a decode signal BA is commonly input to all the AND gates. In addition, a register (hereinafter abbreviated as REG) 13 for holding mask data is connected from the output end of the decoding circuit 11 to a line TlO.
A signal 300 is sent out. This signal 300 is an enable signal when inputting mask data to REG13. In the software, mask data representing an arbitrary output point to be changed is first output to REGl3 via the data line 110 by a write (WRITE) command, and then to REGl4a for holding predetermined output data via the data line 110. or 14b・
...outputs data considering only the data at the output point using a write command. REG for holding the above output data
l4a, l4b... each have 8 flips. This is a register consisting of a flop. The above REGl3 and output data holding REGl4a, l4b...
A data line 110 is connected.

このデータライン110は8ラインで構成され、1バイ
ト分のデータを伝送するものである。REGl3の出力
端はラインT2a,2t2bを通してゲート12a,1
2bにマスク信号400を送出するようになつている。
この8ビツトのマスク信号400はゲート12a,12
bを構成する8個のアンドゲートに1対1で対応して供
給されている。ゲート12a,12bの出力3端はライ
ンT3a,t3bを通して出力データ保持用REGl4
a,l4bにクロツク信号500を送出するようになつ
ている。上記ラインT2a,t2b,t3a,t3bも
それぞれ8ラインで構成されている。そして、ゲート1
2a,12bは3上記デコード回路11からラインTl
a,tlbを通して導入されるデコード信号BA(デー
タライン110のデータを入力する信号)を、REGl
3からラインT2a,t2bを通して導入されるマスク
信号400によりデータ入力イネーブル4信号、すなわ
ち、上述のクロツク信号500に変換するためのもので
ある。上記出力データ保持用REGl4a,l4bの出
力端はそれぞれ8ラインで構成されるラインを介してデ
ータ出力回路15a,15bに接続されている。次に、
以上のように構成されたこの発明のデイジタル出力装置
の動作について説明する。
This data line 110 is composed of 8 lines and transmits 1 byte of data. The output end of REGl3 is connected to gates 12a and 1 through lines T2a and 2t2b.
A mask signal 400 is sent to the terminal 2b.
This 8-bit mask signal 400 is applied to the gates 12a and 12.
They are supplied in one-to-one correspondence to the eight AND gates forming the gate b. The three output ends of gates 12a and 12b are connected to REG14 for holding output data through lines T3a and t3b.
A clock signal 500 is sent to the terminals a and l4b. Each of the lines T2a, t2b, t3a, and t3b is composed of eight lines. And gate 1
2a and 12b are 3 lines from the decoding circuit 11 to the line Tl.
The decode signal BA (signal for inputting data on the data line 110) introduced through a and tlb is input to REGl.
3 through lines T2a and t2b to convert the data input enable 4 signal into the above-mentioned clock signal 500. The output terminals of the output data holding REGs 14a and 14b are connected to data output circuits 15a and 15b through eight lines, respectively. next,
The operation of the digital output device of the present invention configured as above will be explained.

今、データ出力回路15aまたは15bの任意のビツト
だけを変化させ、対応する出力点(以下、便宜上A点と
称する)への出力信号を変化させるものとする。すなわ
ち、A点以外の出力点への出力信号の状態に影響を及ぼ
さずにA点への出力信号のみを変化させるものとする。
この場合、まずREGl3を示すアドレスがデコード回
路11に、またA点(の出力変化)が示すマスクデータ
がデータライン110に出力される。しかして、デコー
ド回路11からラインTlOを通してマスクデータ保持
用のREGl3に信号300が送出され、この信号30
0によりデータライン110上の上記A点を示すマスク
データがREGl3に保持される。次に、A点を含む出
力データを保持するREG(REGl4a,l4b・・
・の中の一つであり、以下の説明ではREGl4aであ
るものとする)を示すアドレスがデコード回路11に、
またA点だけを考慮したデータがデータライン110に
出力されると、デコード回路11からラインTlaを介
して(REGl4aに対応して設けられている)ゲート
12aにデコード信号BAが送出される。これにより、
ゲート12aを構成する8個のアンドゲートにおいて、
REGl3に保持されている上記マスクデータとデコー
ド信号BAとのアンド条件がとられる。しかして、RE
Gl4af)A点のビツト(データを保持するフリツプ
.フロップつに対応したゲート12aのアンドゲートか
ら、ラインT3aを介してREGl4af)A点のビツ
トデータを保持するフリツプ.フロツプにクロツク信号
500が出力される。これにより、REGl4af)A
点のビツトに対応したフリツプ.フロツプに、データラ
イン110上の(A点だけを考慮した)データにおける
A点に対応したビツトデータが保持され、データ出力回
路15aにデータが出力される。明らかなように、RE
Gl4aにおけるA点以外のビツトに対応するフリツプ
.フロツプの状態は変化しない。したがつて、本実施例
によれば、REGl4aの以前のデータを知らなくても
、任意の出力点、すなわちREGl4aにおけるA点の
ビツトに対応したフリツプ.フロツプの保持内容だけを
変化させることができる。なお、通常のデータ出力にお
いては、8ビットを全てマスク状態とするマスクデータ
を与えておくことによつて、REGl4a(またはRE
Gl4b・・・)を構成する8個のフリツプフロツプ全
てにクαツク信号500を供給することができるため、
従来の動作を行なうことができる。以上のように、この
発明のデイジタル装置によれば、任意の出力データ保持
用レジスタの任意の出力点を変化させたいときに、その
時点に出力されているバイト単位のデータをソフトウエ
アによつて記憶することなく任意の出力点だけを変化さ
せることができ、したがつて、ソフトウエアの処理を簡
略化することができる。
Now, assume that only an arbitrary bit of the data output circuit 15a or 15b is changed to change the output signal to the corresponding output point (hereinafter referred to as point A for convenience). That is, only the output signal to point A is changed without affecting the state of the output signal to output points other than point A.
In this case, first, the address indicating REGl3 is output to the decoding circuit 11, and the mask data indicated by (the output change of) point A is output to the data line 110. Then, the signal 300 is sent from the decoding circuit 11 to the mask data holding REG13 through the line TlO, and this signal 30
0, mask data indicating the point A on the data line 110 is held in REG13. Next, REGs (REGl4a, l4b...
, and in the following explanation it is assumed to be REGl4a) is sent to the decoding circuit 11.
Further, when data considering only point A is output to the data line 110, a decode signal BA is sent from the decode circuit 11 to the gate 12a (provided corresponding to REGl4a) via the line Tla. This results in
In the eight AND gates forming the gate 12a,
An AND condition is taken between the mask data held in REG13 and the decode signal BA. However, R.E.
Gl4af) bit data at point A (REGl4af) from the AND gate of the gate 12a corresponding to the flip-flop holding the data via line T3a); A clock signal 500 is output to the flop. This allows REGl4af)A
Flip corresponding to the bit of the point. Bit data corresponding to point A in the data on data line 110 (taking only point A into account) is held in the flop, and the data is output to data output circuit 15a. As is clear, R.E.
Flips corresponding to bits other than point A in Gl4a. The state of the flop does not change. Therefore, according to this embodiment, the flip. Only the content held on the flop can be changed. Note that in normal data output, REG14a (or RE
Since the clock signal 500 can be supplied to all eight flip-flops constituting Gl4b...),
Conventional operation can be performed. As described above, according to the digital device of the present invention, when it is desired to change any output point of any output data holding register, the data in bytes that are being output at that time can be changed by software. It is possible to change only an arbitrary output point without memorizing it, and therefore software processing can be simplified.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来のデイジタル出力装置のプロツク図、第2
図はこの発明のデイジタル出力装置の一実施例のプロツ
ク図である。 11・・・デコード回路、12a,12b・・・ゲート
、13・・・マスクデータ保持用レジスタ(REG)、
14a,14b・・・出力データ保持用レジスタ(RE
G)、15a,15b・・・データ出力回路。
Figure 1 is a block diagram of a conventional digital output device, Figure 2 is a block diagram of a conventional digital output device.
The figure is a block diagram of an embodiment of the digital output device of the present invention. 11... Decode circuit, 12a, 12b... Gate, 13... Mask data holding register (REG),
14a, 14b...Register for holding output data (RE
G), 15a, 15b... data output circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 マスクデータを記憶するマスクレジスタと、出力デ
ータを記憶する複数の出力データ保持用レジスタと、こ
の出力データ保持用レジスタおよび上記マスクレジスタ
にデータを出力する共通のデータラインと、レジスタア
ドレスを解読するデコード回路と、このデコード回路か
ら出力される前記各出力データ保持用レジスタを指定す
る信号と前記マスクレジスタからのマスクデータの論理
条件をとる複数のゲートとを具備し、このゲートの出力
信号により指定された前記出力データ保持用レジスタの
指定ビット位置にそのビット位置のみ考慮した前記出力
データの対応するビットデータを記憶させることを特徴
とするディジタル出力装置。
1. A mask register that stores mask data, a plurality of output data holding registers that store output data, a common data line that outputs data to this output data holding register and the mask register, and a register address that is decoded. The circuit includes a decoding circuit, and a plurality of gates that take logic conditions for a signal specifying each of the output data holding registers outputted from the decoding circuit and mask data from the mask register, and specified by the output signal of the gate. A digital output device characterized in that bit data corresponding to the output data is stored in a specified bit position of the output data holding register in which only the bit position is considered.
JP52036699A 1977-03-31 1977-03-31 digital output device Expired JPS5919377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52036699A JPS5919377B2 (en) 1977-03-31 1977-03-31 digital output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52036699A JPS5919377B2 (en) 1977-03-31 1977-03-31 digital output device

Publications (2)

Publication Number Publication Date
JPS53121530A JPS53121530A (en) 1978-10-24
JPS5919377B2 true JPS5919377B2 (en) 1984-05-04

Family

ID=12477015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52036699A Expired JPS5919377B2 (en) 1977-03-31 1977-03-31 digital output device

Country Status (1)

Country Link
JP (1) JPS5919377B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS541106B2 (en) * 1971-09-06 1979-01-20

Also Published As

Publication number Publication date
JPS53121530A (en) 1978-10-24

Similar Documents

Publication Publication Date Title
US3470542A (en) Modular system design
US4309755A (en) Computer input/output arrangement for enabling a simultaneous read/write data transfer
GB1036024A (en) Data processing
JPS60140981A (en) Method and device for decoding digital coded word of coded word system
US3952289A (en) Controller for linking a typewriter console to a processor unit
JPS5919377B2 (en) digital output device
RU2024050C1 (en) Channel-to-channel adapter
JPS642177Y2 (en)
US3353156A (en) Buffer processor i/o option
KR950003970B1 (en) Pcm data connecting apparatus of digital switching system exchange
RU1805496C (en) Memory circuit
JP3114111B2 (en) Logic emulation method and system
SU471583A1 (en) Device for transmitting information from a digital computer to a communication line
SU491952A1 (en) Device for exchanging information between RAM and processor
JPS5953579B2 (en) character compression device
JPS61289448A (en) Buffer memory device
JP3254781B2 (en) Semiconductor device
JPS6341091B2 (en)
JPS59186016A (en) Storage circuit
JPS60168259A (en) Data transfer control circuit
JPH04101263A (en) Clock equipment
CN1004784B (en) Data format converter
JPH04182752A (en) Memory circuit for picture edition
JPS62210559A (en) Dma circuit
JPS62259158A (en) Interruption request circuit