Add and use splitNormalized helper function.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Thu, 13 Aug 2009 14:12:31 +0000 (16:12 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Thu, 13 Aug 2009 14:12:31 +0000 (16:12 +0200)
commit10dfe589f40e65d51ca1585beecf00ae85169cae
tree6fa6e8c29129768b1861c45f8ec7ebf89b857fca
parente7f89819c61188a732c8f011d74d783800e88da8
Add and use splitNormalized helper function.

This function puts the matching of a normalized expression in a single
place instead of spread out over multiple places. This prevents some code
duplication and allows for better error reporting.
cλash/CLasH/Normalize.hs
cλash/CLasH/Utils/Core/CoreTools.hs
cλash/CLasH/VHDL/Generate.hs
cλash/CLasH/VHDL/Testbench.hs