http://www.bized.co.uk                 Start Group tutorial [2]Prepared by          Alaa Salah Shehata          Mahmoud A....
http://www.bized.co.ukOutline   -Using Xilinx IP Cores          -ISIM Simulator          -Language Templates              ...
http://www.bized.co.ukUsing Xilinx IP Cores                     Copyright 2006 – Biz/ed
tutorial                                                                   http://www.bized.co.ukWhy IP cores An IP (intel...
tutorial                                             http://www.bized.co.ukFirst Step              Generating IP Core     ...
tutorial           http://www.bized.co.uk                            6              Copyright 2006 – Biz/ed
tutorial                                             http://www.bized.co.ukIn the IP selection window, find the IP tocusto...
tutorial                                 http://www.bized.co.uk           For information about the customization         ...
tutorial                                           http://www.bized.co.uk           Now, we generated an IP core and this ...
tutorial             http://www.bized.co.ukData Sheet                             10                Copyright 2006 – Biz/ed
tutorial                                  http://www.bized.co.ukSecond Step       Using IP Core                           ...
tutorial                                                             http://www.bized.co.uklibrary IEEE;                  ...
tutorial                                          http://www.bized.co.ukBeginyour_instance_name : adder_core              ...
tutorial                                                    http://www.bized.co.ukThird Step                   Simulating ...
http://www.bized.co.uk[ISIM] ISE Simulator                     Copyright 2006 – Biz/ed
tutorial                   http://www.bized.co.ukISIM Simulator                                   16                      ...
tutorial                   http://www.bized.co.ukISIM Simulator                                   17                      ...
tutorial                   http://www.bized.co.ukISIM Simulator                                   18                      ...
tutorial                   http://www.bized.co.ukISIM Simulator                                   19                      ...
tutorial                   http://www.bized.co.ukISIM Simulator                                   20                      ...
tutorial                                             http://www.bized.co.ukDownload ISIM tutorial from Xilinxhttp://www.xi...
http://www.bized.co.ukLanguage Templates                  Copyright 2006 – Biz/ed
tutorial                                                                   http://www.bized.co.ukLanguage Templates The IS...
tutorial                                                              http://www.bized.co.ukLanguage Templates            ...
tutorial                                            http://www.bized.co.ukLanguage Templates you can create your own custo...
tutorial                                             http://www.bized.co.ukLanguage Templates 4-Add your code to the right...
tutorial                       http://www.bized.co.ukSee You Next Session                                       27        ...
Upcoming SlideShare
Loading in …5
×

Start group tutorial [2]

629 views

