# Circuits TODO Threshold logic circuits to build. ## Voting / Threshold Functions 1. 1outof4 2. 2outof4 3. 3outof4 4. atmost1outof4 5. atmost2outof4 6. atmost3outof4 7. exactly1outof4 8. exactly2outof4 9. exactly3outof4 10. majority3 11. majority5 12. majority7 13. minority3 14. minority5 15. minority7 ## Comparison 16. lessthanorequal 17. greaterthanorequal 18. comparator4bit ## Encoders / Decoders 19. 2to4decoder 20. 4to2encoder 21. 8to3encoder 22. gray2binary 23. binary2gray 24. 7segment ## Arithmetic 25. carrylookahead4bit 26. multiplier3x3 27. multiplier4x4 28. incrementer4bit 29. decrementer4bit 30. subtractor4bit 31. negator4bit ## Bit Manipulation 32. popcount4 33. popcount8 34. clz4 35. clz8 36. ffs4 37. reverse4 38. reverse8 ## Shift / Rotate 39. shiftleft4 40. shiftright4 41. rotateleft4 42. rotateright4 43. barrelshift4 ## Multiplexers / Demultiplexers 44. mux8 45. demux4 46. demux8