Monday, September 11, 2017

Controlled 4 bit Comparator circuit using Logisim

 Design a Controlled 4-bit Comparator circuit using Logisim.

Design a 4-bit comparator based on the following specifications:


Inputs:  Two 4 bit numbers  A = A3A2A1A and B =B3B2B1B0

1-bit control  C where: If C = 0, then A and B are unsigned binary numbers.  

If C = 1, then A and B are 2’s complement signed numbers.

Outputs:  
There are 3 outputs for this circuit.  After comparing A and B, the circuit will set the correct output to 1.

Computerized or Double Comparators are made up from standard AND, NOR and NOT entryways that think about the advanced signs introduce at their information terminals and deliver a yield contingent on the state of those sources of info.
For instance, alongside having the capacity to include and subtract double numbers we should have the capacity to think about them and decide if the estimation of info An is more prominent than, littler than or equivalent to the incentive at input B and so on. The advanced comparator achieves this utilizing a few rationale doors that work on the standards of Boolean Variable based math. There are two main types of Digital Comparator available and these are.
  • 1. Identity Comparator – an Identity Comparator is a digital comparator with only one output terminal for when A = B, either A = B = 1 (HIGH) or A = B = 0(LOW)
  • 2. Magnitude Comparator – a Magnitude Comparator is a digital comparator which has three output terminals, one each for equality, A = B  greater than, A > B  and less than A < B
The reason for an Advanced Comparator is to look at an arrangement of factors or obscure numbers, for instance, An (A1, A2, A3, … . An, and so forth) against that of steady or obscure esteem, for example, B (B1, B2, B3, … . Bn, and so on) and deliver a yield condition or banner relying on the aftereffect of the examination. For instance, a greatness comparator of two 1-bits, (An and B) sources of info would create the accompanying three yield conditions when contrasted with each other.
A>B or A=B or A<B
Which means:  A is greater than B,  A is equal to B,  or A is less than B
This is helpful on the off chance that we need to contrast two factors and need to deliver a yield when any of the over three conditions are accomplished. For instance, create a yield from a counter when a specific check number is come to.

The image provides a 4-bit unsigned comparator. On the same basis, we can design signed comparator. If you need further explanation and original logisim files please email at shivamtyagi18@gmail.com.








Wednesday, September 28, 2016

Vedic Devta's Planet


Vedic Devta's Planet


As per the wikipedia data which they have taken as per Indian Vedas and other scriptures of importance (like Srimad Bhagwat) one year of demigod is equal to 360 human years. That is if we consider that Devtas or demigods live on a planet, their time is 360 times slower than that of ours. Now as per Gravitational Time Dilation, time on a planet is directly proportional to its distance from source of gravity G pulling it (like in our case Sun is pulling Earth) we can say that the distance from some source of gravity G and that planet must be 360 times less than that of distance between G and Earth, that is they are closer to G. (That also means that clock ticks slower when near to gravitational source G.)
On a serious note to find an intelligent life form first we need to find this source of gravity G around which we and that planet will be revolving. Then we need to focus on planets in space which have  distance from G around 1/360 times of distance between G and Earth.

Controlled 4 bit Comparator circuit using Logisim

 Design a  Controlled 4-bit Comparator circuit u sing Logisim . Design a 4-bit comparator based on the following specifications: ...