Device for decoding instruction code

Abstract: A decoder includes a high-order address generator (1; 11, 12, 13, 15) which generates a high-order address (S1) from input data including an instruction code (OC). A storage circuit (2, 16) has storage areas (D1 - Dn) and stores a plurality of control codes corresponding to the instruction code and indication data indicating the number of the plurality of control codes in the storage areas. The indication data is stored in the one of the beginning and end storage areas among the storage areas. The one of the beginning and end storage areas is indicated by the high-order address generated by the high-order address generator. A low-order address generator (3; 17) counts up or down to the number of the control codes indicated by the indication data to thereby generate a low-order address (S2). An internal address generator (4; 14) generates an internal address (S3) to be supplied to the storage circuit by combining the high-order and low-order addresses. The plurality of control codes are serially read out from the storage circuit in accordance with the internal address in which the second address is continuously incremented or decremented.

Description: BACKGROUND OF THE INVENTION The present invention generally relates to a device for decoding an instruction code, and more particularly to a device which decodes an instruction code to thereby generate data which can be applied to an apparatus such as an electron beam exposure apparatus. Further, the present invention is directed to a decode device which can continuously generate a series of extended data corresponding to an instruction code. The present invention is suitable for a decode device which supplies an electron beam exposure device with exposure data. Referring to FIG.1, there is illustrated an electron beam exposure apparatus. The illustrated electron beam exposure apparatus is made up of a host computer 200, a bus 210, a data management device 220, a segmented pattern generator 230, a digital-to-analog converter 240, an amplifier 250 and an electron beam exposure device 260. The host computer 200 supplies the data management device 220 with input data, which includes an instruction code which indicates the shape of a pattern to be drawn, a starting point of exposure and the size of the pattern. The input data cannot be applied directly to the exposure device 260, since it draws a pattern on a wafer by repeatedly projecting a variable rectangular shaped beam having a limited size. For this reason, the segmented pattern generator 230 divides the input pattern supplied from the data management device 220 into pattern segments. The data relating to the pattern segments in digital form is converted into a corresponding analog signal through the D/A converter 240. The converted analog signal is amplified through the amplifier 250, and supplied to the exposure device 260. FIG.2 is a block diagram of the segmented pattern generator 230 which serves as a decoder. The segmented pattern generator 230 includes a microprocessor 100, which is composed of an operation/comparison circuit 103 and a memory 104. The operation/comparison circuit 103 includes a plurality of registers such as registers RG1, RG2, RG3 and RG4 (only four registers are illustrated for the sake of simplicity), an arithmetic and logic unit (hereinafter simply referred to ALU) 101, and a program counter (PC) 102. The memory 104 stores a plurality of control codes (extended data), which are necessary for an exposure procedure and has a data form which can be executed by the exposure device 260. FIG.3 is a flowchart of an operation of the microprocessor 100 shown in FIG.2. Referring to FIGS.2 and 3, the operation/comparison circuit 103 is supplied with an instruction code indicating the shape of a patter to be drawn, for example (step S1). The instruction code is one of the input data supplied from the data management circuit 220. Next, comparison data #1 and #2 are written in the registers RGI and RG2 (step S2). The comparison data #1 and #2 are some of the input data supplied from the data management circuit 220, and include the exposure starting point and the size of the pattern to be drawn, for example. Then the ALU 101 extracts a specific bit (bits) contained in the instruction code therefrom (step S3). After that, the ALU 101 inputs the comparison data #1 and #2 from the registers RG1 and RG2, and compares them to thereby generate a bit code indicative of the comparison result (step S4). The generated bit code is supplied to the program counter 102, which determines the address of a data storage area of the memory 104 to be accessed in which data (control code) for calculating extended data is stored, by referring to the bit codes obtained in the just previous step and the step before the previous step (step S5). The process in step S5 is executed by a microprogram provided in the microprocessor 100, which is controlled by the program counter 102. The address calculated in step S5 is stored in the register RG4, which serves as an address register. The address in the register RG4 is supplied to the memory 104, which outputs the contents of the data storage area (control code) designated by the supplied address. The readout control code is temporarily stored in the register RG3 (step S6), and is then supplied to an external hardware device (not shown). Then the external hardware device executes a process corresponding to the control code. When the corresponding process is completed, the procedure returns to step S1. A sequence of steps S1 to S7 is repeatedly carried out for a predetermined number of times that this sequence is to be repeatedly executed (S8). It is now assumed that a trapezoide depicted in FIG.1 is divided into three pattern segments labeled P1, P2 and P3, and that control codes (extended data) #3, #1 and #6 shown in FIG.2 relate to the pattern segments P1, P2 and P3, respectively. First, address '2' is calculated and written in the address register RG4 by the ALU 101 using input data containing the instruction code and the comparison data #1 and #2 relating to the input data of the trapezoid. The corresponding control code #3 is read out from the memory 104, and supplied to the external hardware device through the register RG3 and an output port. Second, address '0' is calculated and stored in the address register RG4 by the ALU 101 using the input data. The corresponding control code #1 is read out from the memory 104, and supplied to the external hardware device. Third, address '5' is written in the address register RG4 by the ALU 101 using the input data. The corresponding control code #6 is read out from the memory 104, and supplied to the external hardware device. The control codes (extended data) thus formed are supplied to the exposure device 260 (FIG.1) through the D/A converter 240 and the amplifier 250. However, the aforementioned conventional decoder has the following disadvantages. The microprocessor serving as the decoder is controlled by the microprogram addressed by the program counter 102. In case where a large number of decision making conditions is required for the comparison procedure in step S4, the operation executing cycle increases and thus it takes long to obtain the bit code indicative of the comparison result. In addition, the comparison data #1 and #2 must be transferred via the registers RG1 and RG2 and an accumulator (not shown for the sake of simplicity) provided in the operation/comparison circuit 103. Thus, the memory access is delayed. SUMMARY OF THE INVENTION Accordingly, a general object of the present invention is to provide a novel and useful decoder in which the aforementioned disadvantages are eliminated. A more specific object of the present invention is to provide a decoder capable of continuously generating a series of extended data (control codes) by an applied specific instruction code. EP 0 217 358 discloses a method and circuit for addressing a memory according to its content, by producing address values starting from a selected address value. EP 0 159 364 discloses an apparatus for processing digital video signals. Within the apparatus, subroutines are used for loading information into a microprocessor memory. A counter is used to count the number of bytes to be transferred, which counts down as the subroutine is transferred address by address. A decoder corresponding substantially to the preamble of claim 1 is disclosed in IMB TDB, vol. 14, No 5, October 1971, N.Y.,US; p.p. 1411-1412; J.G.Gallagher: "System for redundant microinstructions". According to the invention, the decoder is comprised of first address generating means for generating a first address from input data including an instruction code; first storage means having storage areas, for storing a plurality of control codes corresponding to said instruction code and indication data indicating the number of said plurality of control codes in said storage areas, said indication data being stored in a storage area indicated by said first address generated by said first address generating means; and second address generating means for counting down from said number of control codes indicated by said indication data to thereby generate a second address, characterized in that said indication data is stored in either one of the beginning and end storage areas among said storage areas and that said second address generating means is arranged for counting down from said number of control codes indicated by said indication data when the indication data is stored in the end storage area, and arranged for also counting up from said number of control codes indicated by said indication data, when the indication data is stored in the beginning storage area to thereby generate a second address (S2); said plurality of control codes being serially read out from said first storage means in accordance with a first internal address in which said second address is continously incremented or decremented, and in that the decoder further comprises : internal address generating means for generating an internal address to be supplied to said first storage means, said first address forming a high-order part of said first internal address, and said second address forming a low-order part of said first internal address. Preferably, the decoder further comprises second storage means for storing said plurality of control codes and said indication data to be transferred to said first storage means, and in that the internal address generating means is for generating a second internal address which is to be supplied to said first and second storage means. Additional objects, features and advantages of the present invention will become apparent from the following detailed description when read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS FIG.1 is a block diagram of an electron beam exposure apparatus; FIG.2 is a block diagram of a segmented pattern generator shown in FIG.1; FIG.3 is a flowchart of a procedure for decoding an instruction code to thereby generate a series of extended data (control codes); FIG.4 is a block diagram illustrating the principle of the present invention; FIG.5 is a block diagram of a preferred embodiment of the present invention; FIG.6 is a flowchart of a procedure for decoding an instruction code by referring to comparison data according to the present invention; FIGS.7A and 7B are circuit diagrams of a detailed configuration of the embodiment shown in FIG.6; FIG.8 is a waveform diagrams of signals observed at parts of the configuration shown in FIGS.7A and 7B; and FIG.9 is a diagram of an electron beam exposure apparatus incorporating the present invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS A description is given of the principle of the present invention with reference to FIG.4. The decoder according to the present invention includes a high-order address generator 1, a storage circuit 2, a low-order address generator 3, and an internal address generator 4. The high-order address generator 1 generates a high-order address signal S1 of an internal address signal S3 by referring to an input data including a specific instruction code. The internal address signal S3 is output from the internal address generator 4. The storage circuit 2 includes a plurality of data storage areas D1 - Dn (n is an integral), which store (n -1) control codes corresponding to an instruction code. The data storage areas D1 - Dn corresponding to an instruction code form one block. One block is provided for each instruction code. The high-order address signal S1 represents an address corresponding to the beginning or end of the related data storage areas, that is, Dl or Dn. In the case where the high-order address signal S1 indicates the beginning of the related data storage areas, that is, the data storage area D1, data that indicates the number of related control codes (n-1) is stored in the data storage area D1. Alternatively in the case where the high-order address signal S1 indicates the end of the related data storage areas, that is, the data storage area Dn, data which indicates the number of control codes (n-1) is stored in the data storage area Dn. The data indicating the number of the control codes is set, as a preset address value, in the low-order address generator 3. The low-order address generator 3 can be formed by an up counter or a down counter. When the low-order address generator 3 is formed by an up counter, it increments its count value from zero to the preset address value. Each time the up counter 3 counts up, it generates a low-order address signal S2. Alternatively when a down counter is used, the data indicating the number of the control codes is preset in the down counter. Then the down counter decrements the count value from the preset address value to zero. When the count value of the down counter becomes zero, it stops counting. The internal address generator 4 receives the low-order address signal S2 and the high-order address signal S1, and derives the internal address signal S3 therefrom by which the storage circuit 2 is accessed. When input data including a specific instruction code is supplied to the high-order address generator 4, the internal address signal S3 is derived from the high-order address signal S1 by the internal address generator 4. The storage circuit 2 is supplied with the internal address signal S3 corresponding to the high-order address signal S1. Thereby, data indicating the number of a series of control codes is read out from the storage circuit 2, and is set, as the preset address value, in the low-order address generator 3 as described previously. The low-order address generator 3 increments or decrements its count value to thereby generate the low-order address signal S2. Then the internal address generator 4 derives the internal address signal S3 from the high-order and low-order address signals S1 and S2. The above-mentioned operation is repeatedly carried out until the indicated number of the control codes has been read from the storage circuit 2. In this manner, it becomes possible to continuously output a series of control codes (extended data) necessary for a procedure for drawing a pattern designated by the input data on a wafer through the exposure device. A description is given of a preferred embodiment of the present invention with reference to FIGS.5 through 8. Referring to FIG.5, there is illustrated a decoder 10 (substituted for the segmented pattern generator 230), which is coupled to the exposure device 260 through the D/A converter 240 and the amplifier 250 shown in FIG.1. The high-order address generator 1 is made up of a first latch circuit 11, a second latch circuit 12 and a third latch circuit 13. The internal address generator 4 is made up of a memory address decode signal read/write switching circuit (hereinafter simply referred to as a selector) 14, and a group of comparators 15. The storage circuit 2 is formed by a random access memory (hereinafter simply referred to as a RAM). An up counter 17 serves as the low-order address generator 3. Further, the decoder includes a read only memory (hereinafter simply referred to as a ROM) 19. Referring to FIG.6, a predetermined number of low-order bits of an instruction code latched in the first latch circuit 11 is supplied, as the aforementioned high-order address signal S1 of the internal address signal S3, to the selector 14 (step S11). On the other hand, comparison data #1 and #2 stored in the latch circuits 12 and 13 respectively, are supplied to the group of the comparators 15. The group of comparators 15 generates some bits serving as middle-order address bits contained in the internal address signal S3. The low-order bits contained in the instruction code and the middle-order bits supplied from the group of comparators 15 are supplied to the selector 14. The low-order address signal S2 supplied from the low-order address generator 17 (up counter in this embodiment) is supplied to the selector 14. Initially, the low-order address signal S2 is set to zero. The low-order bits of the instruction code, the bits derived from the comparator group 15 and the low-order address signal S2 are supplied, as the initial internal address signal, to the RAM 16. Thereby, data stored in the data storage area corresponding to the initial internal address signal is read out from the RAM 16, and set in the up counter 17 serving as the low-order address generator (step S12). It is now assumed that the illustrated control codes are stored beforehand in data storage areas corresponding to the illustrated address values. It is further assumed that the initial internal address signal is '0', and data '0003' (hexadecimal number) is stored in the data storage area corresponding to an address of '0'. As described previously, the data stored in the data storage area indicated by the initial internal address signal represents the number of control codes to be serially read out from the RAM 16. In the illustrated case, the data '0003' is preset in the up counter 17, which is initially set to zero. Then the up counter 17 increments its count value by +1. The incremented count value is supplied, as the low-order address signal S2, to the selector 14 (step S13). The selector 14 selects the low-order address signal S2 together with the low-order bits S1 of the instruction code and the output bits supplied from the group of comparators 15. Thereby, the internal address signal S3 equal to '1' is supplied to the RAM 16, from which a control code of '0088' is read out and supplied to the external hardware device (step S14). Then the up counter 17 increments the count value by +1, which is supplied to the selector 14. Then the aforementioned procedure in steps S13 and S14 is executed in the same manner, so that a control code '1020' is read out from the RAM 16. A control code '0002' is read out from the RAM 16 in the same manner. When the count value of the up counter 17 reaches '3', the up counter 17 stops counting (step S15). In this manner, a series of control codes (extended data) is continuously derived from a single instruction code by referring to the comparison data #1 and #2. FIGS.7A and 7B are circuit diagrams of the decoder shown in FIG.5. Referring to FIG.8 in addition to FIGS.7A and 7B, the first latch circuit 11 latches an instruction code labeled OC supplied from the data management circuit 220 (FIG.1) in synchronism with a rise of a latch control signal LTI, which is generated by a sequencer 31 (FIG.7B). The first latch circuit 11 outputs a four-bit address data AD4a. The second latch circuit 12 latches comparison data #1 labeled CD1 supplied from the management circuit 220 in synchronism with a rise of a latch control signal LT2. The second latch circuit 12 outputs 16-bit address data AD16a. The third latch circuit 13 latches comparison data #2 labeled CD2 supplied from the management circuit 220 in synchronism with a rise of a latch control signal LT3. The third latch circuit 13 outputs 16-bit address data AD16b. The group of comparators 15 is made up of four comparators 15a, 15b, 15c and 15d, and two OR gates 15e and 15f. The comparator group 15 compares the address data AD16a and AD16b, and generates two-bit address data AD2a dependent on the comparison result. The selector 14 receives the address data AD4a and AD2a and four-bit address data AD4b (will be described later) through A-input group terminals thereof. The address data passing through the A-input group terminals consists of 10 bits in total. Further, the selector 14 receives 10-bit address data AD10a (will be described later) through B-input group terminals thereof. The selector 14 selects the address data relating to the A-input group or the B-input group in accordance with a select signal applied to select signal terminals. In a RAM write cycle CYC2 (FIG.8) which will be described later, the selector 14 selects the B-input group. Then the selector 14 outputs 10-bit internal address data AD I . The RAM 16 serving as the storage circuit 2 is accessed by an address consisting of 10 bits, A0 - A9. In the RAM write cycle CYC2, data supplied from the ROM 19 through a data bus 21 is written into the RAM 16. Alternatively, in the RAM write cycle CYC2, data supplied from the host computer 200 shown in FIG.1 through a data bus 22 is written into the RAM 16. In the ROM 19, data is written beforehand in a predetermined format. Data stored in the ROM 19 is a series of control codes which correspond to an instruction code OC and can be executed by the exposure device 260 (FIG.1). A series of control codes forms one block. The first data or the last data of the block represents the number of the control codes of the block. One block of control codes is provided for each of the different instruction codes. Hereinafter, only one block of control codes is stored in the RAM 16 for the sake of simplicity. An address counter 18 generates the aforementioned 10-bit address data AD10a, which is, for example, incremented from zero in the RAM write cycle CYC2. The control codes of one block stored in the ROM 19 are sequentially accessed by the address data AD10a, and are transferred to the RAM 16 and then written therein. The preset address value which is the data indicating the number of control codes of one block is loaded in the up counter 17 from the RAM 16 through a data bus 23. As described previously, the initial address value is data which is positioned in the beginning or the end of one block. The up counter 17 generates the four-bit address data AD4b by counting up its count value until it reaches the loaded preset address value. The control codes are serially read out from the RAM 16 through a data bus 24, and supplied to an external hardware device (not shown) through an output port (not shown). Chip select signals CS1 and CS2 , which are generated by the sequencer 31 shown in FIG.7B, are supplied to an AND gate 20, which generates a chip select signal CS applied to the RAM 16. The chip select signal CS1 is supplied to the first, second and third latch circuits 11, 12 and 13. The chip select signal CS2 is supplied to the selector 14 and the ROM 19. Further, the sequencer 31 generates a clear signal CLR supplied to the up counter 17, a load signal LD supplied to the up counter 17, and a clock signal CLK supplied to the up counter 17 and the address counter 18. A description is given of an operation of the embodiment. As indicated in FIG.8, a procedure for decoding the instruction code together with the comparison data #1 and #2 to thereby generate a series of control codes (extended data) consists of three cycles, that is, a data setting cycle CYC1, RAM write cycle CYC2 and control code readout cycle CYC3. In the data setting cycle CYC1, the instruction code OC, and the comparison data CD1 and CD2 are latched in the first, second and third latch circuits 11, 12 and 13 in synchronism with the rise of latch control signals LT1, LT2 and LT3, respectively. The sequencer 31 terminates the data setting cycle CYC1 when a predetermined time has passed. In the RAM write cycle CYC2, control codes of a block are written into the RAM 16. As described previously, the control codes to be written are supplied from the ROM 19 or the host computer 210 (FIG.1). The following description relates to the case where the control codes stored in the ROM 19 are transferred to the RAM 16 and then written therein. It is now assumed that as shown in FIG.5, number indicating data '0003', and control codes '0088', '1020' and '0002' are stored in data storage areas corresponding to addresses '0', '1', '2' and '3', respectively. The data '0003' indicates the number of related control codes which form one block. In the RAM write cycle CYC2, the chip select signal CS2 supplied from the sequencer 31 is changed to a low level, and thus the ROM 19 is selected. In synchronism with the fall of the chip select signal CS2 , the clock signal CLK is made active. Then the control codes and the data indicating the number of the control codes are serially read out from the ROM 19 in accordance with the address data AD10a generated by the address counter 18, and are transferred, as the data DI, to the RAM 16 through the data bus 21, and then written therein. During the RAM write cycle CYC2, the RAM 16 is selected by the chip select signal CS supplied from the AND gate 20, and the selector 14 selects the B-input group. Thus, the address data AD10a supplied from the address counter 18 passes through the selector 14 and is then supplied to the RAM 16. In the above-mentioned manner, as shown in FIG.5, the contents of the ROM 19 are written into the RAM 16 as they are. The sequencer 31 terminates the RAM write cycle CYC2 when a predetermined time has passed. At the commencement of the control code readout cycle CYC3, the sequencer 31 makes the chip select signal CS2 inactive and then makes the chip select signal CS1 made active. Thus the selector 14 selects the A-input group. Thereafter, the sequencer 31 makes the clear signal CLR inactive by setting the same to a high level. At this time, the up counter 17 indicates its count value equal to zero. As described previously, the selector 14 selects the A-input group in the control code readout cycle CYC3. The A-input group terminals are supplied with the address data AD4a, AD2a and AD4b. The address data AD4a relates to the instruction code OC, the address data AD2a relates to the comparison results for the comparison data CD1 and CD2, and the address data AD4b relates to the count value derived from the up counter 17. In the illustrated configuration, the address data AD4a, AD2a and AD4b form high-order address bits, middle-order address bits, and low-order address bits, respectively. Now, the address data AD4b is zero and thus the RAM 16 is accessed by the address data AD4a and AD2a. When the address data AD4a and AD2a obtained at this time is designed to correspond to address '0' of the RAM 16, data '0003' stored in the storage area corresponding to address '0' is read out from the RAM16. That is, data indicating the number of the control codes is output to the data bus 23, and is loaded in the up counter 17 in synchronism with the load signal LD so that the preset address value is written therein. After that, the counter 17 increments the count value one by one in synchronism with the clock signal CLK until the count value becomes equal to the preset address value which indicates the number of the control codes. Thereby, the address data AD4b are renewed one by one, and control codes '0088', '1020' and '0002' are serially read out from the RAM 16 and supplied to the data bus 24. For example, control codes '0088', '1020' and '0002' correspond to control codes #3, #1 and #6 shown in FIG.2, respectively. The features of the aforementioned embodiment of the present invention are summarized below. The address to be supplied to the RAM 16 consists of the address data AD4a which corresponds to the instruction code OC and forms four high-order address bits thereof, the address data AD2a which corresponds to the comparison result obtained by comparison between the comparison data CD1 and CD2 and form two middle-order address bits, and the address data AD4b which is in turn renewed and forms four low-order address bits. A plurality of control codes corresponding to a specific instruction code are arranged in the order of address and stored in the RAM 16. The data corresponding to the first or last address value indicates the number of control codes to be serially read out from the RAM 16. Once the instruction code OC and the comparison data CD1 and CD2 are supplied to the decoder, a series of control codes stored in the RAM 16 is serially read out therefrom in accordance with the address consisting of the address data AD4a, AD2a and AD4b. With the above-mentioned structure, it becomes possible to increase the time it takes to decode the input data including the instruction code OC, and the comparison data CD1 and CD2. Further, the present invention has a high flexibility in operation since a series of control codes (extended data) to be written set in the RAM 16 may be supplied from the ROM 19 or the host computer 200. When the count value in the up counter 17 has reached the preset address value, the counter 17 lets the sequencer 31 (FIG.7B) know the end of counting through a signal line (not shown for the sake of simplicity). Thereby, the sequencer 31 clears the up counter 17 by setting the clear signal CLR to the low level, and makes the chip select signal CS1 inactive. Each of the first, second and third latch circuits 11, 12 and 13 is formed by "F573", and each of the comparators 15a - 15d is formed by "S85", for example. Further, the up counter 17 is formed by "F193", and the RAM 16 is formed by "81C86-55", for example. In this case, the data setting cycle CYC1 takes 200ns (minimum), and the control code readout cycle CYC3 takes 220ns (minimum). If a high-speed microprocessor having a one-cycle of 100ns carries out the same process, it takes 3.6 µs (minimum) to obtain the same series of control codes (extended data). It follows that the configuration shown in FIGS.7A and 7B operates 12 times faster than the conventional configuration shown in FIG.1. FIG.9 is a diagram of an electron beam exposure apparatus embodying the decoder according to the present invention. Referring to FIG.9, the illustrated electron beam exposure apparatus consists of an exposure controller 50 and an electron beam exposure device 70. The exposure controller 50 includes a data memory 54 and a pattern controller 55. The data memory 54 corresponds to the data management device 220 shown in FIG.1. The pattern controller 55 includes the decoder shown in FIGS.7A and 7B according to the embodiment of the present invention. The exposure device 70 is configured as follows. A charged electron beam generating source 74 consists of a cathode electrode 71, a grid electrode 72 and an anode electrode 73. A first slit 75 shapes the charged electron beam into a rectangular shape. A first lens 76 converges the shaped beam. A slit deflector 77 corrects and deflects the converged beam in accordance to a correction/deflection signal S1. A second slit 57 is interposed between the slit deflector 77 and a second lens 78. A third lens 79 is arranged so as to be opposite to the second lens 78 through a third slit 80. Position data signals P1 - P4 are supplied to corresponding deflectors 81 - 84. A blanking gate 85 interrupts or passes the beam in response to a blanking signal S B . A third lens 86 is provided between the blanking gate 85 and an aperture 87. A fourth lens 89 is provided so as to face the third lens 86 through the aperture 87. Further, the exposure device 70 includes a focus coil 90, a sting coil 91, and a fifth lens 92. Furthermore, the exposure device 70 includes a main deflector coil 93 and a sub deflector coil 94 which function to position the beam on a wafer W in an exposure position deciding signals S2 and S3, a stage 95 movable in directions X, Y, and four alignment coils 96 - 99. The exposure controller 50 is configured as follows. A recording device 51 such as a magnetic drum device stores designed data relating to an integrated circuit device which is to be formed on the wafer W. A central processing unit (CPU) 52 serves as a host computer and controls the entire electron beam exposure apparatus. An interface circuit 53 is connected to a bus 66 and passes a variety of information, such as exposure pattern information including instruction codes or exposure position information including comparison data. The data memory 54 serving as the aforementioned data management device 220 (FIG.1) stores the exposure pattern information and exposure position information. The pattern controller 55 includes the aforementioned decoder shown in FIGS.7A and 7B. The pattern controller 55 generates correction data H, pattern data signals P1 - P4 and a control signal for controlling the blanking gate 85. These data are generated using the control codes read out from the RAM 16 (FIG.7A). An amplifier circuit (DAC/AMP) 56, which includes a digital-to-analog converter and an amplifier, generates the correction/deflection signal S1 from the correction data H. A blanking control circuit 58 generates a blanking signal from the control signal supplied from the exposure controller 55 and a signal supplied from a sequence controller 60. The control signal derived from the blanking control circuit 58 passes through an amplifier circuit (DAC/AMP) 59 including a digital-to-analog converter and an amplifier to become the aforementioned blanking signal S B . The sequence controller 60 controls an exposure sequence on the basis of the exposure position information supplied from the interface circuit 53, and generates sequence control signals, which are supplied to the blanking control circuit 58, a stage controller 61 and a deflection control circuit 63. In accordance with the sequence control signal, the stage controller 61 moves a stage 95 on which the wafer W is placed. A laser interferometric measuring machine 62 detects the current position of the stage 95. The deflection control circuit 63 calculates data indicating exposure position on the wafer W on the basis of the sequence signal supplied from the sequence controller 60 and the detected position of the stage 95. In the aforementioned embodiment, comparison data are not limited to the comparison data CD1 and CD2, and an arbitrary number of sets of comparison data can be used. The decoder according to the present invention may be applied to another part of the electron beam exposure apparatus, such as the sequence controller 60. In this application, the sequence controller 60 includes a decoder having the same structure shown in FIGS.7A and 7B, and a sequence of steps of exposure is stored in the RAM 16.

