V0.9: Add support for giving both strengths to a pull device.
In the standard a pull device can be given both a 1 and 0 strength. Only the appropriate one is actually used. This patch adds support for giving both pull strength to a pull device.
This commit is contained in:
parent
3b89043f68
commit
8841f81f51
16
parse.y
16
parse.y
|
|
@ -2226,10 +2226,26 @@ module_item
|
|||
{ pform_makegates(PGBuiltin::PULLUP, $3, 0, $5, 0);
|
||||
}
|
||||
|
||||
| K_pullup '(' dr_strength1 ',' dr_strength0 ')' gate_instance_list ';'
|
||||
{ pform_makegates(PGBuiltin::PULLUP, $3, 0, $7, 0);
|
||||
}
|
||||
|
||||
| K_pullup '(' dr_strength0 ',' dr_strength1 ')' gate_instance_list ';'
|
||||
{ pform_makegates(PGBuiltin::PULLUP, $5, 0, $7, 0);
|
||||
}
|
||||
|
||||
| K_pulldown '(' dr_strength0 ')' gate_instance_list ';'
|
||||
{ pform_makegates(PGBuiltin::PULLDOWN, $3, 0, $5, 0);
|
||||
}
|
||||
|
||||
| K_pulldown '(' dr_strength1 ',' dr_strength0 ')' gate_instance_list ';'
|
||||
{ pform_makegates(PGBuiltin::PULLDOWN, $5, 0, $7, 0);
|
||||
}
|
||||
|
||||
| K_pulldown '(' dr_strength0 ',' dr_strength1 ')' gate_instance_list ';'
|
||||
{ pform_makegates(PGBuiltin::PULLDOWN, $3, 0, $7, 0);
|
||||
}
|
||||
|
||||
/* This rule handles instantiations of modules and user defined
|
||||
primitives. These devices to not have delay lists or strengths,
|
||||
but then can have parameter lists. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue