-- Copyright(C) 2003 by Xilinx, Inc. All rights reserved. 
-- The files included in this design directory contain proprietary, confidential information of 
-- Xilinx, Inc., are distributed under license from Xilinx, Inc., and may be used, copied 
-- and/or disclosed only pursuant to the terms of a valid license agreement with Xilinx, Inc. 
-- This copyright notice must be retained as part of this text at all times. 


WATCH_SC is a top level Schematic type project of a Stop Watch. 

DESIGN TYPE:
        ISE (chip xc2v40-5bg256)

CONTROLS 
Inputs:
* CLK -System clock for the Watch design.
* STRTSTOP -Starts and stops the stopwatch. This is an active-low signal 
            which acts like the start/stop button on a runner's stop-watch.
* RESET -Resets the stopwatch to 00.0 after it has been stopped.

Outputs:
* TENSOUT[6:0] -7-bit bus which represents the Tens digit of the stopwatch 
                value. This bus is in 7-segment display format to be viewable 
                on the 7-segment LED display. 
* ONESOUT[6:0] -similar to TENSOUT bus above, but represents the Ones digit 
                of the stopwatch value.
* TENTHSOUT[9:0] -10-bit bus which represents the Tenths digit of the stopwatch 
                  value. This bus is one-hot encoded.

DESCRIPTION:
* STMACH_A or STMACH_V -State Machine macro. This module uses the VSS 
                        StateCAD Editor to enter and implement the state machine. 
* CNT60 -Schematic-based module which counts from 0 to 59, decimal. This macro 
         has two 4-bit outputs, which represent the 'ones' and 'tens' digits of 
         the decimal values, respectively.
* TENTHS -A LogiBLOX 10-bit, one-hot encoded counter. This macro outputs the 
          'tenths' digit of the watch value as a 10-bit one-hot encoded value.
* HEX2LED -HDL-based macro. This macro decodes the ones and tens digit values 
           from hexadecimal to 7-segment display format.
* OUTS3 -Schematic-based macros which define the external output 
                       pin assignments for TENSOUT, ONESOUT, and TENTHSOUT 
                       output buses.

SIMULATION:
Behavioural and RTL Simulation done using VHDL Testbench (stopwatch_tb.vhd).


NOTE: If you are trying to run this example in a read-only location,    
the design hierachy will not display properly. Please copy the example  
project to a new location by using either Project Save As... from the File menu
pulldown in ISE or some other method of your choice. Copy the example to a location
where you have write permissions and the hiearchy will display properly. 


For support information and contacts please see:

	http://support.xilinx.com
or
	http://support.xilinx.com/support/services/contact_info.htm
