Getting Started with Xilinx ISE - muneeb-mbytes/FPGABoard_edgeSpartan6 GitHub Wiki

After successful installation of Xilinx ISE open your terminal and source the settings64.sh file

source /opt/Xilinx/14.7/ISE_DS/settings64.sh

This command is followed by ise

The above steps are for Linux users. Windows users can simply double click on the ISE icon.

ezgif com-video-to-gif

Now Project navigator will open. This is how it looks.

Screenshot from 2023-04-01 19-51-39 (1)

Next step is to close any projects that are open. To close Project in the toolbar go to File>Close Project.

ezgif com-resize (1)

Let us now start by Creating a new Project! Go to File>New Project. A new window will open fill in the name of the project and select the desired location. Under top level source type select HDL. Next project settings will open up, select the following settings for it.

  • Evaluation Development Board - None Specified
  • Product Category- All
  • Family- Spartan 6
  • Device- XC6SLX9
  • Package- TQG144
  • Synthesis Tool- XST (Verilog/VHDL)
  • Simulator- iSim (VHDL/Verilog)
  • Preferred Language- Verilog

ezgif com-resize (2)

Next step is to add the source file. Go to Project>Add source> select the desired file. You can also create your own source file by creating one.

ezgif com-resize (3)

Next Step is Synthesize. Double click on Synthesize XST.

image

Next step is to check the RTL schematic. Double Click on View RTL Schematic.

image

This will show the RTL schematic. The RTL schematic is as follows.

image

Next step is to check the Technology schematic. Double Click on View Technology Schematic.

image This will show the Technology Schematic. It looks as follows.

image

Double Clicking on the LUT in the Schematic will give details such as the Schematic, Equation, Truth table and K-Map of the Look Up Table(LUT).

image image image image

Next step is Check Syntax. Double Click on Check Syntax.

image

After Check syntax is Successful double click on Generate Post-Synthesis Simulation Model.

Screenshot from 2023-04-02 20-50-46

Adding a Stimulus Block Go to Project>Add Source> Select the testbench file.

ezgif com-resize (4)

Select the View to Simulation.

image

Double Click on Behavioral Check Syntax.

Screenshot from 2023-04-02 20-59-48

After Behavioral Check Syntax is completed successfully. Double Click on Simulate Behavioral Model.

image

This will open up a new window called I-Simulator.

image

Verify the logic using the waveform.

image

Now remove the TestBench file by right clicking on it and then Remove.

image

Now add the UCF file. ** Project>Add source> select the ucf file.**

ezgif com-resize (5)

Double click on Implement design.

image

Once Implement Design is done Double click on Generate programming file.

image

Next step is to configure the device. Expand Configure Target Device and double click on Manage Configuration Project (iMPACT).

image

This will open up a new window called iMPACT

image

Double click on Boundary scan.

boundaryscan

Right click and select Initialize Chain . This can be done using Ctrl+I as well.

initiate-chain

Now select the bitstream file. This will have an extension .bit and will be in the project directory.

bitfile

Now a new window will pop up asking "Do you want to attach an SPI or BPI PROM to this device?" Click on No here.

flash

Now a new pop up will open named Device Programming Properties. Click on Ok.

verify

Once the previous step is done Right click and select Program.

program

You should now receive a "Program Succeeded" message as below.

ucess