JPH0399344A - Control storage circuit - Google Patents

Control storage circuit

Info

Publication number
JPH0399344A
JPH0399344A JP23803389A JP23803389A JPH0399344A JP H0399344 A JPH0399344 A JP H0399344A JP 23803389 A JP23803389 A JP 23803389A JP 23803389 A JP23803389 A JP 23803389A JP H0399344 A JPH0399344 A JP H0399344A
Authority
JP
Japan
Prior art keywords
circuit
cpu
flip
flop
control
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.)
Granted
Application number
JP23803389A
Other languages
Japanese (ja)
Other versions
JP2956077B2 (en
Inventor
Kaoru Sato
薫 佐藤
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 JP23803389A priority Critical patent/JP2956077B2/en
Publication of JPH0399344A publication Critical patent/JPH0399344A/en
Application granted granted Critical
Publication of JP2956077B2 publication Critical patent/JP2956077B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To make the reading/writing operation of 1st and 2nd storage circuits each of which is connected to a CPU by one terminal and connected to a logic circuit by the other terminal unrelational to a timing signal outputted from the logic circuit by forcedly outputting a control signal from a CPU to decode the reading/writing operation of the 1st and 2nd storage circuits. CONSTITUTION:The reading/writing operation of the 1st and 2nd storage circuits 4, 5 is controlled by a flip flop (FF) 7 through selection circuits 2, 3. Signals 104, 105 obtained by decoding control signals 102, 107 outputted from the CPU 1 by a control circuit 8 are inputted to the FF 7 to forcedly set/reset the FF 7. Namely when the CPU 1 is driven after starting a system power supply, the output signal 106 of the logic circuit 6 is determined before the arrival of the timing signal 101 of the logic circuit 106 at the FF 7. Thus, the selection circuits 2, 3 controlling the writing/reading of the 1st and 2nd storage circuits 2, 3 can be instantaneously controlled.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、CPUおよび論理回路の間に接続されている
記憶回路の制御を行う制御記憶回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control storage circuit that controls a storage circuit connected between a CPU and a logic circuit.

〔従来の技術〕[Conventional technology]

第4図は従来の制御記憶回路の一例のブロック図である
FIG. 4 is a block diagram of an example of a conventional control storage circuit.

第4図において、CPU30からの制御信号は選択回路
31を通して記憶回路32に書き込まれる。また記憶回
路33から時系列に読み出された信号は、選択回路34
を通して論理回路35に、時系列の制御信号が入力され
る。そして、この記憶回路32.33に対する書き込み
、読み出しを制御する選択回路の選択信号はフリップフ
ロップ36から出力される。
In FIG. 4, a control signal from a CPU 30 is written into a memory circuit 32 through a selection circuit 31. Further, the signals read out in time series from the memory circuit 33 are sent to the selection circuit 34.
A time-series control signal is input to the logic circuit 35 through. A selection signal of a selection circuit that controls writing and reading to and from the memory circuits 32 and 33 is output from the flip-flop 36.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の制御記憶回路においては、フリップフロ
ップ36に入力される論理回路35からの時系列のタイ
ミング信号により、CPU30から出力される記憶回路
の切替制御信号がフリップフロップ36の出力(選択回
路31.34を動作させる選択信号)として反映される
構成になっている。そのため、たとえばシステムの電源
が立ち上った場合には、フリップフロップ36の出力は
、論理回路35からの時系列のタイミング信号が確立し
てフリップフロップ36に到来するまでの時間がむだに
なり、システムの初期化が敏速に行えないという欠点を
有している。
In the conventional control storage circuit described above, the switching control signal of the storage circuit outputted from the CPU 30 is changed to the output of the flip-flop 36 (the selection circuit 31 .34). Therefore, for example, when the power of the system is turned on, the output of the flip-flop 36 will waste time until the time-series timing signal from the logic circuit 35 is established and reaches the flip-flop 36. It has the disadvantage that initialization cannot be performed quickly.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の制御記憶回路は、時系列のデータ信号を交互に
記憶する第1と第2の記憶回路と、この第1と第2の記
憶回路に前記データ信号を書き込み読み出す切替えを行
う切替回路と、この切替回路を制御するフリップフロッ
プと、CPUからの第1と第2の制御信号を解読し前記
フリップフロップの状態を制御する制御回路とを有して
いる。
The control storage circuit of the present invention includes first and second storage circuits that alternately store time-series data signals, and a switching circuit that switches between writing and reading out the data signals in the first and second storage circuits. , a flip-flop that controls the switching circuit, and a control circuit that decodes first and second control signals from the CPU and controls the state of the flip-flop.

また、本発明の制御記憶回路は、時系列のデータ信号を
記憶する第1と第2の記憶回路と、この第1と第2の記
憶回路に前記データ信号を書き込み読み出すアドレスカ
ウンタと、このアドレスカウンタを制御するフリップフ
ロップと、CPUからの第1と第2の制御信号を解読し
前記フリップフロップの状態を制御する制御手段とを有
している。
Further, the control storage circuit of the present invention includes first and second storage circuits that store time-series data signals, an address counter that writes and reads out the data signals to and from the first and second storage circuits, and an address counter that writes and reads the data signals to and from the first and second storage circuits. It has a flip-flop that controls a counter, and control means that decodes first and second control signals from the CPU and controls the state of the flip-flop.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。第1図
は、本発明の第1の実施例を示すブロック図である。
Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of the present invention.

第1図において、CPUIから出力された、データ信号
10Bは選択回路2により第1の記憶回路4に書き込ま
れる。−力筒2の記憶回路5から時系列的に読み出され
た信号は選択回路3を通して論理回路6に与えられる。
In FIG. 1, a data signal 10B output from the CPUI is written into the first storage circuit 4 by the selection circuit 2. - The signals read out in time series from the memory circuit 5 of the power cylinder 2 are given to the logic circuit 6 through the selection circuit 3.

そして第1と第2の記憶回路4.5の読み出し書き込み
を制御するための選択回路2,3は、フリップフロップ
7により制御される。このフリップフロップ7の出力信
号106をシステムの電源が立上った後即座に確定させ
るためにCPUIから制御信号102゜107を出力し
、この制御信号102,107を制御回路8にてデコー
ドする。この制御回路8にてデコードされた信号104
.105は、それぞれフリップフロップを強制的にセッ
ト。
The selection circuits 2 and 3 for controlling reading and writing of the first and second memory circuits 4 and 5 are controlled by a flip-flop 7. In order to determine the output signal 106 of the flip-flop 7 immediately after the power of the system is turned on, control signals 102 and 107 are output from the CPUI, and the control signals 102 and 107 are decoded by the control circuit 8. Signal 104 decoded by this control circuit 8
.. 105 forcibly sets each flip-flop.

リセットする信号としてフリップフロップ7に与えられ
る。すなわち、システムの電源が立上ってCPUIが動
作すると、論理回路6のタイミング信号101がフリッ
プフロップ7に到来する前にフリップフロップ7の出力
信号106を確定させることになる。これは、第1と第
2の記憶回路4.5の書き込み読み出しを制御している
選択回路2.3を即座に制御する事を可能にしている。
It is given to the flip-flop 7 as a reset signal. That is, when the system power is turned on and the CPUI operates, the output signal 106 of the flip-flop 7 is determined before the timing signal 101 of the logic circuit 6 reaches the flip-flop 7. This makes it possible to immediately control the selection circuit 2.3 which controls the writing and reading of the first and second memory circuits 4.5.

仮に上述のように第1の第2の記憶回路4.5を敏速に
制御する必要ない場合には、CPUIからの制御信号1
07をフリップフロップ7に入力して、論理回路6から
のタイミング信号101が確定してから、都合の良いタ
イミングでフリップフロップ7の出力信号106を確定
させれば良い。
If it is not necessary to quickly control the first and second storage circuits 4.5 as described above, the control signal 1 from the CPU
07 to the flip-flop 7 and after the timing signal 101 from the logic circuit 6 is determined, the output signal 106 of the flip-flop 7 may be determined at a convenient timing.

第2図は、実施例の動作説明のためのタイミング図であ
り、タイミングp、qの時間内ではタイミング信号10
1の有無にかかわらず、CPUIからの強制的な指示で
システムの電源が立上った後即座にフリップフロップ7
の出力信号106が変化することになる。そしてタイミ
ングr、sの時間内では、CPUIからの制御信号10
2を、論理回路6からのタイミング信号101が到来し
た時点でフリップフロップ7の信号106を確定させる
動作になっている。
FIG. 2 is a timing diagram for explaining the operation of the embodiment, and within timings p and q, the timing signal 10
Regardless of the presence or absence of 1, the flip-flop 7
The output signal 106 of will change. Then, within the time period r and s, the control signal 10 from the CPU
2, the signal 106 of the flip-flop 7 is determined when the timing signal 101 from the logic circuit 6 arrives.

このようにすると、選択回路31.34を制御するため
のフリップフロップ36に対して、CPU30から直接
別の制御線を入力することにより、論理回路35からの
タイミング信号を待つことなく記憶回路32.33の内
容を制御することができる。
In this way, by directly inputting another control line from the CPU 30 to the flip-flops 36 for controlling the selection circuits 31.34, the storage circuits 32. The contents of 33 can be controlled.

第3図は本発明の第2の実施例のブロック図である。時
系列のデータ信号203を記憶する第1と第2の記憶回
路24と、この第1と第2の記憶回路24にデータ信号
203,211をアドレス204,210で書き込み読
み出すアドレスカウンタ22と、アドレスカウンタ22
をタイミング信号207で制御するフリップフロップと
、CPU20からの第1と第2の制御信号201゜20
2を解読してフリップフロップの状態を制御するデコー
ダ21を含む制御手段とを有して構成されう。
FIG. 3 is a block diagram of a second embodiment of the invention. First and second memory circuits 24 that store time-series data signals 203; an address counter 22 that writes and reads data signals 203 and 211 to and from the first and second memory circuits 24 at addresses 204 and 210; counter 22
a flip-flop which is controlled by a timing signal 207, and first and second control signals 201.20 from the CPU 20.
2 and a control means including a decoder 21 for decoding 2 and controlling the state of the flip-flop.

なお、第3においては第1図で示す選択回路2.3は省
略されており、第1と第2の記憶回路4.5は24にて
代表されている。しかし回路の動作は、第1図及び2図
の動作と同一である。ただし、第3図の場合データ20
3は書き込み又は読み出しとも可能だが、データ211
はアドレス210により読み出されるデータである。
In the third embodiment, the selection circuit 2.3 shown in FIG. 1 is omitted, and the first and second storage circuits 4.5 are represented by 24. However, the operation of the circuit is the same as that of FIGS. 1 and 2. However, in the case of Figure 3, data 20
3 can be written or read, but the data 211
is data read by address 210.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、一方をCPUに他方を論
理回路側に接続されている第1と第2の記憶回路の読み
出し、書き込み動作を、CPUから強制的な制御信号を
出力して、それを解読することにより、論理回路からの
タイミング信号に関係なく、行なえるという効果がある
As explained above, the present invention enables read and write operations of the first and second memory circuits, one of which is connected to the CPU and the other to the logic circuit, by outputting a forced control signal from the CPU. By deciphering it, the effect can be achieved regardless of the timing signal from the logic circuit.

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

第1図及び第3図は本発明の第1と第2の実施例のブロ
ック図、第2図は本実施例の動作説明のためのタイミン
グ図、第4図は従来の制御記憶回路の一例のブロック図
である。 1.20・・・CPU、2,3・・・選択回路、4゜5
.24・・・記憶回路、6.35・・・論理回路、7゜
36・・・フリップフロップ、8・・・制御回路。
1 and 3 are block diagrams of the first and second embodiments of the present invention, FIG. 2 is a timing diagram for explaining the operation of this embodiment, and FIG. 4 is an example of a conventional control storage circuit. FIG. 1.20...CPU, 2,3...Selection circuit, 4゜5
.. 24...Memory circuit, 6.35...Logic circuit, 7°36...Flip-flop, 8...Control circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)時系列のデータ信号を交互に記憶する第1と第2
の記憶回路と、この第1と第2の記憶回路に前記データ
信号を書き込み読み出す切替えを行う切替回路と、この
切替回路を制御するフリップフロップと、CPUからの
第1と第2の制御信号を解読し前記フリップフロップの
状態を制御する制御回路とを有することを特徴とする制
御記憶回路。
(1) A first and a second device that alternately stores time-series data signals.
a storage circuit, a switching circuit for switching between writing and reading out the data signal in the first and second storage circuits, a flip-flop that controls the switching circuit, and a first and second control signal from the CPU. and a control circuit for decoding and controlling the state of the flip-flop.
(2)時系列のデータ信号を記憶する第1と第2の記憶
回路と、この第1と第2の記憶回路に前記データ信号を
書き込み読み出すアドレスカウンタと、このアドレスカ
ウンタを制御するフリップフロップと、CPUからの第
1と第2の制御信号を解読し前記フリップフロップの状
態を制御する制御手段とを有することを特徴とする制御
記憶回路。
(2) first and second memory circuits that store time-series data signals; an address counter that writes and reads the data signals into and from the first and second memory circuits; and a flip-flop that controls the address counters. , and control means for decoding first and second control signals from a CPU and controlling the state of the flip-flop.
JP23803389A 1989-09-12 1989-09-12 Control memory circuit Expired - Lifetime JP2956077B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23803389A JP2956077B2 (en) 1989-09-12 1989-09-12 Control memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23803389A JP2956077B2 (en) 1989-09-12 1989-09-12 Control memory circuit

