JPH03136176A - Pulse signal generating system - Google Patents

Pulse signal generating system

Info

Publication number
JPH03136176A
JPH03136176A JP1273680A JP27368089A JPH03136176A JP H03136176 A JPH03136176 A JP H03136176A JP 1273680 A JP1273680 A JP 1273680A JP 27368089 A JP27368089 A JP 27368089A JP H03136176 A JPH03136176 A JP H03136176A
Authority
JP
Japan
Prior art keywords
signal
reduction rate
reference clock
pulse signal
carry
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
JP1273680A
Other languages
Japanese (ja)
Inventor
Tetsuya Inoue
哲也 井上
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 JP1273680A priority Critical patent/JPH03136176A/en
Publication of JPH03136176A publication Critical patent/JPH03136176A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To easily obtain a pulse signal which has the period determined with an arbitrary reduction rate by masking a reference clock signal with the signal indicating the presence or the absence of carry at the time of addition of the fraction part of a numerical value indicating the reduction rate. CONSTITUTION:A fraction part to set the reduction rate and the fraction part of the addition result are added by an adding means 13, and the reference clock signal is masked with the signal indicating the presence or the absence of carry by a mask means 14, and the pulse signal having the period determined by the set reduction rate is obtained. Since the reduction rate is arbitrary set, the reduction rate is easily changed. Thus, the pulse signal having the period determined by the arbitrary reduction rate is easily obtained.

Description

【発明の詳細な説明】 〔概要〕 基準クロック信号に比して所望の縮小率で定まる周期を
有するパルス信号生成方式に関し、縮小率を示す数値の
小数を加算した時の桁上げの有無を示す信号によって基
準クロック信号なマスクすることにより任意の縮小率で
定まる周期を有するパルス信号を容易に得られるように
することを目的とし、 1未満の正の数値(小数部)を縮小率設定用として用意
し、基準クロック信号に同期して順次なされる加算手段
における加算操作に際して、加算結果の小数部と、前記
1未満の正の数値とを加算し、加算操作時に得られる桁
上げの有無を示す信号により前記基準クロック信号をマ
スク手段でマスクし、前記縮小率で定まる周期を有する
パルス信号を発生させるよう構成する。
[Detailed Description of the Invention] [Summary] Regarding a pulse signal generation method having a period determined by a desired reduction rate compared to a reference clock signal, the present invention indicates the presence or absence of a carry when adding a decimal fraction of a numerical value indicating a reduction rate. The purpose is to easily obtain a pulse signal with a period determined by an arbitrary reduction rate by masking the reference clock signal with a signal, and a positive number (decimal part) less than 1 is used for setting the reduction rate. When the adder is prepared and performs an addition operation sequentially in synchronization with a reference clock signal, the decimal part of the addition result is added to the positive number less than 1, and the presence or absence of a carry obtained during the addition operation is indicated. The reference clock signal is masked by a masking means according to the signal, and a pulse signal having a period determined by the reduction rate is generated.

(産業上の利用分野 ) 本発明は、基準クロック信号に比して所望の縮小率で定
まる周期を有するパルス信号生成方式に関する。
(Industrial Application Field) The present invention relates to a pulse signal generation method having a period determined by a desired reduction ratio compared to a reference clock signal.

(従来の技術 ) ディジタル画像をシリアルに出力する際、画データに同
期したクロック(転送りロック)の発生回数を減らすこ
とによって、原画データを縮小することが行われている
。縮小率は固定ではなく、ユーザによって様々な縮小率
が必要とされるので、安価な方法により任意な縮小率の
間引きパルスを発生する必要がある。
(Prior Art) When serially outputting a digital image, the original image data is reduced by reducing the number of times a clock (transfer lock) synchronized with the image data is generated. Since the reduction ratio is not fixed and various reduction ratios are required depending on the user, it is necessary to generate thinning pulses with arbitrary reduction ratios using an inexpensive method.

