ISE 生成PCIe核之后, 在ipcore_dir目录下会产生以下文件目录

目录下包含内容如下:

  • The doc folder contains the PCIe Endpoint Block datasheet and user guide.
  • The example_design folder contains the source files (HDL and UCF) for a simple PIO design using the PCIe Endpoint Block.
  • The implement folder contains the script and batch files for implementing the design in batch mode.
  • The simulation folder contains the HDL test bench files for simulation the core.
  • The source folder contains the PCIe and GTP hard IP wrapper files.

目录树如下:

 myPCIe
│ s6_pcie_readme.txt

├─doc
│ s6_pcie_ds718.pdf
│ s6_pcie_ug654.pdf

├─example_design
│ pcie_app_s6.v
│ PIO.v
│ PIO_32_RX_ENGINE.v
│ PIO_32_TX_ENGINE.v
│ PIO_EP.v
│ PIO_EP_MEM.v
│ PIO_EP_MEM_ACCESS.v
│ PIO_TO_CTRL.v
│ xilinx_pcie_1_1_ep_s6.v
│ xilinx_pcie_1_lane_ep_xc6slx45t-fgg484-2.u

├─implement
│ implement.bat
│ implement.sh
│ xst.prj
│ xst.scr

├─simulation
│ ├─dsport
│ │ gtx_drp_chanalign_fix_3752_v6.v
│ │ gtx_rx_valid_filter_v6.v
│ │ gtx_tx_sync_rate_v6.v
│ │ gtx_wrapper_v6.v
│ │ pcie_2_0_rport_v6.v
│ │ pcie_2_0_v6_rp.v
│ │ pcie_brams_v6.v
│ │ pcie_bram_top_v6.v
│ │ pcie_bram_v6.v
│ │ pcie_clocking_v6.v
│ │ pcie_gtx_v6.v
│ │ pcie_pipe_lane_v6.v
│ │ pcie_pipe_misc_v6.v
│ │ pcie_pipe_v6.v
│ │ pcie_reset_delay_v6.v
│ │ pcie_upconfig_fix_3451_v6.v
│ │ pci_exp_usrapp_cfg.v
│ │ pci_exp_usrapp_com.v
│ │ pci_exp_usrapp_pl.v
│ │ pci_exp_usrapp_rx.v
│ │ pci_exp_usrapp_tx.v
│ │ xilinx_pcie_2_0_rport_v6.v
│ │
│ ├─functional
│ │ board.f
│ │ board.v
│ │ isim_cmd.tcl
│ │ simulate_isim.bat
│ │ simulate_isim.sh
│ │ simulate_mti.do
│ │ simulate_ncsim.sh
│ │ simulate_vcs.sh
│ │ sys_clk_gen.v
│ │ sys_clk_gen_ds.v
│ │ wave.do
│ │ wave.sv
│ │ wave.tcl
│ │ wave.wcfg
│ │
│ └─tests
│ tests.v

└─source
gtpa1_dual_wrapper.v
gtpa1_dual_wrapper_tile.v
myPcie.v
pcie_brams_s6.v
pcie_bram_s6.v
pcie_bram_top_s6.v

其中The example simulation design consists of two discrete parts:

  • The Root Port Model, a test bench that generates, consumes, and checks PCI Expressbus traffic.
  • The Programmed Input/Output (PIO) example design, a completer application for PCI Express. The PIO example design responds to Read and Write requests to its memory space and can be synthesized for testing in hardware.

用户可以通过root port model来仿真实现PCIe事务层的操作,并通过相应的数据收发模块实现对PCIe功能的仿真。Root Port Model包含以下功能

  • Test Programming Interface (TPI), which allows the user to stimulate the Endpoint device for the PCI Express
  • Example tests that illustrate how to use the test program TPI
  • Verilog or VHDL source code for all Root Port Model components, which allow the user to customize the test bench

Root Port Model仿真模块和PCIe PIO设计的耦合关系如图所示

如图所示,仿真工程中搭建了两个PCIe模块,以此来模拟PCIe一对接口的数据收发。

