From: Matthijs Kooijman Date: Wed, 5 Aug 2009 10:12:28 +0000 (+0200) Subject: Make vhdl generation and normalization lazy. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=fcadaad2e47e5f6cba4b9f7d4341477b8fe74158;hp=fcadaad2e47e5f6cba4b9f7d4341477b8fe74158;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git Make vhdl generation and normalization lazy. Previously, first all function would be (recursively) normalized, and then VHDL would be generated. Now, functions are normalized when needed, and recursion is done while generating VHDL (so we know exactly which components we are instantiating). This disables the testbench and TFVec constructor for now, I'll fix that in the next commits. This also moves some code around, to prevent loops between Generate and VHDL (again...). The VHDLSession and NormalizeSession have been removed, and replaced with the (previously unused) TranslatorSession. There are a few backward compatibility aliases in place, so the next commit will probably remove these and do a bunch of trivial replaces all over the code. ---