Everything we’ve built (frame detection, packet buffering, fair arbitration, crossbar routing, and byte serialization) comes together in one circuit. The full MiniSwitch2Port has two complete data paths, each with its own parser, ingress controller, and egress controller, connected through a shared arbiter and forwarder.
Click Send Packet on either port to inject a full Ethernet frame (preamble + 8 data bytes). The circuit parses the frame, buffers it, wins arbitration, routes it across the crossbar to the opposite port, and serializes it out. Watch the activity log to follow each byte through the pipeline.
Try sending on both ports to see the arbiter alternate fairly. Use Free Run to let the switch tick continuously, or Step to advance one clock cycle at a time.
This is a simplified but structurally accurate model of how real network switches work. Production switches use wider buses, deeper buffers, and more sophisticated routing tables, but the architecture is the same: parse, buffer, arbitrate, route, serialize.
The key insight is that a switch is not a computer running networking software. It’s a circuit that performs packet forwarding in hardware. Every stage runs concurrently: while one packet is being serialized out of port 0, another can be parsed and buffered on port 1. This pipeline parallelism is why hardware switches can forward millions of packets per second, far faster than any software router.