Series parallel converter including pseudorandom noise generation

Abstract: The invention provides a circuitry with a pseudorandom noise generative function (1) comprising a shift register (11) for converting serial data into parallel data, an exclusive OR gate (13) being electrically connected to the shift register (11) for fetching outputs from the shift register(13), the exclusive OR gate (13) supplying exclusive ORed data to the shift register (11) for use of generating a pseudorandom noise and a switch (14, 15) being electrically connected to a data line (112) transmitting serial digital data to be processed therein and an output of the exclusive OR gate (13) for fetching the digital data and the exclusive ORed data respectively to select the serial digital data or the exclusive ORed data in response to a selective signal, the switch (14, 15) being electrically connected to the shift register (11) for supplying the serial digital data or the exclusive ORed data to the shift register (11), thereby selecting a normal processing mode for the digital data or a pseudorandom noise generative mode for the exclusive ORed data.

Description: The present invention relates to a circuitry with a pseudo-random noise generative function, according to the opening portion of claim 1, and to a digital signal processing circuit, according to the opening portion of claim 6. It is necessary to use a pseudorandom noise for a predetermined process in a signal processing unit processing a time series digital data, in addition to processing a normal input data. In the field of audio units, there are applications such as the Dolby pro-logic to be obligated to have the pseudo-random noise generative function for setting up an output level of peripheral equipments such as speakers. From EP-A1-498 534 an artificial random-number pattern generating circuit is known which can be used for a pseudorandom noise generation. This document discloses a circuitry with a pseudo random noise generative function comprising a shift register and having an exclusive OR gate being electrically connected to said shift register for fetching outputs from said shift register, said exclusive OR gate having two inputs being electrically connected to said shift register for receipt of a most significant bit and a second bit from said most significant bit of said shift register, respectively and supplying exclusive ORed data to said shift register for use of generating a pseudo random noise and a switch being electrically connected to a data line transmitting serial digital data to be processed therein and an output of said exclusive OR gate for fetching said digital data and said exclusive ORed data respectively to select said serial digital data or said exclusive ORed data in response to a selective signal, said switch being electrically connected to said shift register for supplying said serial digital data or said exclusive ORed data to said shift register, thereby selecting a boundary scanning buffering processing mode or a pseudo random number generation mode. However, it would be desirable to provide a better adaptability to the needs of digital signal processing. From EP-A2-196 152 a method for testing digital integrated circuits is known. This method also uses a pseudo-random number generator. The proposed method is intended for testing PLAs. A linear feedback shift register has been well known as the pseudorandom noise generative unit and disclosed in the Japanese laid-open publications Nos. 63-82014 and 63-250210. The linear feedback shift register comprises a circuit in which flip-flops are serially connected to compose a shift register and some outputs of the flip-flops are fed back to an input of the shift register through an exclusive OR gate. An n-bits linear feedback shift register generates an M series pulse, the pseudorandom noise, having a cycle of N (≤2 n -1). Fig. 1 shows an example of a 4 bits linear feedback shift register. When an initial state of the linear feedback shift register is (Q 1 Q 2 Q 3 Q 4 ) = (1000), the outputs of each flip-flop are changed as shown in Fig. 1 and the outputs of them also return to the initial state when the 15th clock arrives in each flip-flop. In this case, the output patterns of each flip-flop are pseudorandom patterns having a maximum length (N = 15) which may be generated by the 4-bits linear feedback shift register. There are two types of the conventional digital signal processing circuit with the pseudorandom noise generative function. One is provided with the linear feedback shift register for generation of the pseudorandom noise as the another circuit and the other one uses its arithmetic and logic circuit (ALU) and the shift register to generate the pseudorandom noise in part of an arithmetic processing without using the linear feedback shift register. The conventional digital signal processing circuits with the pseudorandom noise generative function are, however, engaged with a disadvantage as follows. In the former, it is necessary to have hardware resources such as the linear feedback shift register and the like. Thus, a scale of the circuit is made larger because of an addition of the hardware resources. On the contrary, the hardware resources added to the circuit are not used in the normal digital signal processing mode which is not necessary to use the pseudorandom noise at all. In addition, a data input port of the digital signal processing circuit must be changed to connect with an output of the linear feedback shift register for fetching the pseudorandom noise data to be processed from the linear feedback shift register, for which it is required to change a processing sequence of the digital signal processing circuit. In the latter, the number of the steps for processing the data is increased since the pseudorandom noise generative process is added to the normal input data process. Thus, an ability of the processing unit is remarkably decreased when the time series digital data such as the audio data is processed by a real-time processing. Accordingly, it is an object of the invention to provide a novel digital signal processing circuit with a pseudorandom noise generative function. It is a further object of the invention to provide a novel digital signal processing circuit with a pseudorandom noise generative function which has a simple component and can be easily controlled. It is a still further object of the invention to provide a novel digital signal processing circuit with a pseudorandom noise generative function which can prevent a scale of a circuit from making larger. It is a still further object of the invention to provide a novel digital signal processing circuit with a pseudorandom noise generative function which can prevent a program from being complicated and an ability of processing of a processing unit from decreasing. The above and other objects, features and advantages of the present invention will be apparent from the following descriptions. In accordance with the invention, there is provided a circuitry with a pseudorandom noise generative function as defined in independant claim 1. Further embodiments of the invention are specified in the appended dependent claims. Preferred embodiments of the present invention will hereinafter fully be described in detail with reference to the accompanying drawings in which: Fig. 1 is a block diagram showing a linear feedback shift register; Fig. 2 is a block diagram showing a digital signal processing circuit of an embodiment according to the invention; Fig. 3 is a time chart showing a process of a normal input data in a digital signal processing circuit of an embodiment according to the invention; and Fig. 4 is a time chart showing a process of a pseudorandom noise in a digital signal processing circuit of an embodiment according to the invention. An embodiment according the invention will be described with reference to the drawings. Fig. 2 shows a digital signal processing circuit with a pseudorandom noise generative function. The digital signal processing circuit as shown in Fig. 2 deals with, for instance, digital data of one word comprising 16 bits which is typically used as audio data. The digital signal processing circuit comprises a first data conversion circuit 1 switching to a normal input data processing mode or a pseudorandom noise generation mode for setting up an output level of peripheral equipments such as speakers depending on a selective signal and converting the input or the pseudorandom noise data from a serial to a parallel, an arithmetic circuit 3 being electrically connected to the first data conversion circuit 1 for processing the input data or the pseudorandom noise data and a second data conversion circuit 2 being electrically connected to the arithmetic circuit 3 and converting the data processed by the arithmetic circuit 3 from parallel to serial to supply it to the next stage. The first digital conversion circuit 1 comprises a 16-bits shift register 11 converting a data to be supplied from serial to parallel, a data latch 12 for fetching an output parallel data from the shift register 11, an exclusive OR gate 13 operating on two input signals from predetermined bits of the shift register 11 to produce its output data, a first multiplexer 14 selecting an input data such as the audio data or an output data from the exclusive OR gate 13 to supply its output data to the shift register 11 and a second multiplexer 15 selecting a bit clock "CP" or a word clock "CK" to supply its output to the shift register 11. The word clock "CK" shows an end of one-word (16 bits) and a sampling frequency and the bit clock "CP" shows a bit position of each word. In more detail, the first multiplexer 14 is electrically connected to a data line 112 to fetch an input data "D" from a source and a data line 115 to fetch a data "C" from the exclusive OR gate 13. The first multiplexer 14 is also electrically connected to a data line 118 to fetch a selective signal "S" from the data line 118 for selection of the input data "D" or the pseudorandom noise data "C". The first multiplexer 14 is further electrically connected to a data line 119 to supply the selected data to the shift register 11. The second multiplexer 15 is electrically connected to a data line 110 to fetch the word clock "CK" from the data line 110 and a data line 111 to fetch the bit clock "CP" from the data line 110. The second multiplexer 15 is also electrically connected to a data line 118 to fetch the selective signal "S" for selection of the word clock "CK" or the bit clock "CP". The second multiplexer 15 is further electrically connected to a data line 112 to supply the selected data to the shift register 11 depending on the selective signal "S". The shift register 11 is electrically connected to the data line 119 to fetch the selected data from the first multiplexer 14 and to the data line 120 to fetch the selected clock from the second multiplexer 15. In the shift register 11, the data are continuously shifted to each bit of the shift register 11 synchronizing with the bit clock "CP" or the word clock "CK". The shift register 11 is also electrically connected to a data line 113 to supply the shifted data to the data latch 12. The exclusive OR gate 13 has two inputs connected to data lines 116 and 117 to fetch the data "d" and "e" from the 16th bit and 15th bit of the shift register. The exclusive OR gate 13 is also connected to a data line 115 to supply its output data "c" to the first multiplexer 14. The data latch 12 is electrically connected to the data line 110 to fetch the word clock "CK" from the data line 110. The data latch 12 is also electrically connected to the data line 113 to fetch the data "a" converted from the serial to the parallel from the shift register 11 synchronizing with the word clock "CK". The data latch 12 is further electrically connected to a data line 114 to supply the data "b" to the arithmetic circuit 3. The second data conversion circuit 2 comprises a data latch 22 for fetching an output data from the arithmetic circuit 3 and a shift register 21 for converting an output data of the data latch 22 from parallel to serial to supply its output signal to the next stage. In more detail, the data latch 22 is electrically connected to a data line 210 to fetch the data "h" from the arithmetic circuit 3 and a data line 211 to supply its output data "i" to the shift register 21. The shift register is electrically connected to the data line 110 to fetch the word clock from the data line 110 and to the data line 111 to fetch the bit clock "CP" from the data line 111. The shift register 21 is also electrically connected to the data line 211 to fetch the data "i" from the data latch 22 synchronizing with the word clock "CK". The data "i" are shifted each bit of the shift register 21 synchronizing with the bit clock "CP". The shift register is further electrically connected to a data line 212 to supply its output data "DO" converted into a time series data to the next stage. The above digital signal processing circuit typically uses a serial data transmission system in transmitting the audio data and a three-line-type interface consisting of the three transmission lines of the word clock "CK", the bit clock "CP" and the data "D". For processing the data such as the audio data, the audio data processing is typically carried out, in which the digital signal processing circuit fetches the data which is currently transmitting on the transmission line, the data is made a predetermined processing by the digital signal processing circuit in accordance with, for instance, a pipeline processing and is supplied to the next stage by synchronization with the word clock "CK" and the bit clock "CP". Fig. 3 shows a time chart of processing a normal input data such as the audio data in the digital signal processing circuit. In operation, when the selective signal "S" is a low level (0), the first data conversion circuit becomes the serial-parallel conversion mode for processing a normal input data "D". According to the low level of the selective signal "S", the first multiplexer 14 selects the data line 112 and the second multiplexer 15 selects the data line 111. Therefore, the data "D" is supplied to the first bit of the shift register 11 through the first multiplexer 14 synchronizing with the bit clock "CP" supplied from the data line 111. Next data "D" is also continuously supplied to the shift register 11 and shifted into the next bit of the shift register 11. The data "a" in the shift register 11 are supplied to the data latch 12 when the word clock "CK" showing that the shift register 11 is filled with the data "D" is supplied to the data latch 12 from the data line 110. In the operation, the data "D" are converted from the serial to the parallel. The data "b" supplied from the shift register 11 is also supplied to the arithmetic circuit 3. In the arithmetic circuit 3, the data "b" is processed during the sampling cycle, namely, until the next data "a" is supplied from the shift register 11 to the data latch 12. When the processing of the data in the arithmetic circuit 3 finishes, the data "h" processed by the arithmetic circuit 3 is supplied to the data latch 22. Subsequently, the output data "i" of the data latch 22 is supplied to the shift register 21 synchronizing with the word clock "CK". Each of data is shifted into the next bit of the shift register 21 to be supplied to the next stage as the output data "DO". In such operation of the shift register 21, the data "i" is converted from the parallel to the serial. This process in the digital signal processing circuit continues. As explained above, the time series digital data are processed for obtaining predetermined data by the arithmetic circuit 3 in accordance with the pipeline processing, after which the processed data are supplied to the data line 212 to achieve the real-time processing. Fig. 4 shows a time chart of processing a pseudorandom noise in the digital signal processing circuit. In operation, when the selective signal "S" is a high level (1), the first data conversion circuit becomes the pseudorandom noise generation mode for setting up, for example, an output level of peripheral equipments such as speakers. This pseudorandom noise generation mode is selected when it is required to set up the output level of the peripheral equipment. The first multiplexer 14 selects the data line 115 and the second multiplexer 15 selects the data line 110. Therefore, an input data of the shift register 11 is data which are taken an exclusive OR to the data "d" of the most significant bit (the 16th bit) and the data "e" of the bit next to the most significant bit (the 15th bit) therein. Also, since the shift clock of the shift register 11 is changed from the bit clock "CP" to the word clock "CK", the shift operation of the shift register 11 is carried out for every sampling cycle (1 word). Namely, the data "a" in the shift register 11 is supplied to the data latch 12 simultaneously with shifting the data in the shift register 11 every the sampling cycle. Therefore, the data supplied to the data latch 12 have already come into a time series pseudorandom noise data. The data "b" in the data latch 12 is supplied to the arithmetic circuit 3. In the arithmetic circuit 3, the data "b", the pseudorandom noise, is processed as the same the processing of the normal input data processing mode as explained above. Subsequently, the data "h" processed by the arithmetic circuit 3 is supplied to the data latch 22. When the word clock "CK" arrives in the shift register 21, the data "i" is supplied from the data latch 22 to the shift register 21. The data "i" supplied to the shift register 21 are shifted into the bit therein synchronizing with the bit clock "CP" and supplied to the next stage as the output data "DO". In such operation, the pseudorandom data processed by the arithmetic circuit 3 is converted from the parallel to the serial in the second data conversion circuit 2. The output data "DO" is utilized to set up the peripheral equipments such as the speakers. As explained above, it is easily possible to process the pseudorandom noise for setting up the level of the peripheral equipment such as the speakers, when it is required to set them up. In the above embodiment, the digital signal processing circuit can easily be switched between the normal input data processing mode and the pseudorandom noise processing mode in the same component. Accordingly, the digital signal processing circuit can prevent a scale of a circuit from making larger. Also, it is not necessary to use a complicated program for control of the digital signal processing circuit. Thus, the ability of processing of the circuit can be brought out according to the above component. Further, it may be changed to connect inputs of the exclusive OR gate 13 with the 16th and the 15th bits of the shift register 11 if the pseudorandom noise were obtained. Whereas modifications of the present invention will no doubt be apparent to a person of ordinary skilled in the art to which the invention pertains, it is to be understood that the embodiments shown and described by way of illustration are by no means intended to be considered in a limiting sense. Accordingly, it is to be intended by the claims to cover all modifications of the invention which fall within the scope of the invention, as defined in the appended claims.

