Encoder In Digital Circuits