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. 在编程的时候,NotePad++ 中闪烁的光标突然有竖着闪烁的编程蓝色下划线闪烁的--小技巧告诉你-费元星

    当在写代码时出现的光标闪烁(横线闪烁) 在键盘上找 Insert ,按这个Insert就可以把横向闪烁光标( _ )修改成竖向闪烁光标样式( | ),横向光标会在你写代码的时候修改前面的代码,把光标移 ...

  2. Putty的设置保存

    用了好几年都不知道这功能, 以前每次在连接时只能手工更改字符为utf-8,当时在想怎么这么弱呢 后来才知道... 1 字符 Translation下  字体Appearance下 颜色Colours下 ...

  3. ubuntu 14.04安装nginx+php

    转自:http://www.cnblogs.com/helinfeng/p/4219051.html 基于最新的Ubuntu 14.04(2014年9月)搭建nginx.php.mysql环境,以下全 ...

  4. PHP将两个数组相加

    $arr_a=[1=>1,2=>2,3=>3];$arr_b=[1=>'a',4=>4];print_r($arr_a+$arr_b);返回结果:Array ( [1] ...

  5. Go基础篇【第8篇】: 内置库模块 bytes [一]

    bytes包实现了操作[]byte的常用函数.本包的函数和strings包的函数相当类似. func Compare func Compare(a, b []byte) int Compare函数返回 ...

  6. HDU 4717 The Moving Points(三分法)(2013 ACM/ICPC Asia Regional Online ―― Warmup2)

    Description There are N points in total. Every point moves in certain direction and certain speed. W ...

  7. week12第二轮迭代任务分配forZ.XML

    Z.XML第二轮迭代任务初步分配新鲜出炉,请关注! 以上便是任务分配列表,队员们会按照进度每天更改任务进度 当然,根据敏捷开发的方法,我们将在开发过程中根据情况迅速调整任务分配,以适应当时问题. Z- ...

  8. scrapy学习-爬取天天基金网基金列表

    目录 描述 环境描述 步骤记录 创建scrapy项目 设置在pycharm下运行scrapy项目 分析如何获取数据 编写代码 step 1:设置item step 2:编写spider step 3: ...

  9. thinkphp3.2 验证码的使用

    验证码生成: public function verify(){ ob_clean(); $verify = new \Think\Verify; $verify->codeSet = '012 ...

  10. Android 多屏幕适配 dp和px的关系

    一直以来别人经常问我,android的多屏幕适配到底是怎么弄,我也不知道如何讲解清楚,或许自己也是挺迷糊. 以下得出的结论主要是结合官方文档进行分析的https://developer.android ...