JPH05143057A - Dual-port ram control circuit for image processing - Google Patents

Dual-port ram control circuit for image processing

Info

Publication number
JPH05143057A
JPH05143057A JP3328211A JP32821191A JPH05143057A JP H05143057 A JPH05143057 A JP H05143057A JP 3328211 A JP3328211 A JP 3328211A JP 32821191 A JP32821191 A JP 32821191A JP H05143057 A JPH05143057 A JP H05143057A
Authority
JP
Japan
Prior art keywords
clock
port ram
dual port
cycle
sor
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
JP3328211A
Other languages
Japanese (ja)
Inventor
Mutsuhiro Omori
睦弘 大森
Toshio Horioka
俊男 堀岡
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP3328211A priority Critical patent/JPH05143057A/en
Publication of JPH05143057A publication Critical patent/JPH05143057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To enable high-speed operation and to enhance versatility by generating a DT clock at least at the end of a horizontal synchronizing period and when a down counter counts down to zero. CONSTITUTION:A DT cycle monitor circuit 4 is provided with a multiplexer(MPX) 11 which inputs a certain fixed value and a display address (Disp Adr). The circuit 4 monitors the DT cycle and then the DT clock can be generated in the horizontal period and when the counted value of the down counter 12 reaches 0. Therefore, when the size of a serial-out register(SOR) is 512 bits at the time of application to a CRT monitor with, for example, 1280X1024 resolution, the DT clock is generated even halfway in the scanning of a horizontal line and display data can be transferred before the SOR becomes empty, thereby enabling the high-speed operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像処理用デュアルポ
ートRAM制御回路に関し、特にパーソナルコンピュー
タやワークステーション等における画像表示システムに
おいて画像表示用バッファとして用いられるデュアルポ
ートRAMの制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual port RAM control circuit for image processing, and more particularly to a dual port RAM control circuit used as an image display buffer in an image display system in a personal computer, a workstation or the like.

【0002】[0002]

【従来の技術】画像表示用バッファとして用いられるデ
ュアルポートRAM1は、図2に示すように、通常のダ
イナミックRAM(DRAM)のメモリセルアレイ2の
出力側に、シリアルアウトレジスタ(SOR)3が付加
され、DT(データ転送)サイクル監視回路4から水平
同期期間の終わりに発生されるDTクロックに応答して
DRAMのメモリセルアレイ2からSOR3へ表示デー
タを転送する構成となっている。
2. Description of the Related Art A dual port RAM 1 used as an image display buffer has a serial out register (SOR) 3 added to the output side of a memory cell array 2 of a normal dynamic RAM (DRAM), as shown in FIG. , DT (data transfer) cycle monitoring circuit 4 transfers display data from memory cell array 2 of DRAM to SOR 3 in response to a DT clock generated at the end of the horizontal synchronization period.

【0003】一方、ディスプレイとして用いられる例え
ばCRT(図示せず)は、残像時間以内の一定周期で表
示データを送り続けなければ、画面がちらついて見える
ことになるため、デュアルポートRAM1からCRTへ
常に表示データを送り続けなければならない。たとえ
ば、1280×1024程度の解像度のCRTモニター
であれば、1ドット当り100MHz程度の速度で表示
データの転送が行われている。通常は、デュアルポート
RAMのアクセス速度は40nsec 〜25nsec(25
MHz〜40MHz)なので、複数のデュアルポートR
AMを並列に使ってこの100MHzの速度を得てい
る。いずれにしても、上記の如き解像度のCRTモニタ
ーの場合には、40nsec 程度の速度で表示データを読
み出し続けるような使い方となる。
On the other hand, a CRT (not shown) used as a display, for example, displays a flickering screen unless the display data is sent at a constant cycle within the afterimage time. You must keep sending the display data. For example, in the case of a CRT monitor having a resolution of about 1280 × 1024, display data is transferred at a speed of about 100 MHz per dot. Normally, the access speed of the dual port RAM is 40 nsec to 25 nsec (25
MHz-40MHz), so multiple dual-port R
AM is used in parallel to obtain this 100 MHz speed. In any case, in the case of the CRT monitor having the above resolution, the display data is continuously read at a speed of about 40 nsec.

【0004】[0004]

