Abstract

Odd and even number detection is an important mathematical operation. Generally when any number is divisible by 2 then it is called an even number, otherwise, it is an odd number. Division by 2 can be easily obtained by putting a point before the least significant bit of any binary number. As an example a number (27)10 = (11011)2 when divided by 2 its result will be (1101.1)2 = (13.5)10. Hence when we find the fractional bit as logic-1 we can say that the number is odd, otherwise, it is even. This operation can be obtained by using a demultiplexer. Here we have developed an optical circuit that can divide any binary integer number by 2, apart from that its 1’s complement can also be obtained from the circuit. Both of the results can be obtained simultaneously. Terahertz optical asymmetric demultiplexer based switch plays a very important role to design this n-bit circuit. Numerical simulations are done to find the performance of the circuit.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.