Sun May 27 00:25:01 EDT 2018
Basic print seems to be working.
How to re-enable expressions?
Or does it not matter?
Likely, MyHDL will flatten expressions to internal nodes.
Or not? Look at the HDL output maybe?
In any case, it will make the output more readable.
So how to decide to inline a node? When it has only one user an it is
not a Delay node.
This isn't so hard to compute. The user list for each node can then
be rendered such that:
- signals definitions and .next= lines can be skipped
- code is recursively inlined when printing the expression