%-------------------------------------------------% UNIT us; % Keep time in microseconds % START 0; % Start time % STOP 20; % Stop time % INTERVAL 1; % Time between steps % % List of inputs. Order is important % INPUTS TIME_BUTTON HOURS_BUTTON MINUTES_BUTTON CLK; % Outputs are optional, but order is important if % % autochecking of the simulation is desired % OUTPUTS HOURS MINS SECS; % The PATTERN statement signifies the start of the test % % vectors. The order of signals is based on the INPUTS % % and OUTPUTS lists above. Only the INPUTS are required. % % One test vector per line % % This example uses relative time patterns since timing % % and propogation delay are not issues % PATTERN % TIME_BUTTON HOURS_BUTTON MINUTES_BUTTON CLK % 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 ; % Semi-colon at end of vector list %