JPS5827438Y2 - shift register - Google Patents

shift register

Info

Publication number
JPS5827438Y2
JPS5827438Y2 JP1978099091U JP9909178U JPS5827438Y2 JP S5827438 Y2 JPS5827438 Y2 JP S5827438Y2 JP 1978099091 U JP1978099091 U JP 1978099091U JP 9909178 U JP9909178 U JP 9909178U JP S5827438 Y2 JPS5827438 Y2 JP S5827438Y2
Authority
JP
Japan
Prior art keywords
program counter
timing clock
register
ram
shift register
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
JP1978099091U
Other languages
Japanese (ja)
Other versions
JPS5515682U (en
Inventor
儀明 吉永
道夫 藤本
Original Assignee
エヌ・テ−・エヌ東洋ベアリング株式会社
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 エヌ・テ−・エヌ東洋ベアリング株式会社 filed Critical エヌ・テ−・エヌ東洋ベアリング株式会社
Priority to JP1978099091U priority Critical patent/JPS5827438Y2/en
Publication of JPS5515682U publication Critical patent/JPS5515682U/ja
Application granted granted Critical
Publication of JPS5827438Y2 publication Critical patent/JPS5827438Y2/en
Expired legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)

Description

【考案の詳細な説明】 本考案は特に大容量で記憶容量を適宜に設定できるシフ
トレジスタ回路に関するものである。
[Detailed Description of the Invention] The present invention particularly relates to a shift register circuit with a large capacity and whose storage capacity can be set appropriately.

一般に同一の製品を連続して加工する研削装置等におい
ては、その加工状態の管理及び研削装置の加工精変のチ
ェック等のために、加工された製品の全数又しサンプリ
ング単位について不良品発生の比率を監視する不良品比
率監視装置が用いられる。
In general, in grinding equipment that processes the same product continuously, in order to control the processing status and check the processing precision of the grinding equipment, it is necessary to check the occurrence of defective products for the total number of processed products or for a sampling unit. A defective product ratio monitoring device is used to monitor the ratio.

この不良品比率監視装置は製潰された製品の一個一個に
ついての良・不良の判定データを、遂時最も古いデータ
を最新のデータで一個づつ記憶更新しながら所定数記憶
し、この記憶された所定数の良・不良の判定データから
不良品比率を算出し、監視用データ又は制御データとし
て用いるものである。
This defective product ratio monitoring device stores a predetermined number of good/defective judgment data for each crushed product, updating the oldest data one by one with the latest data. The defective product ratio is calculated from a predetermined number of good/defective judgment data and is used as monitoring data or control data.

この不良品比率監視装置の上記記憶部分には、一般にサ
ンプリング単位数の変更に対応してデータ記憶数を設定
できる大容量のシフトレジスタが用いられている。
The storage section of this defective product ratio monitoring device generally uses a large-capacity shift register in which the number of data stored can be set in response to changes in the number of sampling units.

このようなシフトレジスタは、例えば第1図に示すよう
に、N個のシフトレジスタ1−1.1−2・・・・・・
l−nを直列接続した直列シフトレジスタ構成が採られ
ている。
Such shift registers include, for example, N shift registers 1-1, 1-2, etc., as shown in FIG.
A serial shift register configuration is adopted in which l-n are connected in series.

同図において、3はデータ人力クロックでもって各シフ
トレジスタ1にシフト入力のタイミングクロックを送る
タイミングクロック発生回路、4は直列シフトレジスタ
に記憶させる有効な判定データ数、すなわちシフトレジ
スタ1の全最小記憶単位数の内、有効にデータ内容を記
憶させる最小記憶単位数をBCDコードで設定するレジ
スタ容量設定部、5はレジスタ容量設定部4で設定され
たBCDコードをBINARYコードに変換して出力す
るコード変換部である。
In the figure, 3 is a timing clock generation circuit that sends a shift input timing clock to each shift register 1 using a data manual clock, and 4 is the number of valid judgment data to be stored in the serial shift register, that is, the total minimum memory of shift register 1. A register capacity setting section sets the minimum number of storage units for effectively storing data contents among the number of units using a BCD code. 5 is a code that converts the BCD code set in the register capacity setting section 4 into a BINARY code and outputs it. This is the conversion section.

