Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Make an XOR gate using only AND and OR gates
New Posts  All Forums:Forum Nav:

Make an XOR gate using only AND and OR gates

post #1 of 7
Thread Starter 
I need to be able to build a XOR gate using only AND and OR gates... or you could read the title.

There is a way to build it using inverters and nand gates, but the challenge is to build it using only AND's and OR's.

Mods, please move this to the appropriate section if this is not it.
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
post #2 of 7
I dont think you can make one using only AND and OR gates, as they are not "Universal". NAND and NOR are the two gate types that can do something like this.
post #3 of 7
I don't know if you can do that without inverters...
Sulaco
(14 items)
 
 
MacBook Pro
(4 items)
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T Asus Crosshair IV Formula Sapphire 7950 3GB 2x2GB Mushkin Enhanced Blackline  
Hard DriveOSMonitorPower
2x150GB Velociraptor RAID 0 | 2x1TB Hitachi Windows 8 Asus VH242H OCZ ModXStream 700W 
Case
Cooler Master HAF 932 
CPUGraphicsOSMonitor
Core 2 Duo P8400 GeForce 9400M OSX Yosemite 13.3" LED-backlit 
  hide details  
Reply
Sulaco
(14 items)
 
 
MacBook Pro
(4 items)
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T Asus Crosshair IV Formula Sapphire 7950 3GB 2x2GB Mushkin Enhanced Blackline  
Hard DriveOSMonitorPower
2x150GB Velociraptor RAID 0 | 2x1TB Hitachi Windows 8 Asus VH242H OCZ ModXStream 700W 
Case
Cooler Master HAF 932 
CPUGraphicsOSMonitor
Core 2 Duo P8400 GeForce 9400M OSX Yosemite 13.3" LED-backlit 
  hide details  
Reply
post #4 of 7
Quote:
Originally Posted by superhead91;13394974 
I don't know if you can do that without inverters...
correct

u need 2 inverters minimum actually
yunojelly
(17 items)
 
  
CPUMotherboardGraphicsGraphics
2600K P8P67 EVO GTX Titan 560 Ti GE 
RAMHard DriveHard DriveHard Drive
16GB 1600/CL8 64GB C300 RAID0 128GB M4 256GB M4 
CoolingOSMonitorPower
NH-D14 Windows 8 Pro VP2770-LED 850AX 
Case
PCV1020B 
  hide details  
Reply
yunojelly
(17 items)
 
  
CPUMotherboardGraphicsGraphics
2600K P8P67 EVO GTX Titan 560 Ti GE 
RAMHard DriveHard DriveHard Drive
16GB 1600/CL8 64GB C300 RAID0 128GB M4 256GB M4 
CoolingOSMonitorPower
NH-D14 Windows 8 Pro VP2770-LED 850AX 
Case
PCV1020B 
  hide details  
Reply
post #5 of 7
nm u said or and and only
Simple 2
(11 items)
 
  
CPUMotherboardGraphicsRAM
FX-8150 Asus Crosshair V EVGA GTX-570 G.Skill Sniper 2133 8GB 
Hard DriveOptical DriveCoolingOS
Corsair Force 3 120GB HP dvd 1260 Raystorm rs 360 ddc 3.2 x 2 Windows 7 x64 Ultimate 
PowerCaseMouse
Max-Revo 85+ 920 Watt Coolermaster 932 Logitech G9x 
  hide details  
Reply
Simple 2
(11 items)
 
  
CPUMotherboardGraphicsRAM
FX-8150 Asus Crosshair V EVGA GTX-570 G.Skill Sniper 2133 8GB 
Hard DriveOptical DriveCoolingOS
Corsair Force 3 120GB HP dvd 1260 Raystorm rs 360 ddc 3.2 x 2 Windows 7 x64 Ultimate 
PowerCaseMouse
Max-Revo 85+ 920 Watt Coolermaster 932 Logitech G9x 
  hide details  
Reply
post #6 of 7
Thread Starter 
Thanks guys - I realized that too while I was building my circuit.
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
post #7 of 7
Quote:
Originally Posted by dealio;13395001 
correct

u need 2 inverters minimum actually

couldn't you do it with

(NOT (a AND b)) AND (a OR b)
    
CPUMotherboardOSMonitor
2500k P8P67 Windows 7 Ultimate x64 22" phillips 
KeyboardPowerMouseMouse Pad
Cheap Logitech Antec Earthwatts 650W Razer Deathadder Razer eXactMat 
  hide details  
Reply
    
CPUMotherboardOSMonitor
2500k P8P67 Windows 7 Ultimate x64 22" phillips 
KeyboardPowerMouseMouse Pad
Cheap Logitech Antec Earthwatts 650W Razer Deathadder Razer eXactMat 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Make an XOR gate using only AND and OR gates