従来の画素密度変換パルス生成方式は、第4図に示すよ
うに、基準クロックを係数するカウンタ1と、カウンタ
出力をアドレスとしてメモリ出力を転送りロックにする
メモリ2と、基準クロックとメモリ出力の論理和を出力
するOR回路3とからなる。そして例えば、1/4に縮
小する場合には、基準クロックが4回に対して転送りロ
ックが1回出力されれば良いのでメモリのアドレスが4
の倍数の番地にOを書き、その他のアドレスには1を書
き込んでおき、メモリ2の入力であるアドレスデータは
基準クロックを順次係数しているのでメモリ出力は基準
クロック4回に対して1回の割り合いで0を出力して、
OR回路3による基準クロックとの論理和を基準クロッ
クの1/4にして出力する。
As shown in Figure 4, the conventional pixel density conversion pulse generation method consists of a counter 1 that uses the reference clock as a coefficient, a memory 2 that transfers and locks the memory output using the counter output as an address, and a memory 2 that uses the counter output as an address to transfer and lock the memory output. It consists of an OR circuit 3 that outputs a logical sum. For example, when reducing the size to 1/4, it is only necessary to output the transfer lock once for every 4 times of the reference clock, so the memory address is 4 times.
Write O to addresses that are multiples of , and 1 to other addresses, and the address data that is input to memory 2 is a coefficient of the reference clock in sequence, so the memory output is once for every 4 reference clocks. Output 0 at the rate of
The OR circuit 3 outputs the logical sum with the reference clock as 1/4 of the reference clock.

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

上記従来の画素密度変換パルス生成方式では、予めメモ
リ2に縮小率を設定しているため汎用性がなく、また汎
用性を持たせようとすると多くの間引きパルス発生パタ
ーンを登録しなければならないためメモリ容量やハード
ウェアを多く必要とするという問題点があった。
In the conventional pixel density conversion pulse generation method described above, the reduction ratio is set in the memory 2 in advance, so it is not versatile, and in order to have versatility, many thinning pulse generation patterns must be registered. There was a problem in that it required a large amount of memory capacity and hardware.

本発明は、上記問題点に鑑みて成されたものであり、そ
の解決を目的として設定される技術的課題は、縮小率を
示す数値の小数を加算した時の桁上げの有無を示す信号
によって基準クロック信号をマスクすることにより任意
の縮小率で定まる周期を有するパルス信号を容易に得ら
れるようにした、パルス信号生成方式を提供することに
ある。
The present invention has been made in view of the above problems, and the technical problem set for the purpose of solving the problem is to use a signal indicating whether or not there is a carry when adding the decimals of the numerical value indicating the reduction rate. It is an object of the present invention to provide a pulse signal generation method which makes it possible to easily obtain a pulse signal having a period determined by an arbitrary reduction ratio by masking a reference clock signal.

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

本発明は、上記課題を解決するための具体的な手段とし
て、パルス信号生成方式を構成するにあたり、第1図の
原理図に示すように、1未満の正の数値(小数部)を縮
小率設定用として用意し、基準クロック信号に同期して
順次なされる加算手段13における加算操作に際して、
加算結果の小数部と、前記1未満の正の数値とを加算し
、加算操作時に得られる桁上げの有無を示す信号により
前記基準クロック信号をマスク手段14でマスクし、前
記縮小率で定まる周期を有するパルス信号を発生させる
ことにしたものである。
As a specific means for solving the above-mentioned problems, the present invention, in configuring a pulse signal generation method, uses a positive number (decimal part) less than 1 as a reduction ratio, as shown in the principle diagram of FIG. During the addition operation in the addition means 13 prepared for setting and performed sequentially in synchronization with the reference clock signal,
The decimal part of the addition result and the positive number less than 1 are added, and the reference clock signal is masked by the masking means 14 using a signal indicating the presence or absence of a carry obtained during the addition operation, and the cycle is determined by the reduction rate. It was decided to generate a pulse signal having .

〔作用〕[Effect]

本発明は上記構成により、加算手段13によって縮小率
設定用の小数部と、加算結果の小数部とを加算し、桁上
げの有無を示す信号によって基準クロック信号をマスク
手段14によりマスクし、設定した縮小率で定まる周期
を有するパルス信号を得る。縮小率は任意に設定可能で
あるため縮小率を容易に変更できる。
With the above configuration, the present invention adds the decimal part for setting the reduction rate and the decimal part of the addition result by the addition means 13, masks the reference clock signal by the masking means 14 with a signal indicating the presence or absence of carry, and sets the reduction rate. A pulse signal having a period determined by the reduction ratio obtained is obtained. Since the reduction rate can be set arbitrarily, the reduction rate can be easily changed.

