the present invention is directed to a device and method for simply generating a quasi - orthogonal code mask value using a bent function ( see , macwilliams and sloane , the theory of error - correcting code ). in the prior art ( korea application patent no . 97 - 47257 ), a quasi - orthogonal code mask is a kasami sequence resulting from x - oring two pn sequences . the kasami sequence can be expressed as a set of two - bent function combinations . accordingly , a quasi - orthogonal code mask value is expressed as a set of two - bent function combinations and implemented using hardware as set forth in the present invention . for masks of quasi - orthogonal sequences with a length of 64 bits , for example , the appropriate bent functions are listed in table 1 . the bent functions shown in table 1 are produced based on a rule . that is , for quasi - orthogonal sequences with length 64 = 2 6 , one 0 and one 1 ( 2 0 = 1 ) alternate in bent function x 1 , two consecutive 0s and is 1s ( 2 1 = 2 ) alternate in bent function x 2 , four consecutive 0s and 1s ( 2 2 = 4 ) alternate in bent function x 3 , eight consecutive 0s and 1s ( 2 3 = 8 ) alternate in bent function x 4 , sixteen consecutive 0s and 1s ( 2 4 = 16 ) alternate in bent function x 5 , and thirty two consecutive 0s and 1s ( 2 5 = 32 ) alternate in bent function x 6 . each of the above bent functions x 1 to x 6 are repeated until a length of 64 is reached . in light of the foregoing , eight bent functions are needed to produce quasi - orthogonal sequences with length 256 = 2 8 . these bent functions can be generated by repeating each of the six bent functions shown in table 1 four times to reach the desired length of 256 , and adding bent functions x 7 and x 8 . bent function x 7 is generated by alternating 64 consecutive 0s and 1s and bent function x 8 is generated by alternating 128 consecutive 0s and 1s , each sequence being repeated until a length of 256 is reached . for the quasi - orthogonal sequences with a length of 64 , the masks m 1 , m 2 , and m 3 are calculated by applying the formulas of table 2 to the bent functions x 1 to x 6 of table 1 . the results of these calculations are shown in table 3 . for example , the mask m 1 is produced by entering the bent functions x 1 to x 6 , each having 64 binary values , into the m 1 generation formula of table 2 . hence , the masks can be expressed as sets of two - bent function combinations . the mask generation formulas shown in table 4 are obtained using the following procedure . assuming that a bent function ƒ ( ν 1 , . . . , ν k ), with k variables , is given , there are only two boolean functions ƒ 1 ( ν 1 , . . . , ν k − 1 ) and ƒ 2 ( ν 1 , . . . , ν k − 1 ) each having ( k − 1 ) variables which satisfy the equation below . ƒ ( ν 1 , . . . , ν k )= ƒ 1 ( ν 1 , . . . , ν k − 1 )+ ν k ( ƒ 1 ( ν 1 , . . . , ν k − 1 )+ ƒ 2 ( ν 1 , . . , ν k − 1 )) then , a sequence function having a period 2 m can be expressed in terms of a period 2 m − 1 sequence function which , in turn , can be expressed in terms of a sequence function having a period 2 m − 2 . the period 2 m sequence function expression can be achieved by repeating this procedure m − 1 times . to produce a set of two - bent function combinations for a length - 8 quasi - orthogonal code mask of 00010111 , 00 and 01 of length 2 in the first half term ( 0001 ) can be expressed as 0 and x 1 , respectively , in the first - order bent , and then the term 0001 of length 4 become 0 + x 2 x ( 0 + x 1 )= x 1 x 2 in the second - order bent . 01 and 11 of length 2 in the last half term ( 0111 ) are expressed as x 1 and 1 , respectively , in the first - order bent , and then the term 0111 of length 4 becomes x 1 + x 2 x ( x 1 + 1 )− x 1 + x 2 + x 1 x 2 in the second - order bent . then , the entire mask function 00010111 is defined as x 1 x 2 + x 3 x ( x 1 x 2 + x 1 + x 2 + x 1 x 2 )= x 1 x 2 + x 3 x ( x 1 + x 2 )= x 1 x 2 + x 1 x 3 + x 2 x 3 . the scheme of expressing a mask function as a set of two - bent function combinations can be implemented using the following algorithm ( for providing a boolean function expression ): complex quasi - orthogonal code can be expressed as sign and phase parts . similarly , sign components of a complex quasi - orthogonal code mask can be expressed as a set of two - function combinations . table 6 and table 8 show sets of two - bent function combinations for sign components of a complex quasi - orthogonal code mask with length 256 as shown in table 5 and sign components of a complex quasi - orthogonal code mask with length 512 as shown in table 7 , respectively . fig2 is a block diagram of a device for generating quasi - orthogonal code masks using bent functions according to an embodiment of the present invention . here , quasi - orthogonal code masks have a length of 64 , by way of example . referring to fig2 a binary counter 110 outputs six counter signals x 1 to x 6 corresponding to the bent functions . the waveforms of the counter signals are illustrated in fig3 . a clock signal is input into the binary counter &# 39 ; s 110 clock input clk as a reference , and the following outputs are generated by the binary counter 110 : a first counter signal x 1 , with a pulse width twice that of the reference clock signal ; a second counter signal x 2 with a pulse width twice that of the first counter signal x 1 , a third counter signal x 3 with a pulse width twice that of the second counter signal x 2 , a fourth counter signal x 4 with a pulse width twice that of the third counter signal x 3 , a fifth counter signal x 5 with a pulse width twice that of the fourth counter signal x 4 , and a sixth counter signal x 6 with a pulse width twice that of the fifth counter signal x 5 . an and gate 120 outputs signal y 12 resulting from the input of the first and second counter signals x 1 and x 2 . an and gate 121 outputs signal y 13 resulting from the input of the first and third counter signals x 1 and x 3 . an and gate 122 outputs signal y 15 resulting from the input of the first and fifth counter signals x 1 and x 5 . an and gate 123 outputs signal y 16 resulting from the input of the first and sixth counter signals x 1 and x 6 . an and gate 124 outputs signal y 23 resulting from the input of the second and third counter signals x 2 and x 3 . an and gate 125 outputs signal y 24 resulting from the input of the second and fourth counter signals x 2 and x 4 . an and gate 126 outputs signal y 25 resulting from the input of the second and fifth counter signals x 2 and x 5 . an and gate 127 outputs signal y 26 resulting from the input of the second and sixth counter signals x 2 and x 6 . an and gate 128 outputs signal y 34 resulting from the input of the third and fourth counter signals x 3 and x 4 . an and gate 129 outputs signal y 35 resulting from the input of the third and fifth counter signals x 3 and x 5 . an and gate 130 outputs signal y 45 resulting from the input of the fourth and fifth counter signals x 4 and x 5 . an and gate 131 outputs signal y 46 resulting from the input of the fourth and sixth counter signals x 4 and x 6 . an and gate 132 outputs signal y 56 resulting from the input of the fifth and sixth counter signals x 5 and x 6 . an xor gate 140 outputs the mask sequence m 1 by x - oring signals y 12 , y 13 , y 23 , y 34 , y 15 , and y 46 . an xor gate 141 outputs the mask sequence m 2 by x - oring signals y 12 , y 13 , y 34 , y 25 , y 35 , y 26 , y 46 , and y 56 . an xor gate 142 outputs the mask sequence m 3 by x - oring signals y 12 , y 24 , y 34 , y 15 , y 45 , y 16 , and y 56 . in operation , the binary counter 110 generates the six signals representing the bent functions shown in table 1 . model 74hc161 may be employed as a suitable binary counter 110 , however , other suitable binary counters may be employed . as stated above , using the input of the first and second counter signals x 1 and x 2 , the and gate 120 produces signal y 12 which represents a sequence x 1 x 2 which is used in the masks m 1 , m 2 , and m 3 . similarly , using the input of the first and third counter signals x 1 and x 3 , the and gate 121 produces signal y 13 which represents a sequence x 1 x 3 which is used in the masks m 1 and m 2 . in this manner , the and gates 120 to 132 operate to produce their respective signals , which are combined in appropriate combinations to generate mask sequences m 1 , m 2 and m 3 using xor gates 140 , 141 , and 142 , respectively . accordingly , the input of y 12 (= x 1 x 2 ), y 13 (= x 1 x 3 ), y 23 (= x 2 x 3 ), y 24 (= x 2 x 4 ), y 15 (= x 1 x 5 ), and y 46 (= x 4 x 6 ), the xor gate 140 generates the mask sequence m 1 according to the formula for the mask m 1 in table 2 . in the same manner , for the input of y 12 (= x 1 x 2 ), y 13 (= x 1 x 3 ), y 34 (= x 3 x 4 ), y 25 (= x 2 x 5 ), y 35 (= x 3 x 5 ), y 26 (= x 2 x 6 ), y 46 (= x 4 x 6 ), and y 56 (= x 5 x 6 ), the xor gate 141 generates the mask sequence m 2 , and for the input of y 12 (= x 1 x 2 ), y 24 (= x 2 x 4 ), y 34 (= x 3 x 4 ), y 15 (= x 1 x 5 ), y 45 (= x 4 x 5 ), y 16 (= x 1 x 6 ), and y 56 (= x 5 x 6 ), the xor gate 142 generates the mask sequence m 3 . quasi - orthogonal codes with a length of 128 are generated in the same manner as the quasi - orthogonal codes with a length of 64 . similarly , a length - 256 quasi - orthogonal mask generating device can be achieved by controlling the binary counter to produce clock signals of the intended length and configuring and gates corresponding to the terms shown in table 4 . table 6 and table 8 illustrate how the sequences of table 5 and table 7 , respectively , which correspond to the sign component of the complex quasi - orthogonal code mask , can be expressed as a set of two - function combinations , similar to the binary quasi - orthogonal sequences of table 3 . accordingly , in the case of the quasi - orthogonal sequences with length 256 , the operators are constituted using the formulas of table 6 , thereby embodying the quasi - orthogonal mask generating device . also , in the case of the quasi - orthogonal sequences with length 512 , the operators are constituted using the formula of table 8 , thereby embodying the quasi - orthogonal mask generating device . fig4 a and 4b and 5 a and 5 b are block diagrams illustrating devices for generating quasi - orthogonal code masks using bent functions according to the present invention . fig4 a and 4b illustrate a device including a binary counter 210 for outputting eight counter signals x 1 to x 8 for generating length - 256 quasi - orthogonal masks , and fig5 a and 5b illustrate a device including a binary counter 310 for outputting nine counter signals x 1 to x 9 for generating length - 512 quasi - orthogonal masks . because the operation of these devices is the same as a the device illustrated in fig2 which has already been described above , no additional description will be given here . as described above , the present invention is advantageous in that quasi - orthogonal mask sequences are easily produced by implementing them using simple hardware . while the present invention has been described in detail with reference to the specific embodiment , it is a mere exemplary application . thus , it is to be clearly understood that many variations can be made by anyone of ordinary skill in the art while staying within the scope and spirit of the present invention as defined by the appended claims .