JPH0362183A - Semiconductor integrated circuit and data processing system using the same - Google Patents

Semiconductor integrated circuit and data processing system using the same

Info

Publication number
JPH0362183A
JPH0362183A JP1197515A JP19751589A JPH0362183A JP H0362183 A JPH0362183 A JP H0362183A JP 1197515 A JP1197515 A JP 1197515A JP 19751589 A JP19751589 A JP 19751589A JP H0362183 A JPH0362183 A JP H0362183A
Authority
JP
Japan
Prior art keywords
data
port
address
dsp
ram
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
JP1197515A
Other languages
Japanese (ja)
Inventor
Taketora Shiraishi
竹虎 白石
Yukihiko Shimazu
之彦 島津
Tooru Kengaku
見学 徹
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1197515A priority Critical patent/JPH0362183A/en
Publication of JPH0362183A publication Critical patent/JPH0362183A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To obtain a semiconductor IC which need not execute an instruction at its internal part and can access an external part and in addition, can execute another program at the time of the access by connecting one port, at least, among plural ports directly to the external part. CONSTITUTION:A two-port RAM 2 is provided with an address port AP0, a data port P0 and further, a write port W0 which are accessed from the external part, and these ports are constituted so that they are connected to an exclusive address input terminal 11, an exclusive data input/output terminal 10 and a write signal input terminal 12 through latches 64, 61, 63 respectively. In this configuration, when the RAM 2 is accessed from the external part, the data of an address is inputted to the port AP0 connected to the external part, and the data is inputted or outputted directly from the external part to the RAM or from the RAM to the external part through the port P0, and the write signal for the buffer control of the latch 61 is given to the port W0. Thus, since during the period, it need not execute any instruction, it can execute the processing of another program.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数のボートを持つメモリを内蔵したデジ
タル信号プロセッサ等の半導体集積回路及びそれを用い
たデータ処理システムに関し、特に他の半導体集積回路
からメモリに対して直接アクセスが行える半導体集積回
路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a semiconductor integrated circuit such as a digital signal processor having a built-in memory having a plurality of ports, and a data processing system using the same, and particularly to a data processing system using the same. The present invention relates to a semiconductor integrated circuit that allows direct access to memory from a circuit.

〔従来の技術〕[Conventional technology]

第8図は2ボー) RAMを内蔵する従来の半導体集積
回路である信号処理プロセッサの要部の構成を示すブロ
ック図であり、例えば電子通信学会技術研究報告(CP
SY87−56)  r24ビット浮動小数点信号処理
プロセッサ/ll5P2Jに記載されたちのである。図
において1は信号処理プロセッサ(DegitalS 
ignal P rocessor以下DSPという)
であり、該DSP 1は汎用データ入出力端子14を介
して他のaspとデータの入出力を行う。DSP 1で
は図示しない命令デコーダによりフェッチされた命令の
デコードが行われ、それに用いるオペランドのアドレス
データがアドレス生成部3で生成される。生成されたア
ドレスデータはアドレスレジスタ31又は同32に格納
される。またアドレスレジスタ31又は同32には汎用
データ入出力端子14を介してデータレジスタ7に格納
された外部からのアドレスデータも内部データバス5を
介して与えることができる。
Figure 8 is a block diagram showing the configuration of the main parts of a signal processing processor, which is a conventional semiconductor integrated circuit with a built-in RAM (2 baud).
SY87-56) r24-bit floating point signal processor/ll5P2J. In the figure, 1 is a signal processing processor (DigitalS
signal processor (hereinafter referred to as DSP)
The DSP 1 inputs and outputs data to and from other ASPs via the general-purpose data input/output terminal 14. In the DSP 1, a fetched instruction is decoded by an instruction decoder (not shown), and an address generator 3 generates address data of an operand used for the decoding. The generated address data is stored in the address register 31 or 32. Further, external address data stored in the data register 7 can also be applied to the address register 31 or 32 via the general-purpose data input/output terminal 14 via the internal data bus 5.

アドレスレジスタ31.32のアドレスデータは2ボー
)RAM2のアドレスポートAPO、AP、に各別に出
力される。2ボー)RAM 2は夫々のアドレスポート
APo 、APtに入力されたアドレスデータに従って
各別にアクセス可能となっている。また2ボ一トRAM
 2はデータポートPo、P+で各別にデータの入出力
を行うようになっており、データポートP、、P、へは
内部データバス5からデータが入力され、データボー1
’Po、Ptからは内部データバス5及びセレクタ23
.24の一端にデータが出力される。セレクタ23.2
4の他端には内部データバス5からのデータが与えられ
ており、入力された2つのデータのうち1つを選択して
演算部4に出力し、そこでフェッチされた命令に応じた
データの演算が行われる。演算部4での演算結果は内部
データバス5に与えられる。
The address data in the address registers 31 and 32 are output to address ports APO and AP of the 2-baud RAM 2, respectively. (2 baud) RAM 2 can be accessed individually according to address data input to the respective address ports APo and APt. Also 2-bot RAM
2 is designed to input and output data separately at data ports Po and P+, and data is input from the internal data bus 5 to data ports P, , P, and data port 1
'From Po and Pt, the internal data bus 5 and selector 23
.. Data is output to one end of 24. Selector 23.2
Data from the internal data bus 5 is given to the other end of 4, and one of the two input data is selected and output to the arithmetic unit 4, where the data is processed according to the fetched instruction. An operation is performed. The calculation result in the calculation section 4 is given to the internal data bus 5.

