Add an outer main module containing simulated hardware such as the clock and reset wire.