Redo V3Life to also do constant propagation

git-svn-id: file://localhost/svn/verilator/trunk/verilator@796 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder
2006-09-26 15:05:35 +00:00
parent 4f42c25c7c
commit ba7b4f261a
8 changed files with 297 additions and 142 deletions
+1
View File
@@ -327,6 +327,7 @@ void process () {
v3Global.rootp()->dumpTreeFile(v3Global.debugFilename("clock.tree"));
// Cleanup any dly vars or other temps that are simple assignments
// Life must be done before Subst, as it assumes each CFunc under _eval is called only once.
if (v3Global.opt.oLife()) {
V3Life::lifeAll(v3Global.rootp());
}