2は各シフトレジスタ1の並列出力を選択的に出力する
データセVクタで、その選択範囲、すなわちシフトレジ
スタ1に順送りに記憶されたデータ内容の内最小記憶単
位の何番目に記憶されたものまでを出力させるかを、コ
ード変換部5にてBINARYコードに変換されるレジ
スタ容量設定部4の設定数によって設定されている。
2 is a data sector Vctor that selectively outputs the parallel outputs of each shift register 1, and the selected range, that is, the data stored in the smallest storage unit among the data contents sequentially stored in shift register 1. Whether the code is output is determined by the number set in the register capacity setting section 4 which is converted into a BINARY code by the code conversion section 5.

この設定数によってシフトレジスタ1の有効な記憶容量
、すなわちレジスタ容量が決定される。
This set number determines the effective storage capacity of the shift register 1, that is, the register capacity.

ところで、上記従来構成には次の欠点があった。By the way, the above conventional configuration has the following drawbacks.

例えば、1にビットの大容量直列シフトレジスタを作f
fする場合、1個のシフトレジスタ1が8ビ000 ットのものであれば /8で125個が必要であり
、4ビツトのものであればその倍の250個を直列に接
続しなければならない。
For example, create a large-capacity serial shift register with 1 bit f
f, if one shift register 1 is 8 bits, 125 /8 is required, and if it is 4 bits, 250, twice that number, must be connected in series. No.

従って、大容量になるほど、上記従来方式ではソフトレ
ジスタ1やデータセレクタ2が膨大になり、高価且つ大
型化する欠点があった。
Therefore, as the capacity increases, the conventional system described above has the disadvantage that the soft register 1 and data selector 2 become enormous, making them expensive and large.

本考案は上記従来の欠点に鑑み、これを改良・除去した
もので、記憶素子として直列接続された複数のシフトレ
ジスタ1の代りにRAM(半導体READ WRITE
MEMORY)を使い、記憶データを選択して取り出
すデータセレクタ2の代りに読み出し及び書き替えのア
ドレスを指定するプログラムカウンタを用いて直列接続
された複数のシフトレジスタと同様のものを構威し、シ
フトレジスタとしての記憶容量の増大に対してはRAM
のメモリ容量の増加と、プログラムカウンタの桁数増加
で対処するようにし、さらにデータ記憶数の設定・変更
を容易にするためにレジスタ容量設定部等よりなる制御
部を組込んだシフトレジスタ回路を提供する。
The present invention improves and eliminates the above conventional drawbacks, and uses RAM (semiconductor READ WRITE) instead of a plurality of shift registers 1 connected in series as storage elements.
Instead of the data selector 2 that selects and retrieves stored data, a program counter that specifies read and rewrite addresses is used to create something similar to multiple shift registers connected in series. RAM is used to increase storage capacity as a register.
In order to increase the memory capacity of the memory and increase the number of digits of the program counter, we also implemented a shift register circuit incorporating a control section consisting of a register capacity setting section, etc., to make it easier to set and change the number of data stored. provide.

以下、本考案の構成を図面を参照して説明する。Hereinafter, the configuration of the present invention will be explained with reference to the drawings.

第2図に於て、6が上述のRAM、7がプログラムカウ
ンタで、Sは制御部、8はタイミングクロック発生回路
、9はレジスタ容量設定部、10はコード変換部、11
は比較回路、12はゲート回路(AND回路)である。
In FIG. 2, 6 is the above-mentioned RAM, 7 is a program counter, S is a control section, 8 is a timing clock generation circuit, 9 is a register capacity setting section, 10 is a code conversion section, 11
1 is a comparison circuit, and 12 is a gate circuit (AND circuit).

