JPH02212952A - Memory access control system - Google Patents

Memory access control system

Info

Publication number
JPH02212952A
JPH02212952A JP1033921A JP3392189A JPH02212952A JP H02212952 A JPH02212952 A JP H02212952A JP 1033921 A JP1033921 A JP 1033921A JP 3392189 A JP3392189 A JP 3392189A JP H02212952 A JPH02212952 A JP H02212952A
Authority
JP
Japan
Prior art keywords
memory
data
ring buffer
access control
memory access
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
JP1033921A
Other languages
Japanese (ja)
Inventor
Shoichi Kuboyama
庄一 窪山
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1033921A priority Critical patent/JPH02212952A/en
Publication of JPH02212952A publication Critical patent/JPH02212952A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the security protection of stored contents through the simple constitution of a device by providing a ring buffer which is installed between a system bus and a memory and converts data according to bit shift quantity to be set by a prescribed control signal. CONSTITUTION:As for the memory 15, the data is written and read to/from it through the system bus 11 by the control of a processor 13. The ring buffer 17 is installed between the system bus and the memory, and converts the data according to the bit shift quantity to be set by the prescribed control signal. Then, the write-in or the read-out of the data to/from the memory 15 is executed through the ring buffer 17 to which the bit shift quantity of the data is set according to the prescribed control signal. Thus, the conversion of the data is executed through the simple constitution, and the security of the stored contents can be realized.

Description

