Chargement…
Chargement…
The always-one bit in the first byte restores packet alignment.
Behavior
packet_valid pulses after byte three with buttons, signs, and overflow flags.| Signal | Direction | Width | Description |
|---|---|---|---|
clk, reset, byte_valid | Input | 1 bit | Clock, reset, and byte valid |
byte_in | Input | 8 bits | Received PS/2 byte |
buttons | Output | 3 bits | Left, right, middle buttons |
dx, dy | Output | 9 bits signed | Signed movements |
x_overflow, y_overflow, packet_valid | Output | 1 bit | Packet status |