The project uses NG SPICE to Simulate a Encoder which can be used to convert an Analog Signal to Manchester Encoded Digital Data. The Encoder comprises of the following Major SubCircuits:
It is a different type of encoder which is modified such that it gives a proper output even when there is more than one input which is high. As the name suggests, It gives the priority to the highest bit that is high and encodes it. No matter whether the lower bits are high or low, if one of the higher bits is high, the encoder gives the binary output of the higher bit. We have implemented a 8 - 3 Priority Encoder, quantizing the input into 8 levels. We use the following Truth Table:
From the above Truth Table we can formulate the following Logic Equations:
We use the Priority Encoder Coupled with Comparators and a Voltage Divider to get the Quantized Digital Output of the input Analog Signal. We use the following Template:
The output from the ADC as we can see above, is parallel, whereas our transmission requires serial data. Hence we use a PISO circuit to overcome this.
Using AOI, we tried to reduce the number of MOSFET's used in making each gate. The minimized form of the Logic gates were:
For More Information Refer To the Report through this link