WEBVTT

00:01.060 --> 00:08.820
So welcome the module 8. to Xilinx ISC project and this module will be learning how to create a file

00:09.020 --> 00:17.390
that will be used to program our bases to board creating a project after you fire up Xilinx IAC.

00:17.550 --> 00:23.110
Go ahead and click on the new project button new project wizard.

00:23.190 --> 00:27.260
This will bring up the new project wizard for the name of your project.

00:27.270 --> 00:32.250
Use the name of the entity of your VHDL design for the location.

00:32.250 --> 00:37.330
Navigate to the directory where your VHDL design is located.

00:37.350 --> 00:43.680
Make sure to select HDL as your top level source type project settings.

00:43.740 --> 00:51.240
The next step in the wizard is disliked all the project settings the base bases to board FPGA as a Spartan

00:51.240 --> 01:03.270
3 device X C S One hundred E and Sep 1 3 2 package with the speed grade of Dash 4.

01:03.360 --> 01:08.360
Select the VHDL synthesis tool and the ice simulator.

01:08.460 --> 01:14.400
We're using the VHDL 93 standard project summary.

01:14.430 --> 01:19.230
Once you have completed the new project wizard the project summary will be shown.

01:19.230 --> 01:23.700
This report will give you all the settings of the project we just created.

01:23.700 --> 01:29.010
Click Finish to create the project add design file.

01:29.010 --> 01:31.250
Your screen should look something like this.

01:31.260 --> 01:35.880
Select the implementation radio button in the View section.

01:35.880 --> 01:45.670
This is where you load our VHDL design file to project at source and this will bring up a dialog box.

01:45.780 --> 01:52.460
Navigate to the VHDL design file you are wanting to load onto the FPGA.

01:52.490 --> 02:00.030
No if you haven't already coded your VHDL file in Notepad post plus or other text editor you can select

02:00.180 --> 02:10.010
the new source and select VHDL file and code the design file in the ISC tool for that two example.

02:10.320 --> 02:16.800
If you don't click on the VHDL file in your project this is what your screen should look like.

02:16.800 --> 02:23.680
Note that the entity of the VHDL file is the same name of the ISC project.

02:23.790 --> 02:30.460
Also no the three squares that indicate your VHDL file is set as the top level.

02:30.540 --> 02:34.050
You can only have one top level VHDL file.

02:34.230 --> 02:40.980
If you have multiple VHDL files in it design the top level would contain component instantiations of

02:40.980 --> 02:43.270
all the other VHDL files.

02:44.130 --> 02:45.000
Map the.

02:45.110 --> 02:55.660
So the next step is to map the FPGA to the IDE to in our VHDL design make sure you have saved any edits

02:55.660 --> 03:02.830
to the VHDL file right click once on the top level VHDL design file to activate it.

03:03.070 --> 03:08.640
Then right click on the IO planning priest synthesis option and select Run.

03:08.820 --> 03:12.220
Note that for all the projects you will be completing.

03:12.250 --> 03:15.540
I'll provide you with the necessary user constraints file.

03:15.610 --> 03:19.540
So you only have to focus on the FPGA development portion.

03:19.540 --> 03:24.380
However if you're wanting to create your own designs this is a great reference for you.

03:25.500 --> 03:32.710
The following two dialog boxes may appear the first dialog box will appear.

03:32.760 --> 03:38.470
If you do not have a user constraints file inside of your project go ahead and click yes.

03:38.550 --> 03:45.810
Xilinx is just informing us that they will be adding a user constraints file or you CEF file to our

03:45.810 --> 03:47.520
project.

03:47.520 --> 03:55.800
This file is used to tell the compiler what FPGA pins are tied to what VHDL entity poor members.

03:55.830 --> 04:00.280
The next dialog box is warning you that you will be editing the same.

04:00.360 --> 04:06.890
You C-f from the IAC project we are currently have open and the new program we are currently opening.

