Tutorial Active HDL
Tutorial Active HDL
171
Appendix A
Browse to the directory where you want to store the project, type gates for the workspace name and click OK.
172
Appendix A
Select Create an Empty Design with Design Flow and click Next.
Press Select
173
Select Implementation
Click Ok
174
Appendix A
Click Next
Click Finish.
175
Click Next.
176
Appendix A
Click New.
Type a.
Click Finish.
177
This will generate a VHDL template with the input and output signals filled in. Add your name as author and type Behavior of 2-input gates as the description.
Note that the entity has been completed for you (see Listing 1.1 in Example 1).
2 Click Save
178
Appendix A
Click Choose, select gates2 as the top-level design, and click Add.
Click Ok
179
The waveform window will automatically come up with the simulation already initialized. Make sure order is a, b, z (grab and drag if necessary). Right-click on a and select Stimulators.
180
Appendix A
181
Click + sign to show all elements of z. Print out the waveform by selecting File -> Print from the menu bar. Study the waveform for various magnifications. Click design flow
182
Appendix A
183
Click
Select Spartan3..XC3S200..FT256.
Click Ok.
Click Ok
184
Appendix A
Type in the pin numbers for the two left-most slide switches for a and b and the six rightmost LEDs for the values of z(1:6).
Click Save and then click Ok Close the window Click implementation options
185
Select 3s200ft256
Browse and select the file gates2.ucf that you just created Click Ok. Select Translate and check Allow Unmatched LOC Constraints. Select BitStream and uncheck Do Not Run Bitgen.
Click Ok
186
Appendix A
Click implementation
187
Click Finish
188
Appendix A
Click OK
189
Click OK.
After downloading the .bit file, Program Succeeded will be displayed. Close the iMPACT window and click Yes. Your program is now running on the board.