【発明が解決しようとする課題】ところで、通常1Mビ
ットのデュアルポートRAMの出力が×4(4ビット)
の場合、デュアルポートRAM1のSOR3の大きさは
512ビットである。このことは、最長でも512回表
示データを読み出したら、再び本体のDRAMのメモリ
セルアレイ2からSOR3へのデータ転送を行う必要が
あることを示しており、例えば横方向(水平方向)の解
像度が1280などであると、水平ラインの走査の途中
でDTクロックを発生させなければならなくなる。しか
しながら、従来のデュアルポートRAM制御回路では、
水平同期期間の終わりでDTクロックが発生されるのみ
であったため、上述の如き高速動作には対応できないと
いう問題があった。
By the way, the output of a 1M bit dual port RAM is usually x4 (4 bits).
In this case, the size of SOR3 of the dual port RAM 1 is 512 bits. This means that it is necessary to transfer the data from the memory cell array 2 of the main body DRAM to the SOR 3 again after the display data is read out 512 times at the longest. For example, the horizontal (horizontal) resolution is 1280. If so, the DT clock must be generated during the scanning of the horizontal line. However, in the conventional dual port RAM control circuit,
Since the DT clock is only generated at the end of the horizontal synchronization period, there is a problem that the above high speed operation cannot be supported.

【0005】なお、デュアルポートRAM1の水平方向
の端に、表示には使用しない領域を設ける場合には、先
述したように、水平同期期間の終わりでDTクロックを
発生させなければならない。このような場合というの
は、デュアルポートRAM1の領域を表示領域よりも大
きくとっておいて、表示開始アドレスを変えることでパ
ニングなどの処理ができるように構成する場合である。
When the area not used for display is provided at the horizontal end of the dual port RAM 1, the DT clock must be generated at the end of the horizontal synchronizing period, as described above. Such a case is a case where the area of the dual port RAM 1 is set larger than the display area and the processing such as panning can be performed by changing the display start address.

【0006】本発明は、上述した点に鑑みてなされたも
のであり、汎用性が高く、しかも高速動作が可能な画像
処理用デュアルポートRAM制御回路を提供することを
目的とする。
The present invention has been made in view of the above points, and an object thereof is to provide a dual port RAM control circuit for image processing, which has high versatility and can operate at high speed.

【0007】[0007]

【課題を解決するための手段】本発明による画像処理用
デュアルポートRAM制御回路においては、デュアルポ
ートRAMのDTサイクルを監視するDTサイクル監視
回路が、SORクロックに同期して予め設定された固定
値からダウンカウントするダウンカウンタを有し、水平
同期期間の少なくとも終りとダウンカウンタのゼロカウ
ント時にDTクロックを発生する構成となっている。
In the dual port RAM control circuit for image processing according to the present invention, the DT cycle monitoring circuit for monitoring the DT cycle of the dual port RAM has a fixed value preset in synchronization with the SOR clock. Has a down counter for down counting, and generates the DT clock at least at the end of the horizontal synchronization period and when the down counter counts zero.

【0008】[0008]

【作用】上記構成の画像処理用デュアルポートRAM制
御回路において、水平同期期間の終りと比較的短い期間
にDTクロックを発生させることで、SORが空になる
前に表示データを転送でき、高速動作が可能となる。ま
た、固定値を適当に設定することで、デュアルポートR
AMの性能(描画効率)をあまり犠牲にせずに汎用性を
高めることができる。
In the image processing dual-port RAM control circuit having the above structure, by generating the DT clock at the end of the horizontal synchronization period and a relatively short period, the display data can be transferred before the SOR becomes empty, and the high speed operation is achieved. Is possible. Also, by setting a fixed value appropriately, dual port R
The versatility can be enhanced without sacrificing the performance (drawing efficiency) of the AM.

【0009】[0009]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明による画像処理用デュアル
ポートRAM制御回路におけるDTサイクル監視回路の
一実施例を示すブロック図である。図において、本発明
に係るDTサイクル監視回路4には、ある固定値(例え
ば、“32”)と表示アドレス(Disp Adr)を2入力とす
るマルチプレクサ(MPX)11が設けられており、こ
のMPX11は水平同期信号(H-sync)に同期してその期
間の終わりでは表示アドレスの下位ビットを、その他の
期間では固定値を選択して出力する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a DT cycle monitoring circuit in a dual port RAM control circuit for image processing according to the present invention. In the figure, the DT cycle monitoring circuit 4 according to the present invention is provided with a multiplexer (MPX) 11 having two inputs of a fixed value (for example, “32”) and a display address (Disp Adr). Synchronizes with the horizontal sync signal (H-sync) and selects and outputs the lower bit of the display address at the end of the period and a fixed value in other periods.

【0010】MPX11で選択された値はダウンカウン
タ12に供給される。このダウンカウンタ12は、NA
NDゲート13を介して供給される水平同期信号(H-syn
c)又はカウント“0”出力に応答してMPX11の出力
値をロードし、SOR3(図2参照)のシフトクロック
であるSORクロックに同期してダウンカウントを行
う。このダウンカウンタ12のカウント“0”出力又は
水平同期信号(H-sync)はNANDゲート14を介してD
Tクロックとして出力される。
The value selected by the MPX 11 is supplied to the down counter 12. This down counter 12 is NA
Horizontal sync signal (H-syn) supplied via ND gate 13
c) Alternatively, the output value of the MPX11 is loaded in response to the output of the count "0", and the down count is performed in synchronization with the SOR clock which is the shift clock of SOR3 (see FIG. 2). The count “0” output of the down counter 12 or the horizontal synchronizing signal (H-sync) is output via the NAND gate 14 to D
It is output as the T clock.

【0011】上述した構成のDTサイクル監視回路4に
よるDTサイクルの監視によれば、水平同期期間(図3
(A)を参照)及びダウンカウンタ12のカウント値=
0のとき(図3(B)参照)にそれぞれDTクロックを
発生できることにより、たとえば1280×1024程
度の解像度のCRTモニターに適用する場合、SOR3
のサイズが512ビットであるとしたとき、水平ライン
の走査の途中でもDTクロックを発生し、SOR3が空
になる前に表示データを転送できるため、高速動作が可
能となる。
According to the monitoring of the DT cycle by the DT cycle monitoring circuit 4 having the above-mentioned structure, the horizontal synchronization period (see FIG.
(See (A)) and the count value of the down counter 12 =
Since it is possible to generate DT clocks when 0 (see FIG. 3B), for example, when applied to a CRT monitor with a resolution of about 1280 × 1024, SOR3
When the size is 512 bits, the DT clock is generated even during the scanning of the horizontal line, and the display data can be transferred before the SOR3 becomes empty, so that the high speed operation becomes possible.

【0012】なお、本例では、水平同期期間中、DTク
ロックを発生するとしたが、DTクロックは少なくとも
水平同期期間の終りで発生できればよく、要は、表示期
間の開始前までにSOR3への表示データの転送が完了
していれば良いのである。
In this example, the DT clock is generated during the horizontal synchronization period, but it is sufficient that the DT clock can be generated at least at the end of the horizontal synchronization period. The point is that the display on the SOR3 is performed before the start of the display period. All that is required is that the data transfer has been completed.

【0013】ところで、図2において、デュアルポート
RAM1へのアクセスは描画と表示の2系統になる。そ
して、描画はランダムアクセスで、本例では、200n
s前後のサイクルタイムであるとする。一方、SOR3
は512ビットの大きさであって、SORクロックを4
0nsとし、512×(40ns/200ns)を求め
ると、ほぼ描画100サイクル毎に1回のDTサイクル
がやってくることになる。このDTサイクルは1回で描
画と同じぐらいの時間となる。この場合の描画効率は、
DTサイクルが全く到来しない場合に比べて1/100
だけ悪くなる。
By the way, in FIG. 2, the dual port RAM 1 is accessed by two systems of drawing and displaying. Then, the drawing is performed by random access, and in this example, 200n
It is assumed that the cycle time is around s. On the other hand, SOR3
Has a size of 512 bits, and the SOR clock is 4
When 0 × ns is set and 512 × (40 ns / 200 ns) is obtained, one DT cycle is performed almost every 100 drawing cycles. This DT cycle is one time, which is about the same as drawing. The drawing efficiency in this case is
1/100 compared to when no DT cycle arrives
Just worse.

【0014】ここで、DTサイクルがもっと頻繁に到来
するようにした場合を考えると、たとえば、SORクロ
ック256に1回の割合でDTサイクルが到来するとす
ると2/100だけ悪くなり、SORクロック128に
1回の割合でDTサイクルが到来するとすると4/10
0だけ悪くなり、SORクロック64に1回の割合でD
Tサイクルが到来するとすると8/100だけ悪くな
り、SORクロック32に1回の割合でDTサイクルが
到来するとすると16/100だけ悪くなり、SORク
ロック16に1回の割合でDTサイクルが到来するとす
ると32/100だけ悪くなる。
Considering the case where the DT cycle arrives more frequently, for example, if the DT cycle arrives once every SOR clock 256, it becomes worse by 2/100 and the SOR clock 128 arrives. 4/10 if the DT cycle arrives once
It gets worse by 0, and once every SOR clock 64, D
When the T cycle arrives, it deteriorates by 8/100, when the DT cycle arrives at the SOR clock 32 once, it deteriorates by 16/100, and the DT cycle arrives at the SOR clock 16 once. 32/100 worse.

【0015】特に注意しなければならないのは、SOR
3のサイズがより大きくなっても、この描画効率の悪化
率は変化しないことである。よって、DTサイクルは1
28〜32程度(本例では、32)に設定しておけば、
性能(描画効率)をあまり犠牲にすることなく汎用性を
高めることができることがわかる。なお、本例では、S
ORクロックを性能限界で使用した場合について説明し
たが、SORクロックの周期が下がれば、性能の悪化が
より少なくなることになる。
Special attention should be paid to the SOR
Even if the size of 3 becomes larger, the deterioration rate of the drawing efficiency does not change. Therefore, the DT cycle is 1
If set to about 28 to 32 (32 in this example),
It can be seen that versatility can be increased without sacrificing performance (drawing efficiency). In this example, S
The case where the OR clock is used at the performance limit has been described, but if the cycle of the SOR clock is reduced, the deterioration of the performance will be less.

【0016】一方、高速で動作するカウンタとしては、
キャリーを先読みするなどの同期型のものを使用するの
が一般的である。しかし、本例では、カウント値がゼロ
になった瞬間だけ高速に検出できれば良いので、ダウン
カウンタ12として、非同期に制御される図4に示す如
き構成のリップルカウンタを使用している。このリップ
ルカウンタは、1ビット分が動作する速度で、ビット数
がどのように長くなっても動作が可能な構成となってい
る。また、上位ビットがすべてゼロになって、最下位ビ
ットが最後にゼロになるが、この状態を最も早く検出で
きる構成となっている。
On the other hand, as a counter that operates at high speed,
It is common to use a synchronous type such as look-ahead for carry. However, in this example, since it is sufficient to be able to detect at high speed only at the moment when the count value becomes zero, the down counter 12 is a ripple counter which is asynchronously controlled and has a configuration as shown in FIG. This ripple counter is configured to be operable at a speed for operating one bit and no matter how long the number of bits is. Further, although all the upper bits become zero and the least significant bit finally becomes zero, this state can be detected earliest.

【0017】たとえば、このダウンカウンタ12に
“4”、すなわち(100)が設定された場合を想定
し、このときのそれぞれのビットの変化をみてみると、
そのカウント内容は、(100)→(011)→(01
0)→(001)→(000)のように変化する。2ビ
ット目は1ビット目の1/2の速度で動作すれば良く、
3ビット目は1ビット目の1/4の速度で動作すれば良
いことがわかる。よって、ダウンカウンタ12としてリ
ップルカウンタを用いることにより、非常に高速にゼロ
検出ができることになる。
For example, assuming that the down counter 12 is set to "4", that is, (100), the change of each bit at this time will be examined.
The content of the count is (100) → (011) → (01
It changes like 0) → (001) → (000). The second bit should operate at half the speed of the first bit,
It is understood that the third bit should operate at a speed 1/4 that of the first bit. Therefore, by using the ripple counter as the down counter 12, it is possible to detect zero very quickly.

【0018】特に、図4から明らかなように、上位3ビ
ットのFF(フリップフロップ)211 〜213 の各出
力をANDゲート22を介してNANDゲート23の入
力としているのに対し、最下位ビットのFF210 の出
力を直接NANDゲート23の入力とし、最下位ビット
の伝達径路が最短になるように構成したので、ゼロ検出
のより高速化が図れることになる。
In particular, as is apparent from FIG. 4, the respective outputs of the FFs (flip-flops) 21 1 to 21 3 of the upper 3 bits are input to the NAND gate 23 via the AND gate 22, but the least significant the output of the FF 21 0 bits directly as input NAND gate 23, the transfer path of the least significant bit is configured to be the shortest, so that attained faster of zero detection.

【0019】[0019]

【発明の効果】以上説明したように、本発明によれば、
デュアルポートRAMのDTサイクルを監視するDTサ
イクル監視回路が、SORクロックに同期して予め設定
された固定値からダウンカウントするダウンカウンタを
有し、水平同期期間の少なくとも終りとダウンカウンタ
のゼロカウント時にDTクロックを発生する構成となっ
ていることにより、SORが空になる前に表示データを
転送できるため、高速動作が可能になるとともに、固定
値を適当に設定することで、デュアルポートRAMの性
能をあまり犠牲にすることなく汎用性を高めることがで
きることになる。
As described above, according to the present invention,
A DT cycle monitoring circuit that monitors a DT cycle of a dual port RAM has a down counter that counts down from a preset fixed value in synchronization with an SOR clock, and at the end of the horizontal synchronization period and when the down counter counts zero. With the configuration that generates the DT clock, the display data can be transferred before the SOR becomes empty, so that high-speed operation is possible and by setting a fixed value appropriately, the performance of the dual port RAM can be improved. The versatility can be improved without sacrificing much.

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

【図1】本発明による画像処理用デュアルポートRAM
制御回路におけるDTサイクル監視回路の一実施例を示
すブロック図である。
FIG. 1 is a dual port RAM for image processing according to the present invention.
It is a block diagram which shows one Example of the DT cycle monitoring circuit in a control circuit.

【図2】画像処理用デュアルポートRAM制御回路の一
例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a dual port RAM control circuit for image processing.

【図3】本発明に係るDTサイクル監視回路の動作を説
明するための波形図である。
FIG. 3 is a waveform diagram for explaining the operation of the DT cycle monitoring circuit according to the present invention.

【図4】図1におけるダウンカウンタの構成の一例を示
すブロック図である。
4 is a block diagram showing an example of a configuration of a down counter in FIG.

【符号の説明】[Explanation of symbols]

1 デュアルポートRAM 2 メモリセルアレイ(DRAM) 3 シリアルアウトレジスタ(SOR) 4 DTサイクル監視回路 11 マルチプレクサ(MPX) 12 ダウンカウンタ 1 Dual Port RAM 2 Memory Cell Array (DRAM) 3 Serial Out Register (SOR) 4 DT Cycle Monitoring Circuit 11 Multiplexer (MPX) 12 Down Counter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 デュアルポートRAMのデータ転送サイ
クルを監視しつつデータ転送クロックを発生するデータ
転送サイクル監視回路を具備し、 前記データ転送サイクル監視回路は、前記デュアルポー
トRAMのシリアルアウトレジスタのクロックに同期し
て予め設定された固定値からダウンカウントするダウン
カウンタを有し、水平同期期間の少なくとも終りと前記
ダウンカウンタのゼロカウント時に前記データ転送クロ
ックを発生することを特徴とする画像処理用デュアルポ
ートRAM制御回路。
1. A data transfer cycle monitor circuit for generating a data transfer clock while monitoring a data transfer cycle of a dual port RAM, wherein the data transfer cycle monitor circuit uses a clock of a serial out register of the dual port RAM. A dual port for image processing, comprising a down counter for synchronously counting down from a preset fixed value, and generating the data transfer clock at least at the end of a horizontal synchronization period and when the down counter counts zero. RAM control circuit.
【請求項2】 前記ダウンカウンタとしてリップルカウ
ンタを用いたことを特徴とする請求項1記載の画像処理
用デュアルポートRAM制御回路。
2. The dual port RAM control circuit for image processing according to claim 1, wherein a ripple counter is used as the down counter.
JP3328211A 1991-11-15 1991-11-15 Dual-port ram control circuit for image processing Pending JPH05143057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3328211A JPH05143057A (en) 1991-11-15 1991-11-15 Dual-port ram control circuit for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3328211A JPH05143057A (en) 1991-11-15 1991-11-15 Dual-port ram control circuit for image processing

Publications (1)

Publication Number Publication Date
JPH05143057A true JPH05143057A (en) 1993-06-11

Family

ID=18207695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3328211A Pending JPH05143057A (en) 1991-11-15 1991-11-15 Dual-port ram control circuit for image processing

Country Status (1)

Country Link
JP (1) JPH05143057A (en)

Similar Documents

Publication Publication Date Title
KR920000455B1 (en) Interface apparatus
JPS6242228A (en) Display information processing system
JP3444154B2 (en) Memory access control circuit
US5201037A (en) Multi-port memory as a frame buffer
US5530458A (en) Image memory control device
US5621432A (en) Method and apparatus for generating display identification information
KR100245275B1 (en) Graphics sub-system for computer system
JPS5826B2 (en) Time division control method for refresh memory
JPH05143057A (en) Dual-port ram control circuit for image processing
JP3559299B2 (en) Buffer memory device
JP2920919B2 (en) Interface device
KR950001597B1 (en) Fifo circuit for monitor
JPH0527705A (en) Display device
JPH052877A (en) System for accessing video display memory
KR100240866B1 (en) Graphics controller of supporting high resolution
JPH09269762A (en) Display device
JP3124166B2 (en) Display address operation circuit of VRAM
JP3265791B2 (en) OHP display device
JPH02158884A (en) Image memory device and multiprocessor image processor
JPH06103026A (en) Memory system
JPS61222087A (en) Picture memory device
JPS5816343A (en) Access system of image memory
JPH01223695A (en) Memory device
JPH06118918A (en) Display signal output circuit
JPH0736425A (en) Dual port graphics buffer