RAM6はデータ人力で製品の良(OK)、不良(NG
)等のデータ内容を記憶する。
RAM6 uses data to determine whether the product is OK or bad.
) etc. are stored.

そして、プログラムカウンタ7はRAM6のアドレス(
番地)を指示するためのカウンタで、データ人力クロッ
クが到来する度に1つアップする。
Then, the program counter 7 reads the address of the RAM 6 (
This is a counter for indicating the address (address), and is incremented by one each time the data clock arrives.

また、RAM6はランダムアクセスメモリの略の通り、
任意アドレスでの記憶内容の読み出し、及び書き換え力
相由で、この操作にはタイミングクロック発生回路8か
らのタイミングクロックB、Cを用いる。
Also, RAM6 stands for random access memory.
Timing clocks B and C from the timing clock generation circuit 8 are used for this operation in order to read and rewrite the stored contents at arbitrary addresses.

このタイミングクロック発生回路8はデータ入力クロッ
クでもって、第3図に示すような4種のタイミングクロ
ックA、B、C,Dを発生させる。
This timing clock generation circuit 8 generates four types of timing clocks A, B, C, and D as shown in FIG. 3 using the data input clock.

そして、始めのタイミングクロックAはゲート回路(A
ND回路)12に、次のタイミングクロックB、CはR
AM5に、最後のタイミングクロックDはプログラムカ
ウンタ7に入力されて、夫々後述の動作を行わせる。
The first timing clock A is a gate circuit (A
ND circuit) 12, the next timing clocks B and C are R
At AM5, the last timing clock D is input to the program counter 7, which causes the respective operations to be described later.

上記レジスタ容量設定部9はBCDコードでジフトレジ
スタ容量、すなわちRAM13に記憶させるデータ内容
数をサンプリング単位数等に対応させて任意に設定し、
またコード変換部10はレジスタ容量設定部9で設定さ
れたBCDコードをプログラムカウンタ7の内容と比較
できるように、BINARYコードに変換するものであ
る。
The register capacity setting section 9 arbitrarily sets the shift register capacity, that is, the number of data contents to be stored in the RAM 13, in accordance with the number of sampling units, etc. using a BCD code,
The code conversion section 10 also converts the BCD code set by the register capacity setting section 9 into a BINARY code so that it can be compared with the contents of the program counter 7.

また比較回路11はレジスタ容量設定部9で設定された
値と、プログラムカウンタ7の内容とを比較する回路で
、BINARYコードに変換されたレジスタ容量設定値
からプログラムカウンタ7の内容を減算、つまりプログ
ラムカウンタ7の内容の補数の加算をして、桁上げがあ
ればプラス、桁上げがなければマイナス、或は零として
一致信号を取出し、一致している時点でタイミングクロ
ックAが到来すればプログラムカウンタ7の内容をクリ
アする回路である。
Further, the comparison circuit 11 is a circuit that compares the value set by the register capacity setting section 9 and the contents of the program counter 7, and subtracts the contents of the program counter 7 from the register capacity setting value converted into a BINARY code. The complement of the contents of the counter 7 is added, and if there is a carry, it is a plus, if there is no carry, it is a minus or zero, and a match signal is taken out. If timing clock A arrives when they match, the program counter is This circuit clears the contents of 7.

例えば、レジスタ容量設定部9の設定値が536とすれ
ば、こればBCDコードで上位桁より01010011
0110となっており、これをBINARY変換すれば
1000011000となる。
For example, if the setting value of the register capacity setting part 9 is 536, this is 01010011 from the upper digit in the BCD code.
0110, and if this is converted into BINARY, it becomes 1000011000.

そこでプログラムカウンタ7の内容も同様に536で、
BINARYコードで1000011000になってい
れば、これをレジスタ容量設定値と比較をとるために1
000011000の補数をとると011110011
1となり 1000011000+0111100111=111
1111111 となって桁上げがなく、このとき一致信号が出る。
Therefore, the contents of program counter 7 are also 536,
If the BINARY code is 1000011000, set it to 1 to compare it with the register capacity setting value.
Taking the complement of 000011000 is 011110011
1 becomes 1000011000+0111100111=111
1111111, there is no carry, and a match signal is output at this time.

ふたレジスタ容量設定値が同じ536で、プログラムカ
ウンタ7の内容が535と異なれば、535はBINA
RYコードで1000010111となり、その補数は
0111101000であるから1000011000
+0111101000=10000000000 となって11桁目に1が出て桁上げがあり、このとき一
致信号が出ない。
If the lid register capacity setting value is the same as 536, but the contents of program counter 7 are different from 535, 535 is BINA.
The RY code is 1000010111, and its complement is 0111101000, so it is 1000011000.
+0111101000=10000000000, 1 appears in the 11th digit, there is a carry, and at this time no match signal is output.

次にタイミングクロックA、B、C,Dによる上記回路
の動作を説明する。
Next, the operation of the above circuit using timing clocks A, B, C, and D will be explained.

第3図に示すようにタイミングクロックA、B、C,D
によって、時間11.12.13.14に分け、時間t
1はタイミングクロックAで、時間t2はタイミングク
ロックBとタイミングクロックCのノ・イレベルで、時
間t3はタイミングクロックBのハイレベルとタイミン
グクロックのロウVベルで、更に時間t4はタイミング
クロックDで取出すようにすると次の動作となる。
As shown in Figure 3, timing clocks A, B, C, D
divided into time 11.12.13.14 by time t
1 is timing clock A, time t2 is the NO level of timing clock B and timing clock C, time t3 is the high level of timing clock B and low V level of the timing clock, and time t4 is taken out by timing clock D. This will result in the following behavior.

まずレジスタ容量設定部9とプログラムガウンタフの内
容が一致していて比較回路11から一致信号が出力され
た状態で、タイミングクロックAが発生したとき、ゲー
ト回路(AND回路)12からクリア信号がプログラム
カウンタ7に出力されプログラムカウンタ7をクリアし
プログラムカウンタ7にRAM6の例えばO番地を指定
させる。
First, when the timing clock A is generated with the contents of the register capacitance setting section 9 and the program gate tough matching and a match signal being output from the comparison circuit 11, a clear signal is sent from the gate circuit (AND circuit) 12. It is output to the counter 7, clears the program counter 7, and causes the program counter 7 to specify, for example, address O in the RAM 6.

次にタイミングクロックBとタイミングクロックCの時
間t2で、プログラムカウンタ7によってアドレス指定
された(上記時点ではO番地)RAM6のアトシス内容
を読み出しデータ出力から取出すそして、次のタイミン
グクロックBとタイミングクロックCの時間t3で、プ
ログラムカウンタ7によってアドレス指定された(上記
時点ではO番地)RAM6のアドレス内容をデータ人力
の内容に書き換える。
Next, at time t2 between timing clock B and timing clock C, the contents of the RAM 6 addressed by the program counter 7 (address O at the above point in time) are read out and taken out from the data output. At time t3, the contents of the address in the RAM 6 specified by the program counter 7 (address O at the above point in time) are rewritten to the contents of the data manually.

最後にタイミングクロックDの時間t4でプログラムカ
ウンタ7を1つアップさせる。
Finally, at time t4 of the timing clock D, the program counter 7 is incremented by one.

以後、プログラムカウンタ7がレジスタ容量設定部9で
設定された内容に一致するまで、順次RAM6のアドレ
スを更新しながらデータ内容を読み出し、かつ書き込む
動作を繰り返す。
Thereafter, the operation of reading and writing the data contents while sequentially updating the address of the RAM 6 is repeated until the program counter 7 matches the contents set by the register capacity setting unit 9.

尚、タイミングクロックA、B、C,Dのタイミングの
とり方は第3図例に限らず、要は1..12113.1
4で示すように、プログラムカウンタIのクリア用信号
タイミングから始め、RAMデータの読み出し、書き換
えのタイミング、そしてプログラムカウンタ7のカウン
タアップ用信号タイミングと続くように取出せばよい。
Note that the timing of timing clocks A, B, C, and D is not limited to the example shown in FIG. .. 12113.1
As shown in 4, the data may be extracted starting from the signal timing for clearing the program counter I, followed by the timing for reading and rewriting RAM data, and then the signal timing for increasing the counter of the program counter 7.

以上説明したように、本考案はRAMとプログラムカウ
ンタを用いて直列シフトレジスタを構成したから、レジ
スタ容量の増大が容易になる。
As explained above, in the present invention, the serial shift register is constructed using a RAM and a program counter, so that the register capacity can be easily increased.

即ち、RAMの半導体メモリは、従来のシフトレジスタ
に比較すれば約100倍以上の集積匿があり、ためにレ
ジスタ容量増加に伴うメモリ容量の増加はシフトレジス
タ数の増加に比較してはるかに有利となる。
In other words, RAM semiconductor memory has about 100 times more integration density than conventional shift registers, so increasing memory capacity as register capacity increases is much more advantageous than increasing the number of shift registers. becomes.

またプログラムカウンタの桁数増加は指数関数的な増加
であるのに対し、シフトレジスタの増加は直線的な増加
であるから、メモリ容量が増大する程に、プログラムカ
ウンタの桁数増加の方がデータセレクタの増加に比較し
て有利となる。
Also, while the increase in the number of digits in the program counter is an exponential increase, the increase in the shift register is a linear increase.As the memory capacity increases, the increase in the number of digits in the program counter is more This is advantageous compared to increasing the number of selectors.

さらに本考案は制御部Sのレジスタ容量設定機能により
、データ記憶数(シフトレジスタ容量)が任意に設定可
能であるから、データ記憶数(例えば加工された製品の
サンプリング単位数)に一致した記憶素子数を有するR
AMでなくても使用でき、また上記データ記憶数が加工
対象等に対応させて変更されてもレジスタ容量設定部の
設定数をそれに一致させるだけで対処できるから、汎用
性のある大容量シフトレジスタを安価に、且つ小型に提
供できる。
Furthermore, in the present invention, the number of data storages (shift register capacity) can be arbitrarily set using the register capacity setting function of the control unit S, so that the memory element can be set to match the number of data storages (for example, the number of sampling units of processed products). R with the number
It can be used even if it is not an AM, and even if the number of data stored above changes depending on the processing object, it can be handled by simply adjusting the number set in the register capacity setting section, making it a versatile large-capacity shift register. can be provided at low cost and in a small size.

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

第1図は従来の直列シフトレジスタのブロック図、第2
図は本考案に係るシフトレジスタの実施列を示すブロッ
ク図、第3図は第2同各点でのクロック波形のタイムチ
ャートである。 6・・・・・・RAM、7・・・・・・プログラムカウ
ンタ、S・・・・・・制御部。
Figure 1 is a block diagram of a conventional serial shift register, Figure 2 is a block diagram of a conventional serial shift register.
The figure is a block diagram showing an implementation column of the shift register according to the present invention, and FIG. 3 is a time chart of clock waveforms at each point in the second embodiment. 6...RAM, 7...program counter, S...control unit.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] データ内容を記憶するRAM(半導体REA DWRI
TE MEMORY)と、RAMのアドレスを指定する
プログラムカウンタとを主要部とするシフトレジスタに
おいて、RAMに記憶させるデータ内容数を設定するレ
ジスタ容量設定部と、プログラムカウンタのカウント数
とレジスタ容量設定部の設定数とを比較しそれらが一致
したとき一致信号を出力する比較回路と、プログラムカ
ウンタクリアのタイミングクロック、RAMの読み出し
及び書き換えのタイミングクロック、プログラムカウン
タのカウントアツプのタイミングクロックをこの順に出
力するタイミングクロック発生回路と、比較回路の出力
する一致信号をタイミングクロック発生回路の出力する
プログラムカウンタクリアのタイミングクロックが発生
したときプログラムカウンタにクリア信号として出力す
るゲート回路とよりなり、レジスメ容量を適宜に設定可
能な制御部を具備したことを特徴とするシフトレジス外
RAM (semiconductor REA DWRI) that stores data contents
TE MEMORY) and a program counter that specifies the address of the RAM, the shift register has a register capacity setting section that sets the number of data contents to be stored in the RAM, and a register capacity setting section that sets the count number of the program counter and the register capacity setting section. A comparison circuit that compares the set number and outputs a match signal when they match, and a timing clock that outputs, in this order, a timing clock for clearing the program counter, a timing clock for reading and rewriting RAM, and a timing clock for counting up the program counter. Consists of a clock generation circuit and a gate circuit that outputs the coincidence signal output from the comparison circuit to the program counter as a clear signal when the timing clock for clearing the program counter output from the timing clock generation circuit is generated, and sets the registration capacity appropriately. Outside the shift register, which is characterized by being equipped with a control unit that allows
JP1978099091U 1978-07-18 1978-07-18 shift register Expired JPS5827438Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1978099091U JPS5827438Y2 (en) 1978-07-18 1978-07-18 shift register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1978099091U JPS5827438Y2 (en) 1978-07-18 1978-07-18 shift register