PCIe 调试的更多相关文章

  1. PCI-E调试方式

    PCI-E的调试步骤 1.板子插上去之后正常情况下使用lspci 就能看的一个设备 这个设备上存在几个ID,可以根据ID可以确定设备是否识识别到 2.然后就是加载设备的驱动的时候,设备驱动会有VEND ...

  2. PCIE 调试过程记录

    遇到的问题 PCIE link不稳定 配置空间读写正常,Memory mapping空间读写异常 缘由 之前对PCIE的认识一直停留在概念的阶段,只知道是一个高速通讯协议,主要用于板内.板间的高速BU ...

  3. PCIe调试心得_DMA part3

    作者: East  FPGA那点事儿 上一章讲述了PCIe总线如何提高DMA的效率. 本章以服务器常用的4通道1000M以太网卡为例讲述如何实现多个虚拟DMA通道. 1.多通道DMA发 4通道以太网卡 ...

  4. PCIe调试心得_DMA part2

    作者:East  FPGA那点事儿 上一章讲述了PCIe总线DMA的原理和XAPP1052存在的问题. 本章以服务器常用的4通道1000M以太网卡为例讲述如何提高DMA的效率. 1.内存重分配Wind ...

  5. PCIe调试心得_DMA part1

    作者 :East  FPGA那点事儿 1.PCIe的DMA介绍在PCIe中需要使用DMA的项目,一定要先看XAPP1052,里面包含一个DMA的参考设计,对初学者有极大的帮助. XAPP1052中包含 ...

  6. PCIE体系结构

    http://blog.sina.com.cn/s/articlelist_1685243084_3_1.html BAR寄存器 http://zhidao.baidu.com/link?url=rE ...

  7. 使用Xilinx K7 KC705开发板调试PCIe中的问题【持续更新】

    开发板:Xilinx K7 KC705 软件:ISE14.7 1.由于应用需求,我们要将开发板作为主机端,通过PCIe接口转接板外接一个NVMe PCIe SSD.并由FPGA控制SSD的数据读写. ...

  8. 基于WDF的PCI/PCIe接口卡Windows驱动程序(5)-如何为硬件移植驱动程序

    原文地址:http://www.cnblogs.com/jacklu/p/6139347.html 正如前几篇博客所说,使用WDF开发PCIe驱动程序是我本科毕业设计的主要工作.在读研的两年,我也分别 ...

  9. 基于WDF的PCI/PCIe接口卡Windows驱动程序(4)- 驱动程序代码(源文件)

    原文出处:http://www.cnblogs.com/jacklu/p/4687325.html 本篇文章将对PCIe驱动程序的源文件代码作详细解释与说明.整个WDF驱动程序工程共包含4个头文件(已 ...

随机推荐

  1. java基础 -- Collections.sort的两种用法

    /** * @author * @version * 类说明 */ package com.jabberchina.test; import java.util.ArrayList; import j ...

  2. springmvc+mybatis的两种配置和应用方式

    一.不用写dao层实现的方式 1.导入依赖包,我的pom.xml文件配置如下: <project xmlns="http://maven.apache.org/POM/4.0.0&qu ...

  3. 【APUE】Chapter10 Signals

    Signal主要分两大部分: A. 什么是Signal,有哪些Signal,都是干什么使的. B. 列举了非常多不正确(不可靠)的处理Signal的方式,以及怎么样设计来避免这些错误出现. 10.2 ...

  4. ES6 语法糖

    重新认识ES6中的语法糖:https://segmentfault.com/a/1190000010159725

  5. python接口测试(二)——配置文件的使用

    在接口测试中,有些东西是固定不变的,比如url,若想更改的话就必须每个请求都更改,因此,可以放到配置文件中使用. 1.创建一个.ini的配置文件,如图: 2.读取配件文件中的内容,后续进行引用 #co ...

  6. (原)自定义资源预览工具:DZAssetPreviewPlugin(1)

    @author: 白袍小道 转载请说明,谢谢     题记 后续工具制作单独作为一本(小道用的是OneNote,这样发布简单点.*--*) 总计放到写完后.     目的 1.快速预览资源(因为大部分 ...

  7. Laxcus大数据管理系统2.0 (1) - 摘要和目录

    Laxcus大数据管理系统 (version 2.0) Laxcus大数据实验室 摘要 Laxcus是Laxcus大数据实验室全体系全功能设计研发的多用户多集群大数据管理系统,支持一到百万台级节点,提 ...

  8. 排查实时tail功能cpu占用过高问题

    “你的python应用cpu占用快90%了!!!”,良哥朝我眨了眨布满血丝的眼睛“不会吧”,我心想:我这是好的啊 没接触过kafka的同学可以先了解下:([http://www.jasongj.com ...

  9. maven环境变的配置(复制自己看)

    Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的软件项目管理工具. Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具.由于 Maven 的缺省构建 ...

  10. Top K 算法详解

    http://xingyunbaijunwei.blog.163.com/blog/static/7653806720111149318357/ 问题描述         百度面试题:        ...