(実施例 ) 以下、本発明の実施例として縮小率1/4の場合につい
て図示説明する。
(Example) Hereinafter, a case where the reduction ratio is 1/4 will be illustrated and explained as an example of the present invention.

実施例による構成としてのブロック図を第2図(a)に
示す。ここで、21は縮小率を2進数で設定して格納す
る設定レジスタで、例えばHc374またはLs374
の通し番号を有する集積回路を用いて構成し、2ビツト
を有し、同図に示すように各々rob、rlJを格納す
る。
A block diagram of the configuration according to the embodiment is shown in FIG. 2(a). Here, 21 is a setting register that sets and stores the reduction rate in binary; for example, Hc374 or Ls374.
It is constructed using an integrated circuit having a serial number of 2 bits, and stores rob and rlJ, respectively, as shown in the figure.

22は加算結果をつぎの加算時における加算用データと
して格納する加算レジスタで、例えばHc374または
Ls374を用いて構成し、図示の如く2ビツトを有す
る。23は設定レジスタ21の出力と加算用レジスタ2
2の出力とを加算し、桁上げがある場合にキャリー信号
を出力する加算手段としての加算器で、例えばHc28
3の通し番号を有する集積回路を用いて構成する。
Reference numeral 22 denotes an addition register for storing the addition result as addition data for the next addition, which is constructed using, for example, Hc374 or Ls374, and has 2 bits as shown. 23 is the output of the setting register 21 and the addition register 2
2 and outputs a carry signal when there is a carry, for example, Hc28.
It is constructed using an integrated circuit having a serial number of 3.

24はキャリー信号を反転して出力するインバータ回路
である。25はインバータ回路24の出力と基準クロッ
クとの論理和を転送りロックとして出力するOR回路で
ある。
24 is an inverter circuit that inverts and outputs the carry signal. 25 is an OR circuit that transfers the logical sum of the output of the inverter circuit 24 and the reference clock and outputs it as a lock.

このように構成した実施例を用いて基準クロックから縮
小率1/4によってパルスを生成する場合、まず、設定
レジスタ21に設定値1/4=0.25、具体的には2
進数01を設定し、起動させると、第3図に示すように
、最初の加算器23の出力は、加算レジスタ22の内容
が0のため設定レジスタ21の内容がそのまま出力され
て、加算レジスタ22に格納される。加算レジスタ22
に格納されると、その格納された内容は直ちに加算器2
3の入力端子に伝えられ、次の基準クロック信号の立上
りで設定レジスタ21の内容と加算されることは第3図
の基準クロック波形の下に示す通りである。
When generating pulses from the reference clock at a reduction rate of 1/4 using the embodiment configured as described above, first, the setting value 1/4 = 0.25, specifically 2, is set in the setting register 21.
When the base number 01 is set and activated, the output of the first adder 23 is as shown in FIG. is stored in Addition register 22
When stored in the adder 2, the stored contents are immediately stored in the adder 2.
3 and is added to the contents of the setting register 21 at the next rising edge of the reference clock signal, as shown below the reference clock waveform in FIG.

っぎから加算器23の出力は、加算レジスタ22の内容
と設定レジスタ21の内容が加算されて出力され、加算
レジスタ22に格納される。
Then, the output of the adder 23 is outputted by adding the contents of the addition register 22 and the contents of the setting register 21 and stored in the addition register 22.

加算器23の出力が加算レジスタ22に格納されると、
その都度、設定レジスタ21の内容だけ累積された値が
格納されていくことになる。
When the output of the adder 23 is stored in the addition register 22,
Each time, the accumulated value corresponding to the contents of the setting register 21 is stored.

加算器23の出力が1になると加算器23からキャリー
信号が出力され、加算レジスタ22へ格納される値はO
になる。つまり、表に示すように加算結果の小数部がr
OJ  (00)となり、この値rOJが加算レジスタ
22へ格納される。
When the output of the adder 23 becomes 1, a carry signal is output from the adder 23, and the value stored in the addition register 22 becomes O.
become. In other words, as shown in the table, the decimal part of the addition result is r
OJ (00), and this value rOJ is stored in the addition register 22.

このような計算過程が繰り返され、表に示すように、加
算器23から4回に1回の割り合いでキャリー信号が周
期的に出力される。
Such a calculation process is repeated, and as shown in the table, the adder 23 periodically outputs a carry signal once every four times.

表 この加算器23から出力されたキャリー信号はインバー
タ回路24によって反転され、OR回路25に入力され
る。
The carry signal output from the adder 23 is inverted by the inverter circuit 24 and input to the OR circuit 25.

OR回路25によりキャリー信号の反転値と基準クロッ
クとの論理和を算出し、4基準クロツク毎にワンパルス
のパルス信号が出力される。
The OR circuit 25 calculates the logical sum of the inverted value of the carry signal and the reference clock, and outputs a one-pulse pulse signal every four reference clocks.

このように実施例では、設定レジスタ21に対して2進
数による縮小率の値を設定することにより、その縮小率
に見合った割り合いでキャリー信号が出力されるように
したため、OR回路25の出力からも同様の割り合いで
4基準クロツク毎にワンパルスの信号を出力させること
ができる。
In this embodiment, the carry signal is output at a proportion commensurate with the reduction rate by setting the binary reduction rate value in the setting register 21, so that the output of the OR circuit 25 It is also possible to output one pulse signal every four reference clocks at a similar rate.

第2図(b)は本発明の他の実施例構成図であり、第2
図(a)と同等の部分には同一符号を付した。この第2
図(b)において、26はマルチプレクサであって、加
算器23からのキャリー信号を選択信号とし、オールH
[all H(オールハイ)]信号と基準クロックを入
力信号とし、桁上げの有無を示す信号がH(ハイ)[桁
上げあり;キャリー信号コの時はマルチプレクサ26か
らは基準クロックが出力され、桁上げ有無を示す信号が
L(ロー)[桁上げなし]のときはマルチプレクサ26
からはオールH信号が出力される結果、マルチプレクサ
26からは第3図のOR回路出力と同じ波形のパルス信
号が得られる。
FIG. 2(b) is a configuration diagram of another embodiment of the present invention.
Parts equivalent to those in Figure (a) are given the same reference numerals. This second
In the figure (b), 26 is a multiplexer, which uses the carry signal from the adder 23 as a selection signal, and
The [all H (all high)] signal and the reference clock are input signals, and the signal indicating the presence or absence of a carry is H (high) [carry present; when the carry signal is KO, the reference clock is output from the multiplexer 26, When the signal indicating the presence or absence of a carry is L (low) [no carry], the multiplexer 26
As a result, an all-H signal is output from the multiplexer 26, and a pulse signal having the same waveform as the output of the OR circuit shown in FIG. 3 is obtained from the multiplexer 26.

なお、本発明は上記実施例に限定されるものではなく、
加算器23からの桁上げの有無を示す信号で基準クロッ
クをマスクする任意の回路(論理ゲートの組合せ回路)
を用いても良い。
Note that the present invention is not limited to the above embodiments,
Any circuit that masks the reference clock with a signal indicating whether there is a carry from the adder 23 (a combinational circuit of logic gates)
You may also use

このように、設定レジスタ21の内容を変更することで
容易に縮小率を変更することができ、ハードウェア量を
増加させることなく汎用性のある装置によって、任意の
縮小率で定まる周期を有するパルス信号を得ることがで
きる。
In this way, the reduction ratio can be easily changed by changing the contents of the setting register 21, and a pulse having a period determined by an arbitrary reduction ratio can be generated using a versatile device without increasing the amount of hardware. I can get a signal.

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

以上のように本発明では、縮小率設定用の数値を変える
たけて容易に縮小率を変更することができ、この設定さ
れた縮小率に基き加算した結果により縮小率の逆数に1
回の割り合いで出力されるキャリー信号を含む、桁上げ
の有無を示す信号を用いて、基準クロック信号をマスク
することにより縮小率で定まる周期を有するパルス信号
が得られる。
As described above, in the present invention, the reduction ratio can be easily changed by changing the numerical value for setting the reduction ratio, and the reciprocal of the reduction ratio is increased by 1 based on the result of addition based on the set reduction ratio.
A pulse signal having a period determined by the reduction ratio can be obtained by masking the reference clock signal using a signal indicating the presence or absence of a carry, including a carry signal output at a rate of 1.

本発明を画素密度変換に適用すれば、任意の縮小率で画
素密度が変換でき、メモリが小容量で、ハードウェアが
少なくて済む。
If the present invention is applied to pixel density conversion, the pixel density can be converted at an arbitrary reduction rate, the memory capacity is small, and the hardware is required.

これにより、画像情報をディジタルで扱う装置が縮尺変
換の容易な簡素化された装置として安価に実現できる。
As a result, a device that digitally handles image information can be realized at low cost as a simplified device that can easily perform scale conversion.

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

第1図は、本発明によるパルス信号生成方式をしめず原
理説明図、 第2図(a)は、本発明の実施例構成図、第2図(b)
は本発明の他の実施例構成図、第3図は、実施例による
タイミングチャート、第4図は、従来例を示す構成図。 13・・・加算手段 14・・・マスク手段
FIG. 1 is an explanatory diagram of the principle of the pulse signal generation method according to the present invention. FIG. 2(a) is a configuration diagram of an embodiment of the present invention. FIG. 2(b)
3 is a configuration diagram of another embodiment of the present invention, FIG. 3 is a timing chart according to the embodiment, and FIG. 4 is a configuration diagram showing a conventional example. 13...Addition means 14...Mask means

Claims (1)

【特許請求の範囲】[Claims]  1未満の正の数値(小数部)を縮小率設定用として用
意し、基準クロック信号に同期して順次なされる加算手
段(13)における加算操作に際して、加算結果の小数
部と、前記1未満の正の数値とを加算し、加算操作時に
得られる桁上げの有無を示す信号により前記基準クロッ
ク信号をマスク手段(14)でマスクし、前記縮小率で
定まる周期を有するパルス信号を発生させることを特徴
とするパルス信号生成方式。
A positive number (decimal part) less than 1 is prepared for setting the reduction rate, and when the adding means (13) sequentially performs the addition operation in synchronization with the reference clock signal, the decimal part of the addition result and the number less than 1 are the reference clock signal is masked by a masking means (14) using a signal indicating the presence or absence of a carry obtained during the addition operation, and a pulse signal having a period determined by the reduction ratio is generated. Characteristic pulse signal generation method.
JP1273680A 1989-10-23 1989-10-23 Pulse signal generating system Pending JPH03136176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1273680A JPH03136176A (en) 1989-10-23 1989-10-23 Pulse signal generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1273680A JPH03136176A (en) 1989-10-23 1989-10-23 Pulse signal generating system

Publications (1)

Publication Number Publication Date
JPH03136176A true JPH03136176A (en) 1991-06-10

Family

ID=17531055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1273680A Pending JPH03136176A (en) 1989-10-23 1989-10-23 Pulse signal generating system

Country Status (1)

Country Link
JP (1) JPH03136176A (en)

Similar Documents

Publication Publication Date Title
JPH01265347A (en) Address generating device
CA1267731A (en) Serial digital signal processing circuitry
JPH03136176A (en) Pulse signal generating system
KR0170720B1 (en) Digital/analog converter interface apparatus
JP3536426B2 (en) Waveform generator
US3651415A (en) Bidirectional counter
US3764787A (en) Method and apparatus for pulse distribution with variable time interval for pulse train generation
KR100366793B1 (en) Apparatus for pulse sequence generation using Shift Register
JP2567695B2 (en) Image data enlargement / reduction circuit
JPH07225630A (en) Optional waveform generator with sequence function
JPS609286B2 (en) Timing signal generation circuit
JPH0879029A (en) Four-phase clock pulse generating circuit
JP2545010B2 (en) Gate device
JP3097081B2 (en) Variable stage m-sequence code generator
JP2757714B2 (en) Frame pulse generation circuit
JPS6379420A (en) Odd number frequency divider
SU964615A1 (en) Walsh function generator
RU1774328C (en) Decimal numbers divider
KR0127532Y1 (en) 64/8khz composit clock generation circuit using memory
JP3829676B2 (en) Variable frequency divider
JP3381284B2 (en) Parameter writing device
JP2563503B2 (en) Signal generator
JPH03229375A (en) Conversion system for picture element density of picture data
JPS61109316A (en) Pattern generating circuit
JPS6398076A (en) Picture information reducing device