School ICT Self Study
Absolutely Free Learning Opportunity! No Need to Spend Money! Study at Your Own Pace! Everything You Need is Right Here
UNLOCK YOUR DIGITAL FUTURE!
Free ICT Learning for Sri Lanka
🚀 Welcome to School ICT

Your Gateway to Digital Excellence

🌍
|
Advanced Truth Table Generator

Advanced Truth Table Generator

Input
Results
Gate Conversion
Verilog Code
Help
Use AND, OR, NOT, XOR, NAND, NOR, IMPLIES or symbols: · + - ⊕ →

🔄 Auto-Generate Boolean Formulas

Quickly generate common boolean expressions:

Click any button to automatically set the formula and variables

Quick Formulas

Expanded Formula

Truth Table

Universal Gate Conversion

Convert any boolean expression to use only NAND gates or only NOR gates. These are the two Universal Gates that can implement any boolean function.

About Universal Gates

NAND Gate: Known as a universal gate because any boolean function can be implemented using only NAND gates. This is widely used in CMOS technology.

NOR Gate: The other universal gate. Like NAND, any logic circuit (AND, OR, NOT) can be built using only NOR gates. It is essential in technologies like NMOS.

Note: XOR is NOT a universal gate on its own, but it is very useful for arithmetic operations.

🔧 NAND Gate Conversion

Convert to use only NAND gates

🔶 NOR Gate Conversion

Convert to use only NOR gates

⚡ XOR Optimization

Use XOR gates where possible (Not Universal)

Verilog Code Generator

Generate Verilog HDL code from your boolean expression for digital circuit simulation.

How to Use

Enter a boolean formula using logical operators and specify the variables to generate a truth table.

Supported Operators

OperatorSymbolsDescription
ANDAND, ·, &, &&Logical conjunction
OROR, +, |, ||Logical disjunction
NOTNOT, -, ~, !Logical negation
XORXOR, ⊕Exclusive OR
NANDNANDNot AND
NORNORNot OR
XNORXNORExclusive NOR (Inverse of XOR)
IMPLIESIMPLIES, →, =>Logical implication

Gate Conversion Features

The tool can convert boolean expressions to use specific gate types:

  • NAND Gate Conversion: Convert to use only NAND gates (Universal).
  • NOR Gate Conversion: Convert to use only NOR gates (Universal).
  • XOR Optimization: Uses XOR gates for efficiency in arithmetic/parity logic.

Universal Gate Properties

GateUniversal?Common Uses
NANDYesCMOS technology, basic logic circuits
NORYesNMOS technology, memory circuits
XORNoArithmetic, parity, cryptography

Note on XNOR Gates

XNOR (Exclusive-NOR) is the inverse of XOR. It outputs true (1) only when both inputs are the same (both 0 or both 1). Like XOR, XNOR is not a universal gate, but it is extremely useful in "Equality Detectors" and digital comparators.

Verilog Code Generation

The tool can generate Verilog HDL code for your boolean expressions that can be:

  • Simulated in DigitalJS online simulator
  • Used in FPGA/ASIC design workflows
🔴 Lesson List
SIDE BUTTON ON
Sign In Register
×

👋 Welcome Back!

🚀
Ready to Learn?Pick up where you left off.
🔑
Forgot Password?Click the link below to reset.
📢
New FeaturesCheck out the new AI Voice tool.

Sign In

👤
🔒
or continue with
Google Facebook

Already have an account? Register Now

🖥️ View Desktop Version Switch to full website view.