// This special stimulus simulates the climbing of a mountain // Pressure stimulus // // the pressure decreases as we go up the mountain // and then increases again as we come back down initial begin SENSOR.pressure=1013; start_up_delay(); // quick ascent while ( SENSOR.pressure > 913 ) #0.5s SENSOR.pressure--; // a short wait at the top #60s // even quicker descent while ( SENSOR.pressure < 1013 ) #0.1s SENSOR.pressure++; end // Button stimulus // // After about 5 seconds switch to vertical speed display initial begin Mode = 0; Trip = 0; mode_index = 0; #5s -> press_mode_button; #0.5s -> press_mode_button; end // Stimulus not changed for // Clock nReset and scan path signals initial begin Test = 0; SDI = 0; ScanEnable = 0; nReset = 0; #(`clock_period / 4) nReset = 1; end initial begin Clock = 0; #`clock_period forever begin Clock = 1; #(`clock_period / 2) Clock = 0; #(`clock_period / 2) Clock = 0; end end