ToolSphere
All tools

Digital Logic Lab

Tools for a digital logic or computer architecture course (such as Berkeley CS 61C or MIT 6.1910): build truth tables, simplify with Karnaugh maps, check binary arithmetic and work out cache tag, index and offset bits.

1. Gates and Boolean functions

Simulate logic gates, list a function as a truth table, simplify with named Boolean laws and find minimal SOP and POS forms.

2. Numbers and memory

Add and subtract binary numbers, convert floating-point values to IEEE 754 bits, or split an address into cache tag, index and offset bits.

3. Instruction set architecture

Assemble RV32I assembly instructions to machine code or decode hex instructions with full R, I, S, B, U, and J format field breakdowns.

Other labs

Frequently asked questions

Does the K-map solver give the minimal expression?

Yes. It finds a cover with the fewest terms, then the fewest literals, and the Quine-McCluskey guide shows the same simplification done by hand.

Which courses is this for?

Introductory digital logic and computer architecture courses: Boolean algebra, gates, truth tables, Karnaugh maps, binary arithmetic and caches.