以上の如く構成された従来のDSPにおいて、そこに内
蔵された2ポ一トRAM 2を外部のDSP 101か
ら外部データバスを介してアクセスする場合の動作につ
いて説明する。第9図はDSP 1の2ボ一トRAM 
2を外部のDSP 101からアクセスする従来のデー
タ処理システムを示すブロック図である。
In the conventional DSP configured as described above, the operation when the built-in 2-point RAM 2 is accessed from the external DSP 101 via the external data bus will be described. Figure 9 shows the 2-bot RAM of DSP 1.
2 is a block diagram illustrating a conventional data processing system in which data processing apparatus 2 is accessed from an external DSP 101.

このデータ処理システムでは先ずDSP 101はDS
Plに内蔵されている2ボー)RAM 2のアクセスす
べきアドレスを生威し、それをDSP 101の汎用デ
ータ人出力端子14からアドレスデータとして外部デー
タバス15に出力する。
In this data processing system, first, the DSP 101 is a DS
The address to be accessed is generated from the 2-baud RAM 2 built in the Pl, and is output from the general-purpose data output terminal 14 of the DSP 101 to the external data bus 15 as address data.

次にDSP  1は外部データバス15のアドレスデー
タを汎用データ人出力端子14から一旦データレジスタ
7に取込み、内部データバス5を介してアドレスレジス
タ31(又は同32)に転送する。アドレスレジスタ3
1(又は同32)に格納されたアドレスデータは2ポ一
トRAM 2の一方のアドレスポートAP6(又は同A
PI)に出力され、2ポ一トRAM 2は夫々のアドレ
スボー)APo 、APtに入力されたアドレスデータ
に従って各別にアクセスされる。
Next, the DSP 1 takes in the address data on the external data bus 15 from the general-purpose data output terminal 14 into the data register 7, and transfers it to the address register 31 (or 32) via the internal data bus 5. address register 3
The address data stored in 1 (or 32) is transferred to one address port AP6 (or 32) of 2-point RAM 2.
The two-point RAM 2 is accessed separately according to the address data input to the respective address boards (APo and APt).

読出し時には夫々のデータポートPa、P+にデータが
出力されるので、該当するデータポートP、、P、のデ
ータを内部データバス5を介してデータレジスタに送り
、汎用データ入出力端子14から外部データバス15に
出力する。出力されたデータをDSP 101が汎用デ
ータ人出力端子14から取込むと外部からの2ボ一トR
AM 2の読出しが完了する。
At the time of reading, data is output to each data port Pa, P+, so the data of the corresponding data port P, , P is sent to the data register via the internal data bus 5, and the external data is output from the general-purpose data input/output terminal 14. Output to bus 15. When the DSP 101 takes in the output data from the general-purpose data output terminal 14, it receives two inputs from the outside.
Reading of AM 2 is completed.

またデータの書込みの場合は同様にアドレスデータをア
ドレスレジスタ31(又は32)に転送した後に書込み
データをアドレスデータと同じ経路でデータレジスタ7
に取込み、内部データバス5、データポートPa(又は
PI)を介して2ボー) RAM2に送り書込み動作が
行われる。
In addition, in the case of data writing, the address data is similarly transferred to the address register 31 (or 32), and then the write data is transferred to the data register 7 through the same route as the address data.
2 baud) and sent to the RAM 2 via the internal data bus 5 and data port Pa (or PI) for a write operation.

なお、以上のアドレスデータのアドレスレジスタへの転
送、2ボ一トRAM 2のアドレスデータによるアクセ
ス、読出しデータの転送及び書込みデータの取込み等の
処理を実行するためには、DSPlにおいて転送、アク
セス等の複数の命令を実行することが必要である。
In addition, in order to execute the above-mentioned processing such as transfer of address data to the address register, access using the address data of 2-bottom RAM 2, transfer of read data, and capture of write data, transfer, access, etc. It is necessary to execute multiple instructions.

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

従来のDSPでは外部のDSPから2ボ一トRAMの任
意のアドレスをアクセスする場合、前述した如くアクセ
スされる側のDSPでアクセス処理を実行するため複数
の命令を実行する必要があり、そのためアクセスに長時
間を要すると共に、アクセス期間中はアクセスされる側
のDSPにおいて他のプログラムが実行できないという
問題点があった。
In conventional DSPs, when an external DSP accesses an arbitrary address in a 2-bottom RAM, it is necessary to execute multiple instructions in order to perform the access processing in the accessed DSP, as described above. There is a problem in that it takes a long time to complete the process, and other programs cannot be executed on the accessed DSP during the access period.

