当前位置:网站首页>PCIe Core Configuration
PCIe Core Configuration
2022-08-05 00:44:00 【jjinl】
This section mainly introduces PCIe configuration under lattice diamond
1. First create a new project
Open the diamond software, select File-->New-->Project, and fill in the project name and project path in the pop-up dialog box

2. Select the device, the development board model LFE5UM5G-45F-8BG381IES

3. Select synplify pro for the synthesis tool.The lattice documentation requires PCIe IPcore to use synplify Pro as a synthesis tool

4. After the project is established, the project is an empty project at this time, open Clarity Designer.Check to create a new clarity Design, and fill in the design name. Do not select the Create a single sbx component option.I haven't figured out how to use this option yet.Otherwise, the PCIe IPcore will not be displayed later.

5. Select the Lattice IP Server in Clarity Designer, and double-click the IP option to pull data from the Lattice server, which requires networking.

6. After double-clicking, start downloading data

7. Expand the list and select PCIe

8. Right-click and select Install

9. Follow the prompts to select the installation path, and confirm to start the installation.After installation is complete.Double-click pcie, as shown below

10. Fill in the instance name in the pop-up pcie 5g endpoint, here we call it pcie_x1, click customize

11. In the pop-up PCIe configuration options, only simple modification.Most of them are kept by default, because most of the options are not yet fully understood.Select Enable BAR0 in configuration space-1, fill in FFFFF000, continue to scroll to the bottom, and check Load IDs from ports.As shown below


Note: FFFFF000 of bar0: indicates the space attribute
bit0: 1'b0: Mem space 1'b1: IO space
bit[2:1] : 2'b00: 32-bit mem space 2'b10: 64-bit mem space
bit3: mem space prefetch bit.1'b0: non-prefetch 1'b1: prefetch
bit[31:4]: Space size.32'hFFFFF000: Indicates the space size 0xFFF, which is 4KBytes
The size of the space read by the host computer is to read the value of bar0 and the number of binary 0s from the lower digit (the lower 4 digits are 0 by default)
The Load IDs option is to put the manufacturer, device and other IDs on the instantiated port, and directly pass the value when calling IPcore
After clicking configure, click the close button, and the synthesizer starts to generate PCIe IPcore.It takes a few minutes to generate the IPcore.Wait for the build to complete.Then close Clarity Designer and save it, then pcie_x1.sbx will be added to the project.

12. Double-click the sbx file, reopen the clarity designer, add the clock module, select the extref module as shown below and fill in the example name

13. Select configure in the pop-up dialog box, then select close to close the dialog box, and wait for the synthesis tool to generate the reference clock IPcore

14. After IPcore is generated, open the Planner tab to see

15. Zoom in on the DCU area in the lower right corner of the above figure. Enlargement method: hold down the ctrl button, scroll the middle mouse button, drag extref to the extref area of the dcu, drag Lane0 to the ch0 area of the DCU.Drag and drop method: hold down the left button of the mouse and move.

16. After the drag is correct, double-click the Ch0 area to pop up the DCU settings, set the reference clock to DCU0_EXTREF. Then click the OK button

17. At this point, the PCIe IPcore configuration steps are completed, then start to generate IPcore, click the save button, and then click Generate to generate IPcore

Wait a few minutes for the PCIe IPcore configuration to complete.Afterwards, the pcie.v file and the instantiated template will be generated in the project directory

In the next section, analyze the pcie.v file
边栏推荐
- [230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots
- Pytorch usage and tricks
- E - Many Operations (bitwise consideration + dp thought to record the result after the operation
- [idea] idea configures sql formatting
- gorm联表查询-实战
- 僵尸进程和孤儿进程
- 2022 Nioke Multi-School Training Session H Question H Take the Elevator
- gorm的Raw与scan
- 2022多校第二场 K题 Link with Bracket Sequence I
- More than 2022 cattle school training topic Link with the second L Level Editor I
猜你喜欢

国内网站用香港服务器会被封吗?

Helm Chart
![[230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots](/img/fa/5bdc81b1ebfc22d31f42da34427f3e.png)
[230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots

阶段性测试完成后,你进行缺陷分析了么?

B站7月榜单丨飞瓜数据B站UP主排行榜发布!

If capturable=False, state_steps should not be CUDA tensors

"WEB Security Penetration Testing" (28) Burp Collaborator-dnslog out-band technology

QSunSync 七牛云文件同步工具,批量上传

OPENWIFI实践1:下载并编译SDRPi的HDL源码

动态规划/背包问题总结/小结——01背包、完全背包
随机推荐
oracle创建表空间
LiveVideoStackCon 2022 上海站明日开幕!
Software testing interview questions: How many types of software are there?
Pytorch usage and tricks
Theory of Software Fundamentals
leetcode:266. 回文全排列
MongoDB construction and basic operations
NMS原理及其代码实现
oracle创建用户以后的权限问题
tiup telemetry
4. PCIe 接口时序
EL定时刷新页面中的皕杰报表实例
2022牛客多校第三场 J题 Journey
Software Testing Interview Questions: What do you think about software process improvement? Is there something that needs improvement in the enterprise you have worked for? What do you expect the idea
could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
2022牛客多校训练第二场 J题 Link with Arithmetic Progression
Software testing interview questions: What stages should a complete set of tests consist of?
After the staged testing is complete, have you performed defect analysis?
QSunSync 七牛云文件同步工具,批量上传
MongoDB搭建及基础操作