12-14-2014, 10:03 PM
(This post was last modified: 12-15-2014, 08:07 AM by GISED_Link.)
![[Image: 593603ThundeRedGeneral2.jpg]](http://img15.hostingpics.net/pics/593603ThundeRedGeneral2.jpg)
8 bits binary comparator
![[Image: 9829358bitcomparator.png]](http://img15.hostingpics.net/pics/9829358bitcomparator.png)
A binary comparator is a device that can say if a x bits number is higher, smaller or equal to another value.
The video !
Features :
- 2 inputs in 8 bits
- fast, 4 ticks max
- the mode is selectable : unsigned or signed
We can use it for :
- The branchings in a CPU
- Many games where we need to compare 2 numbers
[spoiler=The pictures !]
![[Image: 46200320141214193917.png]](http://img15.hostingpics.net/pics/46200320141214193917.png)
front view
![[Image: 48853520141214193927.png]](http://img15.hostingpics.net/pics/48853520141214193927.png)
Outputs and the mode selection
![[Image: 89920920141028000222.png]](http://img4.hostingpics.net/pics/89920920141028000222.png)
back view
![[Image: 97116320141026230518.png]](http://img15.hostingpics.net/pics/97116320141026230518.png)
![[Image: 72456220141026230506.png]](http://img15.hostingpics.net/pics/72456220141026230506.png)
One sub-module
[/spoiler]
tada !