CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Combinational Logic

Given the NAND-Only XOR Circuit, Construct the NOR-Only XNOR Circuit Using Duality

HardLogic CircuitAnalyze

Standard cell libraries often restrict designs to a single universal gate type to optimize lithography patterns.

The schematic shows a classic four-gate topology built entirely from NAND gates. The inputs are A and B, and the final output is Y. The intermediate nodes are N1 (driven by A and B), N2 (driven by A and N1), and N3 (driven by B and N1).

Apply structural duality to this topology. Replace every NAND gate with a NOR gate without altering the wiring. Determine the new Boolean function at Y and verify the transformation by evaluating specific input vectors.

Constraints

  • Assume ideal standard 2-input NAND and NOR gate behavior.
  • The structural wiring topology must remain exactly identical during the transformation.

Topics

xordualitynand-norstructural-logic

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • Binary to HexEasy
  • 1-to-4 Demultiplexer from AND and NOT GatesEasy
  • 2-to-4 Line Decoder with Active-High EnableEasy
  • Hex Nibble to BinaryEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Full Adder from Half AddersEasy
  • Modulo ArithmeticMedium
  • Two's Complement: Encode a Negative DecimalEasy

Browse all problems · Learning tracks