The detector allows finding out the inequality of bits when the inequality is detected, a logic gate xor switches to the high state; this change of state activates a monostable that disables the clock input buffers of both registers Ra and Rb and the shift right operation stops. Therefore, the comparison stops as well. The advantage of this comparator is that the register width does not influence the comparator structure since it compares only two bits, which considerably reduces the number of logic gates used. The data input of the shift registers are serial, so the width of the data bus is significantly reduced.
The global circuit of the serial comparator starts by converting the parallel data into serial data by performing a rotation, as many pulses as there are bits. Then, if data are represented in series, the comparison should be carried out. The comparison is done as usual. If the bits of the same rank are equal, a right shift will be done. Figure 3 shows the operating algorithm of the comparator circuit.
Result analysis
A global circuit of the serial comparator. The global circuit of the serial comparator has been implemented in the DSCH software version 3.5 to simulate the global circuit and see some parameters that characterize it (Fig. 4). Note that the demultiplexers have been replaced by buffers because they are not provided by DSCH. It is also the case of the shift registers of the comparator.
Timing Simulation. It is necessary to validate the schematic of logic circuit. To overcome this problem DSCH and MICROWIND 2.0 designing tools works simultaneously. First, the design is simulated in DSCH designing tools to know the exact functionality of the circuit and then implemented on the layout in microwind. Figure 5 shows timing simulation of the proposed serial comparator.
With: t1 : reset, t2 : activation of the comparison, t3 : data transmission in A, t4 : data transmission in B, t5: comparison.
Figure 5 shows the operation of the global comparison circuit at time t1, the circuit is reset to zero by a pulse on reset.
After the reset, the comparison must be activated by maintaining the cs (cheap select) at 1 while two values are being compared. Then the two values are transmitted to the two registers Ra and Rb. When the two values are well in the registers, a common clock shifts the values of the two registers until the end of the comparison. The comparison stops upon detecting an inequality.
Layout analysis. The layout designing has been automatically generated. The verilog file has been generated by the DSCH 3.5 tool which is compiled by the MICROWIND 2.0. This Figure shows the layout of a designing circuit (http://www.swsys.ru/ uploaded/image/2022-2/2022-2-dop/12.jpg).
The layout size is the following: width 627.5 μm (1255 lambda), height 148.0 μm (296 lambda), surf 92870.0 μm2 (0.1 mm2).
The designed circuit of the serial comparator has been simulated using DSCH 3.5 and Microwind 2.0. The results and others parameters are shown in the Figures (http://www.swsys.ru/ uploaded/image/2022-2/2022-2-dop/13.jpg).
Conclusion
The authors have proposed a miniaturized efficient 8-bit comparator design by using block optimization approach. The proposed 8-bit comparator circuit can work efficiently with minimum complexity.
It is evident from the simulation results that the comparator circuit has been successfully executed and simulated on DSCH 3.5 tool, which is compiled by the MICROWIND 2.0.
Hence this design can be used in implementation of n-bit and can be used in various applications.
References
1. Singh A., Kumar S., Manhas P. Implementation of comparator using different styles of modeling. Proc. Int. Conf. on Latest Trends in Electronics & Communication Engineering, Greater Noida, 2019.
2. Aggarwal M., Mehra R. Performance analysis of magnitude comparator using different design techniques. Int. J. of Computer Applications, 2015, vol. 115, no. 14, pp. 12–15. DOI: 10.5120/20218-2496.
3. Sokol M., Galajda P., Pecovsky M. Improving Input Circuits for 7-bit Flash AD Converter. Proc. XXX Int. Conf. Radioelektronika, 2020, pp. 1–5. DOI: 10.1109/RADIOELEKTRONIKA49387.2020.9092400.
4. Jayashree H.V., Agarwal V.K., Charan P.V., Kariappa A.M.C. Design of fault tolerant n bit reversible comparator for optimization of garbage and Ancilla bits. Proc. of Int. Conf. on Circuits, Communication, Control and Computing, 2014, pp. 21–24. DOI: 10.1109/CIMCA.2014.7057748.
5. Sharma A., Sharma P. Area and power efficient 4-bit comparator design by using 1-bit full adder module. Proc. Int. Conf. on Parallel, Distributed and Grid Computing, 2014, pp. 1–6. DOI: 10.1109/PDGC. 2014.7030705.
6. Vaghela R.S., Ghandhi P.P. Design and analysis of low offset high speed dynamic comparator. IJMTER, 2016, vol. 3, no. 5, pp. 1–7.
7. Latha B.C., Kumar V.P., Tech M. Design of reversible comparators with priority encoding using Verilog HDL. IJLEMR, 2016, no. 7. Available at: http://www.ijmetmr.com/oljuly2016/BChaitanyaLatha-VPraveenKumar-25.pdf (accessed February 12, 2022).
8. Svendsen G.D. Convertisseur de Données Parallèle – Série Synchrone a Rapport de Fréquence Programmable. Demande de Brevet d’Invention, no. 83 03434.
9. Razavi B. The StrongARM Latch [a circuit for all seasons]. IEEE Solid State Circuits Magazine, 2015, vol. 7, no. 2, pp. 12–17. DOI: 10.1109/MSSC.2015.2418155.
10. Snehalatha G., Akhila M., Snehalatha G. Design and implementation of low power VCO based ADC using TIQ comparator in cadence using 45nm Technology. IJMTER, 2017, vol. 4, no. 8, pp. 191–201. DOI: 10.21884/IJMTER.2017.4269.K2BG5.
Литература
1. Singh A., Kumar S., Manhas P. Implementation of comparator using different styles of modeling. Proc. Int. Conf. on Latest Trends in Electronics & Communication Engineering, Greater Noida, 2019.
2. Aggarwal M., Mehra R. Performance analysis of magnitude comparator using different design techniques. Int. J. of Computer Applications, 2015, vol. 115, no. 14, pp. 12–15. DOI: 10.5120/20218-2496.
3. Sokol M., Galajda P., Pecovsky M. Improving Input Circuits for 7-bit Flash AD Converter. Proc. XXX Int. Conf. Radioelektronika, 2020, pp. 1–5. DOI: 10.1109/RADIOELEKTRONIKA49387.2020.9092400.
4. Jayashree H.V., Agarwal V.K., Charan P.V., Kariappa A.M.C. Design of fault tolerant n bit re-versible comparator for optimization of garbage and Ancilla bits. Proc. of Int. Conf. on Circuits, Com-munication, Control and Computing, 2014, pp. 21–24. DOI: 10.1109/CIMCA.2014.7057748.
5. Sharma A., Sharma P. Area and power efficient 4-bit comparator design by using 1-bit full adder module. Proc. Int. Conf. on Parallel, Distributed and Grid Computing, 2014, pp. 1–6. DOI: 10.1109/PDGC. 2014.7030705.
6. Vaghela R.S., Ghandhi P.P. Design and analysis of low offset high speed dynamic comparator. IJMTER, 2016, vol. 3, no. 5, pp. 1–7.
7. Latha B.C., Kumar V.P., Tech M. Design of reversible comparators with priority encoding using Verilog HDL. IJLEMR, 2016, no. 7. URL: http://www.ijmetmr.com/oljuly2016/BChaitanyaLatha-VPraveenKumar-25.pdf (дата обращения: 12.02.2022).
8. Svendsen G.D. Convertisseur de Données Parallèle – Série Synchrone a Rapport de Fréquence Programmable. Demande de Brevet d’Invention, no. 83 03434.
9. Razavi B. The StrongARM Latch [a circuit for all seasons]. IEEE Solid State Circuits Magazine, 2015, vol. 7, no. 2, pp. 12–17. DOI: 10.1109/MSSC.2015.2418155.
10. Snehalatha G., Akhila M., Snehalatha G. Design and implementation of low power VCO based ADC using TIQ comparator in cadence using 45nm Technology. IJMTER, 2017, vol. 4, no. 8, pp. 191–201. DOI: 10.21884/IJMTER.2017.4269.K2BG5.