Publications (2)

Publication Number Publication Date
JPH0399344A true JPH0399344A (en) 1991-04-24
JP2956077B2 JP2956077B2 (en) 1999-10-04

Family

ID=17024174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23803389A Expired - Lifetime JP2956077B2 (en) 1989-09-12 1989-09-12 Control memory circuit

Country Status (1)

Country Link
JP (1) JP2956077B2 (en)

Also Published As

Publication number Publication date
JP2956077B2 (en) 1999-10-04

Similar Documents

Publication Publication Date Title
JPH0612863A (en) Dual port dram
SU1541619A1 (en) Device for shaping address
JPH0399344A (en) Control storage circuit
JPH07160392A (en) Key code variable keyboard
JPH05166391A (en) Memory device
JPH029392Y2 (en)
SU1418720A1 (en) Device for checking programs
SU1755304A1 (en) Device for control of identification of objects to recognition
KR940001160A (en) Signal processing structure to preselect memory address data
SU1363223A1 (en) Computer storage dispatcher
JPS62124689A (en) Programmable chip select signal generating circuit
JPH01246647A (en) Memory cycle selecting system
JPH01112449A (en) Speed converting memory device
JPH0652010A (en) Testing circuit
JPH05181812A (en) Inter-mpu communication circuit
JPH0314145A (en) Memory access circuit
JPS61269288A (en) Storage element module
JPH035788A (en) Display device driving lsi
JPH01283635A (en) Buffer control circuit
JPS61190389A (en) Character display unit
JPH03186913A (en) Data processing control circuit
JPH06259264A (en) Clock control circuit
KR20020030501A (en) Access apparatus of program memory
JPH05197612A (en) Data access circuit
JPH0667769A (en) Single chip microcomputer