Published on

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
629
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
34
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Start group tutorial [2]

  1. 1. http://www.bized.co.uk Start Group tutorial [2]Prepared by Alaa Salah Shehata Mahmoud A. M. Abd El Latif Mohamed Mohamed Tala’t Mohamed Salah Mahmoud Version 02 – October 2011 Copyright 2006 – Biz/ed
  2. 2. http://www.bized.co.ukOutline -Using Xilinx IP Cores -ISIM Simulator -Language Templates B 2 Copyright 2006 – Biz/ed
  3. 3. http://www.bized.co.ukUsing Xilinx IP Cores Copyright 2006 – Biz/ed
  4. 4. tutorial http://www.bized.co.ukWhy IP cores An IP (intellectual property) core is a block of logic or data that is used in FPGAs or ASIC for a product. Features 1-Repeated use of previously designed components. 2-Portable that is able to easily be inserted into any design methodology. 4 Copyright 2006 – Biz/ed
  5. 5. tutorial http://www.bized.co.ukFirst Step Generating IP Core 5 Copyright 2006 – Biz/ed
  6. 6. tutorial http://www.bized.co.uk 6 Copyright 2006 – Biz/ed
  7. 7. tutorial http://www.bized.co.ukIn the IP selection window, find the IP tocustomize. 7 Copyright 2006 – Biz/ed
  8. 8. tutorial http://www.bized.co.uk For information about the customization options, click the Data Sheet button in the core customization GUI. The data sheet that appears explains all of the options. 8 Copyright 2006 – Biz/ed
  9. 9. tutorial http://www.bized.co.uk Now, we generated an IP core and this core is on this project, before generating this code you must read the data sheet to deal with its GUI, know the timing diagram and pins I/O interface of this core. 9 Copyright 2006 – Biz/ed
  10. 10. tutorial http://www.bized.co.ukData Sheet 10 Copyright 2006 – Biz/ed
  11. 11. tutorial http://www.bized.co.ukSecond Step Using IP Core 11 Copyright 2006 – Biz/ed
  12. 12. tutorial http://www.bized.co.uklibrary IEEE; Now, we will make a project that adds twouse IEEE.STD_LOGIC_1164.ALL; numbers using this IP core. VHDL codeentity add is port ( in1 : IN std_logic_VECTOR(14 downto 0); in2 : IN std_logic_VECTOR(14 downto 0); clk : IN std_logic; enable : IN std_logic; result : OUT std_logic_VECTOR(15 downto 0));end entity;architecture Behavioral of add iscomponent adder_core port ( a: IN std_logic_VECTOR(14 downto 0); b: IN std_logic_VECTOR(14 downto 0); clk: IN std_logic; ce: IN std_logic; s: OUT std_logic_VECTOR(15 downto 0));end component; 12 Copyright 2006 – Biz/ed
  13. 13. tutorial http://www.bized.co.ukBeginyour_instance_name : adder_core port map ( a => in1, b => in2, clk => clk, ce => enable, s => result);end Behavioral; 13 Copyright 2006 – Biz/ed
  14. 14. tutorial http://www.bized.co.ukThird Step Simulating IP CoreClick the device icon ..in Design Utilities clickon compile HDL Simulation libraries.For simulation on Modelsim you shouldgenerate some libraries for the ip core. 14 Copyright 2006 – Biz/ed
  15. 15. http://www.bized.co.uk[ISIM] ISE Simulator Copyright 2006 – Biz/ed
  16. 16. tutorial http://www.bized.co.ukISIM Simulator 16 Copyright 2006 – Biz/ed
  17. 17. tutorial http://www.bized.co.ukISIM Simulator 17 Copyright 2006 – Biz/ed
  18. 18. tutorial http://www.bized.co.ukISIM Simulator 18 Copyright 2006 – Biz/ed
  19. 19. tutorial http://www.bized.co.ukISIM Simulator 19 Copyright 2006 – Biz/ed
  20. 20. tutorial http://www.bized.co.ukISIM Simulator 20 Copyright 2006 – Biz/ed
  21. 21. tutorial http://www.bized.co.ukDownload ISIM tutorial from Xilinxhttp://www.xilinx.com/support/documentation/sw_manuals/xilinx11/ug682.pdf 21 Copyright 2006 – Biz/ed
  22. 22. http://www.bized.co.ukLanguage Templates Copyright 2006 – Biz/ed
  23. 23. tutorial http://www.bized.co.ukLanguage Templates The ISE Language Templates provide predefined pieces of code and code syntax for use in your source files. These templates enable easy insertion of pre-built text structures into your VHDL file. Select Edit > Language Templates, or click the Language Templates toolbar button shown . 23 Copyright 2006 – Biz/ed
  24. 24. tutorial http://www.bized.co.ukLanguage Templates Click the plus (+) icon to expand the folders until you find the template you want to use. Select the template to display it in the right pane. Insert the code in your source file. 24 Copyright 2006 – Biz/ed
  25. 25. tutorial http://www.bized.co.ukLanguage Templates you can create your own custom templates as follows. 1-Select the User Templates folder. 2-Right Click : New Folder Type a name for your folder. 3-Right Click : New Template. Type a name for your template. 25 Copyright 2006 – Biz/ed
  26. 26. tutorial http://www.bized.co.ukLanguage Templates 4-Add your code to the right pane of the Language Templates window. 5-Right Click on the template name : Save Template. 6-Note To remove a template, select the template, and click the Delete toolbar button . 26 Copyright 2006 – Biz/ed
  27. 27. tutorial http://www.bized.co.ukSee You Next Session 27 Copyright 2006 – Biz/ed

×