.........................................hhhhh..................................logic..................................hhhhh..................................gates................................................................................................................hhh..hh....hhhh...hhh....hhh...........and..or....nand...nor....xor...................................................f1..0a0...1a1....0a1....1a1...................................................g....0xb...2m2....1x.g...2m2.......................0xb....b......0xb................g.............................................g.............g........................................................................................hhhh....hhh............................xnor....not...................................................................0a1.....1x.g....................................b..............................1m2.....................................1x.g....................................b...........................hhhh...................................josh................................................................................