この発明は上記のような問題点を解消するためになされ
たものであり、複数のポートのうち少なくとも1つのポ
ートを外部に直接接続することにより、記憶装置をアク
セスされる側の半導体集積回路での命令実行を必要とせ
ずに、外部から任意のアドレスをアクセスすることがで
き、アクセス時間を短縮し、外部からのアクセス時に他
のプログラムを実行できる半導体集積回路及びそれを用
いたデータ処理システムを提供することを目的にする。
This invention was made to solve the above-mentioned problems, and by directly connecting at least one port out of a plurality of ports to the outside, a storage device can be connected to a semiconductor integrated circuit on the side to be accessed. A semiconductor integrated circuit and a data processing system using the same, which can access any address from the outside without the need to execute instructions, shorten access time, and execute other programs when accessed from the outside. aim to provide.

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

この発明に係る半導体集積回路は、複数のポートのうち
少なくとも1つのポートが外部に直接又はセレクタを介
して接続されていることを特徴とし、他の発明に係るデ
ータ処理システムは、複数の半導体集積回路のうちアク
セスされる側の半導体集積回路として請求項1記載の半
導体集積回路を用いたものである。
A semiconductor integrated circuit according to the present invention is characterized in that at least one port among the plurality of ports is connected to the outside directly or via a selector, and a data processing system according to another invention is characterized in that at least one port among the plurality of ports is connected to the outside directly or via a selector. The semiconductor integrated circuit according to claim 1 is used as the semiconductor integrated circuit on the accessed side of the circuit.

〔作用〕[Effect]

この発明の半導体集積回路においては、外部から記憶装
置がアクセスされるとき、外部に接続したアドレスポー
トにアクセスされるアドレスのデータが入力され、デー
タポートに外部から記憶装置へ又は記憶装置から外部へ
データが直接入出力される。このとき半導体集積回路は
何も命令を実行する必要がないので、他のプログラムの
処理を行える。
In the semiconductor integrated circuit of the present invention, when the storage device is accessed from the outside, data at the accessed address is input to the address port connected to the outside, and data from the outside to the storage device or from the storage device to the outside is input to the data port. Data is input and output directly. At this time, the semiconductor integrated circuit does not need to execute any instructions, so it can process other programs.

〔実施例〕〔Example〕

以下、この発明をその一実施例を示す図面に基づいて説
明する。第1図はこの発明に係る半導体集積回路である
DSPの構成を示すブロック図である。図においてlは
DSPであり、=亥DSP 1は512ワードの容量の
2ボー)RAM 2を内蔵している。
Hereinafter, the present invention will be explained based on the drawings showing one embodiment thereof. FIG. 1 is a block diagram showing the configuration of a DSP which is a semiconductor integrated circuit according to the present invention. In the figure, l is a DSP, and DSP 1 has a built-in RAM 2 (2 baud) with a capacity of 512 words.

2ボー)RAM2は外部からアクセスするアドレスボー
) apo及びデータポートP、からなるポート0と内
部でアクセスするアドレスポートAP+及びデータポー
トPIからなるポート1とを有している。アドレスポー
トAPoには専用アドレス入力端子からラッチ64を介
してタイミング信号ΦBのタイミングでラッチされたア
ドレスデータが入力され、データポートPoは人出力バ
ッファ及ラッチ61及び専用データ入出力端子10を介
してデータを人出力する。またライトボー)Weにはラ
イト信号入力端子12からラッチ63を介してタイミン
グ信号ΦBのタイミングでラッチされたライト信号−3
0が与えられる。ライト信号−80は人出力バッファ及
ラッチ61にも与えられ、読出し時には出力バッフ1と
して、また書込み時は入力バッファとして働くように人
出力バッファ及ラッチ61を制御する。
The RAM 2 has a port 0 consisting of an address port AP+ and a data port P which are accessed from the outside, and a port 1 consisting of an address port AP+ and a data port PI which are accessed internally. Address data latched at the timing of the timing signal ΦB is input from the dedicated address input terminal to the address port APo via the latch 64, and the data port Po is input to the address data via the human output buffer and latch 61 and the dedicated data input/output terminal 10. Output the data manually. In addition, the write signal -3 is latched from the write signal input terminal 12 via the latch 63 at the timing of the timing signal ΦB.
0 is given. The write signal -80 is also applied to the human output buffer and latch 61, and controls the human output buffer and latch 61 so that it functions as an output buffer 1 during reading and as an input buffer during writing.

一方2ボートRAM 2のDSP 1の命令によってア
クセスするアドレスポート^P、にはアドレス生成部3
でフェッチした命令に応じて生成されたオペランドのア
ドレスデータが与えられ、2ポー1−RA2をアクセス
する。またデータポートPI は内部データバス5とデ
ータを入出力する。内部データバス5はデータレジスタ
7を介して汎用データ入出力端子14と接続されており
、外部データバス15(第6図参照)とデータの入出力
を行うと共に、内部データバス5は各種の演算を行う演
算部4とデータの入出力を行う。
On the other hand, the address port ^P, which is accessed by the command of the DSP 1 of the 2-boat RAM 2, has an address generator 3.
The address data of the operand generated in accordance with the fetched instruction is given, and 2 ports 1-RA2 are accessed. Further, the data port PI inputs and outputs data to and from the internal data bus 5. The internal data bus 5 is connected to the general-purpose data input/output terminal 14 via the data register 7, and performs data input/output with the external data bus 15 (see FIG. 6), and also performs various calculations. It inputs and outputs data to and from the arithmetic unit 4 that performs.

