mylinked
Remove diode in the netlist

Background: sometimes, netlist has diodes that have no model. Or we simply don't want to
add any extra. Can we remove diode?

Some hints: Diodes starts with D in spice netlist

Solution: simply run the following in the command line


> perl -pe 's/^d/*d/i' netlist_in > netlist_out

This will add * whenever the line starts with *