InterviewSolution
| 1. |
Write A Program To Explain The Comparator? |
|
Answer» To make a comparator there is a REQUIREMENT to use multiplexer that is having one input and many OUTPUTS. This allows the choosing of the maximum numbers that are required to design the comparator. The implementation of the 2 bit comparator can be done using the law of tigotomy that states that A > B, A < B, A = B (Law of trigotomy). The comparator can be implemented using: combinational logic circuits or MULTIPLEXERS that uses the HDL language to write the schematic at RTL and gate level. Behavioral model of comparator represented like: MODULE comp0 (Y1,y2,y3,a,b); To make a comparator there is a requirement to use multiplexer that is having one input and many outputs. This allows the choosing of the maximum numbers that are required to design the comparator. The implementation of the 2 bit comparator can be done using the law of tigotomy that states that A > B, A < B, A = B (Law of trigotomy). The comparator can be implemented using: combinational logic circuits or multiplexers that uses the HDL language to write the schematic at RTL and gate level. Behavioral model of comparator represented like: module comp0 (y1,y2,y3,a,b); |
|