また、このDSP 1でフェッチされた命令は命令レジ
スタ8に格納され、それがデコーダ&制御回路9に与え
られ、タイミング信号ΦBのタイミングで、デコード結
果の制御信号が各素子に出力される。例えばライト信号
−31が2ボー)RAM 2のライトポートWlに与え
られ、それに従いタイミング信号ΦAのタイ【ングでデ
ータの読み書きが行われると共に、演算部4に演算用の
制御信号が与えられ、タイミング信号ΦA、ΦBのタイ
ミングで演算部4に入力されたデータの各種の演算が行
われる。
Further, the instruction fetched by the DSP 1 is stored in an instruction register 8, which is applied to a decoder & control circuit 9, and a control signal as a result of decoding is output to each element at the timing of a timing signal ΦB. For example, a write signal -31 (2 baud) is applied to the write port Wl of the RAM 2, data is read and written according to the timing signal ΦA, and a control signal for calculation is applied to the calculation unit 4. Various calculations are performed on the data input to the calculation unit 4 at the timing of the timing signals ΦA and ΦB.

なおタイミング信号ΦA、ΦBは半周期位相が異なる信
号であり、タイミング生成回路17で生成される。
Note that the timing signals ΦA and ΦB are signals whose phases differ by half a period, and are generated by the timing generation circuit 17.

次にこのように構成された、この発明のDSP  1の
アクセス動作について説明する。第2図はDSPのアク
セス動作を説明するタイミングチャートであり、第2図
(a)はosp iからの読出し、第2図(b)は書込
み、第2図(C)は外部からの読出し、第2図(d)は
外部からの書込みの動作を夫々示している。
Next, the access operation of the DSP 1 of the present invention configured as described above will be explained. FIG. 2 is a timing chart explaining the access operation of the DSP. FIG. 2(a) is reading from osp i, FIG. 2(b) is writing, FIG. 2(C) is reading from outside, FIG. 2(d) shows the external writing operation.

DSP 1によるアクセス動作について説明する。The access operation by the DSP 1 will be explained.

DSP 1はタイミング信号ΦAの周期で命令のフェッ
チ、デコード、実行の3段のパイプラインの処理を行う
。そしてデコード処理時にタイミング信号ΦBの立上り
エツジでアクセスすべきアドレスデータがアドレス生成
部3で生成され、2ボ一トRAM 2のアドレスポート
AP+に与えられる。
The DSP 1 performs three-stage pipeline processing of fetching, decoding, and executing instructions at the cycle of the timing signal ΦA. Address data to be accessed at the rising edge of the timing signal ΦB during decoding is generated by the address generator 3 and applied to the address port AP+ of the two-vote RAM 2.

2ボ一トRAM2はそのライトボー)W+に入力された
デコーダ&制御回路9からのライト信号WS+に従い、
それが“L”のときは読出し動作を(第2図(a)) 
、また“H”のときは書込み動作を(第2図(ロ))タ
イミング信号ΦAの立上りエツジから行う。書込みデー
タは内部データバス5から与えられ、読出されたデータ
は演算部4に出力される。
The 2-bot RAM 2 follows the write signal WS+ from the decoder & control circuit 9 input to its write port W+.
When it is “L”, read operation is performed (Figure 2 (a))
, when the signal is "H", the write operation is performed from the rising edge of the timing signal ΦA (FIG. 2(b)). Write data is applied from internal data bus 5, and read data is output to arithmetic unit 4.

なお、これらの処理は命令レジスタ8の命令をデコーダ
&制御回路9でデコードすることにより発生する制御信
号により制御される。
Note that these processes are controlled by control signals generated by decoding the commands in the command register 8 by the decoder & control circuit 9.

