← AI & Computing Labs
11 Simulator Labs

Computer Science

Bits, gates & algorithms — from binary and logic gates through CPU cycles, memory, data structures, threads and client-server computing.

🖥️

CPU Architecture Lab

Assemble and run real RV32I-style programs on a five-stage pipeline, with forwarding, caching and a cycle-by-cycle trace.

Open Simulator →
🔩

Embedded Microcontroller I/O

Sample sensors, run a firmware scheduler and drive a motor or servo on a simulated MCU, with 11 injectable electrical faults.

Open Simulator →
🔢

Binary & Bits

An eight-bit register, place values and a ripple carry chain — unsigned carry versus signed overflow.

Open Simulator →
🔀

Logic Gates

Six gates on a digital trainer — input switches, output lamp and an automatically cycling truth table.

Open Simulator →
🔄

CPU Instruction Cycle

Fetch, decode and execute a LOAD, ADD, STORE and HALT program on a simple accumulator machine.

Open Simulator →
🗃️

Memory Hierarchy

Register, direct-mapped cache and RAM — locality, conflict thrashing and streaming access traces.

Open Simulator →
📚

Stack & Heap

Call-stack frames beside a heap arena — clean unwinding, leaked blocks and a use-after-free access.

Open Simulator →
🌳

Data Structures

Array, linked list, stack, queue and binary search tree — one operation trace each, with comparison counts.

Open Simulator →
📊

Sorting Algorithms

Bubble, insertion and selection sort on eight tagged values — comparisons, swaps and inversions.

Open Simulator →
🧵

Processes & Threads

Two threads share one counter — scheduler slices, a lost-update race and a mutex-protected critical section.

Open Simulator →
🖥️

Client-Server Computing

Clients, network delay, a FIFO queue and one worker — queueing latency, server errors and request timeouts.

Open Simulator →