This document describes several examples of VHDL code implementations for digital circuits, including:
1) Moore and Mealy finite state machines with 4 states each that demonstrate the use of two processes - one for combinational logic and one for synchronous elements.
2) A read-only memory (ROM) implemented using a constant array that can be indexed to read values from locations.
3) A waveform generator that uses a ROM to store output values for each time step, with a counter to step through the time steps.
4) An enhanced "smart" waveform generator that allows time steps to be extended over multiple clock cycles by adding a second ROM to store duration values and a delay counter.