これに対してアドレスポート^P0でのアクセスはDS
P 1で処理される命令の制御を受けず、外部端子、即
ち専用データ人出力端子10、専用アドレス入力端子1
1及びライト信号入力端子12を介して外部から直接ア
クセスすることができる。外部から2ボー)RAM 2
をアクセスする場合、外部のDSPlol(第6図参照
)で生成され、専用アドレス入力端子11に入力された
アドレスデータはラッチ64によりタイミング信号ΦB
の立上りエツジでラッチされアドレスポートAPoに与
えられる。この場合に外部からのライト信号−80が“
L”のとき(第2図(C)) 、即ち読出しのときこれ
がラッチ63によりタイミング信号ΦBの立上りエツジ
でラッチされ、ライトボートW0に与えられると共に、
人出カバッファ&ラッチ61に与えられ、それを出力バ
ッファとして機能するように制御する。そしてタイミン
グ信号Φ^の立上りからアクセスが始まり、アクセス完
了後読出しデータがデータポートP0から出力され、人
出力バッファ&ラッチ61を介して専用データ人出力端
子10に出力される。
On the other hand, access at address port ^P0 is DS
Not under the control of the command processed by P1, external terminals, namely dedicated data output terminal 10, dedicated address input terminal 1
1 and a write signal input terminal 12, it can be accessed directly from the outside. 2 baud from outside) RAM 2
When accessing, the address data generated by the external DSPlol (see FIG. 6) and input to the dedicated address input terminal 11 is output by the latch 64 to the timing signal ΦB.
It is latched on the rising edge of and applied to address port APo. In this case, the external write signal -80 is “
At the time of "L" (FIG. 2(C)), that is, at the time of reading, this is latched by the latch 63 at the rising edge of the timing signal ΦB, and is applied to the write port W0.
The output buffer and latch 61 is supplied to control it to function as an output buffer. Then, the access starts from the rising edge of the timing signal Φ^, and after the access is completed, the read data is output from the data port P0, and is outputted to the dedicated data output terminal 10 via the output buffer & latch 61.

一方ライト信号−30が“H”のとき (第2図(d)
)同様にアドレスデータ及びライト信号−30がラッチ
され、アドレスポートAP6及びライトボー)We入入
出力バッフアララッチ61夫々与えられる。また専用デ
ータ入出力端子10にはDSP 101からの書込みデ
ータが与えられ、それが人出力バッファ&ラッチ61に
よりタイミング信号ΦBの立上りエツジでラッチされる
。そしてそれがデータポートP0に与えられ、2ポ一ト
RAM 2のアクセスされたアドレスに書込まれる。
On the other hand, when the write signal -30 is "H" (Fig. 2 (d)
) Similarly, address data and write signal -30 are latched and applied to address port AP6 and write port ()We input/output buffer latches 61, respectively. Further, write data from the DSP 101 is applied to the dedicated data input/output terminal 10, and is latched by the human output buffer & latch 61 at the rising edge of the timing signal ΦB. Then, it is applied to data port P0 and written to the accessed address of 2-point RAM 2.

このように外部のDSP 101によるアクセスはDS
Plの命令による制御が不要なので、DSP 1による
アクセスとDSP 101によるアクセスとが並列的に
処理できるようになる。
In this way, access by the external DSP 101 is
Since control by Pl instructions is not required, accesses by the DSP 1 and accesses by the DSP 101 can be processed in parallel.

次に他の実施例について説明する。前述の実施例ではア
ドレスポートAPo 、ライトボートW0及びデータポ
ートP0を外部からのアクセス専用としたが、この実施
例ではこれらをどちらからでもアクセスできるようにし
た。第3図は他の実施例のDSPの構成を示すブロック
図である。なお第1図と共通部分については説明を省略
する。
Next, other embodiments will be described. In the embodiment described above, address port APo, write port W0, and data port P0 were exclusively accessed from outside, but in this embodiment, they can be accessed from either side. FIG. 3 is a block diagram showing the configuration of a DSP according to another embodiment. Note that explanations of parts common to FIG. 1 will be omitted.

アドレスポートAP6 、ライトボートW、及びデータ
ポートP0にはセレクタ65.66.67を介して各信
号が与えられるようになしてあり、各セレクタ65.6
6.67の切換端子にはデコーダ&制御回路9からボー
トOを使用しないことを示すボート0未使用信号US、
が与えられ、それにより各セレクタ65゜66 、67
を切換える。
Address port AP6, write port W, and data port P0 are provided with respective signals via selectors 65, 66, and 67.
6. A boat 0 unused signal US indicating that boat O is not used is sent from the decoder & control circuit 9 to the switching terminal 67.
is given, so that each selector 65°66, 67
Switch.

セレクタ65の一端にはラッチ64からのアドレスデー
タが与えられ、他端にはアドレス生成部3からのアドレ
スデータが与えられている。またセレクタ66の一端に
はラッチ63からのライト信号同。
One end of the selector 65 is given address data from the latch 64, and the other end is given address data from the address generator 3. Also, one end of the selector 66 receives the same write signal from the latch 63.

が与えられ、他端にはデコーダ&制御回路9からのライ
ト信号−510が与えられている。またセレクタ67の
一端は人出力バッファ&ラッチ61と入出力を行い、他
端は内部データバス5bと入出力を行う。
is applied, and the write signal -510 from the decoder & control circuit 9 is applied to the other end. Further, one end of the selector 67 performs input/output with the human output buffer & latch 61, and the other end performs input/output with the internal data bus 5b.

内部データバス5aは2ポ一トRAMのデータポートP
I%演算部4及びデータレジスタ7とデータの入出力を
行い、内部データバス5bはセレクタ67の他に演算部
4及びデータレジスタ7とデータの入出力を行う。
The internal data bus 5a is the data port P of the 2-point RAM.
The internal data bus 5b inputs and outputs data to and from the I% calculation unit 4 and the data register 7, and the internal data bus 5b inputs and outputs data from the calculation unit 4 and the data register 7 in addition to the selector 67.

