A digital circuit simulator written in sed