Publications (2)

Publication Number Publication Date
JPS5515682U JPS5515682U (en) 1980-01-31
JPS5827438Y2 true JPS5827438Y2 (en) 1983-06-14

Family

ID=29035481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1978099091U Expired JPS5827438Y2 (en) 1978-07-18 1978-07-18 shift register

Country Status (1)

Country Link
JP (1) JPS5827438Y2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57147183A (en) * 1981-03-05 1982-09-10 Fujitsu Ltd Shift register
JPS59127298A (en) * 1982-11-11 1984-07-23 Fujitsu Ltd Shift register
US4686691A (en) * 1984-12-04 1987-08-11 Burroughs Corporation Multi-purpose register for data and control paths having different path widths
JP2595992B2 (en) * 1987-10-07 1997-04-02 カシオ計算機株式会社 Electronic musical instrument
JP2595998B2 (en) * 1987-10-14 1997-04-02 カシオ計算機株式会社 Electronic musical instrument

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4991338A (en) * 1972-12-29 1974-08-31
JPS50111944A (en) * 1974-02-12 1975-09-03

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4991338A (en) * 1972-12-29 1974-08-31
JPS50111944A (en) * 1974-02-12 1975-09-03

Also Published As

Publication number Publication date
JPS5515682U (en) 1980-01-31