次にこの実施例のアクセス動作について説明する。第4
図は読出し動作を説明するタイミングチャートであり、
書込み動作の説明は省略する。デコーダ&制御回路9は
命令のデコード時にボート0を使用するか否かを識別し
、そこから出力されたボートO未使用信号US0の“H
”、 “L”により各セレクタ65,66.67がDS
P 101又はDSP 1からのデータを選択する。即
ちボートO未使用信号US。
Next, the access operation of this embodiment will be explained. Fourth
The figure is a timing chart explaining the read operation.
A description of the write operation will be omitted. The decoder & control circuit 9 identifies whether or not to use port 0 when decoding an instruction, and outputs the “H” port O unused signal US0 from the decoder & control circuit 9.
”, “L” causes each selector 65, 66, 67 to be set to DS.
Select data from P 101 or DSP 1. That is, boat O unused signal US.

が“H”のときは各セレクタ65.66.67は外部か
らのデータを選択し、外部からのアドレスデータBによ
り2ポー)RAM 2がアクセスされる。
When is "H", each selector 65, 66, 67 selects data from the outside, and RAM 2 (2-port) is accessed by address data B from the outside.

またポートO未使用信号Useが“L″のとき、各セレ
クタ65.66、67はDSP  lからのデータを選
択し、アドレス生成部3で生成したアドレスデータA、
データバス5bのデータ及びライト信号WIOに従って
2ボ一トRAMをアクセスする。
Further, when the port O unused signal Use is "L", each selector 65, 66, 67 selects the data from the DSP I, and the address data A generated by the address generator 3,
The 2-bot RAM is accessed according to the data on the data bus 5b and the write signal WIO.

次にさらに他の実施例について説明する。第5図はさら
に他の実施例のDSPの構成を示すプロ・ンク図である
。この実施例では全てのボートにセレクタを設けており
、全てのボートで内部及び外部を選択できる。即ちアド
レスポートAP+ にはセレクタ68を介してアドレス
データが与えられ、ライトボートW1にはセレクタ70
を介してライト信号が与えられ1、データポートP、は
セレクタ69とデータの人出力を行う。またセレクタ6
5.66.67にはデコーダ&制御回路9からのポート
0外部アクセス許可信号AS、が、またセレクタ68,
69.70には同様にボート1外部アクセス許可信号A
S+が夫々与えられている。前述した第2の実施例では
外部からアクセスできるボートをボートOに固定したが
、この実施例では2つのボートのうちDSP 1で使用
していない方をデコード時にデコーダ&制御回路9で検
出し、そこから各セレクタ65〜67(又は68〜70
〉へボートO(又はボート1)外部アクセス許可信号A
So (又はAS+)を出力し、これが“H“のとき各
セレクタ65〜70は外部のデータを選択し、”L″の
とき内部のデータを選択する。
Next, still another embodiment will be described. FIG. 5 is a block diagram showing the configuration of a DSP according to still another embodiment. In this embodiment, all boats are provided with a selector, and internal and external can be selected for all boats. That is, address data is given to address port AP+ via selector 68, and write port W1 is given address data via selector 70.
A write signal is applied via the data port P, and the data port P outputs data to the selector 69. Also selector 6
5.66.67 has the port 0 external access permission signal AS from the decoder & control circuit 9, and the selector 68,
Similarly, at 69.70, the boat 1 external access permission signal A
S+ is given to each. In the second embodiment described above, the externally accessible boat is fixed to the boat O, but in this embodiment, the decoder & control circuit 9 detects the one of the two boats that is not being used by the DSP 1 during decoding. From there, each selector 65-67 (or 68-70
> To boat O (or boat 1) external access permission signal A
So (or AS+) is output, and when this is "H", each selector 65 to 70 selects external data, and when it is "L", selects internal data.

これにより2ボー)RAM 2の利用効率がさらに向上
する。
This further improves the utilization efficiency of RAM 2 (2 baud).

なお以上の実施例では2ボ一トRAMを内蔵したDSP
について説明したが、この発明はこれに限るものではな
く多ボートのRAM及びR□Mでもこの発明は適用でき
ると共に、半導体集積回路としてはDSPに限るもので
はないことは言うまでもない。
In the above embodiment, a DSP with a built-in 2-bot RAM is used.
However, the present invention is not limited to this, and can be applied to multi-board RAMs and R□Ms, and it goes without saying that the semiconductor integrated circuit is not limited to DSPs.

次に第2の発明に係るデータ処理システムについて説明
する。第6図は第2の発明のデータ処理システムの構成
を示すブロック図であり、この発明のDSP 1と従来
のDSP 101とが外部データバス15及び汎用デー
タ入出力端子14.14を介してデータの人出力を行っ
ている。また外部データバス15からはDSP 1の専
用データ人出力端子10、専用アドレス端子11及びラ
イト信号入力端子に各別のデータが与えられている。
Next, a data processing system according to a second invention will be explained. FIG. 6 is a block diagram showing the configuration of the data processing system of the second invention, in which the DSP 1 of the invention and the conventional DSP 101 communicate data via an external data bus 15 and general-purpose data input/output terminals 14 and 14. Human output is being performed. Further, from the external data bus 15, different data is given to the dedicated data output terminal 10, the dedicated address terminal 11, and the write signal input terminal of the DSP 1.

このデータ処理システムにおいて、DSP 101から
DSP 1に内蔵された2ボ一トRAM 2 (第1図
参照)をアクセスする場合の動作について説明する。
In this data processing system, the operation when the DSP 101 accesses the two-bottom RAM 2 (see FIG. 1) built into the DSP 1 will be described.

DSP 101はアクセスすべきアドレスを生威し、汎
用データ人出力端子14から外部データバス15を介し
てDSP  1の専用アドレス入力端子11に与える。
DSP 101 generates the address to be accessed and provides it from general purpose data output terminal 14 via external data bus 15 to dedicated address input terminal 11 of DSP 1 .

DSP  1は内部の命令を介さず、専用アドレス入力
端子11のアドレスデータに従って、2ポ一トRAM2
の該当するアドレスをアクセスする。書込みの場合は、
アドレスデータがDSP  1でラッチされた後に、書
込まれるデータ及びライト信号−80=“H”が1)S
P 101の汎用データ人出力端子14から出力され、
外部データバス15を介してDSP  1の専用データ
人出力端子10及びライト信号入力端子12に入力され
る。この入力されたデータはそのまま内部の2ボ一トR
AM 2に書込まれる。読出す場合はDSPlolから
ライト信号WSo ”’ ”L″が出力され、取込んだ
アドレスに従って内部の2ボー)RAM2がアクセスさ
れ、読出されたデータは専用データ入出力端子lOから
外部データバス15に出力される。
The DSP 1 reads the 2-point RAM 2 according to the address data of the dedicated address input terminal 11 without using internal instructions.
access the corresponding address. For writing,
After the address data is latched by DSP 1, the data to be written and the write signal -80="H" are 1) S
Output from the general-purpose data output terminal 14 of P101,
The signal is input to the dedicated data output terminal 10 and write signal input terminal 12 of the DSP 1 via the external data bus 15. This input data remains as it is in the internal 2-vote R.
Written on AM 2. When reading, the write signal WSo ``'``L'' is output from DSPLol, the internal 2-baud RAM 2 is accessed according to the read address, and the read data is transferred from the dedicated data input/output terminal IO to the external data bus 15. Output.

