Chapter 1 – Simple Design
Using the D2E Board
1) Double-click the Project Navigator icon on the desktop to start Xilinx ISE 4.2i
From the “File” menu, choose “New Project”.
Name the project “chap1” and store it on your H: drive.
Make sure that the proper chip is chosen. The family should be “Spartan2E” and the device should be “xc2s200e-7pq208”.
Design flow should be “XST-Verilog”.
Click “OK”.

2) Right-click in the “Sources in Project” window and choose “New Source …”.
Choose “Schematic” from the left menu, and name it “sch1”.
Click “Next”.
Click “Finish”.

3) You should see a screen similar to (except it will be blank):

4) From the list on the right, choose, “IBUFG”, “INV”, and “OBUF” and place them in a row as shown in the above picture.
5)
Click the wire drawing
button and connect
the parts together. Re squares should
appear around the ends to show a connection before you click. It should look like:

6) Add wires to both ends of the chain. Use the “Esc” key to end the drawing of the wire.

7)
Choose the net naming button
and click on each of
the two end nets. Call one “button” and
the other “led”. The name must be typed
in the box on the upper left of the screen.

8)
Next, click the port label button
and add an input on
the left and an output on the right.

9) Save the schematic and exit.
10) Back in the main project navigator window, choose “Design Entry Utilities” – “User Constraints” – “Edit Implementation Constraints (Constraints Editor)”. Double click on the constraints editor to open it.
11) Click the “Ports” tab and enter the locations as below:

12) Save your changes and exit. When the notice pops us, choose “Reset”.
13) From the window on the left, right-click “Generate Programming File” and choose “Properties”.
14) Click the “Startup Options” tab and change the “Start-Up Clock” to “JTAG Clock” and click “OK”.

15) From the window on the left, double-click “Generate Programming File”

16) When that finishes, double click “Configure Device (iMPACT)”

17) Right-Click on the green chip and choose “Program”. When the new window pops up, click “OK”.
18) When it is finished, press the button on the D2E board (the one without the LCD) and the LED next to it should blink.
Assignments:
1) Make the LED toggle on and off when the button is pushed (If it is off, the button turns it on. If it is on, the button turns it off.)
2) Add a debouncer to assignment 1.
Here are the pin numbers for the useful parts for this assignment.| D2E Pin # | D2E Function |
| P69 | LED |
| P77 | Button |
| P80 | Oscillator |