【発明の詳細な説明】 (概 要〕 メモリの内容保護に有効なメモリアクセス制御方式に関
し、 簡単な装置構成で記憶内容の機密保護を実現することが
できることを目的とし、 システムバスを介して、プロセッサの制御によりデータ
の書き込みおよび読み出しが行われるメモリのメモリア
クセス制御方式において、システムバスとメモリとの間
に設置され、所定の制御信号により設定されるビットシ
フト量に応じてデータを変換するリングバッファを備え
て構成する。
[Detailed Description of the Invention] (Summary) Regarding a memory access control method effective for protecting memory contents, the purpose is to realize security protection of storage contents with a simple device configuration. In a memory access control system for memory in which data is written and read under the control of a processor, a ring installed between the system bus and memory that converts data according to the amount of bit shift set by a predetermined control signal. Configure with buffers.

〔産業上の利用分野〕[Industrial application field]

本発明は、メモリの内容保護に有効なメモリアクセス制
御方式に関する。
The present invention relates to a memory access control method effective for protecting memory contents.

近年、計算機ネットワークの拡大に伴い記憶内容の保護
が重要課題になっており、特に読み出し時における内容
保護に有効な機密保護技術が要求されている。
In recent years, with the expansion of computer networks, protection of stored contents has become an important issue, and there is a need for security techniques that are particularly effective in protecting contents during reading.

〔従来の技術〕[Conventional technology]

従来のメモリアクセス制御方式では、所定のリードサイ
クルに同期したときにのみ、その読み出しが可能となる
アクセス制御回路をメモリ内に設置するか、あるいは中
央処理装置(CPU)の演算によって解読を可能にする
などの方式により、記憶内容の機密保護が図られている
In conventional memory access control methods, an access control circuit is installed in the memory that allows reading only when synchronized with a predetermined read cycle, or decoding is made possible by central processing unit (CPU) calculations. The confidentiality of stored contents is protected using methods such as

との間に設置され、所定の制御信号により設定されるビ
ットシフト量に応じてデータを変換する構成である。
It is configured to convert data according to a bit shift amount set by a predetermined control signal.

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

ところで、このような従来方式による機密保護は、装置
規模が大きくなり、また処理手順が複雑になると高速処
理が困難であるなど、その要求に対して必ずしも容易に
対応できるとは言えなかった。
By the way, security protection using such conventional methods cannot necessarily meet the demands such as increasing the size of the device and making it difficult to perform high-speed processing when the processing procedure becomes complicated.

本発明は、簡単な装置構成で記憶内容の機密保護を実現
することができるメモリアクセス制御方式を提供するこ
とを目的とする。
An object of the present invention is to provide a memory access control method that can realize security protection of stored contents with a simple device configuration.

(課題を解決するための手段) 第1図は、本発明の原理ブロック図である。(Means for solving problems) FIG. 1 is a block diagram of the principle of the present invention.

図において、メモリ15は、システムバス11を介して
、プロセッサ13の制御によりデータの書き込みおよび
読み出しが行われる。
In the figure, data is written into and read from a memory 15 under the control of a processor 13 via a system bus 11.

リングバッファ17は、システムバスとメモリ〔作 用
〕 本発明は、所定の制御信号に応じてデータのビットシフ
ト量が設定されるリングバッファ17を介して、メモリ
15に対するデータの書き込みあるいは読み出しを行う
ことにより、簡単な構成でデータの変換が行われ、記憶
内容の機密保護を図ることができる。
The ring buffer 17 is a system bus and a memory [Operation] The present invention writes data to or reads data from the memory 15 via the ring buffer 17 in which the bit shift amount of data is set according to a predetermined control signal. By doing so, data conversion can be performed with a simple configuration, and the security of stored contents can be ensured.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明のメモリアクセス制御方式を実現する
リングバッファの一実施例構成を示すブロック図である
FIG. 2 is a block diagram showing the configuration of an embodiment of a ring buffer that implements the memory access control method of the present invention.

なお、ここではデータサイズが27ビツトの場合につい
て、n段のリングバッファによる構成例を示す。
Here, an example of a configuration using an n-stage ring buffer is shown for a case where the data size is 27 bits.

図において、第1段のリングバッファでは、211個の
各ビット(0,1,2,・・・、2”−1)に対応する
データ信号線が、それぞれマルチプレクサ21゜、21
1,21□、・・”+  21t’−+の一方の入力端
子Aに接続され、その他方の入力端子Bにはそれぞれ周
期的に1ビツトシフトしたデータ信号線が接続される。
In the figure, in the first stage ring buffer, data signal lines corresponding to 211 bits (0, 1, 2, ..., 2''-1) are connected to multiplexers 21° and 21°, respectively.
1, 21□, .

第2段のリングバッファでは、前段のマルチプレクサ2
1゜、221.21g、・・・、21g−+の各出力信
号線が、それぞれマルチプレクサ22゜。
In the second stage ring buffer, the previous stage multiplexer 2
Each output signal line of 1°, 221.21g, . . . , 21g-+ is a multiplexer 22°.

22、.22g、・・・、22r−rの一方の入力端子
Aに接続され、その他方の入力端子Bにはそれぞれ周期
的に2ビツトシフトした出力信号線が接続される。
22,. 22g, .

第n段のリングバッファでは、前段のマルチプレクサの
各出力信号線が、それぞれマルチプレクサ23゜、23
..23□、・・・、23t−rの一方の入力端子Aに
接続され、その他方の入力端子Bにはそれぞれ周期的に
2(a−1)ビットシフトした出力信号線が接続される
In the nth stage ring buffer, each output signal line of the previous stage multiplexer is connected to multiplexers 23° and 23°, respectively.
.. .. 23□, .

マルチプレクサ21.22.23の各制御端子Cには、
nビットの91 II信号’C,C+ ”’  Cm−
+Jが各ビットに分解されてそれぞれ入力される。マル
チプレクサ21.22.23は、C−0であれば入力端
子A、C=1であれば入力端子Bを選択して出力端子Y
に取り出す構成である。
Each control terminal C of the multiplexer 21, 22, 23 has
n-bit 91 II signal 'C, C+ "' Cm-
+J is decomposed into each bit and each bit is input. Multiplexers 21, 22, and 23 select input terminal A if C-0, input terminal B if C=1, and output terminal Y.
It is configured to be taken out.

したがって、例えばデータサイズが16(2’)ビット
であれ゛ば、4段のリングバッファをそれぞれ1,2,
4.8ビツトのシフトが可能な構成とし、4ビツトの制
御信号「C・C+  Cm Cs Jを下表の論理にす
れば、0〜15ビツトのシフトを行うことができる。
Therefore, for example, if the data size is 16 (2') bits, the four stages of ring buffers are 1, 2, and 4 stages, respectively.
If the configuration is such that a 4.8-bit shift is possible, and the 4-bit control signal "C·C+Cm Cs J" is set to the logic shown in the table below, a shift of 0 to 15 bits can be performed.

(本頁以下余白) すなわち、16ビツトデータに例えば9ビツトのシフト
をかける場合には、制御信号「1001」をリングバッ
ファに入力することにより、第1段のリングバッファで
は1ビツトのシフトが行われ、第2段および第3段のリ
ングバッファでは前段のビットデータをそのまま出力し
、第4段のリングバッファで8ビツトシフトすることに
より、合計9ビツトのシフトを可能にしている。
(Margins below this page) In other words, when applying a 9-bit shift to 16-bit data, for example, by inputting the control signal "1001" to the ring buffer, the first stage ring buffer performs a 1-bit shift. The second and third stage ring buffers output the previous stage bit data as is, and the fourth stage ring buffer shifts it by 8 bits, making it possible to shift a total of 9 bits.

このように、リングバッファはキーワードとして与えら
れる制御信号に応じて決められるビットシフト量に基づ
いて、データを周期的にビットシフトさせることができ
る。すなわち、簡単な構成でデータの変換が可能であり
、またメモリに対しては通常のビットマツプ・メモリと
同様に扱うことができる。
In this way, the ring buffer can periodically shift bits of data based on the amount of bit shift determined according to the control signal given as a keyword. That is, data conversion is possible with a simple configuration, and the memory can be handled in the same way as a normal bitmap memory.

なお、データの読み出しの際には、書き込み時と同様の
キーワードをリングバッファに制御信号として入力する
必要がある。
Note that when reading data, it is necessary to input the same keyword as when writing into the ring buffer as a control signal.

また、マルチプレクサによりリングバッファを構成する
ことにより、同様にビットシフトが可能なシフトレジス
タに比べて大幅な高速処理が可能である。
Furthermore, by configuring a ring buffer using a multiplexer, much faster processing is possible than with a shift register that can similarly perform bit shifts.

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

上述したように、本発明によれば、簡単な構成および容
易な制御手順でメモリの記憶内容の機密保護を図ること
ができる。また、機密保護の程度に比較して装置規模も
小さく、かつ高速処理が可能であり、実用的には極めて
有用である。
As described above, according to the present invention, it is possible to secure the security of the stored contents of the memory with a simple configuration and easy control procedure. In addition, the device size is small compared to the degree of security protection, and high-speed processing is possible, making it extremely useful in practice.

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

第1図は本発明の原理ブロック図、 第2図は本発明方式に用いるリングバッファの一実施例
構成を示すブロック図である。 図において、 11はシステムバス、 13はプロセッサ、 15はメモリ、 17はリングバッファ、 21.22.23はマルチプレクサである。 本発明原理ブロック図 第1図
FIG. 1 is a block diagram of the principle of the present invention, and FIG. 2 is a block diagram showing the configuration of an embodiment of a ring buffer used in the method of the present invention. In the figure, 11 is a system bus, 13 is a processor, 15 is a memory, 17 is a ring buffer, and 21, 22, and 23 are multiplexers. Block diagram of the principle of the present invention Fig. 1

Claims (1)

【特許請求の範囲】[Claims] (1)システムバス(11)を介して、プロセッサ(1
3)の制御によりデータの書き込みおよび読み出しが行
われるメモリ(15)のメモリアクセス制御方式におい
て、 システムバス(11)とメモリ(15)との間に設置さ
れ、所定の制御信号により設定されるビットシフト量に
応じてデータを変換するリングバッファ(17)を備え
た ことを特徴とするメモリアクセス制御方式。
(1) Processor (1) via system bus (11)
In the memory access control method for the memory (15) in which data is written and read under the control of 3), a bit is installed between the system bus (11) and the memory (15) and is set by a predetermined control signal. A memory access control system characterized by comprising a ring buffer (17) that converts data according to a shift amount.
JP1033921A 1989-02-14 1989-02-14 Memory access control system Pending JPH02212952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1033921A JPH02212952A (en) 1989-02-14 1989-02-14 Memory access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1033921A JPH02212952A (en) 1989-02-14 1989-02-14 Memory access control system

Publications (1)

Publication Number Publication Date
JPH02212952A true JPH02212952A (en) 1990-08-24

Family

ID=12399981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1033921A Pending JPH02212952A (en) 1989-02-14 1989-02-14 Memory access control system

Country Status (1)

Country Link
JP (1) JPH02212952A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211802B1 (en) 1998-03-24 2001-04-03 Nec Corporation Semiconductor integrated circuit for performing data transfer
JP2001222423A (en) * 2000-02-14 2001-08-17 Nintendo Co Ltd Semiconductor memory and program discrimination system
JP2012247275A (en) * 2011-05-26 2012-12-13 Nippon Telegr & Teleph Corp <Ntt> Signal shift device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211802B1 (en) 1998-03-24 2001-04-03 Nec Corporation Semiconductor integrated circuit for performing data transfer
JP2001222423A (en) * 2000-02-14 2001-08-17 Nintendo Co Ltd Semiconductor memory and program discrimination system
JP2012247275A (en) * 2011-05-26 2012-12-13 Nippon Telegr & Teleph Corp <Ntt> Signal shift device and method

Similar Documents

Publication Publication Date Title
EP0556928B1 (en) A device for enciphering and deciphering, by means of the DES algorithm, data to be written to or read from a hard disk
JPH01296361A (en) Memory card
JPS5958700A (en) Memory protection judge method
US6802036B2 (en) High-speed first-in-first-out buffer
US5860094A (en) System for protecting information stored on physical media
WO2020118713A1 (en) Bit width matching circuit, data writing apparatus, data reading apparatus, and electronic device
JP2703418B2 (en) Central processing unit
JPS62236038A (en) Control memory
JPH02212952A (en) Memory access control system
US6510483B1 (en) Circuit, architecture and method for reading an address counter and/or matching a bus width through one or more synchronous ports
WO1991007754A1 (en) Read-while-write-memory
KR0177197B1 (en) Programmable error-checking matrix for digital communication system
JPS62156742A (en) Data writing control system
JPS62236054A (en) Semiconductor memory device
KR100290545B1 (en) Register file array having a two-bit to four-bit encoder
JPS6168636A (en) Data processor
JPS6321928B2 (en)
JPH05257882A (en) Data processor
JPS59121455A (en) Prefixing system
JPH0544755B2 (en)
JPH0224748A (en) Address switching circuit
JPS598057A (en) Memory device
JPH0619737B2 (en) Memory access device
JPS62110697A (en) Address control system
JPH03283188A (en) Memory system