Include optional names in Circuit datatypes
Created by: joaopizani
From @joaopizani on October 5, 2014 17:3
To generate reasonable VHDL, circuits (elements of the (low/high-level) Circuit datatype) have to have names.
We could provide fresh names (in some sort of monadic way), but a better approach would be, I think, to have optional names included in the Circuit datatype itself, and therefore separate the concerns of circuit description and naming.
Maybe later we can achieve a nice interface for naming by using some reflection. Meanwhile, just having the possibility to name circuits should be enough.
Copied from original issue: joaopizani/piware#23