JPH02115961A - Microcomputer - Google Patents
MicrocomputerInfo
- Publication number
- JPH02115961A JPH02115961A JP63269688A JP26968888A JPH02115961A JP H02115961 A JPH02115961 A JP H02115961A JP 63269688 A JP63269688 A JP 63269688A JP 26968888 A JP26968888 A JP 26968888A JP H02115961 A JPH02115961 A JP H02115961A
- Authority
- JP
- Japan
- Prior art keywords
- data length
- signal
- address
- hardware
- instruction
- 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
Links
- 238000000034 method Methods 0.000 abstract description 6
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 1
Landscapes
- Memory System (AREA)
- Bus Control (AREA)
- Microcomputers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はマイクロコンピュータに関し、特に複数のデー
タ長のデータを処理することができるアドレスマツブト
I10方式のマイクロコンピュータに関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer, and particularly to an addressable Mabutsu I10 type microcomputer that can process data of a plurality of data lengths.
従来、この種のマイクロコンピュータは、一つのアドレ
スに対し、一つの処理データ長をもつ一つの対象ハード
ウェアがマツピングされているか、または一つのハード
ウェアの中に二つの処理データ長をもつ対象ハードウェ
アが一つマツピングされる構成となっており、処理デー
タ長が長い対象ハードウェアに対するマツピングは複数
のアドレスを使う必要があった。Conventionally, in this type of microcomputer, one target hardware with one processing data length is mapped to one address, or one target hardware with two processing data lengths is mapped to one address. The configuration was such that one piece of hardware was mapped, and it was necessary to use multiple addresses to map target hardware with long processing data lengths.
上述した従来のマイクロコンピュータは、1対象ハード
ウエアに対し少なくとも1アドレスが必要であり、特に
処理データ長の長い対象ハードウェアに対しては複数の
アドレスにマツピングする構成となっているので、対象
ハードウェアのアドレッシングに必要なアドレス空間が
拡大しアドレス空間を有効に活用できないという欠点が
あり、かつアドレッシングに必要なハードウェアが増加
するという欠点がある。また、アドレス空間不足の為に
製品設計が制約されるという欠点がある。The conventional microcomputers mentioned above require at least one address for one target hardware, and are configured to map to multiple addresses especially for target hardware with long processing data length. This method has the disadvantage that the address space required for hardware addressing expands, making it impossible to utilize the address space effectively, and also that the amount of hardware required for addressing increases. Another drawback is that product design is restricted due to the lack of address space.
本発明の目的は、対象ハードウェアのアドレッシングに
必要なアドレス空間を低減してアドレス空間が有効に活
用でき、従ってアドレッシングに必要なハードウェアを
縮減することができ、かつ製品設計の制約を緩和するこ
とができるマイクロコンピュータを提供することにある
。It is an object of the present invention to reduce the address space required for addressing target hardware so that the address space can be used effectively, thereby reducing the hardware required for addressing and easing constraints on product design. Our goal is to provide a microcomputer that can
本発明のマイクロコンピュータは、命令をデコードしこ
の命令がもつ処理データ長に従って処理対象のデータの
データ長を指定するデータ長指定信号を出力する命令デ
コーダと、アドレス信号を入力しこのアドレス信号のア
ドレスが処理データ長の異なる複数の対象ハードウェア
をマツピングした所定のアドレスであるとき、このアド
レスの前記各対象ハードウェアを選択するための選択信
号を出力するアドレスデコーダと、前記選択信号及びデ
ータ長指定信号により前記複数のハードウェアのうちの
一つを選択しアクセスする選択制御部とを有している。The microcomputer of the present invention includes an instruction decoder that decodes an instruction and outputs a data length designation signal that specifies the data length of data to be processed according to the processing data length of this instruction, and an instruction decoder that inputs an address signal and that outputs an address of the address signal. is a predetermined address mapping a plurality of target hardwares having different processing data lengths, an address decoder outputting a selection signal for selecting each of the target hardwares at this address, and the selection signal and data length designation. and a selection control section that selects and accesses one of the plurality of hardware in response to a signal.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の第1の実施例を示すブロック図である
。FIG. 1 is a block diagram showing a first embodiment of the present invention.
この実施例は、命令INSをデコードしてこの命令IN
Sのもつ処理データ長(例えば4ビツト、8ビツト)に
従って処理対象のデータのデータ長を指定するデータ長
指定信号DLを出力する命令デコーダ1と、アドレスバ
ス4からアドレス信号ADを入力し、このアドレス信号
ADのアドレスが処理データ長の異なる二つの対象ハー
ドウェア10^、10a (それぞれの処理データ長
=4ビット、8ビツト)をマツピングしたアドレスであ
るとき、このアドレスの各対象ハードウェア10A、1
0Bを選択するための選択信号HSを出力するアドレス
デコーダ2と、選択信号HS及びデータ長指定信号DL
により対象ハードウェア10A、10Bのうちの一つを
選択してアクセスする選択制御部3A、3Bとを備えた
構成となっている。This embodiment decodes the instruction INS and decodes the instruction IN
An instruction decoder 1 outputs a data length designation signal DL that designates the data length of data to be processed according to the processing data length (for example, 4 bits, 8 bits) of S, and an address signal AD is input from an address bus 4. When the address of the address signal AD is an address that maps two target hardwares 10^, 10a with different processing data lengths (each processing data length = 4 bits, 8 bits), each target hardware 10A, 10a of this address, 1
An address decoder 2 that outputs a selection signal HS for selecting 0B, a selection signal HS and a data length designation signal DL.
The configuration includes selection control units 3A and 3B that select and access one of the target hardware 10A and 10B.
次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.
命令デコーダ1は、命令INSをデコードしこの命令I
NSのもつ処理データ長が4ビツトである場合にはデー
タ長指定信号DLを低レベルとし、8ビツトである場合
にはデータ長指定信号DLを高レベルとする。Instruction decoder 1 decodes instruction INS and converts this instruction I
When the processing data length of the NS is 4 bits, the data length designation signal DL is set to low level, and when it is 8 bits, the data length designation signal DL is set to high level.
選択制御部3A、3Bは、アドレスデコーダ2から選択
信号H3が入力されると、それぞれデータ長指定信号D
Lのレベルを調べ、低レベルであれば選択制御部3Aか
ら制御信号HC1が出力され、対象ハードウェア10^
がアクセスされる。When the selection control units 3A and 3B receive the selection signal H3 from the address decoder 2, the selection control units 3A and 3B each output a data length designation signal D.
The level of L is checked, and if the level is low, the selection control unit 3A outputs the control signal HC1, and the target hardware 10^
is accessed.
対象ハードウェアIOAはデータバスラを介して4とッ
トデータの処理を行う。The target hardware IOA processes the 4 bit data via the data bussler.
またデータ指定信号DLが高レベルであれば選択制御部
3Aから制御信号HC2が出力され対象ハードウェア1
0aがアクセスされる。Further, if the data designation signal DL is at a high level, the control signal HC2 is output from the selection control unit 3A, and the target hardware 1
0a is accessed.
第2図は本発明の第2の実施例を示すブロック図である
。FIG. 2 is a block diagram showing a second embodiment of the invention.
この実施例は、−台で1ビツト及び8ビツトのデータを
処理できる対象ハードウェアの周辺ハードウェア20に
適用したものである。This embodiment is applied to the peripheral hardware 20 of the target hardware, which can process 1-bit and 8-bit data.
この実施例の動作は第1の実施例とほぼ同様であり、制
御信号HCI 、HC2により、周辺ハードウェア20
を1ビツトのデータ長の処理動作とするか8ビツトのデ
ータ長の処理動作とするかを決定する。The operation of this embodiment is almost the same as that of the first embodiment, and the control signals HCI and HC2 control the peripheral hardware 20.
It is determined whether the processing operation is for a 1-bit data length or an 8-bit data length.
このように、選択制御部3A〜3pを設けることにより
、対象ハードウェアのアドレッシングに必要なアドレス
は一つで済み、かつこの一つのアドレスで複数の対象ハ
ードウェアの制御を行うことができる。In this manner, by providing the selection control units 3A to 3p, only one address is required for addressing the target hardware, and this single address can control a plurality of target hardware.
以上説明したように本発明は、命令デコーダにより命令
のもつ処理データ長に従って処理対象のデータのデータ
長を指定するデータ長指定信号を発生し、このデータ長
指定信号とアドレスデコーダからの対象ハードウェアの
選択信号とにより、処理データ長の異なる複数の対象ハ
ードウェアのうちの一つを選択、アクセスする選択制御
部を設けた構成とすることにより、対象ハードウェアの
アドレッシングに必要なアドレスを一つにすることがで
き、かつこの一つのアドレスで複数の対象ハードウェア
の制御ができるので、アドレス空間を有効に活用するこ
とができ、従って製品設計の制約を緩和することができ
、またアドレッシングに必要なハードウェアを縮減する
ことができる効果がある。As explained above, the present invention generates a data length designation signal that designates the data length of data to be processed according to the processing data length of the command by an instruction decoder, and outputs this data length designation signal and the target hardware from an address decoder. By providing a selection control unit that selects and accesses one of a plurality of target hardwares with different processing data lengths based on the selection signal of Because this single address can control multiple target hardware, the address space can be used effectively, thereby easing constraints on product design. This has the effect of reducing the amount of hardware required.
ア、 20・・・周辺ハードウェア。a, 20... Peripheral hardware.
Claims (1)
処理対象のデータのデータ長を指定するデータ長指定信
号を出力する命令デコーダと、アドレス信号を入力しこ
のアドレス信号のアドレスが処理データ長の異なる複数
の対象ハードウェアをマツピングした所定のアドレスで
あるとき、このアドレスの前記各対象ハードウェアを選
択するための選択信号を出力するアドレスデコーダと、
前記選択信号及びデータ長指定信号により前記複数のハ
ードウェアのうちの一つを選択しアクセスする選択制御
部とを有することを特徴とするマイクロコンピュータ。An instruction decoder that decodes an instruction and outputs a data length designation signal that specifies the data length of the data to be processed according to the processing data length of this instruction, and an instruction decoder that inputs an address signal and has multiple addresses with different processing data lengths. an address decoder that outputs a selection signal for selecting each of the target hardware at this address when the address is a predetermined address mapped to the target hardware;
A microcomputer comprising: a selection control unit that selects and accesses one of the plurality of hardware based on the selection signal and the data length designation signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63269688A JP2692180B2 (en) | 1988-10-25 | 1988-10-25 | Microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63269688A JP2692180B2 (en) | 1988-10-25 | 1988-10-25 | Microcomputer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02115961A true JPH02115961A (en) | 1990-04-27 |
JP2692180B2 JP2692180B2 (en) | 1997-12-17 |
Family
ID=17475805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63269688A Expired - Lifetime JP2692180B2 (en) | 1988-10-25 | 1988-10-25 | Microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2692180B2 (en) |
-
1988
- 1988-10-25 JP JP63269688A patent/JP2692180B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2692180B2 (en) | 1997-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4608632A (en) | Memory paging system in a microcomputer | |
US6321332B1 (en) | Flexible control of access to basic input/output system memory | |
GB2391336A (en) | System for local memory addressing in single instruction multiple data computer system. | |
JPH01187650A (en) | Buffer storage device | |
JPH02115961A (en) | Microcomputer | |
JPH11259417A (en) | Bus access system and bus access controller | |
JPH04288643A (en) | Memory mapping system for multi-processor system | |
JP2002366385A (en) | Detection circuit for detecting generation of one of a plurality of desired values on bus and method for confirming coincidence between present value and one of the plurality of desired values | |
JP2000278135A (en) | Selector | |
JPH03214250A (en) | Memory control circuit | |
JPS593440Y2 (en) | memory selection device | |
US5890194A (en) | Method for efficient use of DRAM data and parity areas | |
JPH05151076A (en) | Memory address extension control system | |
JPH02116939A (en) | Address selecting system | |
JPS63121964A (en) | Method for accessing memory shared with plural processors | |
JPH09330269A (en) | Access system | |
JPH0628241A (en) | Rom access controller | |
JPH0269844A (en) | System for switching page of memory | |
JPS63205751A (en) | Bus controller | |
JPH0251752A (en) | Memory address designating circuit | |
JPH0460260B2 (en) | ||
JPS63245757A (en) | Direct memory access controller | |
JPH04359334A (en) | Microcomputer | |
JP2000276399A (en) | Address control system | |
JPH08221322A (en) | Device and method for controlling memory |