(19)
(11) EP 0 411 464 A2

(12) EUROPEAN PATENT APPLICATION

(43) Date of publication:
06.02.1991 Bulletin 1991/06

(21) Application number: 90114280.2

(22) Date of filing: 25.07.1990
(51) International Patent Classification (IPC)5G06F 3/147, G09G 5/00, G09G 3/36
(84) Designated Contracting States:
DE FR GB

(30) Priority: 31.07.1989 JP 198354/89

(71) Applicant: KABUSHIKI KAISHA TOSHIBA
Kawasaki-shi, Kanagawa-ken 210 (JP)

(72) Inventor:
  • Zenda, Hiroki, c/o Intellectual Property Division
    Minato-ku Tokyo 105 (JP)

(74) Representative: Henkel, Feiler, Hänzel & Partner 
Möhlstrasse 37
81675 München
81675 München (DE)


(56) References cited: : 
   
       


    (54) Flat panel display controller using dual-port memory


    (57) CRT display data output by a CRT controller (31) is written in a frame memory at display timings of a CRT, and is read out of the frame memory at display timings of a flat panel display. The frame memory is consti­tuted by a dual-port memory. A flat panel display-­controlling circuit writes the display data, output by the CRT controller, in the frame memory through the data write port of the dual-port memory, and reads the display data out of the frame memory through the data read port of the dual-port memory in synchronism with the display timings of the flat panel display. The data writing operation and the data reading operation are performed concurrently.




    Description


    [0001] The present invention relates to a flat panel display-controlling circuit suitable for use in a per­sonal computer.

    [0002] A so-called lap top type personal computer, wherein a display is integral with the computer's main body, has come to be prevalent in the field of personal computers. A flat panel type display, such as a plasma display or a liquid crystal display (LCD), is in wide use as a display suitable for the lap top type personal computer. However, many of the application programs used with per­sonal computers are developed on the assumption that they are executed by use of a CRT display. Therefore, the lap top type personal computer whose flat panel type display is integral with the main body has to comprise a display control circuit which enables even an applica­tion program originally developed for a CRT display type computer to be executed by a flat panel display type computer as well.

    [0003] Under these circumstances, it is necessary to design a display control circuit such that it can control a flat panel display by use of a CRT display controller, or such that the same data can be simulta­neously shown on both the CRT display and the flat panel display. To satisfy this necessity, the display control circuit incorporates a special type of memory (which is generally referred to as a "frame memory") for storing the data to be shown on a display screen. It is also necessary to provide a circuit which enables screen data to be temporarily stored in the frame memory and to be output to the flat panel display at the necessary timings, by use of the display controller which controls the read/write operation performed with respect to the frame memory. The frame memory has to be provided with two ports, one for the writing of data performed to store display data, and the other for the displaying of data. Therefore, in the case where an ordinary one-port dynamic random access memory (DRAM) is employed, it is necessary to control the two ports of the frame memory in a time-divisional manner.

    [0004] The accessing speed (namely, the speed at which data is read or written) is determined due to charac­teristics of the DRAM and a static random access memory (SRAM) to be used. In the case where data is shown on a monochromatic flat panel display (e.g., an LCD), single-­gradation display data has to be read at a speed of about 40 ns/dot. The screen of the LCD is divided into upper and lower screen portions, and the data display operation for the upper screen portion has to be per­formed simultaneous with the data display operation for the lower screen portion. In practice, therefore, the reading speed should be about 20 ns/dot, which is one half of the reading speed noted above. Where a DRAM providing an ordinary accessing speed is employed (cycle time: 160 ns), data of 8 dots (= 160 ns / 20 ns) can be read. Where data having sixteen gradations is displayed, it is expressed in 4 bits, so that data of 32 bits (8 dots × 4) has to be read at one time. Accordingly, it is necessary to employ four SRAMs of 8-bit width, and eight DRAMs of 4-bit width. In order to display, on the flat panel display, 16-gradation (4-bit) data with a resolution of 640 × 480 dots, it is necessary to employ a memory whose capacity is 1.2 Mbits (640 × 480 × 4). Even if four SRAMs (the memory capacity of each of which is 256 Kbits [= 32K × 8 bits]) are employed, the total memory capacity is no more than Mbit (32K × 8 bits 4). It should be noted that a 512-Kbit memory is not commercially available, and the commercially-available memory having a larger memory capacity than 256 Kbits is a 1-Mbit memory. Therefore, there is no other way but to use eight SRAMs. (The use of four 1M SRAMs is not realistic in the view point of cost.) In conclusion, eight memory elements (32K × 8 bits, or 64K × 4 bits) are required to obtain one frame memory.

    [0005] As mentioned above, a display device comprising a flat panel display has to employ a frame memory exclusively used for showing data on the flat panel display. In addition, the display device has to employ a so-called VRAM (video RAM), so as to store display data. Due to the need to employ these two types of memories, the display circuit requires a wide installa­tion area on a printed circuit board, resulting in a complex hardware construction.

    [0006] Accordingly, an object of the present invention is to provide a flat panel display-controlling circuit which employs a dual-port DRAM including a data-writing port and a data-reading port, and which is capable of controlling the display of data with a compact-in-size, low-in-price structure.

    [0007] To achieve this object, the present invention pro­vides a flat panel display control apparatus for dis­playing data on a flat panel display unit and a cathode ray tube (CRT) display unit, which comprises: video ran­dom access memory (RAM) means for storing display data to be shown on the flat panel display and the CRT display unit; cathode ray tube (CRT) display controller means for reading the display data out of the video RAM means at predetermined CRT display timings; frame memory means, including a dual-port memory, for storing display data to be displayed on the flat panel display unit; and flat panel display-controlling means for display-controlling the flat panel display unit, reading the display data from the video RAM means by the CRT display controller means, writing the display data in the frame memory means in synchronism with the CRT display timings, and for reading the display data stored in the frame memory means at predetermined flat panel display timings to perform display control of the flat panel display unit.

    [0008] In the present invention, the frame buffer is constituted by a dual-port memory. Therefore, it is not necessary to perform time-division control, as in the prior art, nor is it necessary to widen the data bus. Since the number of frame memories needed can be reduced, the display circuit does not require a wide installation area on a printed circuit board. For example, the frame memory needed to display 16-gradation data with a resolution of 640 × 480 dots can be consti­tuted by two dual-port memories of 256K × 4 bits (= 1 Mbits). In the present invention, moreover, the frame memory and the LCD display-controlling circuit for controlling the frame memory are formed on the same gate array. As a result, a 16-gradation LCD display circuit can be used for the LCD. Since the number of memory elements required for constituting the frame memory can be reduced from 8 (prior art) to 2 (present invention), the LCD display circuit can be compact in size.

    [0009] This invention can be more fully understood from the following detailed description when taken in con­junction with the accompanying drawings, in which:

    Fig. 1 is a block circuit diagram showing one embo­diment of the present invention;

    Fig. 2 is a detailed block circuit diagram showing a detailed circuit arrangement used in the embodiment shown in Fig. 1; and

    Figs. 3A through 3C are flowcharts illustrating timings at which display data is written or read with respect to a frame memory, Fig. 3A being a flowchart of data-write timings, and Figs. 3B and 3C being flowcharts of data-read timings.



    [0010] Fig. 1 is a block circuit diagram showing one embo­diment of the present invention. Referring to Fig. 1, a CRT display controller 31 reads display data out of a video RAM (VRAM) 33 at predetermined display timings. The VRAM 33 stores display data supplied from a CPU (not shown), and is accessed by the CRT display controller 31 through a V-RAM data bus 11. An LCD display control circuit 32 temporarily stores, in a frame memory (dual-port memory), CRT display data output from the CRT display controller 31 to the VRAM 33, reads the CRT display data at the LCD display timings, and displays the readout data on an LCD 40. The dual-port memory 70 stores screen data and is controlled by the LCD display control circuit 32. The dual-port memory 70 has two ports, one used for writing the display data and the other used for reading the display data. Data to be displayed is written in the dual-port memory 70 at CRT display timings under the control by the LCD display control circuit 32. The data, thus written, is read out of the dual-port memory 70 at LCD display timings. The LCD 40 outputs or displays the screen information which is read out of the dual-port memory 70 under the control by the LCD display control circuit 32. A system bus 16 is used when the CPU reads or writes data with reference to both the VRAM 33 and the register (which is incorpo­rated in the CRT display controller 31 and stores data regarding the display timing parameters determined in accordance with the display resolution). The VRAM data bus 11 is provided to enable the CPU to access the VRAM 33 and to read data to be displayed. Specifically, the VRAM data bus 11 is used when the CRT display controller 31 reads or writes data with respect to the VRAM 33.

    [0011] CRT display data 17 is output from the CRT display controller 31 in synchronism with the timing at which data is displayed on a CRT display (not shown). The LCD display control circuit 32 writes display data through dual-port memory write data line 75 in the dual-port memory 70 in synchronism with the time at which data is displayed on the CRT display. Further, the circuit 32 reads display data through dual-port memory read data line 77(79) from the dual-port memory 70 in synchronism with the timing at which data is displayed on the LCD 40. The LCD display control circuit 32 converts the display data stored in the stored in the dual-port mem­ory 70 into 16-gradation data 19, for example, and sup­plies the 16-gradation data 19 to the LCD 40.

    [0012] Fig. 2 is a detailed block circuit diagram showing the circuit arrangement of Fig .1 in more detail.

    [0013] Referring to Fig. 2, the CRT display controller (CRT-CNT) 31 drives a CRT display unit 50 such that the CRT display unit 50 displays data at high resolution (720 dots). The CRT controller 31 described above may adopt a PVGA1 available from Paradise, U.S.A. The CRT-CNT 31 includes a decoder 311. This decoder decodes the port address of a CRT palette 341, and outputs a write signal to the CRT palette 341.

    [0014] The LCD display control circuit 32 has two func­tions: namely, a bus interface function of exchanging display control data of various kinds with the CPU through the system bus (CPU bus) 16; and a function of controlling the display operation performed by the LCD 40. The LCD display control circuit 32 is formed by a programmable logic array (PLA) on the same chip as the dual-port memory 70. The LCD display control circuit 32 includes a conversion table 321, on the basis of which 64-gradation data used for monochromatic CRT display 50 is converted into 16-gradation data used for the LCD 40.

    [0015] The LCD display control circuit 32 includes an LCD palette 322 for generating gradations with which to display data. It also includes a decoder 323 which has a similar structure to that of the decoder 311 of the CRT-CNT 31. The decoder 323 decodes the port address of the CRT palette 341 and outputs a write signal to the LCD palette 322. In this embodiment, the decoder 323 and the decoder 311 are provided independently of each other. In place of this arrangement, an arrangement employing a single decoder 311 may be employed, if desired. Where this alternative arrangement is employed, an output of the decoder 311 is supplied to both the CRT palette 341 and the LCD palette 322 as a write signal.

    [0016] The VRAM 33 is a RAM of 64K × 4 bits and stores display data. A CRT display data generation section 34 generates analog display data under the control of the CRT-CNT 31, and incorporates a digital-to-analog con­verter 342 in addition to the CRT palette 341 mentioned above. The data bus denoted by reference numeral 61 is a 16-bit data bus (SD15-0) through which data of various kinds, such as palette data for rewriting, is trans­ferred between the system bus 16 and the LCD display control circuit 32. The data bus denoted by reference numeral 62 is a data bus (SD7-0) through which the palette data to be written is supplied from the CRT display data generation section 34 to the CRT palette 341.

    [0017] The frame memory 70 is made up of a first dual-port memory 71 storing display data corresponding to LCD upper screen A and a second dual-port memory 73 storing display data corresponding to LCD upper screen B, each being of 256K × 4 bits. A frame memory address FMA8-0 is supplied to the first and second dual-port memories 71 and 73 through an address/data bus 75. Frame write data is also supplied to the first and second dual-port memories 71 and 73 through the same address/data bus 75. The serial data SDU3-0 for the upper screen portion is supplied from the first dual-port memory 71 to the LCD display control circuit 32 through a data bus 77, while serial data SDL0-3 for the lower screen portion is supplied from the second dual-port memory 73 to the LCD display control circuit 32 through a data bus 79. The LCD display control circuit 32 supplies a write enable signal for the upper screen portion to the first dual-port memory 71 through a line 81, and supplies a write enable signal for the lower screen portion to the second dual-port memory 73 through a line 83. Further, the LCD display control circuit 32 supplies a frame mem­ory RAS signal, a frame memory CAS signal, a serial clock, and a data transfer/output enable signal to the first and second dual-port memories 71 and 73 through a line 85. Note that the LCD upper screen A means LCD column addresses 1 through 240 and the LCD lower screen B means LCD column addresses 241 through 480.

    [0018] In the circuit arrangement shown in Fig. 2, the same address is supplied to both the first and second dual-port memories 71 and 73. Therefore, it may happen that write access will contend with read access in the first and second dual-port memories 71 and 73. In order to avoid such contention, each of the first and second dual-port memories 71 and 73 is provided with a counter (not shown). This counter automatically increments to generate the respective read addresses of the respective dual port memories 71 and 73.

    [0019] Note that the lap-top type personal computer is equipped with the LCD (or PDP) 40 as a standard unit and the CRT monitor 50 is externally connected as an optional unit.

    [0020] The operation of the embodiment mentioned above will now be described, with reference to Figs. 1 through 3C.

    [0021] First of all, the CPU writes display timing data in the register incorporated in the CRT-CNT 31, and writes display data in the VRAM 33. In accordance with the display timing, the CRT-CNT 31 reads the display data out of the VRAM 33 and outputs CRT display data 17. The operation performed up to this point is similar to that performed by an ordinary CRT controller. The CRT display data 17 may be displayed on the CRT 50 as it is. The values written in the CRT-CNT 31 are for the CRT, so that a basic input and output system (BIOS) and application programs adapted for a CRT can be used as they are on the basis of the values written in the CRT-CNT 31. The LCD display control circuit 32 writes the CRT display data in the dual-port memory 70, using the same timing at which it receives the CRT display data.

    [0022] In order to allow data to be displayed with 640 dots × 480 dots × 16 gradations, the dual-port mem­ory 70 is made up of memories 71 and 73 each of which is of 256K × 4 bits. An address of each memory designates the location of one pixel on the display screen. One dual-port memory is used for storing the data regarding the LCD upper screen A, and one dual-port memory is used for storing the data regarding the LCD lower screen B. Thus, two dual-port memories 71 and 73 are used for the entire screen of the LCD. 4-Bit data (= 16-gradation data) can be stored at each location of the respective memories 71 and 73. Since the display timing of the CRT monitor 50 is 40ns per pixel, eight pixels are processed as one block. In other words, data is written every eight pixels, so as to meet the cycle time (normally, 160 ns) of the write port of the dual-port memory 70. In this case, the cycle time of the data write is 320 ns (= 40 ns × 8). More specifically, the pixel data regarding the entire screen is written by use of eight frames, such that the 1st, 8th and 16th pixels are writ­ten in the first frame, the 2nd, 9th and 17th pixels are written in the second frame, the 3rd, 10th and 18th pixels are written in the third frame, and so on.

    [0023] Fig. 3A illustrates timings at which the CRT display data 17 is written. The CRT display data 17 is constantly transmitted at the display timings of the CRT, so that the screen image of the LCD is not adversely affected as a result of the transfer of one-­screen data in eight frames. In other words, the LCD display control circuit 32 constantly reads the display data through the reading ports of the dual-port memories 71 and 73, i.e., without reference to the writing of the display data. Thus, the display screen is in no way adversely affected by the timings at which the display data is written. Simultaneous with the writing opera­tion, the LCD display control circuit 32 reads screen data out of the dual-port memory 70 in accordance with the display timings of the LCD. As is shown in Figs. 3B and 3C, this reading operation is performed such that the reading of data from the dual-port memory 71 (which stores data on the upper screen portion) and the reading of data from the dual-port memory 73 (which stores data on the lower screen portion) are executed concurrently. Pixel data is serially read through the serial-read port of the dual-port memory 70. Since the serial-read cycle of this serial-read port is about 40 ns, this read cycle does not produce any problem with reference to the read cycle (20 ns) determined for the data display on the LCD 40. Upon receipt of the dual-port memory read data 15, the LCD display control circuit 32 outputs the LCD display data 19 to the LCD 40. In the case of 16-gradation display, the data is comprised of 4 bits (PD3-0), so that the data obtained by combining the upper-screen data and the lower-screen data is comprised of 8 bits. Upon reception of this LCD display data 19, the LCD 40 displays it with 16 gradations.

    [0024] When describing the foregoing embodiment, reference was made of the case where the flat panel display is an LCD. Needless to say, the present invention is not limited to this; it is applicable to any type of flat panel display.


    Claims

    1. A flat panel display control apparatus for displaying data on a flat panel display unit (40) and a cathode ray tube (CRT) display unit, which comprises:
    video random access memory (RAM) (33) for storing display data to be shown on the flat panel display (40) unit and the CRT display unit (50); a CRT controller (31) for reading the display data out of the video RAM at predetermined CRT display timings; a frame memory (70) for storing display data to be displayed on the flat panel display; and a flat panel display-controlling circuit (32) for reading the display data stored in the frame memory and displays the readout display data on the flat panel display unit and the CRT display unit,
    characterized in that:
    said frame memory includes a dual-port memory (71, 73), and said flat panel display-controlling circuit (32) display-controls the flat panel display unit, reads the display data from the video RAM by the CRT controller, writes the display data in the frame memory in synchronism with the predetermined CRT display timings, and reads the display data stored in the frame memory at predetermined flat panel display timings to perform display control of the flat panel display unit.
     
    2. A display controller according to claim 1, characterized in that one port of each of the dual-port memories constituting the frame memory means serves as a data write port, and another port thereof serves as a data read port, and the flat panel display-controlling circuit writes the display data in the data write port in synchronism with the CRT display timings and reads the display data out of the data read port in synchro­nism with the flat panel display timings.
     
    3. A display controller according to claim 2, characterized in that said flat panel display-­controlling circuit performs, in parallel, the writing of the display data in the data write port and the reading of the display data out of the data read port.
     
    4. A display controller according to claim 1, characterized in that said flat panel display unit is a liquid crystal display unit.
     
    5. A display controller according to claim 1, characterized in that said flat panel display unit is a plasma display unit.
     




    Drawing