![](https://static.wixstatic.com/media/3b5532_1d4f6867830b4b9f82ba09d887816d78~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_1d4f6867830b4b9f82ba09d887816d78~mv2_d_1920_1200_s_2.png)
This post presents a transcript + screenshots of "Creating an AXI Peripheral in Vivado" from Xilinx. It is intended to reinforce learning how to create an AXI peripheral in Vivado and provide a reference to the steps presented. Corrections and tips have also been included to further aid learning. In addition, some screens have been zoomed and cropped to make certain actions more clear.
You Will Learn How To:
Use the Create and Package IP feature of Vivado
Create an AXI slave that echos registers writes
Run the auto testbench to verify the IP
Import the IP into a Micro Blaze design
Test reads and writes from code running on the MicroBlaze using SDK
Transcript, Screenshots and Commentary
(00:03) Hello and welcome to this Vivado QuickTake video
![](https://static.wixstatic.com/media/3b5532_8a3053bc691647f181f7617c368b850a~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_8a3053bc691647f181f7617c368b850a~mv2_d_1920_1200_s_2.png)
Note: the title presented, "Packaging Custom IP for use with IP Integrator" does not line up with the title listed on the site hosting the video.
(0:08) In this video you'll learn how to create an AXI peripheral to which custom logic can be added to create a customer IP using the create and package IP feature of Vivado.
![](https://static.wixstatic.com/media/3b5532_0f875a3c2480415ea21567e6d79c40c3~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_0f875a3c2480415ea21567e6d79c40c3~mv2_d_1920_1200_s_2.png)
![](https://static.wixstatic.com/media/3b5532_4eadb626f572461396e22eef65ba3080~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_4eadb626f572461396e22eef65ba3080~mv2_d_1920_1200_s_2.png)
(0:21) This training assumes that you are familiar with designing IP subsystems in IP integrator. You can watch some of the quick take videos on IP Integrator as shown on this slide:
![](https://static.wixstatic.com/media/3b5532_18c7cb4a93ac49369edd71becfd10dd7~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_18c7cb4a93ac49369edd71becfd10dd7~mv2_d_1920_1200_s_2.png)
Note: here are the links to the videos:
(00:32) In this Quick Take video we'll create a new project in Vivado using the create and package IP feature, we will then create a slave AXI peripheral. We'll create a test-bench and necessary drivers for the peripheral for developing a software application in SDK. We'll simulate the AXI peripheral in Vivado to ensure that the registers of the AXI peripheral can be written and read from using an AXI bus functional simulation model. Then we'll create a MicroBlaze processor based system in which we will add this custom IP. The design will be then implemented and the bitstream will be generated. We'll then export the hardware to SDK and create a test application and generate an ELF. Finally, we'll launch our application on the target board: KC705 and verify its functionality.
![](https://static.wixstatic.com/media/3b5532_17da956203714873a675b34f9770c9d3~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_17da956203714873a675b34f9770c9d3~mv2_d_1920_1200_s_2.png)
(1:18) We start our design by launching Vivado and creating a new project from the Quick Start page. We'll name the project and specify the location where the project will be saved. We'll skip some of the other options for adding existing RTL IP constraints to the project at this time as everything needed for this project will be generated later.
Create a New Project
Step: click Create New Project
![](https://static.wixstatic.com/media/3b5532_61a54e5d9bb74085a431a75ddfd0185b~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_61a54e5d9bb74085a431a75ddfd0185b~mv2_d_1920_1200_s_2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_a6847f8c59634f0a927ef5dac9d5a39b~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a6847f8c59634f0a927ef5dac9d5a39b~mv2_d_1920_1200_s_2.png)
Note: in the video the user taps Enter on the keyboard to go to the Next > screen
Step: enter a Project name, axi_peripheral in this case and click Next
![](https://static.wixstatic.com/media/3b5532_e8826bb2c2bd417f906eb26286f5b688~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_e8826bb2c2bd417f906eb26286f5b688~mv2_d_1920_1200_s_2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_602f029baaa14a019aaf7c0d84b00f4e~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_602f029baaa14a019aaf7c0d84b00f4e~mv2_d_1920_1200_s_2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_e4c138e501984695b67ca60397a58ee7~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_e4c138e501984695b67ca60397a58ee7~mv2_d_1920_1200_s_2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_8d357c3a49c9462f9f2b4c0a81760b45~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_8d357c3a49c9462f9f2b4c0a81760b45~mv2_d_1920_1200_s_2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_d13cd52db534420bb3ccdd6ee0d28519~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_d13cd52db534420bb3ccdd6ee0d28519~mv2_d_1920_1200_s_2.png)
(1:51) We select boards in the default part page. Vivado is board-aware and it knows the physical connections present on our target board. It can thus generate the appropriate physical and timing constraints where our target board based on the interfaces that we choose in our design, we select the KC705 target board here.
Step: click Boards
![](https://static.wixstatic.com/media/3b5532_8fbd23b1ae9c4552baffd9bf423ee2bd~mv2.png/v1/fill/w_876,h_640,al_c,q_90,enc_auto/3b5532_8fbd23b1ae9c4552baffd9bf423ee2bd~mv2.png)
Step: click Kintex-7 KC705 Evaluation Platform
![](https://static.wixstatic.com/media/3b5532_d983d2198f354e31b060bc270f82a7d6~mv2.png/v1/fill/w_851,h_619,al_c,q_90,enc_auto/3b5532_d983d2198f354e31b060bc270f82a7d6~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_42e43654dbed4436b915b94614aa3564~mv2.png/v1/fill/w_836,h_602,al_c,q_90,enc_auto/3b5532_42e43654dbed4436b915b94614aa3564~mv2.png)
(2:13) Lets review the summary screen to make sure that all the options have been entered correctly and click finish.
Step: click Finish
![](https://static.wixstatic.com/media/3b5532_ea8f86fcd8bb4fdfa4ea18a43e15c48a~mv2.png/v1/fill/w_875,h_635,al_c,q_90,enc_auto/3b5532_ea8f86fcd8bb4fdfa4ea18a43e15c48a~mv2.png)
Output: the Create Project status bar pops up
![](https://static.wixstatic.com/media/3b5532_3dcc3b53e8b14563b6c6e28796ce344a~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_3dcc3b53e8b14563b6c6e28796ce344a~mv2_d_1920_1200_s_2.png)
Output: the Create Project pop-up shows Creating project...
![](https://static.wixstatic.com/media/3b5532_c3c4260de2394c26bec3861c829d6e45~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_c3c4260de2394c26bec3861c829d6e45~mv2_d_1920_1200_s_2.png)
Output: the Create Project pop-up shows: Initializing project...
![](https://static.wixstatic.com/media/3b5532_05ce08cc7bf548529ba8b8ee9024d514~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_05ce08cc7bf548529ba8b8ee9024d514~mv2_d_1920_1200_s_2.png)
(02:19) Once the project has been created, we launch the create and package IP feature. Using this feature, you can either package a new IP or you can create a custom AXI peripheral to which your logic can then be added to make your own custom IP.
Create and Package IP
Step: click Tools > Create and Package IP...
![](https://static.wixstatic.com/media/3b5532_d6935b18c6944351bdab9511982b45d1~mv2.png/v1/fill/w_694,h_552,al_c,q_90,enc_auto/3b5532_d6935b18c6944351bdab9511982b45d1~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_55b1cf0195bc4a44a241ac7bef4598a7~mv2.png/v1/fill/w_821,h_648,al_c,q_90,enc_auto/3b5532_55b1cf0195bc4a44a241ac7bef4598a7~mv2.png)
(2:35) When you launch the create an IP package feature in a new project, you have two choices: (1) you either package a preexisting project directory or you can create a new AXI4 peripheral. We choose the creating a new AXI peripheral and click next.
Step: click Create a new AXI4 peripheral
![](https://static.wixstatic.com/media/3b5532_277f6bf2f9f84c409e3ae77bf03ffd73~mv2.png/v1/fill/w_847,h_659,al_c,q_90,enc_auto/3b5532_277f6bf2f9f84c409e3ae77bf03ffd73~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_2fb3e9b36b594cc1883ec5da09a395d8~mv2.png/v1/fill/w_849,h_672,al_c,q_90,enc_auto/3b5532_2fb3e9b36b594cc1883ec5da09a395d8~mv2.png)
(2:53) In the next page we can specify a several options such as name, version, display name, description, and the location where the IP will be created. Once the IP is created, you can search for the IP in the IP catalog using the name given to this peripheral. Also note down the IP location. This is where the IP repository is created.
Step: click Next
![](https://static.wixstatic.com/media/3b5532_4ba41f38639a476ba6530116b6cc4fe9~mv2.png/v1/fill/w_840,h_651,al_c,q_90,enc_auto/3b5532_4ba41f38639a476ba6530116b6cc4fe9~mv2.png)
(03:18) On the add interfaces page you choose the number of interfaces that you want the AXI peripheral to have. Interfaces can be added by clicking the plus sign and deleted by selecting the delete icon. Notice that the components symbol also gets updated as you add and delete interfaces. Several properties of the AXI4 peripheral can be specified on this page. You can specify the name of the AXI interface in the name field. You can choose the type of AXI4 protocol desired. The choices are light, full and stream. You can specify whether the interface is created in a master mode or a slave mode. You can also specify the data width for the interface and the number of registers desired. Currently the number of registers supported by this feature for AXI Lite interfaces between 4 to 512. For the purposes of this video, we'll go with the default values.
Demonstration of How to Add and Remove an AXI Interface (Not Required for These Steps)
Step: click + to add an interface
![](https://static.wixstatic.com/media/3b5532_1cc823c3d5a8435da299935b3b7084e4~mv2.png/v1/fill/w_819,h_640,al_c,q_90,enc_auto/3b5532_1cc823c3d5a8435da299935b3b7084e4~mv2.png)
Output: a new AXI slave interface pops up after clicking +
![](https://static.wixstatic.com/media/3b5532_c185239d0321455a83ade2fb57bffad9~mv2.png/v1/fill/w_819,h_637,al_c,q_90,enc_auto/3b5532_c185239d0321455a83ade2fb57bffad9~mv2.png)
Step: click X to remove an interface
![](https://static.wixstatic.com/media/3b5532_f7dd57d848764904bebe10795b06c995~mv2.png/v1/fill/w_818,h_636,al_c,q_90,enc_auto/3b5532_f7dd57d848764904bebe10795b06c995~mv2.png)
Output: the new interface disappears after clicking the X to remove an interface
![](https://static.wixstatic.com/media/3b5532_a603a93ddb1145af934bd32f4f7d3e5e~mv2.png/v1/fill/w_831,h_657,al_c,q_90,enc_auto/3b5532_a603a93ddb1145af934bd32f4f7d3e5e~mv2.png)
Output: pop up tool-tip text on Interface Type
![](https://static.wixstatic.com/media/3b5532_bc4b396301064fa18095332ab7b04983~mv2.png/v1/fill/w_828,h_662,al_c,q_90,enc_auto/3b5532_bc4b396301064fa18095332ab7b04983~mv2.png)
Output: the Interface Type options: Lite, Full and Stream
![](https://static.wixstatic.com/media/3b5532_3dfcb35312b34774a6197e716c25ca16~mv2.png/v1/fill/w_824,h_654,al_c,q_90,enc_auto/3b5532_3dfcb35312b34774a6197e716c25ca16~mv2.png)
Output: the Interface Mode options: Master and Slave
![](https://static.wixstatic.com/media/3b5532_fdd9a3f080c04a4c9d382fa71448e2a1~mv2.png/v1/fill/w_830,h_658,al_c,q_90,enc_auto/3b5532_fdd9a3f080c04a4c9d382fa71448e2a1~mv2.png)
Output: the tool-tip text of Interface Type:
Lite : Simple, non-burst control register style interface
Full : Burst Capable, high-throughput memory mapped interface
Stream: Burst Capable, high-throughput streaming interface
Note: For more details on the AXI4 specification click here (TBD get link)
![](https://static.wixstatic.com/media/3b5532_2de363165ccd41cdafc8b7f84589ff68~mv2.png/v1/fill/w_980,h_650,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_2de363165ccd41cdafc8b7f84589ff68~mv2.png)
Output: the tool-tip text of Data Width (Bits)
![](https://static.wixstatic.com/media/3b5532_34e83fac8ae8428197636905a83b96c8~mv2.png/v1/fill/w_845,h_645,al_c,q_90,enc_auto/3b5532_34e83fac8ae8428197636905a83b96c8~mv2.png)
(4:09) Click next to get to the by summary page...
Continue Creating and Packaging a New AXI Peripheral
Step: click Next
![](https://static.wixstatic.com/media/3b5532_8bc4f6367cc541cd9541231f4c8b66fb~mv2.png/v1/fill/w_823,h_654,al_c,q_90,enc_auto/3b5532_8bc4f6367cc541cd9541231f4c8b66fb~mv2.png)
(4:10) ...where you can either add the IP to the repository or edit the IP further to create a custom IP. You can also create a test-bench to verify the AXI4 peripheral using an AXI bus functional simulation model or you can test the IP in hardware by using the JTAG-to-AXI IP core. In this case we will select the verify peripheral IP using AXI4 BFM simulation interface option...
Output: the default create a customer IP screen pops up
![](https://static.wixstatic.com/media/3b5532_67b6befcf32c45139c25a81ac4773106~mv2.png/v1/fill/w_822,h_656,al_c,q_90,enc_auto/3b5532_67b6befcf32c45139c25a81ac4773106~mv2.png)
Step: click Verify peripheral IP using AXI4 BFM Simulation interface
![](https://static.wixstatic.com/media/3b5532_984197b5af2646488d14607b40eefbce~mv2.png/v1/fill/w_835,h_660,al_c,q_90,enc_auto/3b5532_984197b5af2646488d14607b40eefbce~mv2.png)
(4:32) ...and click on finish to create the AXI peripheral.
Step: click Finish
![](https://static.wixstatic.com/media/3b5532_eb005ab9db88420691804f7eecdd0eff~mv2.png/v1/fill/w_829,h_656,al_c,q_90,enc_auto/3b5532_eb005ab9db88420691804f7eecdd0eff~mv2.png)
Output: a Creating new peripheral... window pops up
![](https://static.wixstatic.com/media/3b5532_9b6220bb1c154cc897242d52f2554361~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_9b6220bb1c154cc897242d52f2554361~mv2_d_1920_1200_s_2.png)
(04:34) As you notice, a block design is created and an AXI peripheral is instantiated unconnected to the AXI bus functional model.
Output: a Opening BFM IPI demonstration design... status window pops up
![](https://static.wixstatic.com/media/3b5532_717a3afcfb924093b05d458f2d9ef54d~mv2.png/v1/fill/w_980,h_551,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_717a3afcfb924093b05d458f2d9ef54d~mv2.png)
Output: create_bd_design output on the Tcl Console
![](https://static.wixstatic.com/media/3b5532_bbb0a5e312e74d44905e6f919e67b8fd~mv2.png/v1/fill/w_980,h_726,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_bbb0a5e312e74d44905e6f919e67b8fd~mv2.png)
Output: the diagram starts to populate, ACLK, ARESETN and myip_0 are added
![](https://static.wixstatic.com/media/3b5532_53d1a83d1ebb4f078aa8096b1fd65f93~mv2.png/v1/fill/w_980,h_760,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_53d1a83d1ebb4f078aa8096b1fd65f93~mv2.png)
Output: the diagram continues to populate, master_0 is added
![](https://static.wixstatic.com/media/3b5532_b312592ef41c4c5f99a8deb13cfcd047~mv2.png/v1/fill/w_980,h_691,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_b312592ef41c4c5f99a8deb13cfcd047~mv2.png)
Output: ACLK is connected to m_axi_lite_aclk & s00_axi_aclk and ARESETN is connected to s00_axi_aresetn & m_axi_lite_aresetn
![](https://static.wixstatic.com/media/3b5532_529c5a72e4954fbda3b8bb58d448e848~mv2.png/v1/fill/w_980,h_620,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_529c5a72e4954fbda3b8bb58d448e848~mv2.png)
Output: additional Tcl Console output about /myip_0/S00_AXI/S00_AXI_reg being mapped into /master_0/Data_lite at 0x44A00000
![](https://static.wixstatic.com/media/3b5532_1bfd7947fc46462388761336ed9ff183~mv2.png/v1/fill/w_980,h_619,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_1bfd7947fc46462388761336ed9ff183~mv2.png)
Output: additional Tcl Console about VHDL and bd file for the BFM being written out.
![](https://static.wixstatic.com/media/3b5532_277ddfe618cf45ee9dcfc35b6d1fe84c~mv2.png/v1/fill/w_980,h_620,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_277ddfe618cf45ee9dcfc35b6d1fe84c~mv2.png)
Output: Create Peripheral pop-up reports: Generate IP 'myip_v1_0_bfm_1_myip_0_0'...
![](https://static.wixstatic.com/media/3b5532_f350c8e41c3d4e0e9ebc45efc6089802~mv2.png/v1/fill/w_980,h_615,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_f350c8e41c3d4e0e9ebc45efc6089802~mv2.png)
Output: Create Peripheral pop-up reports: Generate IP 'myip_v1_0_bfm_1_master_0_0'...
![](https://static.wixstatic.com/media/3b5532_6b815212d76b4a0a82699fd5298870ec~mv2.png/v1/fill/w_980,h_619,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_6b815212d76b4a0a82699fd5298870ec~mv2.png)
Output: Create Peripheral pop-up reports: Running xelab... (note: xelab is the simulator compiler. See [UG900] p.120 for more info)
![](https://static.wixstatic.com/media/3b5532_3041bdea14c9499e98bbacd0b9981e4b~mv2.png/v1/fill/w_980,h_564,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_3041bdea14c9499e98bbacd0b9981e4b~mv2.png)
Output: Create Peripheral pop-up reports: Launching simulation for 'myip_v1_0_tb_behav'...
![](https://static.wixstatic.com/media/3b5532_a94fe5854ca54cb98c6fae5246125f28~mv2.png/v1/fill/w_980,h_614,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a94fe5854ca54cb98c6fae5246125f28~mv2.png)
Output: xsim starts to run
![](https://static.wixstatic.com/media/3b5532_3bd456ff9b8e4fe4ac53433fc2a627fa~mv2.png/v1/fill/w_980,h_775,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_3bd456ff9b8e4fe4ac53433fc2a627fa~mv2.png)
(05:01) The design is then elaborated and simulation is launched. The test-bench that is created with this design, exercises the bus functional model (BFM) to generate several read and write transactions. Those transactions can then be verified in the simulation window as well as on the Tcl console where the result of read/write transactions are written out.
Output: xsim running, current time reported.
![](https://static.wixstatic.com/media/3b5532_f3cb603b7a754fe4aab93397a46b6841~mv2.png/v1/fill/w_980,h_489,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_f3cb603b7a754fe4aab93397a46b6841~mv2.png)
Output: xsim done
![](https://static.wixstatic.com/media/3b5532_818ce1cc119d412b95adc465a7120886~mv2.png/v1/fill/w_980,h_491,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_818ce1cc119d412b95adc465a7120886~mv2.png)
How to Format Objects as Hex
Demo step: click a bus in the Objects window
![](https://static.wixstatic.com/media/3b5532_1833a3ad06e84a8491b3fed4d063f3d5~mv2.png/v1/fill/w_758,h_849,al_c,q_90,enc_auto/3b5532_1833a3ad06e84a8491b3fed4d063f3d5~mv2.png)
Demo step: click Radix, Hexadecimal
![](https://static.wixstatic.com/media/3b5532_12901953ce484365bb628143fe35ce41~mv2.png/v1/fill/w_980,h_529,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_12901953ce484365bb628143fe35ce41~mv2.png)
Output: see the hex values in the Objects window
![](https://static.wixstatic.com/media/3b5532_f06b1c50314b40049376cb81fbd5ca06~mv2.png/v1/fill/w_980,h_530,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_f06b1c50314b40049376cb81fbd5ca06~mv2.png)
(5:23) Take a moment to look at the waveform window and also the TCL console to verify that write and read operations took place alright.
How to Format Signals as Hex
Step: select signals > select Radix > select Hexadecimal
![](https://static.wixstatic.com/media/3b5532_1e2632aa445641db99e819d3acd15e2d~mv2.png/v1/fill/w_947,h_792,al_c,q_90,enc_auto/3b5532_1e2632aa445641db99e819d3acd15e2d~mv2.png)
Output: signals in hex
![](https://static.wixstatic.com/media/3b5532_0d9dcc60ec8a4ecdb551bdc6d36a4a53~mv2.png/v1/fill/w_949,h_712,al_c,q_90,enc_auto/3b5532_0d9dcc60ec8a4ecdb551bdc6d36a4a53~mv2.png)
How to Zoom Fit
Step: TBD
![](https://static.wixstatic.com/media/3b5532_ab20ae1ada6141049ea8eb5bc795cbb5~mv2.png/v1/fill/w_957,h_422,al_c,q_90,enc_auto/3b5532_ab20ae1ada6141049ea8eb5bc795cbb5~mv2.png)
Output: zoomed version
![](https://static.wixstatic.com/media/3b5532_f0ec2d2cd4134392a19d8574911e6f87~mv2.png/v1/fill/w_980,h_395,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_f0ec2d2cd4134392a19d8574911e6f87~mv2.png)
(5:35) You will notice several statements in the Tcl console showing the data written to the peripheral and the data read out from it.
Output: the Tcl console data
![](https://static.wixstatic.com/media/3b5532_4f8470962f314695a308609513fc50f4~mv2.png/v1/fill/w_980,h_833,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_4f8470962f314695a308609513fc50f4~mv2.png)
Output: start of the Tcl console data
![](https://static.wixstatic.com/media/3b5532_50534081dbb54b34940f350c630c842c~mv2.png/v1/fill/w_980,h_824,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_50534081dbb54b34940f350c630c842c~mv2.png)
Output: end of the Tcl console data
![](https://static.wixstatic.com/media/3b5532_4a5297647e194e719958474fc43fa6db~mv2.png/v1/fill/w_980,h_833,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_4a5297647e194e719958474fc43fa6db~mv2.png)
(05:44) If adding custom logic to this peripheral is desired, you can add your custom logic to this peripheral at this time. The peripheral can then be repackaged to turn it into a custom IP.
Step: add custom logic: TBD
![](https://static.wixstatic.com/media/3b5532_48767c2c4d38415a831381e6e0641bb4~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_48767c2c4d38415a831381e6e0641bb4~mv2_d_1920_1200_s_2.png)
(6:00) At this point we can close the simulation and exit Project. Click okay to exit from Vivado.
How to Exit Vivado
Step: Click File > Exit
![](https://static.wixstatic.com/media/3b5532_b923db3a3e5043928035b9c42aa0603b~mv2.png/v1/fill/w_519,h_839,al_c,q_90,enc_auto/3b5532_b923db3a3e5043928035b9c42aa0603b~mv2.png)
Step: click OK to complete exiting Vivado
![](https://static.wixstatic.com/media/3b5532_b2b19983e85540a0b731a8710d2ab5b1~mv2.png/v1/fill/w_833,h_597,al_c,q_90,enc_auto/3b5532_b2b19983e85540a0b731a8710d2ab5b1~mv2.png)
Create a MicroBlaze system in Vivado and Connect our Custom AXI Peripheral
(6:18) Next one we'll create a new Vivado project to create a MicroBlaze based system in which we will instantiate the AXI peripheral that we just created. Again, like before we'll create a Vivado project using the default settings and making sure that we target it to the KC705 board.
Step: click Create New Project
![](https://static.wixstatic.com/media/3b5532_aa2dfdd627a84022b33b3629b8fe3597~mv2.png/v1/fill/w_900,h_536,al_c,q_90,enc_auto/3b5532_aa2dfdd627a84022b33b3629b8fe3597~mv2.png)
Click Next
![](https://static.wixstatic.com/media/3b5532_21c660e1ef974dc7a98e7971b357052d~mv2.png/v1/fill/w_980,h_673,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_21c660e1ef974dc7a98e7971b357052d~mv2.png)
Step: enter microblaze_system as the Project name: and click Next
![](https://static.wixstatic.com/media/3b5532_6287daa01b154578963f6997d0efd8e0~mv2.png/v1/fill/w_915,h_678,al_c,q_90,enc_auto/3b5532_6287daa01b154578963f6997d0efd8e0~mv2.png)
Step: leave RTL Project selected and click Next
![](https://static.wixstatic.com/media/3b5532_58b41bba70324f06b62b41f8ab1a681d~mv2.png/v1/fill/w_901,h_659,al_c,q_90,enc_auto/3b5532_58b41bba70324f06b62b41f8ab1a681d~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_37ed8f6445094d01b3b3b01b95ce34b2~mv2.png/v1/fill/w_901,h_666,al_c,q_90,enc_auto/3b5532_37ed8f6445094d01b3b3b01b95ce34b2~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_5e4874236ab444b3b55df51aa12c9d91~mv2.png/v1/fill/w_891,h_663,al_c,q_90,enc_auto/3b5532_5e4874236ab444b3b55df51aa12c9d91~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_eedc9af52073443d88170f2df23af652~mv2.png/v1/fill/w_929,h_674,al_c,q_90,enc_auto/3b5532_eedc9af52073443d88170f2df23af652~mv2.png)
Step: click Boards
![](https://static.wixstatic.com/media/3b5532_d3429adaf4a64de09f8e8758ff2d639f~mv2.png/v1/fill/w_903,h_686,al_c,q_90,enc_auto/3b5532_d3429adaf4a64de09f8e8758ff2d639f~mv2.png)
Step: click Kintex-7 KC705 Evaluation Platform
![](https://static.wixstatic.com/media/3b5532_55cdd3fb4506462bba69015982375b26~mv2.png/v1/fill/w_914,h_678,al_c,q_90,enc_auto/3b5532_55cdd3fb4506462bba69015982375b26~mv2.png)
Step: click Next
![](https://static.wixstatic.com/media/3b5532_e32b41efeea44a9bb00b9cd7171d9088~mv2.png/v1/fill/w_910,h_678,al_c,q_90,enc_auto/3b5532_e32b41efeea44a9bb00b9cd7171d9088~mv2.png)
(06:54) Take a moment to review the new project summary page to ensure that all the products settings have been entered correctly and click finish.
Step: after review, click Next
![](https://static.wixstatic.com/media/3b5532_c1d124556fb544978e71fa41d41d2f94~mv2.png/v1/fill/w_926,h_685,al_c,q_90,enc_auto/3b5532_c1d124556fb544978e71fa41d41d2f94~mv2.png)
Output: a Create Project status window pops up
![](https://static.wixstatic.com/media/3b5532_7d93f670cfe64a30b848ad4031a36509~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_7d93f670cfe64a30b848ad4031a36509~mv2_d_1920_1200_s_2.png)
Output: the Create Project window displays Initializing project
![](https://static.wixstatic.com/media/3b5532_bac48a0f666449dcb45d1ef6086d2d87~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_bac48a0f666449dcb45d1ef6086d2d87~mv2_d_1920_1200_s_2.png)
(7:08) Once the projects created we need to create a block design.
Create an IP Integrator Block Design
Step: click Create Block Design
![](https://static.wixstatic.com/media/3b5532_4054d76fff72441b9e2d1f099e362c68~mv2.png/v1/fill/w_702,h_461,al_c,q_85,enc_auto/3b5532_4054d76fff72441b9e2d1f099e362c68~mv2.png)
(7:13) We give a name to the block design and click okay.
![](https://static.wixstatic.com/media/3b5532_9e87b61831ad42a2addbcc6bc1e6c107~mv2.png/v1/fill/w_817,h_629,al_c,q_90,enc_auto/3b5532_9e87b61831ad42a2addbcc6bc1e6c107~mv2.png)
(7:34) In the block design canvas we instantiate a MicroBlaze processor.
![](https://static.wixstatic.com/media/3b5532_a87bbf31a2774d5a9fb76a866f3c626b~mv2.png/v1/fill/w_980,h_697,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a87bbf31a2774d5a9fb76a866f3c626b~mv2.png)
![](https://static.wixstatic.com/media/3b5532_408267629bcc4ecea43abf90f5dfeddb~mv2.png/v1/fill/w_980,h_621,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_408267629bcc4ecea43abf90f5dfeddb~mv2.png)
![](https://static.wixstatic.com/media/3b5532_64995ea992634158968e1b06c93e6cf6~mv2.png/v1/fill/w_980,h_788,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_64995ea992634158968e1b06c93e6cf6~mv2.png)
![](https://static.wixstatic.com/media/3b5532_08fe581ea3804a868f20f4d99b74e067~mv2.png/v1/fill/w_980,h_671,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_08fe581ea3804a868f20f4d99b74e067~mv2.png)
(7:49) Notice that as the processor is instantiated in the design canvas designers assistance becomes available to us. Click on the link to use the block automation. In the run block automation dialogue box we'll increase the depth of the memory to 32 kilobyte and let all the other remaining options to their default value.
![](https://static.wixstatic.com/media/3b5532_37b7dca843884a798b2e3250453e7165~mv2.png/v1/fill/w_893,h_520,al_c,q_90,enc_auto/3b5532_37b7dca843884a798b2e3250453e7165~mv2.png)
![](https://static.wixstatic.com/media/3b5532_89728e24c4d944b797ad59209a93bfe7~mv2.png/v1/fill/w_928,h_686,al_c,q_90,enc_auto/3b5532_89728e24c4d944b797ad59209a93bfe7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_b4abfe420e85447ba2563f7d53587870~mv2.png/v1/fill/w_882,h_683,al_c,q_90,enc_auto/3b5532_b4abfe420e85447ba2563f7d53587870~mv2.png)
![](https://static.wixstatic.com/media/3b5532_5e461f453a2f4f26aaf8d98318bf4608~mv2.png/v1/fill/w_980,h_316,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/3b5532_5e461f453a2f4f26aaf8d98318bf4608~mv2.png)
(08:17) Once the basic subsystem is created, we can instantiate the AXI4 peripheral that we had created earlier.
![](https://static.wixstatic.com/media/3b5532_486fc250075945ef93a58e376795f215~mv2.png/v1/fill/w_980,h_497,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_486fc250075945ef93a58e376795f215~mv2.png)
(8:22) To make the AXI peripheral available in the IP catalog, we need to add the repository containing this IP to the Vivado project. We do this by clicking on project settings under project manager and then selecting the IP icon in the left panel.
Make our Customer Peripheral Available
![](https://static.wixstatic.com/media/3b5532_e9a30c3f6b934d31afb24cd9e22c77ed~mv2.png/v1/fill/w_393,h_424,al_c,q_85,enc_auto/3b5532_e9a30c3f6b934d31afb24cd9e22c77ed~mv2.png)
![](https://static.wixstatic.com/media/3b5532_4ccf9b2d65e640f7b5d2d313c149e969~mv2.png/v1/fill/w_912,h_857,al_c,q_90,enc_auto/3b5532_4ccf9b2d65e640f7b5d2d313c149e969~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a6661f20a5a04d2380728626a4fa3a7d~mv2.png/v1/fill/w_920,h_876,al_c,q_90,enc_auto/3b5532_a6661f20a5a04d2380728626a4fa3a7d~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ab10149a889b44fcb7e38df72868992c~mv2.png/v1/fill/w_980,h_770,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_ab10149a889b44fcb7e38df72868992c~mv2.png)
(8:37) Click on IP repository and then browse to the repository called IP repo and click select.
![](https://static.wixstatic.com/media/3b5532_1dc1f2df747048d483c583f65ce71351~mv2.png/v1/fill/w_901,h_828,al_c,q_90,enc_auto/3b5532_1dc1f2df747048d483c583f65ce71351~mv2.png)
![](https://static.wixstatic.com/media/3b5532_e7eab3c05b944cc5b9ee97b48c074830~mv2.png/v1/fill/w_901,h_824,al_c,q_90,enc_auto/3b5532_e7eab3c05b944cc5b9ee97b48c074830~mv2.png)
(8:42) As soon as the IP repository is added to the project, you can see the AXI peripherial called myip that was created earlier.
![](https://static.wixstatic.com/media/3b5532_98a72d7bb8a3478b81e92a4f0b4d4db6~mv2.png/v1/fill/w_980,h_547,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_98a72d7bb8a3478b81e92a4f0b4d4db6~mv2.png)
![](https://static.wixstatic.com/media/3b5532_48eb17cdf9734180be6ec6b844077598~mv2.png/v1/fill/w_980,h_500,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_48eb17cdf9734180be6ec6b844077598~mv2.png)
![](https://static.wixstatic.com/media/3b5532_fd13cdab0d7f42e8b6c324cdc1fbdd5e~mv2.png/v1/fill/w_980,h_392,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_fd13cdab0d7f42e8b6c324cdc1fbdd5e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a0bb5bded3c84c64802e029eeb1a107e~mv2.png/v1/fill/w_980,h_533,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a0bb5bded3c84c64802e029eeb1a107e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_52da59b1b7824774a7760f5152ad1fbd~mv2.png/v1/fill/w_980,h_501,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_52da59b1b7824774a7760f5152ad1fbd~mv2.png)
(08:54) Let's instantiate this IP now along with a UART Lite IP in the design. The UART Lite is the accessory to monitor communication between the hardware and software in the terminal window in SDK.
![](https://static.wixstatic.com/media/3b5532_93d46faed26145ae9feb484ee7f552b2~mv2.png/v1/fill/w_980,h_480,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_93d46faed26145ae9feb484ee7f552b2~mv2.png)
![](https://static.wixstatic.com/media/3b5532_0a6904c2bf824479a5c20f394c93e7a7~mv2.png/v1/fill/w_980,h_534,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_0a6904c2bf824479a5c20f394c93e7a7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_36f4e781ed6741c68a15eadec1bb95e5~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_36f4e781ed6741c68a15eadec1bb95e5~mv2_d_1920_1200_s_2.png)
(9:06) You will notice that designers assistance is available again, which we can use to make quick connections of the newly instantiated IP to the MicroBlaze subsystem. I mentioned earlier Vivado is board aware and knows the interfaces present on the KC705 board.
![](https://static.wixstatic.com/media/3b5532_5f4e7dda9f9b412db3a692e3a8e64591~mv2.png/v1/fill/w_820,h_584,al_c,q_90,enc_auto/3b5532_5f4e7dda9f9b412db3a692e3a8e64591~mv2.png)
(9:23) As we use designers assistance to make connection to the different interfaces on the board, you will notice that the interfaces that are using the design show up in the connected interfaces folder in the board interface window.
![](https://static.wixstatic.com/media/3b5532_8f92f64033714b7aa43d6105fa259452~mv2.png/v1/fill/w_980,h_481,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_8f92f64033714b7aa43d6105fa259452~mv2.png)
![](https://static.wixstatic.com/media/3b5532_206478b124834de89a668f886254f51a~mv2.png/v1/fill/w_980,h_478,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_206478b124834de89a668f886254f51a~mv2.png)
![](https://static.wixstatic.com/media/3b5532_b80ae64bbf094d998884713a50dac246~mv2.png/v1/fill/w_844,h_588,al_c,q_90,enc_auto/3b5532_b80ae64bbf094d998884713a50dac246~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a7a2cd070a7640e289f85677f6eaa27e~mv2.png/v1/fill/w_980,h_723,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a7a2cd070a7640e289f85677f6eaa27e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1b3d2806acf041669a91576782be486a~mv2.png/v1/fill/w_832,h_660,al_c,q_90,enc_auto/3b5532_1b3d2806acf041669a91576782be486a~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ae99ecbd101f4adc8a26f203040f1d63~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_ae99ecbd101f4adc8a26f203040f1d63~mv2_d_1920_1200_s_2.png)
![](https://static.wixstatic.com/media/3b5532_1756bb5f4fe04d04be3a848b0c0e5f30~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_1756bb5f4fe04d04be3a848b0c0e5f30~mv2_d_1920_1200_s_2.png)
![](https://static.wixstatic.com/media/3b5532_90dc5974ac7d4f578ca26afb7408e1c6~mv2.png/v1/fill/w_980,h_505,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_90dc5974ac7d4f578ca26afb7408e1c6~mv2.png)
![](https://static.wixstatic.com/media/3b5532_d38b14498fd74704a96cabdda2399f74~mv2.png/v1/fill/w_765,h_686,al_c,q_90,enc_auto/3b5532_d38b14498fd74704a96cabdda2399f74~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8856311e7d2d4fa8a297fd73d056c868~mv2.png/v1/fill/w_817,h_711,al_c,q_90,enc_auto/3b5532_8856311e7d2d4fa8a297fd73d056c868~mv2.png)
![](https://static.wixstatic.com/media/3b5532_dade7d0b5ad54b129fc463122e48e2f1~mv2.png/v1/fill/w_980,h_500,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_dade7d0b5ad54b129fc463122e48e2f1~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ebff20aeb2494ace82f5dcbd1c5c3524~mv2.png/v1/fill/w_865,h_682,al_c,q_90,enc_auto/3b5532_ebff20aeb2494ace82f5dcbd1c5c3524~mv2.png)
![](https://static.wixstatic.com/media/3b5532_9cff61686bb44552837cfb1eb0e2bb63~mv2.png/v1/fill/w_980,h_441,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_9cff61686bb44552837cfb1eb0e2bb63~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a3e5b33e84a54946801a8f5ad8fa506f~mv2.png/v1/fill/w_980,h_449,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a3e5b33e84a54946801a8f5ad8fa506f~mv2.png)
(10:07) We only need to use the clock reset on the UART interfaces in this design. Use all of the items that are connection automation link to complete the connectivity of the design.
![](https://static.wixstatic.com/media/3b5532_53d5ceb4c0c546439b9e8fa7eff523b2~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_53d5ceb4c0c546439b9e8fa7eff523b2~mv2_d_1920_1200_s_2.png)
![](https://static.wixstatic.com/media/3b5532_9f7e86b30cd44cd7883eca6a4b8df679~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_9f7e86b30cd44cd7883eca6a4b8df679~mv2_d_1920_1200_s_2.png)
(10:21) With the design now complete let's make sure that the memory mapping for all the slaves in the design has been done correctly. As the slaves are instantiated in the design IP integrator assigns the memory to each of these automatically. This memory mapping can be changed their desire. In this case, we'll leave the default memory map.
![](https://static.wixstatic.com/media/3b5532_233c8fc5671e48cf88e1cf5adc01cbbc~mv2.png/v1/fill/w_980,h_420,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_233c8fc5671e48cf88e1cf5adc01cbbc~mv2.png)
(10:39) At this point, we're ready to validate the design.
![](https://static.wixstatic.com/media/3b5532_32c6897bfb634f50b87b20ec3f03bdb0~mv2.png/v1/fill/w_620,h_411,al_c,q_85,enc_auto/3b5532_32c6897bfb634f50b87b20ec3f03bdb0~mv2.png)
![](https://static.wixstatic.com/media/3b5532_274980890f3546b29456c09c9f380a07~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_274980890f3546b29456c09c9f380a07~mv2_d_1920_1200_s_2.png)
(10:43) Validating runs design rule checks on the design running DRC successful, and there are no design errors in this case.
![](https://static.wixstatic.com/media/3b5532_2921d042682e42a4bea4c9e004670cbf~mv2.png/v1/fill/w_798,h_526,al_c,q_90,enc_auto/3b5532_2921d042682e42a4bea4c9e004670cbf~mv2.png)
(10:51) We can tidy up the design and generate an optimum layout of the design by clicking on regenerate layout.
![](https://static.wixstatic.com/media/3b5532_987e9096d66247c899ac0a76bb3e8c35~mv2.png/v1/fill/w_601,h_552,al_c,q_85,enc_auto/3b5532_987e9096d66247c899ac0a76bb3e8c35~mv2.png)
![](https://static.wixstatic.com/media/3b5532_6eb8c56b02f04d30ab3c428986fd4722~mv2.png/v1/fill/w_980,h_398,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_6eb8c56b02f04d30ab3c428986fd4722~mv2.png)
(10:55) At this time, we can save the block design.
![](https://static.wixstatic.com/media/3b5532_aebd6785eae5447c87f97ab8c41cf0d8~mv2.png/v1/fill/w_711,h_388,al_c,q_85,enc_auto/3b5532_aebd6785eae5447c87f97ab8c41cf0d8~mv2.png)
![](https://static.wixstatic.com/media/3b5532_df1b91ea304246e6b41b993a1c028201~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_df1b91ea304246e6b41b993a1c028201~mv2_d_1920_1200_s_2.png)
(11:01) With a block design now complete regenerate outward products and create a top level wrapper file that instantiates a block design in it.
![](https://static.wixstatic.com/media/3b5532_594ee4c365864d12a36feacf1380a211~mv2.png/v1/fill/w_898,h_819,al_c,q_90,enc_auto/3b5532_594ee4c365864d12a36feacf1380a211~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1725f51ff15f4650978d44b1a5238512~mv2.png/v1/fill/w_980,h_752,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_1725f51ff15f4650978d44b1a5238512~mv2.png)
![](https://static.wixstatic.com/media/3b5532_2c3d108cbd184edb92d0e48c97051ca4~mv2.png/v1/fill/w_980,h_753,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_2c3d108cbd184edb92d0e48c97051ca4~mv2.png)
![](https://static.wixstatic.com/media/3b5532_f04b0204e367441f8e3590127d3506b8~mv2.png/v1/fill/w_980,h_787,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_f04b0204e367441f8e3590127d3506b8~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1d803cb42b2b4447855da32b3bda6fd2~mv2.png/v1/fill/w_980,h_774,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_1d803cb42b2b4447855da32b3bda6fd2~mv2.png)
![](https://static.wixstatic.com/media/3b5532_c4cfe9b9b0544e328b114972ed3a3fd7~mv2.png/v1/fill/w_980,h_643,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_c4cfe9b9b0544e328b114972ed3a3fd7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_f1d41992c75042d8b96f75bf5c58a97a~mv2.png/v1/fill/w_905,h_595,al_c,q_90,enc_auto/3b5532_f1d41992c75042d8b96f75bf5c58a97a~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a8daa9d8ea3c4e20a7e2a00a904f1b7f~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a8daa9d8ea3c4e20a7e2a00a904f1b7f~mv2_d_1920_1200_s_2.png)
![](https://static.wixstatic.com/media/3b5532_34459d21cb6a463e92740ee0b1ed3af8~mv2.png/v1/fill/w_870,h_685,al_c,q_90,enc_auto/3b5532_34459d21cb6a463e92740ee0b1ed3af8~mv2.png)
![](https://static.wixstatic.com/media/3b5532_161d4f063f8f49bab00989e1dc13fbf9~mv2.png/v1/fill/w_814,h_571,al_c,q_90,enc_auto/3b5532_161d4f063f8f49bab00989e1dc13fbf9~mv2.png)
![](https://static.wixstatic.com/media/3b5532_4c7060df6b954d89b162bb9e60cf72d8~mv2.png/v1/fill/w_980,h_727,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_4c7060df6b954d89b162bb9e60cf72d8~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8f6832dae19c499b9bc196d397ccbdff~mv2.png/v1/fill/w_980,h_733,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_8f6832dae19c499b9bc196d397ccbdff~mv2.png)
(11:18) Now we need to implement the design, which kind of be done by clicking on generate bitstream street, which will take the design to synthesis, implementation and finally generate midstream.
![](https://static.wixstatic.com/media/3b5532_0070b0e4cc7c4372a622afdc2f76f327~mv2.png/v1/fill/w_980,h_735,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_0070b0e4cc7c4372a622afdc2f76f327~mv2.png)
![](https://static.wixstatic.com/media/3b5532_97a8b3153f654183b1f4fd421a4c15cc~mv2.png/v1/fill/w_794,h_559,al_c,q_90,enc_auto/3b5532_97a8b3153f654183b1f4fd421a4c15cc~mv2.png)
![](https://static.wixstatic.com/media/3b5532_123cc8613200412f838437786c8e5db9~mv2.png/v1/fill/w_645,h_795,al_c,q_90,enc_auto/3b5532_123cc8613200412f838437786c8e5db9~mv2.png)
![](https://static.wixstatic.com/media/3b5532_7bd627f9dba84b1aa525d5b452edb1a0~mv2.png/v1/fill/w_859,h_527,al_c,q_90,enc_auto/3b5532_7bd627f9dba84b1aa525d5b452edb1a0~mv2.png)
![](https://static.wixstatic.com/media/3b5532_d13313f4a1744206b8e1e228759de3e5~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_d13313f4a1744206b8e1e228759de3e5~mv2_d_1920_1200_s_2.png)
(11:33) Generating bitstream may take several minutes.
![](https://static.wixstatic.com/media/3b5532_95f96db16b24404f887424d4cb1f859d~mv2.png/v1/fill/w_944,h_143,al_c,q_85,enc_auto/3b5532_95f96db16b24404f887424d4cb1f859d~mv2.png)
![](https://static.wixstatic.com/media/3b5532_134686c1c8844af9ba6b2d76d8b4a0fc~mv2.png/v1/fill/w_898,h_179,al_c,q_85,enc_auto/3b5532_134686c1c8844af9ba6b2d76d8b4a0fc~mv2.png)
![](https://static.wixstatic.com/media/3b5532_6d7dfeb29dad4c03a26c7e8e388b6892~mv2.png/v1/fill/w_664,h_180,al_c,q_85,enc_auto/3b5532_6d7dfeb29dad4c03a26c7e8e388b6892~mv2.png)
![](https://static.wixstatic.com/media/3b5532_6adec40248334c11a505d45c436ac9ab~mv2.png/v1/fill/w_980,h_106,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/3b5532_6adec40248334c11a505d45c436ac9ab~mv2.png)
![](https://static.wixstatic.com/media/3b5532_be68bf219f4e4655a95c91daba87cfa8~mv2.png/v1/fill/w_820,h_183,al_c,q_85,enc_auto/3b5532_be68bf219f4e4655a95c91daba87cfa8~mv2.png)
(11:44) After a bitstream has been generated, open the implemented design.
![](https://static.wixstatic.com/media/3b5532_c9ce3eb22bb34f77a138d3f31696c5c1~mv2.png/v1/fill/w_827,h_648,al_c,q_90,enc_auto/3b5532_c9ce3eb22bb34f77a138d3f31696c5c1~mv2.png)
![](https://static.wixstatic.com/media/3b5532_0a6cef682d5f4ef18ed3b3a099aebb86~mv2.png/v1/fill/w_929,h_584,al_c,q_90,enc_auto/3b5532_0a6cef682d5f4ef18ed3b3a099aebb86~mv2.png)
![](https://static.wixstatic.com/media/3b5532_32ae3c00735d4384898a11179f51b86c~mv2.png/v1/fill/w_953,h_563,al_c,q_90,enc_auto/3b5532_32ae3c00735d4384898a11179f51b86c~mv2.png)
![](https://static.wixstatic.com/media/3b5532_004743bcad7b43f08f7048e9b05fc26a~mv2.png/v1/fill/w_948,h_570,al_c,q_90,enc_auto/3b5532_004743bcad7b43f08f7048e9b05fc26a~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a4adae4fd39d43dcbf9b47876f4bd154~mv2.png/v1/fill/w_980,h_511,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a4adae4fd39d43dcbf9b47876f4bd154~mv2.png)
![](https://static.wixstatic.com/media/3b5532_cef48ce7a86b4d01972dd67de726e484~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_cef48ce7a86b4d01972dd67de726e484~mv2_d_1920_1200_s_2.png)
(11:50) Once the implemented design is open, run a timing summary report to make sure that all constraints were met.
Run a Timing Summary to Make Sure Constraints were Met
![](https://static.wixstatic.com/media/3b5532_f600f3ffc6754b2485f7dda0138ed96b~mv2.png/v1/fill/w_635,h_450,al_c,q_85,enc_auto/3b5532_f600f3ffc6754b2485f7dda0138ed96b~mv2.png)
![](https://static.wixstatic.com/media/3b5532_3d4d6313fecb4c2fb8a426fbbfb7a430~mv2.png/v1/fill/w_980,h_659,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_3d4d6313fecb4c2fb8a426fbbfb7a430~mv2.png)
![](https://static.wixstatic.com/media/3b5532_2b859d71f9ca4e2cb53d1378f357f034~mv2.png/v1/fill/w_874,h_435,al_c,q_90,enc_auto/3b5532_2b859d71f9ca4e2cb53d1378f357f034~mv2.png)
![](https://static.wixstatic.com/media/3b5532_486dfc3b6a8c4609b13b3856ebac87b5~mv2.png/v1/fill/w_980,h_236,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/3b5532_486dfc3b6a8c4609b13b3856ebac87b5~mv2.png)
(12:09) Take a moment to look at any set up our hold-time violations.
![](https://static.wixstatic.com/media/3b5532_477e11672df84636af63f921449ef523~mv2.png/v1/fill/w_764,h_596,al_c,q_90,enc_auto/3b5532_477e11672df84636af63f921449ef523~mv2.png)
(12:17) In this case everything is good...
![](https://static.wixstatic.com/media/3b5532_e104885670f1432d80fadcc6949b7fbf~mv2.png/v1/fill/w_980,h_220,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/3b5532_e104885670f1432d80fadcc6949b7fbf~mv2.png)
(12:19) ...so we need to export the hardware so we can develop our software application. To do this, we'll export the hardware by selecting export hardware for Sdk.
Export Vivado Hardware to SDK
![](https://static.wixstatic.com/media/3b5532_efdbe8ded06d441dbb342500ea687be0~mv2.png/v1/fill/w_732,h_405,al_c,q_85,enc_auto/3b5532_efdbe8ded06d441dbb342500ea687be0~mv2.png)
![](https://static.wixstatic.com/media/3b5532_3b672d98c88042228f1a1b1a31f299a9~mv2.png/v1/fill/w_778,h_839,al_c,q_90,enc_auto/3b5532_3b672d98c88042228f1a1b1a31f299a9~mv2.png)
![](https://static.wixstatic.com/media/3b5532_40159bbfa3fd411995d6fdb229dfe888~mv2.png/v1/fill/w_817,h_558,al_c,q_90,enc_auto/3b5532_40159bbfa3fd411995d6fdb229dfe888~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8b5e80c96b214b599bb432d4670017d2~mv2.png/v1/fill/w_731,h_551,al_c,q_90,enc_auto/3b5532_8b5e80c96b214b599bb432d4670017d2~mv2.png)
![](https://static.wixstatic.com/media/3b5532_4e56757ca3d94f04b8a30f4415aae94a~mv2.png/v1/fill/w_759,h_513,al_c,q_90,enc_auto/3b5532_4e56757ca3d94f04b8a30f4415aae94a~mv2.png)
(12:44) While exporting the design, we selected the option to launch SDK, so SDK launches with a new window.
![](https://static.wixstatic.com/media/3b5532_1671324798f34226ad992c9b5909c0ef~mv2.png/v1/fill/w_786,h_509,al_c,q_90,enc_auto/3b5532_1671324798f34226ad992c9b5909c0ef~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ff6e1be360a246cf8d1112944302f952~mv2.png/v1/fill/w_980,h_755,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_ff6e1be360a246cf8d1112944302f952~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1a9778f3488244dd86c32e404923a81e~mv2.png/v1/fill/w_980,h_752,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_1a9778f3488244dd86c32e404923a81e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_c1cadb8c3bab4d8cab117ec83e004381~mv2.png/v1/fill/w_980,h_734,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_c1cadb8c3bab4d8cab117ec83e004381~mv2.png)
![](https://static.wixstatic.com/media/3b5532_b31e21c370e04156b4689b747a2e34c8~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_b31e21c370e04156b4689b747a2e34c8~mv2_d_1920_1200_s_2.png)
(12:58) In SDK we'll create an empty application project to which we can add some code to exercise the AXI port peripheral on the KC705 target hardware. Lets create an empty application first by creating a new application project and a specifying a name for the project.
Create a New SDK Project
![](https://static.wixstatic.com/media/3b5532_225556e3fe4048008524cbcaf031fadf~mv2.png/v1/fill/w_980,h_602,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_225556e3fe4048008524cbcaf031fadf~mv2.png)
![](https://static.wixstatic.com/media/3b5532_727471544d76475ead32000de839e18a~mv2.png/v1/fill/w_783,h_810,al_c,q_90,enc_auto/3b5532_727471544d76475ead32000de839e18a~mv2.png)
(13:13) In the template space, select to empty application and click Finish
![](https://static.wixstatic.com/media/3b5532_a488912ddd4a4f5196a3f39e4b9bbcc3~mv2.png/v1/fill/w_803,h_808,al_c,q_90,enc_auto/3b5532_a488912ddd4a4f5196a3f39e4b9bbcc3~mv2.png)
![](https://static.wixstatic.com/media/3b5532_0b74ffca0aaa446886266c20594b246e~mv2.png/v1/fill/w_786,h_784,al_c,q_90,enc_auto/3b5532_0b74ffca0aaa446886266c20594b246e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_662eee4c9e7743b9b7df01c503f395e8~mv2.png/v1/fill/w_803,h_817,al_c,q_90,enc_auto/3b5532_662eee4c9e7743b9b7df01c503f395e8~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ce7eb3bb0f61444a83e5d26e5401b17c~mv2.png/v1/fill/w_775,h_788,al_c,q_90,enc_auto/3b5532_ce7eb3bb0f61444a83e5d26e5401b17c~mv2.png)
![](https://static.wixstatic.com/media/3b5532_9c19d799b7f0487489b63bb9d25ae9e1~mv2.png/v1/fill/w_779,h_820,al_c,q_90,enc_auto/3b5532_9c19d799b7f0487489b63bb9d25ae9e1~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ac0627b3b34c4b07bd07a5ee7257dbf9~mv2.png/v1/fill/w_773,h_799,al_c,q_90,enc_auto/3b5532_ac0627b3b34c4b07bd07a5ee7257dbf9~mv2.png)
(13:23) While creating the empty application, SDK creates a selftest application for the AXI peripheral, which we created in Vivado earlier.
![](https://static.wixstatic.com/media/3b5532_e2a4052cf6064a7598e7f400df5a32cf~mv2.png/v1/fill/w_590,h_792,al_c,q_90,enc_auto/3b5532_e2a4052cf6064a7598e7f400df5a32cf~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ebb40792062e4a838d9e16ad14836a42~mv2.png/v1/fill/w_673,h_500,al_c,q_85,enc_auto/3b5532_ebb40792062e4a838d9e16ad14836a42~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ff46a0ffe37a4f09975228430e3abbee~mv2.png/v1/fill/w_980,h_941,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_ff46a0ffe37a4f09975228430e3abbee~mv2.png)
(13:37) This self-test functions need to be called by our custom application code. So essentially what we'll be doing here is just add a few lines of code in our application to call the function that performs the self-test of the IP. The self-test routine, called myip_selftest, basically writes four bytes of data and reads back those data bytes.
![](https://static.wixstatic.com/media/3b5532_67afa2bd10884c2fac75b152f5e468ef~mv2.png/v1/fill/w_706,h_624,al_c,q_90,enc_auto/3b5532_67afa2bd10884c2fac75b152f5e468ef~mv2.png)
(14:00) So we'll add a new file. We'll call this file main.c. In this file is where we will add a few lines of code...
![](https://static.wixstatic.com/media/3b5532_f634ad16ff9c4aaf98839bd49e9d489b~mv2.png/v1/fill/w_773,h_744,al_c,q_90,enc_auto/3b5532_f634ad16ff9c4aaf98839bd49e9d489b~mv2.png)
![](https://static.wixstatic.com/media/3b5532_08499cd67f1e497e8219544b1d9e8be3~mv2.png/v1/fill/w_980,h_525,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_08499cd67f1e497e8219544b1d9e8be3~mv2.png)
Note: the following file was created by the video creator not by the tool. This means you'll need to type this info in.
![](https://static.wixstatic.com/media/3b5532_a9a19f5f8a6045eb820c537da9988d8f~mv2.png/v1/fill/w_980,h_702,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a9a19f5f8a6045eb820c537da9988d8f~mv2.png)
(14:16) ...to call the function that was created earlier for exercising our AXI peripheral IP.
![](https://static.wixstatic.com/media/3b5532_908276101533494d957a9bb424aac28d~mv2.png/v1/fill/w_980,h_761,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_908276101533494d957a9bb424aac28d~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ef19cc39785f4987b5f0f19e4b3c351f~mv2.png/v1/fill/w_761,h_771,al_c,q_90,enc_auto/3b5532_ef19cc39785f4987b5f0f19e4b3c351f~mv2.png)
(14:23) Now we are ready to compile this code.
![](https://static.wixstatic.com/media/3b5532_504436248e8f4be2ba4345fb0596523a~mv2.png/v1/fill/w_652,h_467,al_c,q_85,enc_auto/3b5532_504436248e8f4be2ba4345fb0596523a~mv2.png)
Click:
![](https://static.wixstatic.com/media/3b5532_654e39375bdc4f51854b2b4c1eaabf35~mv2.png/v1/fill/w_878,h_573,al_c,q_90,enc_auto/3b5532_654e39375bdc4f51854b2b4c1eaabf35~mv2.png)
Output:
![](https://static.wixstatic.com/media/3b5532_e58fb865bfd544b4952d1d7ac8a8d170~mv2.png/v1/fill/w_980,h_528,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_e58fb865bfd544b4952d1d7ac8a8d170~mv2.png)
![](https://static.wixstatic.com/media/3b5532_bf22e3d4d3534fbabd56d89be9592f52~mv2.png/v1/fill/w_879,h_234,al_c,q_85,enc_auto/3b5532_bf22e3d4d3534fbabd56d89be9592f52~mv2.png)
![](https://static.wixstatic.com/media/3b5532_92db4113c6014139b8e3f0c9ca154d98~mv2.png/v1/fill/w_847,h_189,al_c,q_85,enc_auto/3b5532_92db4113c6014139b8e3f0c9ca154d98~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8dc6755064dc466c84fbe75b1602400f~mv2.png/v1/fill/w_843,h_174,al_c,q_85,enc_auto/3b5532_8dc6755064dc466c84fbe75b1602400f~mv2.png)
![](https://static.wixstatic.com/media/3b5532_a73a89e8423343789d48f5f68d038a19~mv2.png/v1/fill/w_852,h_189,al_c,q_85,enc_auto/3b5532_a73a89e8423343789d48f5f68d038a19~mv2.png)
![](https://static.wixstatic.com/media/3b5532_0a80bc175d8e401e9254d1ae16a7b8b9~mv2.png/v1/fill/w_844,h_179,al_c,q_85,enc_auto/3b5532_0a80bc175d8e401e9254d1ae16a7b8b9~mv2.png)
![](https://static.wixstatic.com/media/3b5532_2965f9ede9054c11b82db9630a7375e4~mv2.png/v1/fill/w_845,h_173,al_c,q_85,enc_auto/3b5532_2965f9ede9054c11b82db9630a7375e4~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8aeb299761614ddc881e76322347bb8e~mv2.png/v1/fill/w_842,h_183,al_c,q_85,enc_auto/3b5532_8aeb299761614ddc881e76322347bb8e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_257549cf029044e6a436682a149512d7~mv2.png/v1/fill/w_845,h_179,al_c,q_85,enc_auto/3b5532_257549cf029044e6a436682a149512d7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_988460ddbf474f1ebc1419e543846263~mv2.png/v1/fill/w_850,h_179,al_c,q_85,enc_auto/3b5532_988460ddbf474f1ebc1419e543846263~mv2.png)
![](https://static.wixstatic.com/media/3b5532_eb142cca909d48f79f265fdb4d30062e~mv2.png/v1/fill/w_844,h_175,al_c,q_85,enc_auto/3b5532_eb142cca909d48f79f265fdb4d30062e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_b532f438b0dd4e84ba22a0a5780ccf16~mv2.png/v1/fill/w_842,h_176,al_c,q_85,enc_auto/3b5532_b532f438b0dd4e84ba22a0a5780ccf16~mv2.png)
![](https://static.wixstatic.com/media/3b5532_920c2425677d4930a9666331161b6b51~mv2.png/v1/fill/w_844,h_179,al_c,q_85,enc_auto/3b5532_920c2425677d4930a9666331161b6b51~mv2.png)
![](https://static.wixstatic.com/media/3b5532_5ba24f1a2c6545bc9c0d4dff67d77508~mv2.png/v1/fill/w_844,h_177,al_c,q_85,enc_auto/3b5532_5ba24f1a2c6545bc9c0d4dff67d77508~mv2.png)
![](https://static.wixstatic.com/media/3b5532_44b269dbb06f4b9685552e8ebf2d244f~mv2.png/v1/fill/w_845,h_171,al_c,q_85,enc_auto/3b5532_44b269dbb06f4b9685552e8ebf2d244f~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1f3c16ad2c8b4b878d5e7cc3eaa4fb9e~mv2.png/v1/fill/w_839,h_175,al_c,q_85,enc_auto/3b5532_1f3c16ad2c8b4b878d5e7cc3eaa4fb9e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_4788d97288a348bea0040970b8540c5c~mv2.png/v1/fill/w_841,h_173,al_c,q_85,enc_auto/3b5532_4788d97288a348bea0040970b8540c5c~mv2.png)
![](https://static.wixstatic.com/media/3b5532_9f219fffcf7f4deb801207d2b44bd2cb~mv2.png/v1/fill/w_840,h_172,al_c,q_85,enc_auto/3b5532_9f219fffcf7f4deb801207d2b44bd2cb~mv2.png)
![](https://static.wixstatic.com/media/3b5532_f5bd414ae5f341ecac0ed6d868fe61e7~mv2.png/v1/fill/w_836,h_171,al_c,q_85,enc_auto/3b5532_f5bd414ae5f341ecac0ed6d868fe61e7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_826efb96796a4f728681ed5f9567b16d~mv2.png/v1/fill/w_844,h_180,al_c,q_85,enc_auto/3b5532_826efb96796a4f728681ed5f9567b16d~mv2.png)
![](https://static.wixstatic.com/media/3b5532_b73a400d6a054f3f92e2cd37d3c963c7~mv2.png/v1/fill/w_842,h_172,al_c,q_85,enc_auto/3b5532_b73a400d6a054f3f92e2cd37d3c963c7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8314ceab0ab64c87bd67651c980bd9e0~mv2.png/v1/fill/w_839,h_175,al_c,q_85,enc_auto/3b5532_8314ceab0ab64c87bd67651c980bd9e0~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8c54c54623b74dc4b6dc39ef8ef0bb81~mv2.png/v1/fill/w_842,h_174,al_c,q_85,enc_auto/3b5532_8c54c54623b74dc4b6dc39ef8ef0bb81~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1b91f9842cc54b5188ee360405a65d1e~mv2.png/v1/fill/w_838,h_172,al_c,q_85,enc_auto/3b5532_1b91f9842cc54b5188ee360405a65d1e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_026c05e0536b4ad3a0a1e9860036a960~mv2.png/v1/fill/w_840,h_175,al_c,q_85,enc_auto/3b5532_026c05e0536b4ad3a0a1e9860036a960~mv2.png)
![](https://static.wixstatic.com/media/3b5532_6edbc383cab34412a9d058d70f73c12f~mv2.png/v1/fill/w_838,h_174,al_c,q_85,enc_auto/3b5532_6edbc383cab34412a9d058d70f73c12f~mv2.png)
![](https://static.wixstatic.com/media/3b5532_c702e502892542a4a78422cbfbf95850~mv2.png/v1/fill/w_836,h_171,al_c,q_85,enc_auto/3b5532_c702e502892542a4a78422cbfbf95850~mv2.png)
![](https://static.wixstatic.com/media/3b5532_835152b25b3c433c9e93ab2550c0dfa2~mv2.png/v1/fill/w_837,h_171,al_c,q_85,enc_auto/3b5532_835152b25b3c433c9e93ab2550c0dfa2~mv2.png)
![](https://static.wixstatic.com/media/3b5532_cca80b5bb4164a1ca3d722c776310bb0~mv2.png/v1/fill/w_841,h_174,al_c,q_85,enc_auto/3b5532_cca80b5bb4164a1ca3d722c776310bb0~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1cb59e8e62b0472ca4abbb3f65d81c5d~mv2.png/v1/fill/w_839,h_177,al_c,q_85,enc_auto/3b5532_1cb59e8e62b0472ca4abbb3f65d81c5d~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1401a9bb0be64b76b7dff33494c0afb0~mv2.png/v1/fill/w_837,h_168,al_c,q_85,enc_auto/3b5532_1401a9bb0be64b76b7dff33494c0afb0~mv2.png)
![](https://static.wixstatic.com/media/3b5532_ee063a0df5e24190ba823fb15218d91e~mv2.png/v1/fill/w_842,h_174,al_c,q_85,enc_auto/3b5532_ee063a0df5e24190ba823fb15218d91e~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1db8aeaae72e4f05a0a71082a3d32037~mv2.png/v1/fill/w_837,h_170,al_c,q_85,enc_auto/3b5532_1db8aeaae72e4f05a0a71082a3d32037~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8dff18fd16604d2183fa146c2c716c02~mv2.png/v1/fill/w_837,h_170,al_c,q_85,enc_auto/3b5532_8dff18fd16604d2183fa146c2c716c02~mv2.png)
![](https://static.wixstatic.com/media/3b5532_53f3429cc9de4de7b70a02064f14980c~mv2.png/v1/fill/w_837,h_171,al_c,q_85,enc_auto/3b5532_53f3429cc9de4de7b70a02064f14980c~mv2.png)
![](https://static.wixstatic.com/media/3b5532_8047e63a6ca84d7e87128ecc5612d380~mv2.png/v1/fill/w_837,h_170,al_c,q_85,enc_auto/3b5532_8047e63a6ca84d7e87128ecc5612d380~mv2.png)
![](https://static.wixstatic.com/media/3b5532_e2fc5af9461048e89eef37d25cdee6d1~mv2.png/v1/fill/w_840,h_171,al_c,q_85,enc_auto/3b5532_e2fc5af9461048e89eef37d25cdee6d1~mv2.png)
![](https://static.wixstatic.com/media/3b5532_f246bc1af92443d0885143a3b9f4e59b~mv2.png/v1/fill/w_837,h_171,al_c,q_85,enc_auto/3b5532_f246bc1af92443d0885143a3b9f4e59b~mv2.png)
![](https://static.wixstatic.com/media/3b5532_bff5a1dab69443c1855b30bea82e3c1b~mv2.png/v1/fill/w_837,h_169,al_c,q_85,enc_auto/3b5532_bff5a1dab69443c1855b30bea82e3c1b~mv2.png)
![](https://static.wixstatic.com/media/3b5532_2733cc9fd5ff4e2897780861da3aab3b~mv2.png/v1/fill/w_842,h_172,al_c,q_85,enc_auto/3b5532_2733cc9fd5ff4e2897780861da3aab3b~mv2.png)
![](https://static.wixstatic.com/media/3b5532_d0e6e762b33d457cbd707f0f7b73aa9c~mv2.png/v1/fill/w_842,h_171,al_c,q_85,enc_auto/3b5532_d0e6e762b33d457cbd707f0f7b73aa9c~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1b982366989b42abb61822f151c461dd~mv2.png/v1/fill/w_837,h_169,al_c,q_85,enc_auto/3b5532_1b982366989b42abb61822f151c461dd~mv2.png)
![](https://static.wixstatic.com/media/3b5532_3cb83d2582e74f05bfc5e0380f618812~mv2.png/v1/fill/w_832,h_169,al_c,q_85,enc_auto/3b5532_3cb83d2582e74f05bfc5e0380f618812~mv2.png)
![](https://static.wixstatic.com/media/3b5532_d08025917738453d9df76d0e2fab9aae~mv2.png/v1/fill/w_837,h_170,al_c,q_85,enc_auto/3b5532_d08025917738453d9df76d0e2fab9aae~mv2.png)
![](https://static.wixstatic.com/media/3b5532_39b6b65f700140459aa706a2e1416a11~mv2.png/v1/fill/w_835,h_170,al_c,q_85,enc_auto/3b5532_39b6b65f700140459aa706a2e1416a11~mv2.png)
![](https://static.wixstatic.com/media/3b5532_d4e7dc8e47b44c949fa12e15111ab19f~mv2.png/v1/fill/w_838,h_173,al_c,q_85,enc_auto/3b5532_d4e7dc8e47b44c949fa12e15111ab19f~mv2.png)
![](https://static.wixstatic.com/media/3b5532_4d9547e0ab6e47ae9051c8b19d2fc0cf~mv2.png/v1/fill/w_835,h_167,al_c,q_85,enc_auto/3b5532_4d9547e0ab6e47ae9051c8b19d2fc0cf~mv2.png)
Note: linker running
![](https://static.wixstatic.com/media/3b5532_a8c694df493d4b83a2db74f6134bdee4~mv2.png/v1/fill/w_837,h_172,al_c,q_85,enc_auto/3b5532_a8c694df493d4b83a2db74f6134bdee4~mv2.png)
![](https://static.wixstatic.com/media/3b5532_7a494d4a430a4928a4762c3b43f69f33~mv2.png/v1/fill/w_838,h_171,al_c,q_85,enc_auto/3b5532_7a494d4a430a4928a4762c3b43f69f33~mv2.png)
![](https://static.wixstatic.com/media/3b5532_23c5c4b4a1fe4e4e8db18bd017ff1ab3~mv2.png/v1/fill/w_838,h_171,al_c,q_85,enc_auto/3b5532_23c5c4b4a1fe4e4e8db18bd017ff1ab3~mv2.png)
![](https://static.wixstatic.com/media/3b5532_1ca7f7fa95234331b690853dd5ff5995~mv2.png/v1/fill/w_838,h_171,al_c,q_85,enc_auto/3b5532_1ca7f7fa95234331b690853dd5ff5995~mv2.png)
![](https://static.wixstatic.com/media/3b5532_e8e86035da844b878b6c84206f2d5846~mv2.png/v1/fill/w_835,h_167,al_c,q_85,enc_auto/3b5532_e8e86035da844b878b6c84206f2d5846~mv2.png)
![](https://static.wixstatic.com/media/3b5532_2a76a4fd347842d48b2f276593bd352a~mv2.png/v1/fill/w_837,h_172,al_c,q_85,enc_auto/3b5532_2a76a4fd347842d48b2f276593bd352a~mv2.png)
![](https://static.wixstatic.com/media/3b5532_3b6227ac62764337a9c97cf1bdb6a66a~mv2.png/v1/fill/w_840,h_177,al_c,q_85,enc_auto/3b5532_3b6227ac62764337a9c97cf1bdb6a66a~mv2.png)
Note: the Binaries node pops up coincident with Build Finished (took 1s.556ms)
![](https://static.wixstatic.com/media/3b5532_16fa45195ac14119b9754eafb27e2ab9~mv2.png/v1/fill/w_369,h_254,al_c,q_85,enc_auto/3b5532_16fa45195ac14119b9754eafb27e2ab9~mv2.png)
(14:44) Once compilation has done, take a to look at the console for any warnings or errors that may have been flagged during the process.
![](https://static.wixstatic.com/media/3b5532_f22ad7dcee1046e3b039f142580133ca~mv2.png/v1/fill/w_897,h_255,al_c,q_85,enc_auto/3b5532_f22ad7dcee1046e3b039f142580133ca~mv2.png)
(14:47) In this case, it appears that everything is good, so we'll connect the monitor to monitor the communication between the hardware and the software.
Click:
![](https://static.wixstatic.com/media/3b5532_1b0173aff96f4bcaa0535227e8221ed0~mv2.png/v1/fill/w_344,h_112,al_c,q_85,enc_auto/3b5532_1b0173aff96f4bcaa0535227e8221ed0~mv2.png)
Click:
![](https://static.wixstatic.com/media/3b5532_02f9f87311ec4bd98f42b7fbeb068f5a~mv2.png/v1/fill/w_395,h_524,al_c,q_85,enc_auto/3b5532_02f9f87311ec4bd98f42b7fbeb068f5a~mv2.png)
Click:
![](https://static.wixstatic.com/media/3b5532_ff23a2dfb6ab48b6be98f7913908c653~mv2.png/v1/fill/w_393,h_668,al_c,q_85,enc_auto/3b5532_ff23a2dfb6ab48b6be98f7913908c653~mv2.png)
(15:10) With the monitor connected...
![](https://static.wixstatic.com/media/3b5532_f477d808f9fc4c27a08b5dde8f7c9ecb~mv2.png/v1/fill/w_895,h_149,al_c,q_85,enc_auto/3b5532_f477d808f9fc4c27a08b5dde8f7c9ecb~mv2.png)
(15:14) ...we're ready to program the FPGA.
Click:
![](https://static.wixstatic.com/media/3b5532_0fb4f1ea60eb4d24b43289ee1a492f91~mv2.png/v1/fill/w_632,h_499,al_c,q_85,enc_auto/3b5532_0fb4f1ea60eb4d24b43289ee1a492f91~mv2.png)
(15:19) Make sure that the bitstream selected is the correct bitstream for the project.
![](https://static.wixstatic.com/media/3b5532_85013f06949340a8ad819a93c5e00b98~mv2.png/v1/fill/w_799,h_752,al_c,q_90,enc_auto/3b5532_85013f06949340a8ad819a93c5e00b98~mv2.png)
Output:
![](https://static.wixstatic.com/media/3b5532_79aaa1950d8248c98cf0c62d5f906511~mv2.png/v1/fill/w_845,h_177,al_c,q_85,enc_auto/3b5532_79aaa1950d8248c98cf0c62d5f906511~mv2.png)
![](https://static.wixstatic.com/media/3b5532_43e4a50e8e734a6f95599995b164559a~mv2.png/v1/fill/w_839,h_169,al_c,q_85,enc_auto/3b5532_43e4a50e8e734a6f95599995b164559a~mv2.png)
![](https://static.wixstatic.com/media/3b5532_cb1f3cbad162402a80ac9760c7782b80~mv2.png/v1/fill/w_837,h_177,al_c,q_85,enc_auto/3b5532_cb1f3cbad162402a80ac9760c7782b80~mv2.png)
![](https://static.wixstatic.com/media/3b5532_aef94507151f47789cbfcc4f24fce956~mv2.png/v1/fill/w_764,h_318,al_c,q_85,enc_auto/3b5532_aef94507151f47789cbfcc4f24fce956~mv2.png)
![](https://static.wixstatic.com/media/3b5532_e5b5fb71dfb944d18f2b24e668e38008~mv2.png/v1/fill/w_732,h_302,al_c,q_85,enc_auto/3b5532_e5b5fb71dfb944d18f2b24e668e38008~mv2.png)
(15:32) Programming the FPGA may take a minute or so.
Output:
![](https://static.wixstatic.com/media/3b5532_545a9d947dfe4e8b82271b2c9240899c~mv2.png/v1/fill/w_728,h_293,al_c,q_85,enc_auto/3b5532_545a9d947dfe4e8b82271b2c9240899c~mv2.png)
...and:
![](https://static.wixstatic.com/media/3b5532_fff26cb183db4fdd8afb1172f2c0a4a7~mv2.png/v1/fill/w_263,h_278,al_c,q_85,enc_auto/3b5532_fff26cb183db4fdd8afb1172f2c0a4a7~mv2.png)
![](https://static.wixstatic.com/media/3b5532_995c2bfd2a514c689dc28f13c7107c30~mv2.png/v1/fill/w_722,h_289,al_c,q_85,enc_auto/3b5532_995c2bfd2a514c689dc28f13c7107c30~mv2.png)
Output: there is a recompile of the source files whose output matches the output above. The output is not shown again here.
(15:37) Now that the FPGA has been programmed we can launch the ELF file onto the hardware. To do this, we'll select the application code that we just created and launch it on hardware.
![](https://static.wixstatic.com/media/3b5532_02f680e799f94636bf3b239ac18ccaa2~mv2.png/v1/fill/w_775,h_700,al_c,q_90,enc_auto/3b5532_02f680e799f94636bf3b239ac18ccaa2~mv2.png)
(16:00) Well, the bottom right of the window, you can see that the code is being launched on hardware:
![](https://static.wixstatic.com/media/3b5532_e1ec777993574cb6be4de29c005244c6~mv2.png/v1/fill/w_375,h_91,al_c,q_85,enc_auto/3b5532_e1ec777993574cb6be4de29c005244c6~mv2.png)
(16:07) ...and on the terminal you will see the results of the cell test that was performed.
Click:
![](https://static.wixstatic.com/media/3b5532_9537fd08d719438eb3930f38a78d2703~mv2.png/v1/fill/w_851,h_187,al_c,q_85,enc_auto/3b5532_9537fd08d719438eb3930f38a78d2703~mv2.png)
Output:
![](https://static.wixstatic.com/media/3b5532_89e56964fa2d4d108cade78a112dd770~mv2.png/v1/fill/w_640,h_448,al_c,q_85,enc_auto/3b5532_89e56964fa2d4d108cade78a112dd770~mv2.png)
(16:14) The terminal window shows that four write transactions were performed ...
![](https://static.wixstatic.com/media/3b5532_c0d1265120634568aee4ec140a62ef83~mv2.png/v1/fill/w_455,h_221,al_c,q_85,enc_auto/3b5532_c0d1265120634568aee4ec140a62ef83~mv2.png)
(16:17) ...followed by four read transactions...
![](https://static.wixstatic.com/media/3b5532_ac8e592efd384084be58d99467ade61a~mv2.png/v1/fill/w_625,h_154,al_c,q_85,enc_auto/3b5532_ac8e592efd384084be58d99467ade61a~mv2.png)
(16:18)...and the data for the write and read matches.
(16:32) So in this QuickTake Video, we have created a new AXI peripheral, simulated it using an AXI bus functional model and then verified ts functionality on a KC705 board in a MicroBlaze based design. We have seen how the create and package IP functionality in Vivado allows you to create a master or a slave AXI peripheral, which can be used to create a custom IP.
![](https://static.wixstatic.com/media/3b5532_76acf3e66bb34d9a98f306f139722ac9~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_76acf3e66bb34d9a98f306f139722ac9~mv2_d_1920_1200_s_2.png)
(16:53) Thanks for watching the Quick Take video.
![](https://static.wixstatic.com/media/3b5532_a828984f7099437387746016eae5cced~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_a828984f7099437387746016eae5cced~mv2_d_1920_1200_s_2.png)
![](https://static.wixstatic.com/media/3b5532_dc605d02b34d4af492d5c62fef022976~mv2_d_1920_1200_s_2.png/v1/fill/w_980,h_613,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/3b5532_dc605d02b34d4af492d5c62fef022976~mv2_d_1920_1200_s_2.png)
Tools Used