Similar Documents

Publication Publication Date Title
US4212074A (en) Weight measuring method and apparatus thereof
US4267894A (en) Combination weighing device
US4031520A (en) Multistage sorter having pushdown stacks with concurrent access to interstage buffer memories for arranging an input list into numerical order
US4066880A (en) System for pretesting electronic memory locations and automatically identifying faulty memory sections
US4219875A (en) Digital event input circuit for a computer based process control system
US4095283A (en) First in-first out memory array containing special bits for replacement addressing
JPS5827438Y2 (en) shift register
US4321528A (en) Apparatus for the display of frequency distributions of measured valves, or the like, over an adjustable measuring range
JPH0231417B2 (en)
US3576436A (en) Method and apparatus for adding or subtracting in an associative memory
US4751631A (en) Apparatus for fast generation of signal sequences
US20040078551A1 (en) Method for operating a data processing device as well as contruction of a data processing device as a memory-programmable control unit
JPS62137799A (en) Method and system for memory allowed address contents
SU976449A1 (en) Multi-dimensional static analyzer
JP2538095B2 (en) Synchronous protection circuit
JPS57208697A (en) Semiconductor storage device
JPS63304314A (en) Integrated circuit device
JPS602714B2 (en) Printed character recognition device
SU1667155A1 (en) Associative working memory
JPS6012181Y2 (en) analog data input device
SU1531160A1 (en) Memory unit
SU633023A1 (en) Adaptive information-processing arrangement
SU463968A1 (en) Device for sorting information
JPH0250652B2 (en)
SU1487034A1 (en) Random number generator