comparator to find low and high
play

Comparator to find low and high If in0<in1 => in0-in1 <0 - PowerPoint PPT Presentation

Comparator to find low and high If in0<in1 => in0-in1 <0 => S=1 If in0>in1 => in0-in1 >0 => S=0 Design a circuit to sort 4 numbers from low to high Example Sort 1,2,4 and 5 from low to high 5 and 4 are


  1. Comparator to find low and high • If in0<in1 => in0-in1 <0 => S=1 • If in0>in1 => in0-in1 >0 => S=0

  2. Design a circuit to sort 4 numbers from low to high

  3. Example • Sort 1,2,4 and 5 from low to high • 5 and 4 are given to in1 and in2; 2 and 1 are given to in3 and in4 • From the comparators 5 and 2 are selected as high; 1 and 4 selected as low

  4. Example • Now the selected low and high o/p’s are sent to another 2 comparator blocks

  5. Example • Now the low values of two comparator blocks are given to one comparator and high values are given to another • One comparator block gives low value(1) and other gives high value(5) of all the inputs • The remaining values are sent to the final comparator which gives the low and high value of the

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend