# system.tcl simvision { # Open new waveform window window new WaveWindow -name "Waves for Example Sports Altimeter Design" waveform using "Waves for Example Sports Altimeter Design" # add Clock and nReset to wave window waveform add -signals system.Clock waveform add -signals system.nReset # add pressure to wave window as sampled analogue signal set id [ waveform add -signals system.SENSOR.pressure ] waveform format $id -trace analogSampleAndHold waveform axis range $id -min 850 -max 1150 -scale linear # add remaining altimeter I/O to wave window waveform add -signals system.nMode waveform add -signals system.nTrip waveform add -signals system.nAltCS waveform add -signals system.SPICLK waveform add -signals system.MOSI waveform add -signals system.MISO waveform add -signals system.SegA waveform add -signals system.SegB waveform add -signals system.SegC waveform add -signals system.SegD waveform add -signals system.SegE waveform add -signals system.SegF waveform add -signals system.SegG waveform add -signals system.DP waveform add -signals system.nDigit waveform add -signals system.mode_index } # ========================================================================= # Probe # Any signals included in register window but not in waveform window # should be probed # =========================================================================