netlist_carpentry.routines.opt.driverless
¶
A collection of optimization algorithms removing driverless elements from a given circuit module.
Functions:
-
opt_driverless–Recursively removes driverless wires and instances from a module.
opt_driverless
¶
Recursively removes driverless wires and instances from a module.
This function iteratively checks for and removes driverless wires and instances until no more can be removed. It returns True if any removals occurred, False otherwise.
Parameters:
Returns:
-
any_removed(bool) –True if any optimizations were performed, False otherwise.