16-Bit General Purpose CPU. A technical documentation about the architecture can be found here: https://docs.google.com/spreadsheets/d/1MG44B5RzTul4EMDJowlx4hgNE3XYFRoyR7EFi6A0o3M/edit?usp=sharing Features: - Fully programable - 16 registers - Up to 128KiB of memory - Integer operations - Boolean operations - Stack - Function calls - 16x16 display with basic IO Included program: PONG Set the simulation to ~100 kHz tick speed for the intended game speed. Where to find things: - Display: at the bottom of the circuit. - Buttons: UP and DOWN, to the right of the display. How to play: - Title screen: press any button. - Menu: UP cycles the bot difficulty (1-5, shown as a staircase), DOWN starts the game. - In game: UP / DOWN move your paddle (left side). - Where the ball hits your paddle decides its direction: top edge -> ball goes up middle -> ball goes straight bottom edge -> ball goes down Aim away from the bot to get the ball past it! - The ball gets faster the longer a rally lasts. - After each point the score is shown (you left, bot right) and the scorer's digit blinks. Press a button or wait to serve again. - First to 8 points wins. Press a button to return to the menu. Difficulty: Low levels react late and mostly return the ball straight. High levels react early and aim for the edges, away from your paddle. TODO: - Serial Bus - Interrupts