(转) 使用vivado创建工程 2

Build the hardware platform and export to SDK

A basic ARM hardware platform is now configured. The configuration includes clock and DDR controller settings. It also enabled and maps a UART peripheral. Now we will build the hardware platform and export to the Software Development Kit (SDK) so that an application can be developed.

1. Since we have added an IP in the design we need to generate the HDL files that are required for implementation, simulation and synthesis. In this first design we only use PS and there is nothing designed in the PL but we still need to do this step in order to hook up the design to the top level. Expand <Design Sources> in the Sources pane, right click system(system.bd) and select <Generate Output Products>. This window pops-up. Click Generate to start the generation.

2. Even though the whole design is made in IP integrator we still need a top level HDL in order to  identify the top of the design. The only thing needed is a top level HDL wrapper that instantiates the Block Design and it can be created automatically by right-clicking system(system.bd) and selecting <Create HDL Wrapper).

3. Click OK to let Vivado generate the system_wrapper.v top-level module for the design.

4. Notice that the embedded system (system.bd) is now a sub-module of system_wrapper.


5. We now have a design that can be used to configure the ZedBoard. But first we have to export the design to Vivado SDK where we will write the c-program that will run in the ARM processing system. In Vivado menu select File->Export->Export Hardware for SDK...

6. The Vivado design tool exports the Hardware Platform Specification for our design (system.xml) to SDK. In addition to system.xml, there are four more files exported to SDK. They are ps7_init.c, ps7_init.h, ps7_init.tcl, and ps7_init.html. The system.xml file opens by default when SDK launches. The address map of our system read from this file is shown in the SDK window.

The ps7_init.c and ps7_init.h files contain the initialization code for the Zynq processing system and initialization settings for DDR, clocks, plls and MIOs. SDK uses these settings when initializing the processing system so that the applications can be run on top of the processing system.

Here are some of the files generated during the hardware design session. No it is time to start writing some software. We will start with the simplest program called "Hello World".



In Vivado 2015.1 the file structure looks like this:

时间: 2024-08-24 20:49:33

(转) 使用vivado创建工程 2的相关文章

vivado 创建FPGA工程

前言 我Win10系统上的Xilinx Platform Studio打不开,无奈之下换用Vivado.这篇粗略地介绍Vivado创建FPGA工程的流程 新建工程 打开vivado,点New Project然后Create a New Vivado Project点next再填写工程名.工程路径点next 在Project Type选择 RTL 工程,单击 NEXT 选择板子,我的是Zedboard,然后next-finish 原文地址:https://www.cnblogs.com/uestc

ARM 学习笔记之 创建工程(keil)

创建工程:         我们使用的是 keil 软件实现对我们编写的程序进行 编辑 + 编译: 链接:http://pan.baidu.com/s/1i5yIh97 密码:7az5 安装完成之后,就要创建新工程了: (1)创建工程文件夹 : /led (2)在 /led 下新建两个文件夹: /list  和  /output (3)在 keil 中创建新的工程: (4)在工程文件夹 /led 下写入工程名:led (一定要在与 list 和 output "平等的" 文件夹内) (

AltiumDesigner学习笔记(一)&mdash;&mdash;创建工程与原理图文件

一.创建工程与原理图文件 1.通过菜单创建PCB工程 (1)File - New - Project - PCB Project,即可在当前工作区创建新的PCB工程 (2)新建工程并不直接在硬盘中创建文件,需要保存:在工程面板中,右键单击新建的工程名 - Save Project,在弹出的对话框中,选择工程存储目录(一般需要为新建的工程新建一个专属目录)并命名工程. 2.通过菜单或者工程面板向工程中添加原理文件 (1)在工程面板中,右键单击新建的工程 - Add New to Project -

Cocos2d-X 3.1.1创建工程的方法

由于cocos2d-x的更新,最新版本的创建工程方法又发生了变化,以下是cocos2d-x3.1.1在命令行下创建工程的方法. 首先下载 cocos2d-x3.1.1 ,python 2.7.(x)(最好是2.7的版本). 将 pyton安装目录 和 \cocos2d-x-3.1.1\tools\cocos2d-console\bin   配置到环境变量,不会的同学可以自己去百度怎么配置环境变量. 配置完成后,在命令输入cmd 进入 \cocos2d-x-3.1.1 目录下 然后输入: coco

Ubuntu下Django初体验(二)——创建工程及应用

一.工程目录详解 创建工程后得到如下目录: 1. manage.py 管理项目.创建数据库.启动服务器等.测试等. 查看子命令: python manage.py 启动服务器: python manage.py runserver 指定启动服务器的地址和端口: python manage.py runserver 0.0.0.0 8080 2. mysite 目录 2.1 settings.py  对于整个网站的配置.配置文件:应用.中间件.数据库.静态目录各类配置... 2.2 urls.py

zend framework 创建工程

1.首先进入cmd,命令行窗口模式.直接打下面的命令,C:\Documents and Settings\Administrator>F:\PHP框架\ZendFramework-1.10.4\bin\zf.bat create project D:\web\zf意思是在D:\web\zf(这个目录是自己的网站目录)目录下创建工程,F:\PHP框架\ZendFramework-1.10.4\bin\zf.bat 这个是下载下来的ZF目录. 如果命令行显示 '"php.exe"'

cocos2d-x 3.6创建工程

到这里,应该有了开发环境了吧,没有的话就去看我前面的文章或者百度别人的文章吧. 现在的开发环境,xcode基本已经升级到了6.x系列了,我的是6.3,而cocos2d-x是3.6版本. 现在创建工程已经没有xcode模板了,还有人在问我为什么不能像创建ios工程一样,用xcode来创建工程.现在使用python脚本来创建新工程. 源码目录下有个READE.md文件,用Mou程序打开,可以看到使用说明,其中有说明创建新工程的命令. 终端下,进入源码目录,敲如下命令: cocos new MyGam

Cocos2d-x 3.1环境搭建和创建工程

Cocos2d-x 3.x改版了很多,之前搭过一次环境,但是没截图,这次趁着重装电脑,一边搭建一边截图.此博文只是为了记录而不是为了教学,所以更多讲的是搭建过程.本文基本上参考这篇博客:http://www.idcfree.com/article-1488-1.html,这篇博客比我讲的详细多了,但是我的是菜鸟教程,喜欢看图的可以参考我的博客. 安装工具: 1.下载JDK 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/i

方便Django命令行创建工程及应用

1 ''' 2 由于Django中命令行创建工程 3 2017-8-4 by:羽凡 4 ''' 5 import os 6 import time 7 #创建工程的名字 8 project_name = input('Project:') 9 #创建应用的名字 10 app_name = input('App:') 11 #构造命令 12 Porder = 'django-admin startproject '+str(project_name) 13 Aorder = 'python man