The document contains VHDL code for two finite state machines (FSMs), a Moore machine and a Mealy machine, both implementing state transitions based on input signals. The code outlines the definitions, current and next state management, and output generation for the respective conditions of the input and current state. Additionally, each FSM is structured to reset to an initial state and update on clock edges.