Claims: A circuitry with a pseudorandom noise generative function comprising: a shift register (11) for converting serial data into parallel data, said shift register (11) shifting said serial data in synchronism with a bit clock indicating a respective position of bits of a word in said serial data, and converting said serial data into said parallel data in synchronism with word clocks indicating ends of every word in said serial data; an exclusive OR gate (13) electrically connected to said shift register (11) for fetching outputs from said shift register (11), said exclusive OR gate (13) supplying exclusive ORed data to said shift register (11) for use in generating pseudorandom noise; generating pseudorandom noise; a switch (14) electrically connected to a data line (112) transmitting serial digital data to be processed therein and an output of said exclusive OR gate (13) for fetching said digital data and said exclusive ORed data respectively to select one of said serial digital data and said exclusive ORed data in response to a selective signal, said switch (14) being electrically connected to said shift register (11) for supplying said one of said serial digital data and said exclusive ORed data to said shift register (11), thereby selecting one of a normal processing mode for said digital and a pseudorandom noise generative mode for said exclusive ORed data, said switch (14) comprising a first switch (14) electrically connected to an input said shift register (11), said output of said exclusive OR gate (13) and said data line (112) of said serial digital data for selecting said one of said serial digital data and said exclusive ORed data in response to said selective signal to supply said serial data to said shift register (11); and a second switch (15) electrically connected to a data line (110) of said bit clock, a data line (111) of said word clock and clock inputs of said shift register (11) for selecting one of said bit clock and said word clock to supply to said clock inputs in response to said selective signal. A circuitry with a pseudorandom noise generative function according to claim 1, wherein said exclusive OR gate (13) comprises two inputs electrically connected to said shift register (11) for receipt of a most significant bit and a second bit from said most significant bit of said shift register (11) respectively. A circuitry with a pseudorandom noise generative function according to one of the preceding claims, wherein said first switch (14) selects said digital data upon receipt of said selective signal ordering said normal processing mode, while said first switch (14) selects said exclusive ORed data upon receipt of said selective signal ordering said pseudorandom noise generative mode. A circuitry with a pseudorandom noise generative function according to one of the preceding claims, wherein said second switch (15) selects said bit clock upon receipt of said selective signal ordering said normal processing mode, while said second switch (15) selects said word clock upon receipt of said selective signal ordering said pseudorandom noise generative mode. A circuitry with a pseudorandom noise generative function according to one of the preceding claims, wherein said first and second switches (14, 15) comprise multiplexers. A digital signal processing circuit having a circuitry with a pseudorandom noise generative function according to claim 1, characterized by: an arithmetic circuit being electrically connected to said shift register (11) for fetching said parallel data from said shift register (11) and performing arithmetic on said parallel data; and a second shift register (21) being electrically connected to said arithmetic circuit for fetching said parallel data from said arithmetic circuit and for converting said parallel data into serial data as output data. A digital signal processing circuit according to claim 6, wherein said exclusive OR gate (13) has two inputs being electrically connected to said shift register (11) for receipt of a most significant bit and a second bit from said most significant bit of said shift register (11) respectively. A digital signal processing circuit according to one of the claims 6 and 7, wherein said first and second switches (14, 15) comprises multiplexers. A digital signal processing circuit comprising a circuitry with a pseudorandom noise generative function according to claim 1, characterized by: a first data line (112) for transmitting serial digital data to be processed thereto; a second data line (111) for transmitting a bit clock showing a respective position of bits of a word in said serial data thereto; a third data line (110) for transmitting word clocks showing ends of every words in said serial data; a forth data line (118) for transmitting a selective signal for selecting a normal processing mode or a pseudorandom noise generative mode; said first switch (14) being a first multiplexer (14) electrically connected to said first data line (112) and an output of said exclusive OR gate (13) for fetching said serial digital data and said exclusive ORed data respectively, said first multiplexer being electrically connected to an input of said shift register (11) and said fourth data line for selecting said serial digital data or said exclusive ORed data to supply it to said shift register (11) in response to a selective signal; said second switch (15) being a second multiplexer (15) electrically connected to said second and third data lines (111, 110) for fetching said bit clock and said word clock respectively, said second multiplexer being electrically connected to clock inputs of said shift register (11) and said fourth data line for selecting said bit clock or said word clock to supply it to clock inputs of said shift register (11) in response to a selective signal; an arithmetic circuit being electrically connected to said shift register (11) for fetching said parallel data from said shift register (11) and performing arithmetic on said parallel data; and a second shift register (21) being electrically connected to said arithmetic circuit for fetching said parallel data from said arithmetic circuit, said second n-bits shift register (11) converting said parallel data into serial data synchronizing with said word clock and shifting said serial data into next bit respectively synchronizing with said bit clock.

Inventors: ISHIDA RYUJI, ISHIDA, RYUJI, ISHIDA, RYUJI, C/O NEC CORPORATION
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1994
Main classification: G06F7
IPC codes: G06F7, H03M9, H03K3