Make appsimpl also simplify dataconstructors.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 23 Jun 2009 14:12:50 +0000 (16:12 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 23 Jun 2009 14:12:50 +0000 (16:12 +0200)
commit9026d70f3c7e17eb361139cea95c5b1aa6c4b2a7
treee11dcc841bb32d69e846235e01ebb9e30cc837a9
parent606922724499463248f49b7ea7c5925eacbd0b4b
Make appsimpl also simplify dataconstructors.

These were previously left alone, since they were considered already
simple (they're simple variable references). However, a dataconstructor
can be translated to a VHDL expression, which can be assigned to a signal,
but not used in the port map of an component instantiation.

Also prevent letremovetop from inlining the datacon again.
Normalize.hs