外部データバス15のデータはDSP 101の汎用デ
ータ入出力端子14からDSP 101に取込まれる。
Data on the external data bus 15 is taken into the DSP 101 from the general-purpose data input/output terminal 14 of the DSP 101.

次に他の実施例について説明する。第7図は他の実施例
のデータ処理システムの構成を示すブロック図であり、
この実施例ではDSP 101の汎用データ入出力端子
14は外部データバス15を介さず直接[)SP 1の
専用データ入出力端子10、専用アドレス入力端子11
、ライト信号入力端子12と接続されている。従ってD
SP 101からDSP 1のアクセス時に外部データ
バスを使用しないので、そのとき、外部データバス15
を用いた他の処理が並列的に行える。
Next, other embodiments will be described. FIG. 7 is a block diagram showing the configuration of a data processing system according to another embodiment,
In this embodiment, the general-purpose data input/output terminal 14 of the DSP 101 is directly connected to the dedicated data input/output terminal 10 and the dedicated address input terminal 11 of the SP 1 without going through the external data bus 15.
, are connected to the write signal input terminal 12. Therefore D
Since the external data bus is not used when accessing from SP 101 to DSP 1, at that time, external data bus 15
Other processing using can be performed in parallel.

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

以上のように、この発明によれば半導体集積回路内部で
のプログラムの命令による制御を介さず、半導体集積回
路に内蔵された複数のボートを有する記憶装置の任意の
アドレスを、外部端子からのアドレス及びデータに従っ
て直接アクセスする↓とができる。従ってこの発明の半
導体集積回路を複数の半導体集積回路から構成されるデ
ータ処理システムに用いた場合は命令を実行しない分だ
けアクセス時間が短縮し、外部からのアクセス時に内部
で他のプログラムを実行できるという効果がある。
As described above, according to the present invention, an arbitrary address of a storage device having a plurality of ports built into a semiconductor integrated circuit can be set to an address from an external terminal without being controlled by program commands inside the semiconductor integrated circuit. And you can directly access the data according to ↓. Therefore, when the semiconductor integrated circuit of the present invention is used in a data processing system composed of a plurality of semiconductor integrated circuits, the access time is shortened by not executing instructions, and other programs can be executed internally when accessed from the outside. There is an effect.

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