04:06.900 --> 04:09.530
Go ahead and click yes.

04:09.600 --> 04:10.680
Plan ahead.

04:10.680 --> 04:14.510
This will bring up the Xilinx plan ahead tool showing your screen.

04:14.580 --> 04:19.580
The only part we are concerned with is the port section and the upper left hand side.

04:19.830 --> 04:26.550
Note that all the inputs and outputs specified an entity of your VHDL design should show up in this

04:26.550 --> 04:27.310
section.

04:29.170 --> 04:35.470
Here is you showing the entity VHDL design and the Plan ahead screenshot.

04:35.470 --> 04:41.770
Notice that the inputs and outputs of the entity match up with the available inputs and outputs we have

04:41.770 --> 04:46.520
available to map physical FPGA pins to and plan ahead.

04:46.720 --> 04:53.680
This is because the entities section are VHDL design tells us how our design interacts with the outside

04:53.680 --> 05:02.180
world which in this case pins on an FPGA in order to determine what entity ports need to connect to

05:02.180 --> 05:03.950
what pends referred to.

05:03.950 --> 05:10.790
The base is to use your guide where you will find and see your six figure six shows you what pins are

05:10.790 --> 05:21.590
connected to each peripheral for the for example will be using switch 0 1 and 2 for inputs X Y and C

05:21.590 --> 05:28.460
in these peripherals are connected to pins 11 L-3 and K3.

05:28.630 --> 05:34.950
So the output C and S will be using the Ltd's as indicators.

05:35.000 --> 05:42.870
The FPGA pins and M5 and 11 are connected to 0 and 1 which are the LDS.

05:42.880 --> 05:44.320
We will be utilizing.

05:44.600 --> 05:48.790
You should be able to see this reflected in the figure on the right.

05:48.800 --> 05:52.840
Now go ahead and click save and close out of plan ahead.

05:52.880 --> 06:00.140
You if user constraints file when you go back to your ISC project you should see your newly created

06:00.410 --> 06:02.690
U.S. file as shown.

06:02.690 --> 06:09.000
Double click on it and you can pretty easily pick up on the formatting if you want to create new U.S.

06:09.140 --> 06:09.880
files.

06:10.010 --> 06:13.580
You can use any text editor and following the pattern.

06:13.580 --> 06:15.980
Create your own you see files.

06:16.160 --> 06:22.430
However the nice thing about using plan ahead is that it only allows you to pick valid IO pins and you

06:22.430 --> 06:29.410
cannot pick the same pin twice implement in design and generate programming file.

06:29.570 --> 06:35.240
The final step is to implement our design and generate the programming file in order to do this.

06:35.240 --> 06:37.700
Right click on implement design.

06:37.700 --> 06:38.460
Run.

06:38.480 --> 06:41.000
This may take a few minutes to complete.

06:41.030 --> 06:44.630
Then right click on generate programming file run.

06:44.630 --> 06:48.210
This also can take a few minutes after this is completed.

06:48.230 --> 06:53.920
You can look in your projects directory and you should see a B tif file.

06:53.930 --> 07:02.000
This is a file you'll be loading onto the FPGA final report after your program file has been generated

07:02.330 --> 07:08.020
airport giving you all the information regarding to how many Io's you have used.

07:08.030 --> 07:14.800
How much logic your design has used up and an overall summary of your project summary.

07:14.870 --> 07:19.360
We have just completed module eight point two Xilinx ISC project.

07:19.350 --> 07:26.140
Here is a summary of everything we whenever we can use Plan ahead instead of Xilinx ISC to create.

07:26.140 --> 07:29.010
Are you C-f user constraints file.

07:29.270 --> 07:38.480
You import VHDL files into Xilinx IAC or even create them using the integrated VHDL editor Xilinx IAC

07:38.480 --> 07:43.970
is a tool we will be using to generate a program file to load onto our FPGA.
