Keep the width information for all the tran gates.

Update the compiler to keep the actual width information for all the
tran gates.
This commit is contained in:
Cary R
2012-01-02 10:25:46 -08:00
parent 142f661737
commit ba4137d1e8
4 changed files with 18 additions and 12 deletions
+1 -2
View File
@@ -963,7 +963,7 @@ bool dll_target::tran(const NetTran*net)
{
struct ivl_switch_s*obj = new struct ivl_switch_s;
obj->type = net->type();
obj->width = 0;
obj->width = net->vector_width();
obj->part = 0;
obj->offset = 0;
obj->name = net->name();
@@ -996,7 +996,6 @@ bool dll_target::tran(const NetTran*net)
}
if (obj->type == IVL_SW_TRAN_VP) {
obj->width = net->vector_width();
obj->part = net->part_width();
obj->offset= net->part_offset();
}