Fixed the synthesize into nothing error. The top level module must
have an output in order for synthesis to succeed. Also fixed errors
resulting from the fact that one set of wires cannot be used as
the output of more than one instantiation of regn.