Be more strict in state recognition.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Fri, 14 Aug 2009 11:27:31 +0000 (13:27 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Fri, 14 Aug 2009 11:27:31 +0000 (13:27 +0200)
commit85693fb7ac19042b767cd712e92aec9897a0155e
tree08c74b652e76b90a247626c2a60250aa15e4dfbd
parentc14448ec4b59b13cffa7274d6154366d3be13fbb
Be more strict in state recognition.

Previously, any cast that involves a state variable, would be classified
as state (un)packing. Now, only do this if the cast actually changes a
variable from (packed) state to non state (e.g., unpacked state).
cλash/CLasH/VHDL/Generate.hs