Chargement…
Chargement…
Write VHDL and simulate with GHDL directly in the browser.
Exercises
10
Done
0
Total
10
CRC-8 Generator
Implement a CRC-8 generator (polynomial 0x07: x⁸+x²+x+1) processing one bit per clock cycle.
Vending Machine (Moore FSM)
Implement the FSM of a vending machine accepting 3 tokens then dispensing a drink on button press.
4-digit Code Lock (Moore FSM)
Implement an FSM that unlocks if sequence `1, 2, 3, 4` is entered correctly.
3-floor Elevator (Moore FSM)
Implement the FSM of a 3-floor elevator moving toward the target floor.
Round-Robin Arbiter 2 masters (FSM)
Implement a round-robin arbiter between two masters: priority swaps after each grant.
4-phase Handshake Master (FSM)
Implement the master FSM of a 4-phase handshake protocol (req/ack).
Automatic Door with Safety (FSM)
Implement the FSM of an automatic door with obstacle sensor and end-of-travel sensors.
Sequence Detector "1101" (Moore vs Mealy)
Implement the same sequence detector in two flavours: Moore and Mealy machines.
4x4 Matrix Keypad (Scan FSM)
Implement the sequential scan of a 4x4 matrix keypad and identify the pressed key.
Tree Reduced XOR
Describe a parameterized reduced XOR as a tree for a power-of-two width.