Harald Pretl
10/24/2023, 10:32 AMxschem
feature idea: How about adding (besides the waveform viewer) a kind of “simulation datasheet”? Like a table that I can fill with expressions that evaluate simulation data (like waveforms) and just give me a value? This would allow complex simulation scenarios straight out of xschem (using the .control flow of ngspice
), and alleviates the need of looking at graphs. I assume we could use Tcl expressions for this? (as long as we can get sim data into a Tcl variable).Stefan Schippers
10/24/2023, 11:43 AMled
is saved you get the necessary values by doing:
set led [xschem raw_query values led]
set time [xschem raw_query values time]
foreach x $time y $led { #do whatever calculation with x and y}
Doing other calculations, like finding the max value, or the time when a signal goes high is quite simple, but I need to think on the GUI implementation to make this available to users without writing (small) tcl routines.Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by