Semiconductor device
By introducing a pulse generation circuit and a delay circuit into a semiconductor device to generate a clock signal, and controlling the signal generation circuit through a gate circuit, the problem of dependence on clock signals and frequency-accurate oscillators in the prior art is solved, and simplified design and reduced cost are achieved. Cost-effective serial-to-parallel conversion circuit.
Patent Information
- Application Number
- CN202410227254.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-09
- Filing Date
- 2024-02-29
- Publication Date
- 2024-09-10
AI Technical Summary
The existing serial-to-parallel conversion circuit requires a clock signal on the receiving side and an oscillator with accurate frequency, resulting in complex design and increased cost.
A semiconductor device is designed, including an input terminal, a pulse generation circuit and a serial-to-parallel conversion circuit. A clock signal is generated through a delay circuit, avoiding dependence on the clock signal line, and the signal generation circuit is controlled through a gate circuit to achieve frequency accuracy without the need for of oscillators.
A serial-to-parallel conversion circuit that does not require a clock signal line and a frequency-accurate oscillator is implemented, reducing design complexity and cost and providing an efficient solution.
Smart Images

Figure CN118631218A
Abstract
Description
Technical Field
[0001] The present invention relates to a semiconductor device having a serial-parallel conversion circuit. Background Art
[0002] As the signal input section of the serial-to-parallel conversion circuit, there are known clock synchronous input circuits and asynchronous input circuits.
[0003] [Prior art literature]
[0004] [Patent Document]
[0005] [Patent Document 1] Japanese Patent Application Laid-Open No. 8-204582 Summary of the invention
[0006] [Problems to be solved by the invention]
[0007] The clock synchronous input circuit has the following characteristics: in addition to the signal line for sending information, a signal line for sending the clock signal is also required, but a clock oscillator with accurate frequency is not required on the receiving side (serial-to-parallel conversion circuit side). The asynchronous input circuit has the following characteristics: a signal line for sending the clock signal is not required, but a clock oscillator with accurate frequency is required on the receiving side.
[0008] An object of the present invention is to provide a semiconductor device having a serial-to-parallel conversion circuit that does not require a signal line for transmitting a clock signal and does not require an oscillator with an accurate frequency.
[0009] [Technical means to solve the problem]
[0010] The semiconductor device of the present invention is constructed as follows: it includes an input terminal, a pulse generating circuit, and a serial-to-parallel conversion circuit, the input terminal is connected to the data input terminal of the serial-to-parallel conversion circuit and the input terminal of the pulse generating circuit, the signal input to the input terminal is a start bit and a data signal, the pulse generating circuit has a delay circuit, and the output terminal of the pulse generating circuit is connected to the clock signal input terminal of the serial-to-parallel conversion circuit.
[0011] [Effects of the Invention]
[0012] According to the present invention, a semiconductor device having a serial-to-parallel conversion circuit that does not require a signal line for transmitting a clock signal and does not require an oscillator with a precise frequency can be provided. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a block diagram of a semiconductor device according to a first embodiment of the present invention.
[0014] Figure 2 This is a timing chart of the semiconductor device according to the first embodiment of the present invention.
[0015] Figure 3 It is a circuit diagram of a serial-to-parallel conversion circuit according to a first embodiment of the present invention.
[0016] Figure 4 It is a circuit diagram of a gate circuit control signal generating circuit according to a first embodiment of the present invention.
[0017] Figure 5 This is a timing chart of the gate circuit control signal generating circuit according to the first embodiment of the present invention.
[0018] Figure 6 This is a circuit diagram of a one-shot pulse generating circuit according to a first embodiment of the present invention.
[0019] Figure 7 is a circuit diagram of a delay circuit according to a first embodiment of the present invention.
[0020] Figure 8 It is a block diagram of a semiconductor device according to a second embodiment of the present invention.
[0021] Fig. 9 This is a timing chart of the semiconductor device according to the second embodiment of the present invention.
[0022] [Explanation of Symbols]
[0023] 1: Semiconductor devices
[0024] 2: Single-shot pulse generation circuit
[0025] 3: Gate circuit control signal generation circuit
[0026] 4: Serial-to-parallel conversion circuit
[0027] 5: Fuse circuit
[0028] 6: Gate circuit
[0029] 7: Input terminal
[0030] 8: Delay circuit
[0031] 21: One-shot pulse generation circuit input terminal
[0032] 22: One-shot pulse generation circuit clock signal output terminal
[0033] 31: Gate circuit control signal generation circuit clock signal input terminal
[0034] 32: Gate circuit control signal generation circuit CLK_COUNT output terminal
[0035] 41: Serial-to-parallel conversion circuit data signal input terminal
[0036] 42: Serial-to-parallel conversion circuit clock signal input terminal
[0037] 201: Semiconductor devices
[0038] 202: Double pulse generation circuit
[0039] 204: Serial-to-parallel conversion circuit
[0040] 221: Double pulse generation circuit input terminal
[0041] 222: Double pulse generation circuit clock signal output terminal
[0042] 241: Serial-to-parallel conversion circuit data signal input terminal
[0043] 242: Serial-to-parallel conversion circuit clock signal input terminal DETAILED DESCRIPTION
[0044] Hereinafter, a semiconductor device according to an embodiment of the present invention will be described with reference to the drawings.
[0045] [First embodiment]
[0046] Figure 1 This is a block diagram of a semiconductor device having a serial-to-parallel conversion circuit according to Embodiment 1. The semiconductor device 1 includes an input terminal 7 , a serial-to-parallel conversion circuit 4 , a one-shot pulse generation circuit 2 , a gate circuit control signal generation circuit 3 , a gate circuit 6 , and a fuse circuit 5 .
[0047] The one-shot pulse generating circuit 2 has an input terminal 21 and a clock signal output terminal 22. The gate circuit control signal generating circuit 3 has a clock signal input terminal 31 and a CLK_COUNT output terminal 32. The serial-to-parallel conversion circuit 4 has a data signal input terminal 41, a clock signal input terminal 42, a Q0 output terminal 80, a Q1 output terminal 81, a Q2 output terminal 82, a Qn output terminal 80+n according to the number of bits of the output, and a Qn+1 output terminal 81+n. The fuse circuit 5 has an A[0] input terminal 51, an A[1] input terminal 52, an A[n-1] input terminal 50+n according to the number of bits of the input, and an A[n] input terminal 51+n. The gate circuit 6 has AND gate circuits whose number corresponds to the number of bits of the input of the fuse circuit 5.
[0048] based on Figure 3The structure of the serial-to-parallel conversion circuit 4 is described. The serial-to-parallel conversion circuit 4 has a number of D-type flip-flops corresponding to the number of bits to be output. The clear signal input terminal 43 is connected to the CLR input terminals of all these D-type flip-flops. The clock signal input terminal 42 is connected to the CK input terminals of all these D-type flip-flops. The data signal input terminal 41 is connected only to the D input terminal of the primary D-type flip-flop. The Q0 output terminal 80 is connected to the Q output terminal of the primary D-type flip-flop and to the D input terminal of the second-stage D-type flip-flop. The Q1 output terminal 81 is connected to the Q output terminal of the second-stage D-type flip-flop and to the D input terminal of the third-stage D-type flip-flop. The Q2 output terminal 82 is connected to the Q output terminal of the third-stage D-type flip-flop and to the D input terminal of the next-stage D-type flip-flop. The Qn output terminal 80+n is connected to the Q output terminal of the n+1-stage D-type flip-flop and to the D input terminal of the next-stage D-type flip-flop. The Qn+1 output terminal 81+n is connected only to the Q output terminal of the n+2-stage D-type flip-flop.
[0049] based on Figure 4 The structure of the gate circuit control signal generating circuit 3 is described. The gate circuit control signal generating circuit 3 has a number of D-type flip-flops, a NOT circuit, and an AND circuit that can count the desired number. The clear signal input terminal 33 is connected to the CLR input terminals of all of these D-type flip-flops. The clock signal input terminal 31 is connected to the CK input terminal of only the primary D-type flip-flop. The CLK_COUNT output terminal 32 is connected to the output terminal of the AND circuit, and the AND circuit has input terminals corresponding to the number of D-type flip-flops in the gate circuit control signal generating circuit 3. A NOT circuit is configured as needed between the input terminal of the AND circuit connected to the CLK_COUNT output terminal 32 and the Q output terminals of the plurality of D-type flip-flops in the gate circuit control signal generating circuit 3. Specifically, when the CLK_COUNT output terminal 32 is set to an active logic during a period in which the count value is 5, 5 in decimal is 101 in binary. One NOT circuit is applied to the center bit in the 3 bits, that is, the second bit. In this embodiment, the Q output terminal of the D-type flip-flop of the second bit of the gate circuit control signal generating circuit 3 is connected to the input terminal of the NOT circuit, and the output terminal of the NOT circuit is connected to the input terminal of the AND circuit whose output terminal is connected to the CLK_COUNT output terminal 32. In addition, the Q output terminals of the D-type flip-flops of the first bit and the third bit of the gate circuit control signal generating circuit 3 are directly connected to the input terminals of the AND circuit whose output terminals are connected to the CLK_COUNT output terminal 32. To simply explain, the AND circuit and the NOT circuit constitute a simple decoder.
[0050] The gate circuit control signal generating circuit 3 of this embodiment uses a form called a ripple counter in a binary counter. All the D-type flip-flops of the gate circuit control signal generating circuit 3 directly connect the QB output terminal to their own D input terminals. The QB output terminal of the first bit, i.e., the primary D-type flip-flop, is directly connected to the CK input terminal of the second bit, i.e., the second-stage D-type flip-flop. The QB output terminal of the second-stage D-type flip-flop is directly connected to the CK input terminal of the third bit, i.e., the third-stage D-type flip-flop. The gate circuit control signal generating circuit 3 is constructed using a binary counter and a decoder in this way.
[0051] based on Figure 6 and Figure 7 The internal structure of the one-shot pulse generating circuit 2 is described. There are many implementation methods for the one-shot pulse generating circuit 2, so the best implementation method can be used in combination with the actual situation. Figure 6 As shown, it includes two D-type flip-flops 23 and 27, a set of RS latches 25, five NOT circuits 24, 26a, 26b, 26c and 28, an AND circuit 29, and a delay circuit 8. The RS latch 25 here is a standard type based on two dual-input NAND circuits.
[0052] The internal connection of the one-shot pulse generating circuit 2 is described. The input terminal 21 is connected to the CK input terminal of the D-type flip-flop 23. (The D-type flip-flop 23 is hereinafter abbreviated as FF1.) The D input terminal of FF1 is connected to the power supply VDD. The CLR input terminal of FF1 is connected to the output terminal of the NOT circuit 28. The Q output terminal of FF1 is connected to the input terminal of the NOT circuit 24. The output terminal of the NOT circuit 24 is connected to the SB input terminal of the RS latch 25. The QRS output terminal of the RS latch 25 is connected to the input terminal of the NOT circuit 26a. The output terminal of the NOT circuit 26a is connected to the input terminal of the NOT circuit 26b and the input terminal of the NOT circuit 26c. The output terminal of the NOT circuit 26b is connected to the CLK_EN input terminal 811 of the delay circuit 8. The CLK output terminal 812 of the delay circuit 8 is connected to the clock signal output terminal 22 and the CK input terminal of the D-type flip-flop 27. (The D-type flip-flop 27 is hereinafter abbreviated as FF2.) The D input terminal of FF2 is connected to the power supply VDD. The Q output terminal of FF2 is connected to the input terminal of NOT circuit 28. The QB output terminal of FF2 is connected to the first input terminal of AND circuit 29. The second input terminal of AND circuit 29 is connected to the output terminal of NOT circuit 26c. The output terminal of AND circuit 29 is connected to the CLR input terminal of FF2 and the RB terminal of RS latch 25.
[0053] In addition, since the delay circuit 8 also has many implementation methods, the best implementation method can be used in combination with the actual situation. Figure 7 As shown, here, it includes an electrostatic capacitor 802, two enhancement type N-channel metal-oxide-semiconductor (MOS) transistors 803 and 804, two constant current elements 801 and 805, and two NOT circuits 806 and 809.
[0054] The internal connection of the delay circuit 8 is described. The first terminal of the constant current element 801 and the first terminal of the constant current element 805 are connected to the power supply VDD. The second terminal of the constant current element 801 is connected to the first terminal of the electrostatic capacitor 802, the drain terminal of the enhancement type N channel MOS transistor 803 and the gate terminal of the enhancement type N channel MOS transistor 804. The second terminal of the constant current element 805 is connected to the drain terminal of the enhancement type N channel MOS transistor 804 and the input terminal of the NOT circuit 809. The second terminal of the electrostatic capacitor 802, the source terminal of the enhancement type N channel MOS transistor 803, and the source terminal of the enhancement type N channel MOS transistor 804 are all connected to the ground GND. The CLK_EN input terminal 811 is connected to the input terminal of the NOT circuit 806. The output terminal of the NOT circuit 806 is connected to the gate terminal of the enhancement type N channel MOS transistor 803. The output terminal of the NOT circuit 809 is connected to the CLK output terminal 812.
[0055] Each of the components is not a special component but a general component. Therefore, the operation description here is set to the minimum necessary. For example, since the power-on clear circuit described later is well known to those skilled in the art, its detailed description and illustration will be omitted below. It is assumed that the clear period of the power-on clear circuit not shown in the figure in the semiconductor device 1 has a desired length. Therefore, regarding the Figure 6 CLK_EN, RSTB and CLK as the signal of the clock signal output terminal 22 are in the initial state when they are at a low level. Figure 6FF1 and FF2 are both cleared to the initial state. When the signal input in the input terminal 21 changes from a low level to a high level, the Q output terminal of FF1 becomes a high level, so the QRS output terminal drawn from the upper side of the RS latch outputs a high level, and CLK_EN and RSTB become high levels. From the timing when the CLK_EN changes to a high level, the CK input terminal of FF2 is delayed by an amount corresponding to the delay time of the delay circuit 8 and becomes a high level. The D input terminal of FF2 is also a high level, so when the CK input terminal becomes a high level, FF2 is set. At the same time, since FF1, which is located in front of the Q output terminal of FF2, is cleared, and the QB output terminal of FF2 is a low level, a low level is input to the RB input terminal on the lower side of the RS latch. Therefore, since the input of the SB input terminal on the upper side of the RS latch is inverted and output, the QRS output terminal on the upper side of the RS latch returns to a low level. At the same time, the CLR input terminal of FF2 becomes a low level, which is a negative logic input terminal, so FF2 is cleared. At the same time, CLK_EN and RSTB return to a low level and become a stable state.
[0056] The delay circuit 8 in this embodiment is briefly described. The specific operation of the delay circuit 8 is as follows. That is, the rise of the potential V1 of the first terminal of the electrostatic capacitor 802 just after the CLK_EN input terminal 811 changes from a low level to a high level is a potential rise obtained in the following manner: since the enhancement type N-channel MOS transistor 803 is turned off, the electrostatic capacitor 802 is charged by the current I1 flowing from the constant current element 801. Since the current I1 is a certain value, it takes a certain time to charge the electrostatic capacitor 802. On the contrary, if the CLK_EN input terminal 811 drops to a low level, the enhancement type N-channel MOS transistor 803 is turned on, and the charge of the electrostatic capacitor 802 is rapidly discharged, so the potential V1 is almost immediately near zero volts. The signal obtained by shaping the potential V1 waveform into a pulse waveform is output to CLK from the CLK output terminal 812. Here, after the CLK_EN input terminal 811 changes to a high level, the delay time from the low level to the high level of the CLK output terminal 812 will be referred to as the first delay time dlt1. Furthermore, the delay time from the high level to the low level of the CLK output terminal 812 immediately thereafter will be referred to as the second delay time dlt2.
[0057] After the series of operations described above, the one-shot pulse generating circuit 2 that generates one pulse returns to the initial state. Actually, any circuit may be used as long as it can generate such a pulse.
[0058] In this embodiment, a fuse circuit 5 is also provided. With respect to the internal fuse of the fuse circuit 5, the input terminal becomes the bit of the activation logic, and the fuse is blown. The activation logic is positive logic, that is, a high level. The clear signal input terminal 33 of the gate circuit control signal generating circuit 3 and the clear signal input terminal 43 of the serial-to-parallel conversion circuit 4 are connected to a power-on clear circuit (not shown) in the semiconductor device 1.
[0059] Next, the operation of the semiconductor device 1 will be described. Immediately after the power is turned on, the gate circuit control signal generation circuit 3 and the serial-to-parallel conversion circuit 4 are cleared by the power-on clear circuit (not shown). When a high level is input to the input terminal 7, the clock signal output terminal 22 of the one-shot pulse generation circuit 2 outputs a high level after the first delay time dlt1, and then outputs a low level after the second delay time dlt2. That is, the one-shot pulse generation circuit 2 generates a positive polarity pulse that becomes a clock signal and a selection signal inside the semiconductor device 1 and outputs it to CLK.
[0060] If the signal of the input terminal 7 is at a low level when CLK rises, the primary D-type flip-flop of the serial-to-parallel conversion circuit 4 recognizes that the low level has been reached. That is, 0 is taken in. On the contrary, if the signal of the input terminal 7 is at a high level when CLK rises, the primary D-type flip-flop of the serial-to-parallel conversion circuit 4 recognizes that the high level has been reached. That is, 1 is taken in. According to the connection relationship, the CLK generated by the one-shot pulse generation circuit 2 is input to the CK input terminals of all the D-type flip-flops inside the serial-to-parallel conversion circuit 4. That is, if the data recognized by the primary D-type flip-flop is focused, it is shifted in sequence as in a generally known serial-to-parallel conversion circuit. That is, it becomes parallel data.
[0061] On the other hand, the gate circuit control signal generating circuit 3 counts the CLK generated by the one-shot pulse generating circuit 2. In the present embodiment, if the count is 5, the CLK_COUNT output terminal 32 outputs an activation logic. The activation logic is a positive logic, i.e., a high level. The number of output terminals of the serial-to-parallel conversion circuit 4 in the present embodiment is 5. Therefore, the case where the CLK_COUNT output terminal 32 becomes an activation logic as described above means that the serial-to-parallel conversion is just completed. The first input terminals of the AND circuits of the gate circuit 6 are all connected to the CLK_COUNT output terminal 32. Each second input terminal is connected to each output terminal of the serial-to-parallel conversion circuit 4. The output terminals of each AND circuit are respectively connected to each input terminal of the fuse circuit 5 corresponding to each output terminal of the serial-to-parallel conversion circuit 4. In the present embodiment, the correspondence between each output terminal of the serial-to-parallel conversion circuit 4 and each input terminal of the fuse circuit 5 is formed into the following four groups. The first group is the correspondence between the Q1 output terminal 81 and the A[0] input terminal 51. The second group is the correspondence between the Q2 output terminal 82 and the A[1] input terminal 52. The third group is the correspondence between the Qn output terminal 80+n and the A[n-1] input terminal 50+n. The fourth group is the correspondence between the Qn+1 output terminal 81+n and the A[n] input terminal 51+n. Here, the Q0 output terminal 80 is set to an open state.
[0062] Since the above configuration is adopted, when the CLK_COUNT output terminal 32 becomes active logic, the output data of the serial-to-parallel conversion circuit 4 that has just completed the serial-to-parallel conversion is transmitted to the input terminals of the fuse circuit 5. That is, the desired fuse can be blown.
[0063] The period during which the CLK_COUNT output terminal 32 becomes active logic is described. In the case of the present embodiment, the time when the active logic starts is when the count value of the one-shot pulse generating circuit 2 becomes 5 as described above. On the other hand, the time when the active logic returns to the inactive logic is when the count value of the one-shot pulse generating circuit 2 becomes 6. The time when the internal counting in the gate circuit control signal generating circuit 3 is when the clock signal input terminal 31 changes from a low level to a high level. Due to the connection relationship, the one-shot pulse generating circuit 2 is provided between the input terminal 7 and the clock signal input terminal 31, so the time when the clock signal input terminal 31 changes from a low level to a high level is after the first delay time dlt1 after the input terminal 7 changes from a low level to a high level. In the case of the present embodiment, the time when the CLK_COUNT output terminal 32 changes from a low level to a high level is after the first delay time dlt1 after the input terminal 7 changes from a low level to a high level for the fifth time. On the contrary, the time when the CLK_COUNT output terminal 32 changes from a high level to a low level is after the first delay time dlt1 after the input terminal 7 changes from a low level to a high level for the sixth time in the case of the present embodiment. Specifically, the first delay time dlt1 has an increment of, for example, 1 microsecond due to manufacturing deviation. In the case, the timing of the CLK_COUNT output terminal 32 changing from a low level to a high level has the delay of the 1 microsecond. On the other hand, the timing of the CLK_COUNT output terminal 32 changing from a high level to a low level is also the delay of the 1 microsecond. That is, both are completely delayed equally. Therefore, the length of the period during which the CLK_COUNT output terminal 32 maintains a high level depends only on the rising interval of the signal input into the input terminal 7, and is therefore irrelevant to the increase / decrease of the first delay time dlt1.
[0064] Figure 2 The timing diagram shows the overall action. The horizontal axis is time. The vertical axis is level (potential). Multiple signals are arranged vertically and displayed. Figure 2SDATA in the figure is the signal input to the input terminal 7. Similarly, CLK in the figure is the signal output from the clock signal output terminal 22 of the one-shot pulse generating circuit 2. Q0 to Qn+1 are the output signals of the serial-to-parallel conversion circuit 4. In addition, CLK_COUNT is the signal output from the CLK_COUNT output terminal 32 of the gate circuit control signal generating circuit 3. In the case of this embodiment, with respect to the input waveform of the input terminal 7, it can be considered that the start bit and the data bit are consecutive bits as a group of units. dlt1 in the figure is the first delay time dlt1. Whenever the input terminal changes from a low level to a high level, a positive polarity pulse is generated and output to CLK after the delay time. In the figure, if it is assumed that n=3, then whenever CLK is the pulse, the value of Qn moves to Qn+1, the value of Q2 moves to Qn, the value of Q1 moves to Q2, and the value of Q0 moves to Q1. At this time, if SDATA is at a low level when CLK changes from a low level to a high level, the value of Q0 becomes 0. On the contrary, if SDATA is at a high level when CLK changes from a low level to a high level, the value of Q0 becomes 1. Under the assumption that n=3, after n+2, that is, the first delay time dlt1 after the input terminal changes from a low level to a high level for the fifth time, CLK_COUNT becomes an active logic. Next, it returns to an inactive logic for the sixth time. That is, the period of the active logic of CLK_COUNT becomes the fuse writing time t_write.
[0065] Figure 5 The counting status of the gate circuit control signal generating circuit 3 is shown in the figure. In the figure, the horizontal axis is the time. Similarly, the vertical axis is the level (potential). Multiple signals are represented in a vertical configuration. CLK is a signal provided to the clock signal input terminal 31. Q0 to Q2 are the internal counts of the gate circuit control signal generating circuit 3. CLK_COUNT is the signal to be output by the CLK_COUNT output terminal 32 of the gate circuit control signal generating circuit 3. That is, during the period when the count value is 5, CLK_COUNT becomes an activation logic. And, during the fuse write time t_write, the desired fuse is blown in this embodiment.
[0066] As described above, according to the structural example of this embodiment, a semiconductor device can be provided, which has a serial-to-parallel conversion circuit that does not require a signal line for sending a clock signal from the outside and does not require an oscillator with accurate frequency. If the relationship between the delay time during which the CLK_COUNT output terminal 32 maintains a high level is followed, the overall circuit operation can be controlled by the waveform of the signal input to the input terminal 7 during the time waiting for the fuse in the fuse circuit 5 to blow. In particular, the above situation is an extremely important matter when a resistance value variable fuse is used instead of a simple fuse to be blown. Therefore, the first delay time dlt1 allows for a predetermined manufacturing deviation. That is, even for the above aspect, the manufacturing cost can be reduced.
[0067] In general, an accurate clock oscillation circuit which increases manufacturing cost is not required, and a clock input / output terminal to the outside of the semiconductor device is not required. That is, a semiconductor device can be provided at a relatively low cost. This is not based on the number of bits described above, the difference between synchronous design and asynchronous design, the difference between a standard logic circuit and an independent vibrator circuit, etc.
[0068] [Second Embodiment]
[0069] Figure 8 The semiconductor device 201 of the second embodiment is shown as a configuration example. The semiconductor device 201 includes an input terminal 207 , a serial-to-parallel conversion circuit 204 , a double pulse generation circuit 202 , a gate circuit control signal generation circuit 203 , a gate circuit 6 , and a fuse circuit 5 .
[0070] The double pulse generation circuit 202 has an input terminal 221 and a clock signal output terminal 222. The serial-to-parallel conversion circuit 204 has a data signal input terminal 241, a clock signal input terminal 242, a Q0 output terminal 80, a Q1 output terminal 81, a Q2 output terminal 82, and a Qn output terminal 80+n according to the number of output bits. The difference from the first embodiment is that the number of output terminals, that is, the number of output bits, is reduced by only 1 bit compared to the serial-to-parallel conversion circuit 4.
[0071] The input terminal 207 is connected to the input terminal 221 and the data signal input terminal 241 . The clock signal output terminal 222 of the double pulse generation circuit 202 is connected to the clock signal input terminal 242 of the serial-to-parallel conversion circuit 204 .
[0072] Next, the operation is described. Regarding the input waveform of the input terminal 7 in the first embodiment, which is the basis of the second embodiment, it can be considered that the bits consisting of the start bit and the data bits are a group unit. As another method of implementation, the bits consisting of one start bit and a plurality of data bits can be considered as a group unit. In the description of the second embodiment, the bits consisting of one start bit and two data bits are considered as a group unit.
[0073] When the start bit, i.e., the change from the low level to the high level, reaches the input terminal 207, the double pulse generation circuit 202 generates two positive polarity pulses. Specifically, after the change from the low level to the high level reaches the input terminal 207, the clock signal output terminal 222 changes as described below. That is, after the first delay time dlt1, the clock signal output terminal 222 becomes a high level, after the second delay time dlt2, the clock signal output terminal 222 becomes a low level, after the third delay time dlt3, the clock signal output terminal 222 becomes a high level, and after the fourth delay time dlt4, the clock signal output terminal 222 becomes a low level. Hereinafter, CLK2 refers to the signal output by the clock signal output terminal 222.
[0074] In the case of n=3, the semiconductor device 201 (see Figure 8 ) When 4 bits of data are sent, the content sent to the input terminal 207 is described as follows in time sequence. That is, in the initial period, the first start bit, D3 (=Dn) and D2 are sent. In the next period, the second start bit, D1 and D0 are sent. Specifically, the initial first group is described. First, the time point after the initial rise of CLK2 after the change from low level to high level reaches the input terminal 207 is recorded as time point tp1. If the input terminal 207 is at a low level at the time point tp1, the primary D-type flip-flop of the serial-to-parallel conversion circuit 204 recognizes that the low level has arrived. That is, 0 is taken in. On the contrary, if the signal of the input terminal 207 is at a high level at the time point tp1, the primary D-type flip-flop of the serial-to-parallel conversion circuit 204 recognizes that the high level has arrived. That is, 1 is taken in. The time point after the next rise of CLK2 is recorded as time point tp3. If the input terminal 207 is at a low level at the time point tp3, the primary D-type flip-flop of the serial-to-parallel conversion circuit 204 recognizes that a low level has been reached. That is, 0 is re-entered. On the contrary, if the signal of the input terminal 207 is at a high level at the time point tp3, the primary D-type flip-flop of the serial-to-parallel conversion circuit 204 recognizes that a high level has been reached. That is, 1 is re-entered at the time point. Similarly, when the subsequent group arrives, the semiconductor device 201 of the second embodiment can receive the value of D1 and the value of D0.
[0075] exist Fig. 9The operation as a whole is shown in a timing diagram. In the figure, the horizontal axis is the time. Similarly, the vertical axis is the level (potential). Multiple signals are arranged vertically. In the figure, SDATA2 is the signal input to the input terminal 207. CLK2 is the signal to be output from the clock signal output terminal 222 of the double pulse generation circuit 202 as described above. It means that when the signal of the combination of the start bit and the data bit enters SDATA2, two positive polarity pulses are generated and output to CLK2. In the figure, Q0 to Qn are the output signals of the serial-to-parallel conversion circuit 204. Fig. 9 The left half of the figure shows that when the first group of start bits and two data bits enter SDATA2, the value of Dn and the value of D2, which eventually become Qn and Q2, are taken in. As a shift action, the value of Q0 is shown to be shifted to the value of Q1. The right half of the figure shows that when the second group of start bits and two data bits enter SDATA2, the value of D1 and the value of D0, which eventually become Q1 and Q0, are taken in. As a shift action, the value of Q2 is shown to be shifted to the value of Qn, the value of Q1 is shifted to the value of Q2, and the value of Q0 is shifted to the value of Q1. That is, the figure shows the case of converting serial data into parallel data.
[0076] As described above, according to the structural example of this embodiment, a semiconductor device can be provided, which has a serial-to-parallel conversion circuit that does not require a signal line for sending a clock signal from the outside and does not require an oscillator with accurate frequency. In general, an accurate clock oscillation circuit that will increase the manufacturing cost is not required, and a terminal for clock input / output outside the semiconductor device is not required. That is, a semiconductor device can be provided at a relatively low cost. The situation is not based on the number of bits described, or the difference between synchronous design and asynchronous design, the difference between a standard logic circuit and an independent oscillator circuit, etc.
[0077] The invention is not limited to the embodiments described above, and can be implemented in various ways other than the embodiments described above during the implementation stage, and various omissions, additions, substitutions or changes can be made within the scope of the invention without departing from the main purpose of the invention. These embodiments and their variations are included in the scope or main purpose of the invention, and are included in the invention described in the claims and their equivalents.
Claims
1. A semiconductor device, characterized in that: include: Input terminal, Pulse generating circuit, and Serial-to-parallel conversion circuit, The input terminal is connected to the data signal input terminal of the serial-to-parallel conversion circuit and the input terminal of the pulse generation circuit. The signals input into the input terminal are a start bit and a data signal. The pulse generating circuit has a delay circuit. An output terminal of the pulse generating circuit is connected to a clock signal input terminal of the serial-to-parallel conversion circuit.
2. The semiconductor device according to claim 1, further comprising: Gate circuit control signal generation circuit, Gate circuit, and Fuse circuit, The output terminal of the pulse generating circuit is also connected to the input terminal of the gate circuit control signal generating circuit. The gate circuit is connected between the serial-to-parallel conversion circuit and the fuse circuit.
3. The semiconductor device according to claim 1 or 2, wherein: The data signal is a 1-bit data signal.
4. The semiconductor device according to claim 1 or 2, wherein: The pulse generating circuit is a one-shot pulse generating circuit.
5. The semiconductor device according to claim 2, wherein: The gate circuit control signal generating circuit includes a binary counter and a combination circuit constituting a decoder, The output terminal of the binary counter is connected to the input terminal of the combinational circuit constituting the decoder, The combinational circuits constituting the decoder have a logic structure capable of outputting activation logic at a desired count value.
