This patch reworks the NetLatch class from Alan and all the back end routines to make them match the typical Icarus way. It also adds support for simulating a synthesized latch following the pattern used for the DFF. It also fixes some bugs and cleans up the DFF code. After this patch is applies the dffsynth and basiclatch tests work correctly. Only the case5 test is failing.
This is only a V0.8 patch and it fixes two test fail in the test suite.