I'm working on a video about the internals of flip flops. I can use a loop to iterate over the metastable region and show how the output takes longer to settle. I'm wondering if there's a way to get ngspice to solve for the longest settle time and tell me the d vs clk time delta?
I know how to do it in Ocean and Cadence Virtuoso. There are some function to compute delay between two edges which can than be done as on a results for a sweep variable e.g. clock delay.
I suppose one should be able to similar thing using meas (chapter 17.5.43) but I don't have experience with that.
Alternative is to use PySpice and do postprocessing on the results using python.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.