Claims: A decoder comprising : first address generating means (1; 11, 12, 13, 15) for generating a first address (S1) from input data including an instruction code (OC); first storage means (2; 16) having storage areas (D1 - Dn), for storing a plurality of control codes corresponding to said instruction code and indication data indicating the number of said plurality of control codes in said storage areas, said indication data being stored in a storage area indicated by said first address (S1) generated by said first address generating means; and second address generating means for counting down from said number of control codes indicated by said indication data to thereby generate a second address, characterized in that said indication data is stored in either one of the beginning and end storage areas among said storage areas and that said second address generating means (3; 17) is arranged for counting down from said number of control codes indicated by said indication data when the indication data is stored in the end storage area, and arranged for also counting up to said number of control codes indicated by said indication data, when the indication data is stored in the beginning storage area to thereby generate a second address (S2); said plurality of control codes being serially read out from said first storage means in accordance with a first internal address (S3) in which said second address is continously incremented or decremented, and in that the decoder further comprises : internal address generating means (4; 14, 18) for generating an internal address (S3; AD10a) to be supplied to said first storage means, said first address (S1) forming a high-order part of said first internal address (S3), and said second address (S2) forming a low-order part of said first internal address. A decoder as claimed in claim 1, characterized in that the internal address generating means (4; 14) is for generating the first internal address (S3). A decoder as claimed in claim 2, characterized in that said first address generating means (1; 11, 12, 13, 15) generates said first address (S1) from a low-order part of said instruction code (OC). A decoder as claimed in claim 2 or 3, characterized in that said input data includes comparison data (#1, #2; CD1, CD2), and in that said first address generating means (1; 11, 12, 13, 15) comprises first means (11) for generating a high-order part (AD4a) of said internal address (S3) from a low-order part of said instruction code (OC), and second means (12, 13, 15) for generating a middle-order part (AD2a) of said internal address from said comparison data so that said first address (S1) is composed of said high-order part and said middle-order part. A decoder as claimed in claim 4, characterized in that said comparison data includes information on the shape of a pattern to be drawn on a wafer (W) by an electron beam exposure apparatus (70), and information on a starting point on said wafer from which exposure is started and information on the size of said pattern to be drawn. A decoder as claimed in any one of claims 1 to 5, characterized in that said storage areas (D1 - Dn) of said first storage means (2, 16) are arranged in said first storage means so as to correspond to continuous values of said internal address (S3; AD10a). A decoder as claimed in any of claims 1 to 6, characterized in that said indication data and said plurality of control codes are supplied from an external device (52) and then written in said corresponding storage areas (D1 - Dn) before said input data is supplied to said first address generating means (1; 11, 12, 13, 15). A decoder as claimed in any of claims 1 to 7, characterized by further comprising second storage means (19) for storing said indication data and said plurality of control codes, wherein said indication data and said plurality of control codes are read out from said second storage means (19) and then written in said corresponding storage areas (D1 - Dn) before said input data is supplied to said first address generating means. A decoder as claimed in claim 1, characterized in that it further comprises second storage means (19) for storing said plurality of control codes and said indication data to be transferred to said first storage means, and in that the internal address generating means (18) is for generating a second internal address (AD10a) which is to be supplied to said first and second storage means. A decoder as claimed in claim 9, characterized in that said internal address generating means comprises selecting means (4; 14), and in that said decoder has a write cycle (CYC2) in which said selecting means (4; 14) passes said second internal address (AD10a) and supplies said first storage means (2; 16) with the same, and said control codes and said indication data are read out from said second storage means (19) in accordance with said second internal address (AD10a) and are then written into said first storage means (2; 16) in accordance with said second internal address, and a read cycle (CYC3) in which said selecting means (4, 14) passes said first internal address (S3) so that said plurality of control codes are serially read out from said first storage means in accordance with said first internal address (S3) in which said second address (S2) is continuously incremented or decremented. A decoder as claimed in claim 10, characterized in that said first internal address (S3) has the same address value as said second internal address (AD10a) for each of said control codes, and said first internal address has the same address value as said second internal address for said indication data. A decoder as claimed in any of claims 9 to 11, characterized in that said first address (S1) forms a high-order part of said first internal address (S3), and said second address (S2) forms a low-order part of said first internal address. A decoder as claimed in any of claims 9 to 12, characterized in that said first address generating means (1; 11, 12, 13, 15) generates said first address (S1) from a low-order part of said instruction code (OC). A decoder as claimed in any of claims 9 to 13, characterized in that said input data includes comparison data (#1, #2; CD1, CD2), and in that said first address generating means (1; 11, 12, 13 ,15) comprises first means (11) for generating a high-order part (AD4a) of said first internal address (S3) from a low-order part of said instruction code (OC), and second means (11, 12) for generating a middle-order part (AD2a) of said first internal address from said comparison data so that said first address is composed of said high-order part and said middle-order part. A decoder as claimed in claim 14, characterized in that said comparison data (#1, #2; CD1, CD2) includes information on the shape of a pattern to be drawn on a wafer (W) by an electron beam exposure apparatus (70), and information on a starting point on said wafer from which exposure is started and information on the size of said pattern to be drawn. A decoder as claimed in any of claims 9 to 15, characterized in that said storage areas (D1 - Dn) of each of said first and second storage means (2, 16; 19) are arranged in said storage means so as to correspond to continuous values of each of said first and second internal address (AD4a, AD2a, AD4b; AD10a). A decoder as claimed in any of claims 9 to 16, characterized in that said first storage means (2, 16) includes a random access memory (16), and said second storage means (19) includes a read only memory (19). A decoder as claimed in any of claims 9 to 17, characterized in that said first address generating means (1) includes latch means (11) for latching a low-order part of said instruction code (OC). A decoder as claimed in claim 14 or claim 15, characterized in that said second means (12, 13, 15) includes a comparator (15a - 15d) which mutually compares said comparison data (#1, #2; CD1, CD2). A decoder as claimed in claim 19, characterized in that said middle-order part (AD2a) of said first internal address is based on the comparison results supplied from said comparator (15).

Inventors: FUEKI SHUNSUKE, FUEKI, SHUNSUKE
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1989
Main classification: G06T1
IPC codes: G06F9, G06T11