第1図はこの発明に係る半導体集積回路であるDSPの
構成を示すブロック図、第2図はアクセス動作を示すタ
イミングチャート、第3図は他の実施例のDSPの構成
を示すブロック図、第4図は他の実施例のアクセス動作
を示すタイミングチャート、第5図はさらに他の実施例
のDSPの構成を示すブロック図、第6図は第2の発明
に係るデータ処理システムの構成を示すブロック図、第
7図は第2の発明の他の実施例のデータ処理システムの
構成を示すブロック図、第8図は従来の半導体集積回路
の構成を示すブロック図、第9図は従来のデータ処理シ
ステムのブロック図である。 1・・・DSP  2・・・2ポ一トRIM  3・・
・アドレス生成部 10・・・専用データ入出力端子 
11・・・専用アドレス入力端子 12・・・ライト信
号入力端子なお、図中、同一符号は同一、又は相当部分
を示す。
FIG. 1 is a block diagram showing the configuration of a DSP which is a semiconductor integrated circuit according to the present invention, FIG. 2 is a timing chart showing an access operation, and FIG. 3 is a block diagram showing the configuration of a DSP according to another embodiment. 4 is a timing chart showing the access operation of another embodiment, FIG. 5 is a block diagram showing the configuration of the DSP of still another embodiment, and FIG. 6 is a diagram showing the configuration of the data processing system according to the second invention. Block diagram, FIG. 7 is a block diagram showing the configuration of a data processing system according to another embodiment of the second invention, FIG. 8 is a block diagram showing the configuration of a conventional semiconductor integrated circuit, and FIG. 9 is a block diagram showing the configuration of a conventional semiconductor integrated circuit. FIG. 1 is a block diagram of a processing system. 1...DSP 2...2 point RIM 3...
・Address generation section 10... Dedicated data input/output terminal
11... Dedicated address input terminal 12... Write signal input terminal In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] (1)アドレス信号を入力するアドレスポートと、デー
タ信号を入出力するデータポートとを有する記憶装置を
備えた半導体集積回路において、 前記各信号を外部と入出力する端子を備え、少なくとも
1つの前記アドレスポート及びデータポートが、直接又
は内部からの各信号と外部からの各信号とを切換えるセ
レクタを介して、前記端子と接続してあり、外部から直
接アクセスすべくなしてあることを特徴とする半導体集
積回路。
(1) A semiconductor integrated circuit including a memory device having an address port for inputting an address signal and a data port for inputting/outputting a data signal, comprising a terminal for inputting/outputting each of the above-mentioned signals to/from the outside, and at least one of the above-mentioned signals. A semiconductor characterized in that an address port and a data port are connected to the terminals directly or via a selector that switches between each signal from the inside and each signal from the outside, and is configured to be accessed directly from the outside. integrated circuit.
(2)バスを介して相互に接続された複数の半導体集積
回路を有し、請求項1記載の半導体集積回路に内蔵され
た記憶装置を前記端子を介して他の半導体集積回路から
アクセスすべくなしてあることを特徴とするデータ処理
システム。
(2) having a plurality of semiconductor integrated circuits interconnected via a bus, the memory device built in the semiconductor integrated circuit according to claim 1 is accessed from another semiconductor integrated circuit via the terminal; A data processing system characterized by:
JP1197515A 1989-07-28 1989-07-28 Semiconductor integrated circuit and data processing system using the same Pending JPH0362183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1197515A JPH0362183A (en) 1989-07-28 1989-07-28 Semiconductor integrated circuit and data processing system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1197515A JPH0362183A (en) 1989-07-28 1989-07-28 Semiconductor integrated circuit and data processing system using the same

Publications (1)

Publication Number Publication Date
JPH0362183A true JPH0362183A (en) 1991-03-18

Family

ID=16375748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1197515A Pending JPH0362183A (en) 1989-07-28 1989-07-28 Semiconductor integrated circuit and data processing system using the same

Country Status (1)

Country Link
JP (1) JPH0362183A (en)

Similar Documents

Publication Publication Date Title
KR960001273B1 (en) Single chip microcomputer
US5418976A (en) Processing system having a storage set with data designating operation state from operation states in instruction memory set with application specific block
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
JPS58501560A (en) microprocessor
JPH0277846A (en) Microprocessor
JPS6015708A (en) Stored program type controller
JPH0362183A (en) Semiconductor integrated circuit and data processing system using the same
JPH01239485A (en) Large-scale integrated circuit
JPH1091593A (en) Data processor provided with microprocessor and optional calculation unit
JP3107595B2 (en) Memory access control device and memory access control method
JPH02183332A (en) Programmed control system
JPS6330658B2 (en)
JPH0418634A (en) Data processor
JPH09106359A (en) Semiconductor integrated circuit
JPH033047A (en) Memory with arithmetic function
JP2001014214A (en) Method for sharing memory and multiprocessor facility using this method
JPH04130943A (en) Memory diagnostic system
JPH07105171A (en) Data processor
JP2001100991A (en) Digital signal processor
JPH03220654A (en) Microcomputer
JPH1116400A (en) Semiconductor integrated circuit and its test-method
JPH01147732A (en) Information processor
JPS61283935A (en) Memory access system
JPS59157740A (en) Data transfer method of microcomputer system
JPH05100901A (en) Microcomputer