First-order memory-less dynamic element matching technology
By introducing cross-select control of thermometer-encoded signals and data-weighted average signals into the data converter, the operation of the cross-switch matrix is optimized, and the performance and complexity of data-weighted average algorithms in high-speed data converters in the prior art are solved. , achieving more efficient signal-to-noise ratio and lower noise shaping efficiency.
Patent Information
- Application Number
- CN202011074702.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-09
- Filing Date
- 2020-10-09
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-10-09
AI Technical Summary
The existing data weighted averaging algorithm has problems such as cumbersome operation, limited performance, low throughput and high complexity in high-speed data converters, especially when realizing first-order dynamic component matching, resulting in reduced signal-to-noise ratio and noise shaping efficiency. Not good.
By introducing cross-select signal control of thermometer-encoded signal and data-weighted average signal into the cross-switch matrix, combining data registers and control circuits, data-weighted average conversion is realized, and the logical conversion bit position is determined based on the latched data-weighted average signal, and crossover is optimized. Switch input and output of the switch matrix.
Improves the performance and efficiency of the data converter, reduces the noise base, enhances the signal-to-noise ratio, simplifies the circuit structure, supports high data rate operation, and reduces power and area consumption.
Smart Images

Figure CN112653461B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application claims priority from U.S. Provisional Patent Application No. 62 / 913,252, filed on October 10, 2019, the disclosure of which is incorporated herein by reference. Technical field
[0003] The present disclosure relates to the field of data conversion processing, and specifically to first-order dynamic element matching (DEM) technology and a DEM architecture for implementing the technology. The DEM architecture can be used for continuous-time sigma-delta modulators, such as analog-to-digital converters. Background technology
[0004] High-speed data converters often employ the Data Weighted Average (DWA) algorithm as a solution to achieve first-order dynamic element matching (DEM). Figure 1 A comparison of the operation of data converter 102 without DWA and data converter 104 without DWA is illustrated. The data word 110 is received and processed by the converter circuit to selectively actuate the binary output elements (OE) 124, 134 of the digital-to-analog converter (DAC). In this example, each DAC includes seven unary output elements.
[0005] For data converter 102, data word 110 is decoded by thermometer decoder 120 to generate thermometer control signal 122, the data bits of which selectively actuate unary output element 124. If the data word has a value of 3 (binary format <0,1,1>), the thermometer decoder 120 decodes the word to generate 7 with a value of <1,1,1,0,0,0,0> The 7-bit thermometer control signal 122 causes the first three unary output elements 124 from the left to be actuated. Shaded boxes indicate activated output elements, while unshaded boxes indicate disabled output elements. If the next data word has a value of 1 (binary format <0,0,1>), the thermometer decoder 120 decodes the word to generate a value of <1,0,0,0,0,0, 0>, the seven-bit thermometer control signal 122 causes the first unary output element 124 from the left to be actuated. The operation of the next data word with values 5 and 4 is also shown.
[0006] It should be noted that in response to the data word input 110, the data converter 102 disproportionately actuates the unary output elements 124 of the DAC. In other words, the unary output element on the left side of the DAC is actuated more frequently by the control signal 122 than the unary output element on the right side of the DAC. In an ideal scenario, this is not a problem when all unary output elements 124 of the DAC are identical (ie, matched). However, in real designs, mismatches exist and appear at the output as the noise floor of the output signal increases. This can have a negative impact on the DAC's performance and result in a reduced signal-to-noise ratio.
[0007] However, the use of the DWA algorithm by the data converter 104 ensures that the mismatch across the unary output element 124 is passed through and pushed out of the frequency band of interest. This is similar to first-order noise shaping. Data words 110 are processed by dynamic element matching (DEM) circuitry 130 implementing a data weighted averaging (DWA) algorithm to generate control signals 132 whose data bits selectively actuate output elements (OE) 134 . If the data word has a value of 3 (binary format <0,1,1>), the DEM circuit 130 decodes the word to generate a value of <1,1,1,0,0,0,0> A 7-bit DWA control signal 122 that actuates the first three unary output elements 134 from the left. Shaded boxes indicate activated output elements, while unshaded boxes indicate disabled output elements. At this time, there is no difference in the operation of the data converter 104 compared with the data converter 102 . If the value of the next data word is 1 (binary format <0,0,1>), the DEM circuit 130 decodes the word to generate the value <0,0,0,1,0,0,0> The seven-bit DWA control signal 132 causes the next sequential unary output element (ie, only the fourth unary output element) of the unary output element 134 to be actuated. If the value of the next data word is 5 (binary format <1,0,1>), the DEM circuit 130 decodes the word to generate the value <1,1,0,0,1,1,1> The 7-bit DWA control signal 132, the 7-bit The DWA control signal 132 causes the next sequential five unary output elements (i.e., the last three unary output elements and the first two unary output elements) of the unary output element 134 to be actuated (in this case, from the right side). Surround left). Also shown is an operation on the next data word of value 4, which causes the next sequential four unary output elements 134 to be actuated. It should be noted that over time, the data converter 104 actuates all unary output elements 134 of the DAC relatively equally.
[0008] Despite the mismatch relative to the unary output elements 134 of the digital-to-analog converter, the data-weighted averaging algorithm causes actuation to be spread relatively equally across all unary output elements 134 . Noise due to output element mismatch is shaped by a DWA that advantageously averages the mismatch error in the frequency band of interest.
[0009] Circuits implementing high-speed data converters are well known in the art and use a data-weighted averaging algorithm to achieve first-order dynamic element matching. Examples of such circuits are provided by U.S. Patent No. 7,868,807; "A 5GS / s156MHz BW 70dB DR Continuous-Time Sigma-Delta Modulator with Time-InterleavedReference Data-Weighted Averaging" by Dayanik et al., 2017 Symposium on VLI Circuits, 2017; and Da- “High-speed Low-Complexity Implementation for Data” by Huei Lee et al. Weighted Averaging Algorithm," taught in IEEE Asia-Pacific Conference on ASIC (AP-ASIC), 2002, pages 283 to 286 (all foregoing incorporated by reference). Problems with these solutions include cumbersome operation due to long conversion times, which limits throughput and performance; inefficient circuit implementation in terms of area and power; and high complexity introduced by the use of interleaving. The complexity is further illustrated by the decoder and adder logic required to perform the dynamic indexing function. Using multiple parallel paths for interleaving can also adversely affect circuit performance.
[0010] Now, reference Figure 2 , which shows a block diagram of a prior art data weighted averaging (DWA) circuit 200 as taught in U.S. Patent No. 10,050,640 (incorporated by reference). The circuit includes a data bus 202 carrying a multi-bit input data word DT in a thermometer encoding format. <n-1:0>(where data word DT <n-1:0>may be supplied, for example, from the quantizer circuit 203 clocked by the data clock signal CLK (CLK)). In the example, N=16; however, it should be understood that the solution disclosed herein is scalable for any value of N. Data bus 202 is connected to the data inputs of crossbar switch matrix 204 . The output of crossbar matrix 204 is connected to data bus 206, which carries multi-bit output data words DW <n-1:0>, the multi-bit output data word DW <n-1:0>is the multi-bit input data word DT encoded by the thermometer <n-1:0>The data is transformed into a weighted average. DWA control circuit 210 receives a multi-bit input data word DT <n-1:0>and multi-bit output data word DW <n-1:0>both, and the data clock signal CLK, and the DWA control circuit 210 operates to generate the multi-bit selection signal Sel <n-1:0>, the multi-bit selection signal Sel <n-1:0>Control inputs are applied to crossbar switch matrix 204 via data bus 212 . In response to the multi-bit selection signal Sel <n-1:0>, the crossbar switch 204 operates to selectively map switch inputs to switch outputs to achieve data weighted average conversion and to implement dynamic element matching (DEM).
[0011] The physical configuration of crossbar matrix 204 is well known to those skilled in the art. The crossbar switch matrix 204 effectively includes a plurality of switching elements that can be controlled to selectively couple a given one of the switch inputs to a given one of the switch outputs. The complexity of the switching element circuitry allows for responsiveness to the multi-bit selection signal Sel <n-1:0>The data value of any individual switch input of the switch input is connected to any given switch output of the switch output.
[0012] The operation of the crossbar matrix 204 may be logically represented by N multiplexers 240(0) through 240(N-1), where each multiplexer 240 is an N:1 multiplexer (eg, Figure 3 shown). Bit input data word DT on data bus 202 <n-1:0>Identified as DT(N-1),..., DT(0). Multi-bit output data word DW <n-1:0>The bits are identified as DW(N-1),...,DW(0). The select control input of each multiplexer 240 receives a multi-bit select signal Sel <n-1:0>. It should be noted that the multi-bit input data word DT at the input of each multiplexer <n-1:0>The bit wrapping sequence order is different. As an example, for multiplexer 240(N-1), a multi-bit input data word DT at the input <n-1:0>The bit order is DT(N-1), DT(N-2),..., DT(0). For multiplexer 240(N-2), the multi-bit input data word DT at the input <n-1:0>The bit order is DT(N-2), DT(N-3),..., DT(0), DT(N-1). For multiplexer 240(1), the multi-bit input data word DT at the input <n-1:0>The bit order is DT(1), DT(0), DT(N-1),..., DT(3), DT(2). For multiplexer 240(0), the multi-bit input data word DT at the input <n-1:0>The bit sequence is DT(0), DT(N-1), DT(N-2),..., DT(2), DT(1). Those skilled in the art will recognize that the multi-bit input data word DT <n-1:0>The concatenation of bit sequences across N multiplexers 240(0) to 240(N-1) is effectively barrel shifted. The effect of this is that the crossbar matrix operates to input multiple bits into the data word DT <n-1:0>bits are selectively connected to the multi-bit output data word DW <n-1:0>bits, where the multi-bit selection signal Sel <n-1:0>The value selection selects the barrel shift position.
[0013] The DWA control circuit 210 generates the multi-bit selection signal Sel <n-1:0>, such that only one of the N bits in the select signal can be asserted at a time (eg, logic 1), while all other bits are deasserted (eg, logic 0). The N multiplexers 240(0) to 240(N-1) respond to the multi-bit selection signal Sel by selectively connecting the multiplexer inputs (referenced 0 to N-1) <n-1:0>The assertion bit corresponds to the assertion bit of the multiplexer output. Multi-bit selection signal Sel <n-1:0>A single assertion bit specifies the multi-bit input data word DT <n-1:0>bit sequence with multi-bit output data word DW <n-1:0>The barrel shift position relationship between the bit sequences. This can be better understood by referring to some examples.
[0014] First consider the multi-bit selection signal Sel with value <0,0,…,0,1> <n-1:0>, among which only Sel(0)=1. In response to the multi-bit selection signal Sel <n-1:0>value, multiplexer 240(0) connects DT(0) to output DW(0), multiplexer 240(1) connects DT(1) to output DW(1), multiplexer User 240(N-2) connects DT(N-2) to output DW(N-2), while multiplexer 240(N-1) connects DT(N-1) to output DW(N -1).
[0015] Now consider the multi-bit selection signal Sel with value <0,0,…,1,0> <n-1:0>, among which only Sel(1)=1. In response to the multi-bit selection signal Sel <n-1:0>value, multiplexer 240(0) connects DT(N-1) to output DW(0), multiplexer 240(1) connects DT(0) to output DW(1), and more Road multiplexing Multiplexer 240(N-2) connects DT(N-3) to output DW(N-2), while multiplexer 240(N-1) connects DT(N-2) to output DW(N- 1).
[0016] For the multi-bit selection signal Sel with value <0,1,…,0,0> <n-1:0>, among which only Sel(N-2)=1. In response to the multi-bit selection signal Sel <n-1:0>value, multiplexer 240(0) connects DT(2) to output DW(0), multiplexer 240(1) connects DT(3) to output DW(1), multiplexer User 240(N-2) connects DT(0) to output DW(N-2), while multiplexer 240(N-1) connects DT(1) to output DW(N-1).
[0017] Finally, if the multi-bit selection signal Sel <n-1:0>The value is <1,0,…,0,0>, among which only Sel(N-1)=1. In response to the multi-bit selection signal Sel <n-1:0>of this value, multiplexer 240(0) connects DT(1) to output DW(0), multiplexer 240(1) connects DT(2) to output DW(1), multiplexer 240(1) connects DT(2) to output DW(1), Multiplexer 240(N-2) connects DT(N-1) to output DW(N-2), while multiplexer 240(N-1) connects DT(0) to output DW(N- 1).
[0018] Used to input multiple bits into the data word DT <n-1:0>bits connected to the multi-bit output data word DW <n-1:0>The operations of the bits of the crossbar matrix 204 can be mathematically expressed by the following operations:
[0019] DW(n,k)=DT(mod(N+n-k,N))
[0020] where n, k∈(0, N-1), n is the output, and k is the choice such that DW(n,k)) is the connection of the input DT((N+n-k)modulo N) to the output DW(n) switch address.
[0021] Consider the multi-bit selection signal Sel <n-1:0>The first example given above has the value of <0,0,…,0,1>, where only Sel(0)=1, so k=0. For n=0 and N=16, the output bit DW(0) will be connected to the input bit DT(0) because (16+0-0 / 16=1, the remainder is 0, so the modulus is 0) . For n=1 and N=16, the output bit DW(1) will be connected to the input bit DT(1) because (16+1-0 / 16=1, remainder 1, so the modulus is 1). The foregoing corresponds to the results noted above, where multiplexer 240(0) connects DT(0) to output DW(0) and multiplexer 240(1) connects DT(1) to output DW (1), multiplexer DT(N-2) connects DT(N-2) to output DW(N-2), multiplexer 240(N-1) connects DT(N-1) Connect to output DW(N-1). In this configuration, the multi-bit input data word DT <n-1:0>The consecutive bits DT(0) to DT(N-1) are respectively mapped to the multi-bit output data word DW through the crossbar switch matrix 204 of k=0. <n-1:0>The bits DW(0), DW(1),..., DW(N-1).
[0022] Now consider the multi-bit selection signal Sel with value <0,0,…,1,0> <n-1:0>, where only Sel(1)=1, so k=1. For n=0 and N=16, the output bit DW(0) will be connected to the input bit DT(15) because (16+0-1 / 16=0, the remainder is 15, so the modulus is 15) . For n=1 and N=16, the output bit DW(1) will be connected to the input bit DT(1) because (16+1-1 / 16=1, the remainder is 0, so the modulus is 0) . The foregoing corresponds to the results mentioned above, where multiplexer 240(0) connects DT(N-1) to output DW(0) and multiplexer 240(1) connects DT( 0) Connect to output DW (1), multiplexer 240(N-2) connects DT(N-3) to output DW(N-2), while multiplexer 240(N-1) connects DT(N-2 ) is connected to output DW(N-1). In this configuration, the multi-bit input data word DT <n-1:0>The consecutive bits DT(0) to DT(N-1) are respectively mapped to the multi-bit output data word DW through the crossbar switch matrix 204 of k=1. <n-1:0>The bits DW(N-1), DW(0),..., DW(N-2).
[0023] For the multi-bit selection signal Sel with value <0,1,…,0,0> <n-1:0>, where only Sel(N-2)=1, so k=14. For n=0 and N=16, the output bit DW(0) will be connected to the input bit DT(2) because (16+0-14 / 16=0, the remainder is 2, so the modulus is 2) . For n=1 and N=16, the output bit DW(1) will be connected to the input bit DT(3), because (16+1-14 / 16=0, the remainder is 3, so the modulus is 3) . The foregoing corresponds to the results noted above, where multiplexer 240(0) connects DT(2) to output DW(0) and multiplexer 240(1) connects DT(3) to output DW(1), multiplexer 240(N-2) connects DT(0) to the output DW(N-2), multiplexer 240(N-1) connects DT(1) to the output DW(N-1). In this configuration, for k=14, the multi-bit input data word DT <n-1:0>The consecutive bits DT(0) to DT(N-1) are respectively mapped to the multi-bit output data word DW through the crossbar switch matrix 204 of k=14. <n-1:0>The bits DW(2), DW(3),..., DW(1).
[0024] Finally, if the multi-bit selection signal Sel <n-1:0>The value of is <1,0,…,0,0>, among which only Sel(N-1)=1, so k=15. For n=0 and N=16, the output bit DW(0) will be connected to the input bit DT(1) because (16+0-15 / 16=0, the remainder is 1, so the modulus is 1) . For n=1 and N=16, the output bit DW(1) will be connected to the input bit DT(2) because (16+1-15 / 16=0, remainder 2, therefore modulo 2). The foregoing corresponds to the results mentioned above, where multiplexer 240(0) connects DT(1) to output DW(0) and multiplexer 240(1) connects DT(2) Connect to output DW (1), multiplexer 240(N-2) connects DT(N-1) to output DW(N-2), and multiplexer 240(N-1) connects DT(0) to output DW(N-1). In this configuration, the multi-bit input data word DT <n-1:0>The consecutive bits DT(0) to DT(N-1) are respectively mapped to the multi-bit output data word DW through the crossbar switch matrix 204 of k=15. <n-1:0>The bits DW(1), DW(2),..., DW(0).
[0025] Now, reference Figure 4 , which shows a circuit diagram of the DWA control circuit 210. The DWA control circuit 210 includes a clock generation circuit 300, a combinational logic circuit 302, and N flip-flops 304(0) to 304(N-1) forming an output register. To comply with the example provided above, in Figure 4 In, N=16. However, it should be understood that the solution disclosed herein is scalable for any value of N. The output of each flip-flop 304 is connected to the multi-bit selection signal Sel <n-1:0>corresponds to one bit. All flip-flops 304 operate simultaneously as output registers to load data bits output from the combinational logic circuit 302 in response to the edge of the load clock signal LD_CLK and make the loaded data bits available at the flip-flop outputs for inclusion in multiple Bit selection signal Sel <n-1:0>middle. In response to the clock signal CLK and the multi-bit input data word DT <n-1:0>bit, the clock generation circuit 300 generates the load clock signal LD_CLK.
[0026] Clock generation circuit 300 includes a clock gate (C-GATE) having a clock input configured to receive a data clock signal CLK; and an enable input EN configured to receive a clock signal CLK. Can signal 310. When enable signal 310 is asserted, the clock gate operates to pass the data clock signal CLK as the load clock signal LD_CLK, and flip-flops 304(0) to 304(N-1) will be triggered at the appropriate clock edge to load Data bits output from combinational logic circuit 302 in the output register. Conversely, when enable signal 310 is deasserted, the clock gate operates to maintain the current logic state of the loaded clock signal LD_CLK and suspends or inhibits flip-flop operations that load the data bits output from combinational logic circuit 302 into the register.
[0027] The circuitry that generates the enable signal 310 includes a logic NAND gate 312 having an input connected to receive a multi-bit input data word DT on the data bus 202 <n-1:0>bit. When the multi-bit input data word DT <n-1:0>When all bits of are logic 1, the output 314 of the NAND gate 312 is a logic 0 (otherwise the output 314 is a logic 1). The circuitry that generates the enable signal 310 also includes a logical OR gate 322 having an input connected to receive a multi-bit input data word DT on the data bus 202 <n-1:0>bit. When the multi-bit input data word DT <n-1:0>When all bits of are logic 0, the output 324 of the OR gate 322 is a logic 0 (otherwise the output 324 is a logic 1). Logic AND gate 332 logically combines the output of NAND gate 312 with the output of OR gate 322 to generate enable signal 310 . The output of OR gate 322 is a logic 0 (indicating that a multi-bit input data word DT is detected) only when the output of NAND gate 312 is a logic 0. <n-1:0>Enable signal 310 has a logic 0 state (indicating that a multi-bit input data word DT has been detected) when all bits of are logic 0) <n-1:0>All bits of are logic 1). When enable signal 310 has a logic 0 state, clock gate C-GATE is disabled to maintain the current value of load clock signal LD_CLK. In the multi-bit input data word DT <n-1:0>Under all other conditions of the bit, enable signal 310 has a logic 1 state, clock gate C-GATE is enabled (in order to pass the clock signal CLK as the load clock signal LD_CLK).
[0028] The combinational logic circuit 302 is formed of N logical AND gates 350(0) to 350(N-1) that operate to generate a multi-bit input selection signal Sel_in <n-1:0>, the multi-bit input selection signal Sel_in <n-1:0>is applied to the corresponding inputs of N flip-flops 304(0) to 304(N-1). The first input of each AND gate 350 is connected to the multi-bit output data word DW received on data bus 206 <n-1:0>The logical inversion of the corresponding bit DW(x). The second input 350 of each AND gate is connected to the multi-bit output data word DW received on the data bus 206 <n-1:0>The adjacent bit DW(x-1). For example, AND gate 350(0) has a first input connected to receive the logical inversion of corresponding bit DW(0), and a second input connected to receive the adjacent bit DW(0). N-1) (in the example where N=16, this could be bit DW(15)). Provides multi-bit input selection signal Sel_in <n-1:0>The output of the one-bit AND gate 350(0) is connected to the input of the corresponding flip-flop 304(4) for flip-flop FF0. Likewise, AND gate 350(N-1) (which may be AND gate 350(15) in the example of N=16) has a first input connected to receive corresponding bit DW(N-1) (at N=1 In the example of 6, this may be the logical inversion of bit DW(15)); and a second input connected to receive the adjacent bit DW(N-2) (in the example of N=16, This can be bit DW(14)). Provides multi-bit input selection signal Sel_in <n-1:0>The output of the other bit of AND gate 350(N-1) is connected to the input of the corresponding flip-flop 304(N-1) for flip-flop FF15. Likewise, the other AND gate 350 is connected to the multi-bit output data word DW <n-1:0>The logical inversion and adjacent bits of , and generate the multi-bit input selection signal Sel_in <n-1:0>corresponding bit.
[0029] Combinational logic circuit 302 operates to output data word DW on the received multi-bits having a logic 1 value. <n-1:0>Find the most significant bit position in . In other words, this is the multi-bit output data word DW <n-1:0>The end of a logic 1 bit string in the bit position where a logic transition (from logic 1 to logic 0) occurs. The second input receives the logic 1 value and the first input outputs the data word DW from the received multi-bit <n-1:0>AND gate 350 that receives a logic 0 value for the next adjacent higher bit in will output a logic 1 value. All other AND gates 350 will output a logic low value because at least one of their first or second inputs receives a logic zero input. This operation can be better understood by considering the following example, where a multi-bit output data word DW <n-1:0>The value is <0,0,…,0,1,1,1,0>. In this example, bit DW(3) is the most significant bit with a logic 1 value (the next bit, DW(4), has a logic 0 value), and this is the bit position where the end logic transition occurs. AND gate 350(4) will have a first input that receives the logical inversion of bit DW(4) (i.e., receives a logic 1 value at the first input); and a second input that receives a logic 1 value. Adjacent bit DW(3). Thus, the output of AND gate 350(4) will output a logic 1 value, while all other AND gates 350 will output a logic 0 value.
[0030] As noted above, AND gate 350(0) has a first input connected to receive the logical inversion of the corresponding bit DW(0) and a second input connected to receive the adjacent bit DW(N- 1). This is important because this connection implements the wraparound operation of finding the location of the most significant bit. To understand this characteristic, consider the following example where a multi-bit output data word DW <n-1:0>The value is <1,1,1,…0,0,0>. In this example, bit DW(N-1) is the most significant bit with a logic 1 value, and this is the bit position where the end logic transition occurs. Due to wrapping, the next adjacent higher bit is the DW(0) bit with a logic zero value. AND gate 350(0) will have a first input that receives the logical inversion of bit DW(0) (i.e., receives a logic 1 value at the first input); and a second input that receives the logical inversion of bit DW(0) with a logic 1 value. Ortho DW(N-1). Thus, the output of AND gate 350(0) will output a logic 1 value, while all other AND gates 350 will output logic 0 values.
[0031] When an edge of the loading clock signal LD_CLK is received, the N flip-flops 304(0) to 304(N-1) will load corresponding logic gates from the N logic AND gates 350(0) to 350(N-1) Output data. The outputs of logic AND gates 350(0) to 350(N-1) form the multi-bit selection signal Sel <n-1:0>bit. Since only one AND gate output has a logic 1 value at a time, this means that the multi-bit select signal Sel <n-1:0>Only one bit at a time has a logic 1 value. Multi-bit selection signal Sel with logic 1 value <n-1:0>This bit designation is used to control the crossbar switch matrix 204 to input multiple bits into the data word DT in a specific order. <n-1:0>bits connected to the multi-bit output data word DW <n-1:0>The position of the bit operation (as mentioned above, refer to k). Examples of this operation are discussed in detail above. In fact, the multi-bit selection signal Sel <n-1:0>The position provided identifies the next multi-bit output data word DW <n-1:0>The bit position at which the starting logic transition should occur to achieve a weighted average of the data. This will be where the logical 1-bit string in the next data word DW should begin.
[0032] As noted above, when enable signal 310 is a logic 0 (i.e., the signal is deasserted), the clock gate operates to maintain the current logic state of the load clock signal LD_CLK and suspends or inhibits loading from the combinational logic circuit 302 output data bit flip-flop operation. In this mode, when the multi-bit input data word DT <n-1:0>When all bits of are logic 1 or logic 0, LD_CLK bar register 304 is loaded with the SEL bit. This is mandatory because the AND logic of the combinational logic circuit 302 operating to generate the SEL signal will be for the multi-bit input data word DT <n-1:0>The above input condition of all logic 1s or all logic 0s generates all bits with logic values. Importantly, as discussed in this article regarding circuit operation, this action occurs in the previous cycle, thus offloading the critical timing path.
[0033] The operation of DWA circuit 200 is driven by data clock signal CLK. Now, reference Figure 5 , which shows a timing diagram illustrating this operation. The operation occurs relative to the time period t of the data clock signal CLK. During the current time period t, the DWA circuit 200 i Receives multi-bit input data word DT in <n-1:0>, and use the current time period t i The multi-bit selection signal Sel available in <n-1:0>, so that in the time period t i Medium output multi-bit output data word DW <n-1:0>. In the current time period t i The multi-bit selection signal Sel in <n-1:0>According to the previous time period t i-1 The multi-bit output data word DW generated in <n-1:0>generate. The operation of circuit 200 can be better understood by considering the operation of circuit 200 over multiple consecutive time periods.
[0034] At the beginning of operation of circuit 200, the current time period t 0 (i.e., Selt 0 ) within the multi-bit selection signal Sel <n-1:0>Can be initialized to a desired value, such as the values <0,0,…,0,0,1>. In this example case, since bit Sel(0) is logic 1, k=0. Because there is no previous time period t i-1 Beginning of the multi-bit output data word DW <n-1:0>, so this initialization is needed for the current time period t 0 Generate multi-bit selection signal Sel in <n-1:0>. By connecting DT(0) to output DW(0), DT(1) to output DW(N-2), ..., DT(N-2) to output DW(N-2), and DT( N-1) is connected to the output DW(N-2), and the crossbar switch matrix 204 responds to the multi-bit selection signal Sel having initialization values <0,0,…,0,0,1> <n-1:0>. For the time period t 0 The multi-bit input data word DT with the value <0,0,0,…,0,1,1,1> received in <n-1:0>(i.e., the thermometer encoding of the data word has a value of 3, binary <0,1,1>), circuit 200 during time period t 0 Multi-bit output data word DW with output value <0,0,0,…,0,1,1,1> <n-1:0>(i.e., DTt 0 ). Multi-bit input data word DT <n-1:0>The three logic 1 value bits DWA are converted into multi-bit output data words DW <n-1:0>, where the bit position that starts the logic transition is at bit DW(0), and the bit position that ends the logic transition is at bit DW(2).
[0035] Now, suppose that during time period t 1 Received multi-bit input data word DT <n-1:0>(i.e., DTt 1 ) has a value of <0,0,…,1,1,1,1,1,1> (that is, the value of the thermometer encoding of the data word is 6, binary <1,1,0>). The DWA control circuit 210 starts from the previous time period t 0 (i.e., DWt 0 ) starts to output the multi-bit data word DW with the value <0,0,0,…,0,1,1,1> <n-1:0>Processing is performed to identify the most significant bit with a logic 1 value (i.e., where the logic transition ends). In this case, the most significant bit is bit DW(2) found through AND gate 350(3), which has a first input that receives the logically inverted bit DW(3); and a second input, which receives bit DW(2). Therefore, during time period t 1 (i.e., Sel_int 1 ), generate the multi-bit selection input signal Sel_in <n-1:0>. Flip-flop 304 is loaded with the output of AND gate 350 in response to loading clock signal LD_CLK (generated by clock gate C-GATE from data clock signal CLK). Only flip-flop 304(3) coupled to the output of AND gate 350(3) is set to a logic one value. Therefore, the generated multi-bit selection signal Sel <n-1:0>in time period t 1 (i.e., Selt 1 ) will be <0,0,…,1,0,0,0>. Therefore, since bit Sel(3) is logic 1, k=3. By connecting DT(13) to output DW(0), DT(14) to output DW(1), ..., DT(11) to output DW(N-2), and DT(12) to output DW(N-2), the crossbar switch matrix 204 responds to the multi-bit selection signal Sel having the values <0,0,…,1,0,0,0> <n-1:0>. Circuit 200 during time period t 1 (i.e., DWt 1 ), a multi-bit output data word DW with the output value <0,0,0,…,0,1,1,1,1,1,1,0,0,0> <n-1:0>. Therefore, the multi-bit input data word DT <n-1:0>The six logic 1 value bits DWA are converted into multi-bit output data words DW <n-1:0>, where the bit position that starts the logic conversion is at the DW(3) bit, and the bit position that ends the logic conversion is at the DW(8) bit.
[0036] Assume that during time period t 2 The multi-bit input data word DT received at <n-1:0>The value of is <1,1,1,…,1,1,1,1,1,1> (that is, all bits are logical 1 values). The DWA control circuit 210 starts from the previous time period t 1 Start to output the multi-bit data word DW with the value <0,0,0,…,0,1,1,1,1,1,1,0,0,0> <n-1:0>Processing is performed to identify the most significant bit with a logic 1 value (i.e., where the logic transition ends). In this case, the most significant bit may be bit DW(8) found through AND gate 350(9), which has a first input that receives the logically inverted bit DW(9) ; and a second input, which receives bit DW(8). Therefore, during time period t 2 (i.e., Sel_int 2 ) generates a multi-bit selection input signal Sel_in <n-1:0>. Flip-flop 304 is loaded with the output of AND gate 350 in response to loading clock signal LD_CLK (generated by clock gate C-GATE from data clock signal CLK). Only flip-flop 304(9) coupled to the output of AND gate 350(9) is set to a logic one value. Therefore, the generated multi-bit selection signal Sel <n-1:0>In time period t 2 (Selt 2 ) is <0,0,…,0,1,0,0,0,0,0,0,0,0,0>. Therefore, since bit Sel(9) is logic 1, k=9. By connecting DT(7) to output DW(0), DT(8) to output DW(1), ..., DT(5) to output DW(N-2) and DT(6) to output DW( N-2), the crossbar switch matrix 204 responds to the multi-bit selection signal Sel having the value <0,0,...,0,1,0,0,0,0,0,0,0,0,0> <n-1:0>. Circuit 200 during time period t 2 Multi-bit output data word DW with internal output value <1,1,1,…,1,1,1,1,1,1> (that is, all bits are logic 1 values) <n-1:0>(i.e., DWt 2 ). Therefore, the multi-bit input data word DT <n-1:0>The 16 logic 1 value bits DWA are converted into multi-bit output data words DW <n-1:0>, where the bit position that starts the logic transition is at bit DW(9), and the bit position that ends the logic transition is at bit DW(8).
[0037] At this time, the NAND gate 312 of the clock generation circuit 300 detects the signal for the multi-bit input data word DT. <n-1:0>of <1,1,1,…,1,1,1,1,1,1> (i.e., all bits are logic 1 values) input condition, and a signal 314 with a logic 0 value is generated, thereby causing the clock gate Circuit C-GATE is disabled. The data clock signal CLK will not be delivered, and in the next time period t 3 The medium load clock signal LD_CLK does not present an edge that triggers the operation of the flip-flop 304 .
[0038] Now, consider that during time period t 3 The multi-bit input data word DT received at <n-1:0>The value is <0,0,0,…,0,0,0,1> (that is, the value of the thermometer encoding of the data word is 1, binary <0,0,1>). The DWA control circuit 210 starts from the previous time period t 2 Start the multi-bit output data word DW with the value <1,1,1,…,1,1,1,1,1,1> (that is, all bits are logic 1 values) <n-1:0>Processing is performed to identify the most significant bit with a logic 1 value (i.e., where the logic transition ends). In this case, since all bits have a logic 1 value, no such bit exists. All flip-flops 304 will output a logic zero value, which can lead to incorrect operation of the switch matrix. However, this is different from the control circuit 212 during the current time period t 3 Internally generates multi-bit selection signal Sel <n-1:0>It has nothing to do with the operation at the time. The reason for this is that we are currently in time period t 3 The clock gate C-GATE is disabled in C-GATE, so loading the new value into flip-flop 304 is not performed. Instead, the flip-flop 304 starts from the previous time period t 2 Start retaining the previous multi-bit selection signal Sel with value <0,0,…,0,1,0,0,0,0,0,0,0,0,0> <n-1:0>, the previous multi-bit selection signal Sel <n-1:0>Indicates where the logical transformation ends. Therefore, since bit Sel(9) is logic 1, k=9. By connecting DT(7) to output DW(0), DT(8) to output DW(1), DT(5) to output DW(N-2), and DT(6) to output DW (N-2), the crossbar switch matrix 204 responds to the multi-bit selection signal Sel having the value <0,0,...,0,1,0,0,0,0,0,0,0,0,0> <n-1:0>. Circuit 200 during time period t 3 A multi-bit output data word DW whose output value is <0,0,…,0,1,0,0,0,0,0,0,0,0,0,0> <n-1:0>(i.e., DWt 3 ). Therefore, the multi-bit input data word DT <n-1:0>Converts a logic 1 value bit DWA into a multi-bit output data word DW <n-1:0>, where the bit position that starts the logic transition is at bit DW(9), and the bit position that ends the logic transition is also at bit DW(9).
[0039] As shown herein, AND logic 350 is used as a type of edge detector that detects a data input transition from 1 to 0 (rather than from 0 to 1) that occurs at the bit position that initiates the logic transition. Since an input with all logic 1 values or all logic 0 values will not exhibit such a bit transition, under such conditions, the output of AND logic 350 is all logic 0s. If not detected and blocked, this output causes all switches in the crossbar to be deselected. To handle this scenario, LD_CLK is disabled for all logic 1 inputs or all logic 0 inputs, and the previous state of the selection signal Sel is maintained.
[0040] Now, consider the operation at a later point in time, where a multi-bit output data word DW <n-1:0>In the previous time period t i-1 The values inside are <0,0,1,1,1,1,…,0,0,0>. Assume that in the current time period t i Received multi-bit input data word DT <n-1:0>The value is <0,0,…,0,1,1,1,1> (that is, the value of the thermometer encoding of the data word is 4, binary <1,0,0>). The DWA control circuit 210 controls the i-1 Multi-bit output data word DW starting with value <0,0,1,1,1,1,…,0,0,0> <n-1:0>Processing is performed to identify the most significant bit with a logic 1 value (i.e., where the logic transition ends). In this case, this could be bit DW(N-3) or bit DW(13), where N=16, found by AND gate 350(14) having the first input, It receives the logically inverted bit DW(14); and the second input, which receives the bit DW(13). Therefore, in the current time period t i (i.e., Sel_int i ), generate a multi-bit selection input signal Sel_in <n-1:0>. Flip-flop 304 is loaded with the output of AND gate 350 in response to loading clock signal LD_CLK (generated by clock gate C-GATE from data clock signal CLK). Only flip-flop 304(14) coupled to the output of AND gate 350(14) is set to a logic one value. Therefore, the generated multi-bit selection signal Sel <n-1:0>The value is <0,1,0,…,0,0,0,0>. Therefore, since bit Sel(14) is logic 1, k=14. By connecting DT(2) to output DW(0), DT(3) to output DW(1), ..., DT(1) to output DW(N-2), and DT(0) to Outputting DW(N-2), the crossbar switch matrix 204 responds to the multi-bit selection signal Sel having values <0,1,0,…,0,0,0,0> <n-1:0>. Circuit 200 during the current time period t i Multi-bit output data word DW with output value <1,1,0,…,0,0,0,0,0,1,1> <n-1:0>(i.e., DWt i ). Therefore, the multi-bit input data word DT <n-1:0>The four logic 1 value bits DWA are converted into multi-bit output data words DW <n-1:0>, where the bit position that starts the logic transition is at bit DW(14), and wrapping ends with the bit position that ends the logic transition at bit DW(1).
[0041] As another example of operation of circuit 200 where N=16, consider the following multi-bit input data words DT<15:0>, multi-bit output data words DW<15:0>, and multi-bit select signals Sel<15:0 > in from t 0 to t 6 Values within the time period:
[0042] -Multi-bit input data words DT<15:0>
[0043] t 0 :0000000000000111
[0044] t 1 :0000000111111111
[0045] t 2 :0000000000000011
[0046] t 3 :0000000001111111
[0047] t 4 :1111111111111111
[0048] t 5 :0000000000001111
[0049] -Multi-bit output data word DW<15:0>
[0050] t init :0000000000000000
[0051] t 0 :0000000000000111
[0052] t 1 :0000111111111000
[0053] t 2 :0011000000000000
[0054] t 3 :1100000000011111
[0055] t 4 :1111111111111111 The selection will be held by this value
[0056] t 5 :0000000111100000
[0057] -Multi-bit selection signal Sel<15:0>
[0058] t 0 :0000000000000001 initializes the selection
[0059] t 1 :0000000000001000
[0060] t 2 :0001000000000000
[0061] t 3 :0100000000000000
[0062] t 4 :0000000000100000
[0063] t 5 :0000000000100000 select from t 4 start keeping
[0064] t 6 :0000001000000000
[0065] It should be noted that at time t init at , the multi-bit output data words DW<15:0> do not have any value, and during time period t 0 Within, the multi-bit selection signal Sel<15:0> is initialized using the start value of the DWA conversion of k=0. In time period t 0 The thermometer code value of the multi-bit input data word DT<15:0> at is <0000000000000111> , and in the case of k=0, the crossbar switch matrix 204 is controlled to 1 The value will be <0000000000000111> The multi-bit input data word DT<15:0> maps to a value of <0000000000000111> The multi-bit output data word DW<15:0>.
[0066] at time t 0 The multi-bit output data word DW<15:0> at time t 1 The value produced is <000000000001000> The multi-bit selection signal Sel<15:0>, and k=3. at time t 1 The thermometer code value of the multi-bit input data word DT<15:0> at is <0000000111111111> , and in the case of k=3, the crossbar switch matrix 204 is controlled to 1 The value will be <0000000111111111> The multi-bit input data word DT<15:0> maps to a value of <0000111111111000> The multi-bit output data word DW<15:0>.
[0067] at time t 1 The multi-bit output data word DW<15:0> at time t 2 The value produced is <0001000000000000> The multi-bit selection signal Sel<15:0>, and k=12. at time t 2 The thermometer code value of the multi-bit input data word DT<15:0> at is <0000000000000011> , and in the case of k=12, the crossbar switch matrix 204 is controlled to 2 The value will be <0000000000000011> The multi-bit input data word DT<15:0> maps to a value of <0011000000000000> The multi-bit output data word DW<15:0>.
[0068] at time t 2 The multi-bit output data word DW<15:0> at time t 3 The value produced is <0100000000000000> The multi-bit selection signal Sel<15:0>, and k=14. at time t 3 The thermometer code value of the multi-bit input data word DT<15:0> at is <0000000001111111> , and in the case of k=14, the crossbar switch matrix 204 is controlled to 3 Change the value to <0000000001111111> The multi-bit input data word DT<15:0> maps to a value of <1100000000011111> The multi-bit output data word DW<15:0>. Note the wrapping of bits.
[0069] at time t 3 The multi-bit output data word DW<15:0> at time t 4 The value produced is <0000000000100000> The multi-bit selection signal Sel<15:0>, and k=5. at time t 4 The thermometer code value of the multi-bit input data word DT<15:0> at is <1111111111111111> , and in the case of k=5, the crossbar switch matrix 204 is controlled to 4 The value will be <1111111111111111> The multi-bit input data word DT<15:0> maps to a value of <1111111111111111> The multi-bit output data word DW<15:0>.
[0070] Detection of time t by clock generation circuit 300 4 The value at <1111111111111111> of the multi-bit output data word DW<15:0>, the clock generation circuit 300 responds by disabling the clock gate C-GATE. Therefore, delivery of the data clock signal CLK is prevented. In the absence of the load clock signal LD_CLK, time t 4 The value at <1111111111111111> The multi-bit output data word DW<15:0> will not cause any change to the multi-bit selection signal Sel<15:0>, which is at time t 5 The value held at is <0000000000100000> , and k=5. time t 5 The thermometer code value of the multi-bit input data word DT<15:0> at is <0000000000001111> , and in the case of k=5, the crossbar switch matrix 204 is controlled to 5 Change the value to <0000000000001111> The multi-bit input data word DT<15:0> maps to a value of <0000000111100000> The multi-bit output data word DW<15:0>.
[0071] at time t 5 The value is <0000000111100000> The multi-bit output data word DW<15:0> at time t 6 The value produced is <0100000000000000> The multi-bit selection signal Sel<15:0>, and k=9.
[0072] Reference again Figure 5 Used to check timing relationships.
[0073] To Input delay The reference refers to the delay from the external data source providing the thermometer data DT. This is some finite time for data to arrive at circuit 200 relative to the timing of the data clock. There is no instantaneous timing relationship between the edge of the data clock and the presentation of the thermometer data DT.
[0074] toXbarSW delay The reference of refers to the delay between data input to the crossbar switch and data output from the crossbar switch. This delay is both visible and occurs when the crossbar selection is stable. Only for the first data input and output (only at t 0 Such a condition occurs when all bits of the input are either logic 1 or logic 0. At other times, the selection signal Sel will be unstable and will be part of the critical path.
[0075] to t critical The reference to refers to the functional critical path of the design (not during initialization nor when the bits are all logic 1 or all logic 0), which includes the clock to flip-flop Q output delay of flip-flop 304 and the crossbar select to Output delay.
[0076] to AND delay The reference refers to the delay used to output the data-weighted average in response to the selected Sel_in signal. Basically, this is the delay associated with the operation of AND logic circuits. It should be appreciated that this delay is not part of the critical path since its value settles at the current output and settles well before the subsequent clock rising edge. Sel_in is loaded onto flip-flop 304 in subsequent cycles.
[0077] therefore, Figure 5 The waveforms in and the timing relationships illustrated show that the DWA output is available during the short time span in which the input is presented. This small switching time can be primarily attributed to the clock-to-Q delay of the flip-flop, and the select-to-output delay of the crossbar. Although the output computation directly involves processing through logic 350 and circuit 300 (clock gating logic), with the proposed architecture these tasks are excluded from the timing critical path.
[0078] Now, reference Figure 6 , which shows a block diagram of a continuous-time sigma-delta analog-to-digital converter circuit 400. Analog input voltage Vin is received at a first input of summing circuit 402 . The second input of the summing circuit 402 receives the analog feedback voltage Vfb. The summing circuit 402 is used to determine the difference between the analog input voltage Vin and the analog feedback voltage Vfb, and generate the analog difference voltage Vdif (ie, Vdif=Vin-Vfb). The loop filter 404 that implements, for example, an integrating function receives the analog difference voltage Vdif, and outputs the analog filtered voltage Vfltr. Multi-bit quantizer circuit 406 quantizes analog filter voltage Vfltr to generate a multi-bit input data word DT on the rising edge of clock signal CLK (ie, multi-bit quantizer circuit 406 is clocked by the clock signal). Multi-bit quantizer circuit 406 and Figure 2 corresponding to the quantizer 203. A multi-bit input data word DT is applied to a data weighted average (DWA) circuit 408, such as Figure 2 Circuit 200 is shown. DWA circuit 200 outputs a data word DW, which may be processed (eg, decimated and digitally filtered) in a manner known to those skilled in the art to generate a digital signal corresponding to a conversion of the analog input voltage Vin. In the feedback loop, data word DW is input to digital-to-analog converter circuit 410, which converts data word DW to generate analog feedback voltage Vfb. Digital-to-analog converter circuit 410 includes an input register 412 that latches the data word DW on the falling edge of clock signal CLK (ie, input register 412 is clocked by the logical inversion of the clock signal (CLK bar)). The latched output of data word DWL provides digital information that is converted by digital-to-analog converter circuit 410 to an analog feedback voltage Vfb. Contents of the invention
[0079] This summary is provided to introduce some concepts that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to help limit the scope of the claimed subject matter.
[0080] In an embodiment, a circuit includes a crossbar switch matrix having an input configured to receive a thermometer encoded signal and an output configured to output a data weighted average signal, wherein switching between the input and the output of the crossbar switch matrix is performed by a crossbar select signal control; a data register configured to latch an output data weighted average signal and generate a latched data weighted average signal; and control a control circuit configured to receive the latched data weighted average signal, and determine a bit position within the latched data weighted average signal at which an end logic transition occurs based on the bits of the latched data weighted average signal, and generate a crossbar select signal to Switching between the inputs and outputs of the crossbar matrix is controlled to select the bit position within the output data weighted average signal at which a starting logic transition occurs.
[0081] In an embodiment, a circuit includes an input data bus carrying a multi-bit input data word in a thermometer encoding format; a crossbar switch matrix having switch inputs coupled to the input data bus to receive the multi-bit input data word; to and a switch output configured to output a multi-bit output data word that is a data-weighted average (DWA) conversion of the thermometer-encoded multi-bit input data word; a data register configured to latch a multi-bit input data word bit output data words, and generate latching the multi-bit output data word; and the DWA control circuit configured to receive the latched multi-bit output data word and generate a multi-bit selection signal based on the latched multi-bit output data word, by selecting the data bus, the multi-bit The select signal is applied to the crossbar switch torque control inputs to the array; wherein the crossbar switch matrix is configured to operate in response to a multi-bit select signal to selectively map switch inputs to switch outputs to effectuate DWA conversion of a thermometer-encoded multi-bit input data word to an output Multi-bit output data words.
[0082] In an embodiment, a method includes: receiving a thermometer encoded signal; in response to a selection signal, converting the thermometer encoded signal into an output data weighted average signal; latching the output data weighted average signal to generate a latched data weighted average signal; according to all bits of the latched data weighted average signal, determining the end bit position within the latched data weighted average signal at which the latched data weighted average signal occurs to end the logical transition; and generating a selection signal to control the transition to select the output data weighted The average signal occurs at the starting bit position that begins the logic transition. Description of the drawings
[0083] Figure 1 The operation of a data converter that does not use the Data Weighted Average (DWA) algorithm and that of a data converter that does not use DWA is compared.
[0084] Figure 2 is a block diagram of a prior art DWA circuit.
[0085] Figure 3 is used as for Figure 2 Logical representation of a multiplexer with a crossbar switch in a DWA circuit.
[0086] Figure 4 is used for Figure 2 DWA circuit Circuit diagram of DWA control circuit.
[0087] Figure 5 yes Figure 2 Timing diagram of the operation of the DWA circuit.
[0088] Figure 6 is exploited in a feedback loop Figure 2 DWA circuit block diagram of a continuous-time sigma-delta analog-to-digital converter circuit.
[0089] Figure 7 is the block diagram of the DWA circuit.
[0090] Figure 8 is used for Figure 7 DWA circuit Circuit diagram of DWA control circuit.
[0091] Figure 9 is exploited in a feedback loop Figure 7 DWA circuit block diagram of a continuous-time sigma-delta analog-to-digital converter circuit.
[0092] Figure 10 yes Figure 9 Timing diagram of the operation of a continuous-time sigma-delta analog-to-digital converter circuit. Detailed implementation
[0093] In the following detailed description and accompanying drawings, specific details are set forth to provide a thorough understanding of the disclosure. However, one skilled in the art will appreciate that, in some instances, the present disclosure may be practiced without such specific details. In other instances, well-known elements have been illustrated in schematic or block diagram form in order to avoid obscuring the disclosure in unnecessary detail. Additionally, in most cases, specific details and the like are omitted because such details are not necessary to a complete understanding of the present disclosure and are considered to be within the understanding of one of ordinary skill in the relevant art.
[0094] Now, reference Figure 7 , which shows a block diagram of a dynamic weighted averaging (DWA) circuit 200'. The circuit includes a data bus 202 carrying a multi-bit input data word DT in a thermometer encoding format <n-1:0>(where data word DT <n-1:0>may be supplied, for example, from the quantizer circuit 203 clocked by the data clock signal CLK (CLK)). In the example, N=16; however, it should be understood that the solution disclosed herein is scalable for any value of N. Data bus 202 is connected to the data inputs of crossbar switch matrix 204 . The output of crossbar matrix 204 is connected to data bus 206, which carries multi-bit output data words DW <n-1:0>, the multi-bit output data word DW <n-1:0>is the multi-bit input data word DT encoded by the thermometer <n-1:0>The data is transformed into a weighted average. Register 214' receives the multi-bit output data word DW <n-1:0>and the logical inversion of the data clock signal CLK (CLK bar), and the register 214' operates to latch the received multi-bit data output data word DW <n-1:0>data and output the latched multi-bit output data word DWL <n-1:0>. DWA control circuit 210' receives a multi-bit input data word DT <n>and the most significant and least significant bits of DT<0>, and the latched multi-bit output data word DWL <n-1:0>and the logical inversion of the data clock signal CLK (CLK bar), and the DWA control circuit 210' operates to generate the multi-bit selection signal Sel <n-1:0>, through the data bus 212, the select bit signal Sel <n-1:0>is applied to the control input of the crossbar switch matrix 204 . The crossbar switch 204 responds to the multi-bit selection signal Sel <n-1:0>And operates to selectively map switch inputs to switch outputs to achieve data-weighted average conversion and implement first-order dynamic element matching (DEM).
[0095] The physical configuration of the crossbar matrix 204 is as follows Figure 4 shown, and as described above, operates in response to the multi-bit select signal Sel <n-1:0>.
[0096] Now, reference Figure 8 , which shows a circuit diagram of the register 214' and the DWA control circuit 210'. The register 214' includes N flip-flops FF 504(0) to 504(N-1), which are formed by the logical inversion (CLK bar) of the data clock signal CLK. Timing. To comply with the example provided above, in Figure 8 , N = 16; however, it should be understood that the solution disclosed herein is scalable for any value of N. Flip-flops FF 504 each receive a multi-bit output data word DW from data bus 206 <n-1:0>bits, and the output is a latched multi-bit output data word DWL <n-1:0>corresponding bit.
[0097] DWA control circuit 210' includes clock logic circuit 500 and combinational logic circuit 502. The combinational logic circuit 502 is formed of N logical AND gates 550(0) to 550(N-1) that operate to generate the multi-bit selection signal Sel <n-1:0>, the multi-bit selection signal Sel <n-1:0>is applied to control the switching operation of the crossbar switch matrix 204 . The first input of each AND gate 350 is connected to the latched multi-bit output data word DWL output by the flip-flop 504 of the register 214' <n-1:0>The logical inversion of the corresponding bit. The second input of each AND gate 550 is connected to the latched multi-bit output data word DWL <n-1:0>adjacent bits. For example, AND gate 550(0) has a first input connected to receive the logical inversion of corresponding bit DWL(0), and a second input connected to receive the adjacent bit DW(N-1), in In the example where N=16, the adjacent bit DW(N-1) may be DWL(15). The output of AND gate 550(0) is the input to clock logic circuit 500, which generates an output as multi-bit input select signal Sel_in <n-1:0>A bit (Sel(0)). Likewise, AND gate 550(N-1) (which may be AND gate 550(15) in the example where N=16) has a first input connected to receive the corresponding bit DWL(N-1) (in where N=1 6, which may be the logical inversion of DWL(15) bits); and a second input connected to receive the adjacent bits DWL(N-2) (in the example where N=16, it may It's bit DWL(14)). The output of AND gate 550(N-1) provides the multi-bit input selection signal Sel_in <n-1:0>The other one (Sel(15)). Likewise, the other AND gate 550 is connected to latch the multi-bit output data word DWL <n-1:0>The logical inversion and adjacent bits of , and generate the multi-bit input selection signal Sel_in <n-1:0>corresponding bit.
[0098] Combinational logic circuit 502 operates to output data word DWL on a received latched multi-bit having a logic 1 value <n-1:0>Find the most significant bit position in . In other words, this is the latched multi-bit output data word DWL <n-1:0>The bit position in the string of logic 1 bits that terminates the logic transition (from logic 1 to logic 0) occurs. The second input receives the logic 1 value and the first input outputs the data word DWL from the latched multi-bit <n-1:0>AND gate 550 that receives a logic 0 value for the next higher bit in will output a logic 1 value. All other AND gates 550 will output a logic low value because at least one of their first or second inputs will receive a logic 0 input. The connection of AND gate 550(0) to receive the logical inversion of the corresponding bit DWL(0) and the adjacent bit DWL(N-1) is important because this connection implements the wraparound of the operation of finding the most significant bit position. The operations performed by combinational logic circuit 502 to find the most significant bit position are the same as those described above for combinational logic circuit 302 and Figure 4 The operations discussed are essentially the same.
[0099] Clocked logic circuit 500 includes an exclusive NOR logic gate 520 having a first input that receives a multi-bit input data word DT <n-1:0>the least significant bit (bit 0: DT(0)); and a second input that receives the multi-bit input data word DT <n-1:0>The most significant bit (bit N-1: DT(N-1)). The signal output from XNOR logic gate 520 is applied to the data input of D-type flip-flop 522 which is clocked by the logical inversion of data clock signal CLK (CLK bar). Thus, D-type flip-flop 522 captures the logic state of the output signal from XOR logic gate 520 on the falling edge of clock signal CLK and makes the logic state value available at the Q output of flip-flop 522 . OR logic gate 524 has a first input that receives the Q output of flip-flop 522 and a second input that receives the output of AND gate 550 (0) in combinational logic circuit 502 . The signal output by the OR logic gate 524 is the multi-bit input selection signal Sel_in <n-1:0>Sel(0) bit.
[0100] The operation of clock logic circuit 500 is as follows: XOR logic gate 520 determines when the multi-bit input data word DT <n-1:0>The least significant bit (bit 0: DT(0)) and the most significant bit (bit N-1: DT(N-1)) are both logic 0 or logic 1. For thermometer encoded data, only if the data word DT <n-1:0>All bits are logic 0 or the data word DT <n-1:0>This operation occurs only when all bits are logic 1. It is critical that the clock logic 500 captures this occurrence because when the data word DT <n-1:0>All bits of are logic 0, or data word DT <n-1:0>All bits are logic 1 when the data word DW <n-1:0>There will be no transition from 1 to 0 in , so all AND gates 550 of the combinational logic circuit 502 will output a logic 0 value for the multi-bit input selection signal NOR. In this case, all switches within the crossbar matrix 204 are deselected, and the data word DW at the input of the register 214' <n-1:0>The signal line will float. Such switch deselection and floating output conditions must be avoided.
[0101] When the multi-bit input data word DT <n-1:0>When the least significant bit (bit 0: DT(0)) and the most significant bit (bit N-1: DT(N-1)) are both logic 0 or logic 1, the output from the XOR logic gate 520 The signal's logic state is logic 1. This logic state is captured and held by D-type flip-flop 522 on the falling edge of the clock signal. In response to the logic 1 output from flip-flop 522, OR logic gate 524 sets the multi-bit input select signal Sel_in <n-1:0>At least one of the bits is forced to logic 1. Any of these bits can be used in this case, and Figure 8 The example shown uses an OR logic gate 524 connected to the signal line of the Sel(0) bit to force a logic 1 state. In the multi-bit input data word DT <n-1:0>The logic of the output signal from the XOR NOT logic gate 520 under any other combinational logic condition of the least significant bit (bit 0: DT(0)) and the most significant bit (bit N-1: DT(N-1)) The state is logic 0, and this logic state is captured and held by D-type flip-flop 522 on the falling edge of clock signal CLK. Then, the OR logic gate 524 enables the multi-bit input selection signal Sel_in <n-1:0>The logic state of the Sel(0) bit follows the logic state of the signal output by the AND gate 550(0) in the combinational logic circuit 502.
[0102] In response to the falling edge of the clock signal CLK, the N flip-flops 504(0) to 504(N-1) of the register 214' will load the multi-bit output data word DW <n-1:0>N bits, and the output is a latched multi-bit output data word DWL <n-1:0>The corresponding N bits are processed by the logic AND gates 350(0) to 350(N-1) of the combinational logic circuit 502 to generate the multi-bit input selection signal Sel_in <n-1:0>. Since only one AND gate output will have a logic 1 value at a time, this means that the multi-bit select signal Sel <n-1:0>Only one bit has a logic 1 value at a time. Multi-bit selection signal Sel with logic 1 value <n-1:0>This bit designation is used to control the input of multiple bits into the data word DT in a specific order. <n-1:0>bits connected to the multi-bit output data word DW <n-1:0>The position of the operation of the crossbar switch matrix 204 (as mentioned above, reference k). Examples of this operation are discussed in detail above. In fact, the multi-bit selection signal Sel <n-1:0>The position provided identifies the next multi-bit output data word DW <n-1:0>The bit position at which the starting logic transition should occur to achieve a weighted average of the data. This is where the logical 1-bit string should begin in the next data word DW.
[0103] However, in the multi-bit input data word DT <n-1:0>In the case where the least significant bit (bit 0: DT(0)) and the most significant bit (bit N-1: DT(N-1)) have the same logic state, the aforementioned operation is modified. This condition is detected by the XNOR logic gate 520 of the clock logic circuit 500, which forces the logic state of the Sel(0) bit to a logic 1 in order to ensure the multi-bit select signal Sel <n-1:0>At least one bit of will have a logic 1 value.
[0104] Now, reference Figure 9 , which shows a block diagram of a continuous-time sigma-delta modulator (analog-to-digital converter) circuit 400'. Analog input voltage Vin is received at a first input of summing circuit 402 . The second input of the summing circuit 402 receives the analog feedback voltage Vfb. The summing circuit 402 is used to determine the difference between the analog input voltage Vin and the analog feedback voltage Vfb, and generate the analog difference voltage Vdif (ie, Vdif=Vin-Vfb). The loop filter 404 implementing, for example, an integrating function receives the analog difference voltage Vdif, and outputs the analog filtered voltage Vfltr. Multi-bit quantizer circuit 406 quantizes analog filter voltage Vfltr to generate a multi-bit input data word DT on the rising edge of clock signal CLK (ie, multi-bit quantizer circuit 406 is clocked by the clock signal). Multi-bit quantizer circuit 406 and Figure 7 corresponding to the quantizer 203. A multi-bit input data word DT is applied to a data weighted average (DWA) circuit 408, such as Figure 7 Circuit 200' is shown. The circuit 200' outputs a data word DW that may be processed (eg, decimated and digitally filtered) in a manner known to those skilled in the art to generate a digital signal corresponding to a conversion of the analog input voltage Vin. In the feedback loop, data word DW is input to digital-to-analog converter circuit 410, which converts data word DW to generate analog feedback voltage Vfb. Digital-to-analog converter circuit 410 includes an input register 412 that latches the data word DW on the falling edge of clock signal CLK (ie, input register 412 is clocked by the logical inversion of the clock signal (CLK bar)). Input register 412 is as Figure 7 and Figure 8 Register 214' is shown corresponding. The latched output of data word DWL provides digital information that is converted by digital-to-analog converter circuit 410 to an analog feedback voltage Vfb. Furthermore, the latched output of the data word DWL and the multi-bit input data word DT <n-1:0>The least significant bit (bit 0: DT(0)) and the most significant bit (bit N-1: DT(N-1)) provide digital information, which is determined by the multi-bit selection signal Sel <n-1:0>The generation related matters are handled by the DWA control circuit 210'.
[0105] Figure 10 The timing relationships for the operation of the continuous-time sigma-delta analog-to-digital converter circuit 400' are illustrated. It should be noted that the switch selection is already established before the rising edge of clock CLK, so only the input-to-output delay of the switch (of the crossbar) enters the critical timing path. Furthermore, the switching delay is very small, so there is enough time for the quantizer to operate.
[0106] and Figure 2 , Figure 4 and Figure 6 Compared with the existing technical implementation methods, Figure 7 to Figure 9 The implementation has several advantages: a) it eliminates the memory element provided through flip-flop 304 to store the selection logic of the crossbar; b) there is no clock-to-Q output delay in the critical timing path; c) the circuit operates with very low of computational latency (switching latency only) operation, thus permitting operation at very high data rates (e.g., up to 6GHz) d) The circuit does not require decoders and adders that use components of conventional DWA circuits; e) The circuit supports operation in high-speed feedback topologies; f) The regular modular structure of the circuit allows for fast implementation; g) The circuit Low power and low area consumption operation; and h) advantageous use of input registers of the DAC circuit to support operation of the DWA control circuit.
[0107] Although the foregoing description has been described herein with reference to specific circuits and embodiments, it is not intended to be limited to the details disclosed herein; the invention is not limited to the disclosed embodiments; rather, it extends to all functionally equivalent structures , methods and uses, such as are within the scope of the appended claims. < / n>
Claims
1. A circuit comprising: A crossbar switch matrix having: an input configured to receive a thermometer coded signal; and an output configured to output a data weighted average signal, wherein switching between the input and the output of the crossbar switch matrix is controlled by a crossbar select signal; a data register configured to latch the output data weighted average signal and generate a latched data weighted average signal; as well as A control circuit is configured to receive the latched data weighted average signal, and determine the bit position where the end logic transition occurs in the latched data weighted average signal based on the bit of the latched data weighted average signal, and generate the cross selection signal to control the switching between the input and the output of the cross switch matrix to select the bit position where the start logic transition occurs in the output data weighted average signal.
2. The circuit of claim 1 , wherein the latched data weighted average signal comprises a plurality of bits, and wherein the control circuit comprises a combinational logic circuit configured to logically combine the plurality of bits of the latched data weighted average signal to detect the bit position of the latched data weighted average signal at which the end logic transition occurs.
3. The circuit of claim 2 , wherein the combinational logic circuit comprises a plurality of AND gates, each AND gate having: a first input coupled to receive one bit of the latched data weighted average signal; and a second input coupled to receive another bit of the latched data weighted average signal, wherein the one bit and the another bit are adjacent bits within the latched data weighted average signal.
4. The circuit of claim 3, wherein the plurality of AND gates generate select input signals that specify the bit position of the latched data-weighted average signal at which the start logic transition occurs.
5. The circuit of claim 4, wherein the select input signals generated by the plurality of AND gates are applied directly to select inputs of the crossbar switch matrix.
6. The circuit of claim 4 further comprising a quantization circuit configured to generate the thermometer coded signal at one of a rising edge or a falling edge of a clock signal, and wherein the data register latches the output data weighted average signal at the other of the rising edge or the falling edge of the clock signal.
7. The circuit according to claim 6, further comprising a clock logic circuit, comprising: a detection circuit configured to detect an all-logic-one state or an all-logic-zero state of bits of the thermometer coded signal; as well as a logic circuit configured to force a specific logic state of a bit of the select input signal in response to detection of the all-logic-one state or the all-logic-zero state of bits of the thermometer coded signal by the detection circuit, wherein the specific logic state forced is different from the logic state of the one bit of the select input signal generated by the combinational logic circuit.
8. The circuit of claim 7, wherein the logic circuit comprises a flip-flop configured to store a value of the signal output by the detection circuit in response to the other of the rising edge or the falling edge of the clock signal. 9 . The circuit of claim 8 , wherein the logic circuit further comprises a logic OR gate configured to logically combine the output of the flip-flop and the one bit of the selection input signal generated by the combinational logic circuit.
10. The circuit of claim 1 , wherein the thermometer coded signal comprises a plurality of bits, and wherein the output data weighted average signal comprises a plurality of bits, the crossbar switch matrix operates to selectively connect the bits of the thermometer coded signal to the bits of the output data weighted average signal in an order having barrel shift positions specified by the crossbar select signal.
11. The circuit of claim 10, wherein the barrel shift position positions the bit position for the starting logic transition of the output data weighted average signal adjacent to the bit position of the ending logic transition of the latched data weighted average signal.
12. The circuit of claim 1 , further comprising: A digital-to-analog converter circuit has an input register formed by the data register, the digital-to-analog converter circuit being configured to convert the latched data-weighted average signal into a first analog voltage.
13. The circuit of claim 12, further comprising: a summing circuit configured to receive the first analog voltage and the second analog voltage, and generate a difference analog voltage according to the first analog voltage and the second analog voltage; a loop filter configured to filter the difference analog voltage to generate a filtered analog voltage; as well as A quantization circuit is configured to quantize the filtered analog voltage to generate the thermometer coded signal.
14. The circuit of claim 13 , wherein the quantization circuit generates the thermometer coded signal at one of a rising edge or a falling edge of a clock signal, and wherein the data register latches the output data weighted average signal at the other of the rising edge or the falling edge of the clock signal.
15. A circuit comprising: an input data bus carrying a multi-bit input data word in a thermometer coded format; a crossbar switch matrix having: switch inputs coupled to the input data bus to receive the multi-bit input data words; and a switch output configured to output a multi-bit output data word that is a data weighted average (DWA) conversion of the thermometer coded multi-bit input data word; a data register configured to latch the multi-bit output data word and to generate a latched multi-bit output data word; as well as a DWA control circuit configured to receive the latched multi-bit output data word and generate a multi-bit select signal based on the latched multi-bit output data word, the multi-bit select signal being applied to a control input of the crossbar switch matrix via a select data bus; Wherein the crossbar switch matrix is configured to operate in response to the multi-bit selection signal to selectively map the switch inputs to the switch outputs to implement the DWA conversion of the thermometer coded multi-bit input data word to output the multi-bit output data word.
16. The circuit of claim 15 , wherein the DWA control circuit is configured to receive bits of the thermometer coded multi-bit input data word and to force a particular mapping of switch inputs to the switch outputs if the received thermometer coded multi-bit input data word indicates that all bits of the thermometer coded multi-bit input data word are either logic 1 or logic 0.
17. The circuit of claim 16, wherein the DWA control circuit comprises a clocked logic circuit, the clocked logic circuit comprising: an XOR gate configured to receive said bit of said thermometer coded multi-bit input data word; a flip-flop configured to store an output from the XOR gate in response to a clock signal, the clock signal also controlling latching by the data register; as well as An OR gate is responsive to the output of the flip-flop and configured to generate a bit of the multi-bit selection signal.
18. The circuit of claim 15, wherein the DWA control circuit is configured to generate the multi-bit select signal in such a manner that only one bit of the multi-bit select signal is asserted at a time.
19. The circuit of claim 18, wherein the crossbar switch matrix operates to selectively connect bits of the thermometer coded multi-bit input data word to bits of the multi-bit output data word in an order of barrel shift positions specified by the one bit of the multi-bit select signal being asserted.
20. The circuit of claim 19, wherein the DWA control circuit comprises a combinational logic circuit configured to find a bit position for an ending logical transition of the bits of the latched multi-bit output data word, and wherein the multi-bit select signal specifies a bit position for a starting logical transition of the bits of the multi-bit output data word.
21. The circuit of claim 20, wherein the barrel shifted positions position the bit position for the starting logic transition of the multi-bit output data word adjacent to the bit position for the ending logic transition of the latched multi-bit output data word.
22. The circuit of claim 15, further comprising: A digital-to-analog converter circuit has an input register formed by the data register, the digital-to-analog converter circuit being configured to convert the latched multi-bit output data word into a first analog voltage.
23. The circuit of claim 22, further comprising: a summing circuit configured to receive the first analog voltage and the second analog voltage, and generate a difference analog voltage according to the first analog voltage and the second analog voltage; a loop filter configured to filter the difference analog voltage to generate a filtered analog voltage; as well as A quantization circuit is configured to quantize the filtered analog voltage to generate the thermometer coded signal.
24. The circuit of claim 23, wherein the quantization circuit generates the thermometer coded signal at one of a rising edge or a falling edge of a clock signal, and wherein the data register latches the multi-bit output data word at the other of the rising edge or the falling edge of the clock signal.
25. A method for data conversion processing, comprising: Receive a thermometer coded signal; In response to a selection signal, converting the thermometer coded signal into an output data weighted average signal; latching the output data weighted average signal to generate a latched data weighted average signal; determining, based on all bits of the latched data weighted average signal, an end bit position within the latched data weighted average signal at which an end logic transition occurs in the latched data weighted average signal; and The selection signal is generated to control the conversion to select a starting bit position where a start logic conversion of the output data weighted average signal occurs.
26. The method of claim 25, wherein generating the selection signal comprises: The selection signal having a plurality of bits is output, wherein only one bit corresponding to the start bit position has a first logic state and all other bits have a second logic state.
27. The method of claim 25, wherein determining comprises: All bits of the latched data weighted average signal are logically combined to detect the end bit position of the latched data weighted average signal where the end logic transition occurs.
28. The method of claim 27, wherein the logical combination comprises: A logical AND operation is performed on adjacent bit pairs of the data weighted average signal.
29. The method of claim 27, further comprising: An analog voltage is quantized at one of a rising edge or a falling edge of a clock signal to generate the thermometer coded signal, and wherein latching includes latching the output data weighted average signal at the other of the rising edge or the falling edge of the clock signal.
30. The method of claim 29, further comprising: detecting an all-logic-one state or an all-logic-zero state of bits of the thermometer coded signal; as well as In response to detecting the all logic 1 state or the all logic 0 state of the bits of the thermometer coded signal, forcing a specific logic state of one bit of the select signal, the forced logic state being different from the logic state of the one bit of the select signal generated due to the logical combination.
31. The method of claim 30, further comprising: A value from the detection is stored in response to the other of the rising edge or the falling edge of the clock signal.
32. The method of claim 25, wherein converting the thermometer coded signal to the output data weighted average signal comprises: Crossbar switching is performed in response to the selection signal.
33. The method of claim 32, wherein the crossbar switch comprises: The bits of the thermometer coded signal are selectively connected to the bits of the output data weighted average signal in an order having a barrel shift position at a starting bit position as specified by the select signal.
34. The method of claim 25, further comprising: The latched data weighted average signal is converted into a first analog voltage.
35. The method of claim 34, further comprising: Determine a differential analog voltage according to the first analog voltage and the second analog voltage; filtering the difference analog voltage to generate a filtered analog voltage; as well as The filtered analog voltage is quantized to generate the thermometer encoded signal.
36. The method of claim 35, quantization is performed at one of a rising edge or a falling edge of a clock signal, and wherein latching is performed at the other of the rising edge or the falling edge of the clock signal.
