当前位置:网站首页>OPENWIFI实践1:下载并编译SDRPi的HDL源码
OPENWIFI实践1:下载并编译SDRPi的HDL源码
2022-08-05 00:34:00 【mcupro】
使用的软件环境是装好VIVADO2018.3的UBUBTU LINUX系统,我用的UBUNTU18.04。购买SDRPi后所给的资料中含有装好VIVADO2018.3的UBUNTU系统。
1,首先下载openwifi-hw项目:
git clone --recursive https://github.com/open-sdr/openwifi
2,设置vivado的环境变量:
source /tools/Xilinx/Vivado/2018.3/settings64.sh
3,编译ADI-HDL的所有涉及的IP核。
cd adi-hdl/projects/adrv9364z7020/ccbob_lvds/ && make
执行结果如下图所示:
由于不同的板子对应不同的IP核心需要编译不一样的IP核,我们SDRPI是基于adrv9364z7020/ccbob_lvds这个项目添加修改而来,所以我们进入adrv9364z7020/ccbob_lvds/目录进行make,这样就可以生成所需要的IP库。
4,进入sdrpi项目,执行:
../create_ip_repo.sh /tools/Xilinx/
就是在当前SDRPi目录执行上一级boards目录下的 create_ip_repo.sh脚本。参数/tools/Xilinx是VIVADO2018.3的安装目录。
这步执行会调用VIVADO生成各种所需的IP核,会有多次VIVADO界面弹出,最终成功后样子如下图:(红框部分是TCL窗口)
5,上述执行完毕之后,在TCL 窗口输入source ./openwifi.tcl执行这个脚本。
source ./openwifi.tcl
之后VIVADO自动生成项目:
6,我们更新一下IP状态:reports >> report ip status 选择需要更新的IP后点upgrade selected.
成功执行后弹出:
7,点GENERRATE BITSREAM 直接生成BIT STREAM文件:
8,经过一段十几分钟时间等待,BIT流生成完毕。
在openwifi-hw/boards/antsdr/openwifi_sdrpi/openwifi_sdrpi.runs/impl_1下的system_top.bit就是生成的BITSTREAM文件。
{
{aAxvOXMOIvVUoXMxvoxiowMwWV8xxWTxoxOIOVIUUOvwVOUiIoUvvTMMVMwovWHWX8vOUOxxvHO8xoMTvxMwxxwMmToVVTMvT8OXMvHUIw88Ixw8iOMoiHIoVU8VvmvIWXTvvOvv8xvMovOWoITvxHi88UZz}}
边栏推荐
- leetcode:266. 回文全排列
- tiup telemetry
- Huggingface入门篇 II (QA)
- 元宇宙:未来我们的每一个日常行为是否都能成为赚钱工具?
- 2022牛客多校训练第二场 L题 Link with Level Editor I
- 2022 Hangzhou Electric Power Multi-School Session 3 K Question Taxi
- 电子行业MES管理系统的主要功能与用途
- 2022 Hangzhou Electric Multi-School 1004 Ball
- Software Testing Interview Questions: What aspects should be considered when designing test cases, i.e. what aspects should different test cases test against?
- tiup status
猜你喜欢
论文解读( AF-GCL)《Augmentation-Free Graph Contrastive Learning with Performance Guarantee》
阶段性测试完成后,你进行缺陷分析了么?
Metasploit-域名上线隐藏IP
QSunSync 七牛云文件同步工具,批量上传
2022杭电多校第三场 K题 Taxi
Huggingface入门篇 II (QA)
元宇宙:未来我们的每一个日常行为是否都能成为赚钱工具?
2022 Hangzhou Electric Power Multi-School Session 3 K Question Taxi
"WEB Security Penetration Testing" (28) Burp Collaborator-dnslog out-band technology
[230] Execute command error after connecting to Redis MISCONF Redis is configured to save RDB snapshots
随机推荐
Pytorch使用和技巧
leetcode: 267. Palindromic permutations II
测试经理要不要做测试执行?
E - Many Operations (bitwise consideration + dp thought to record the result after the operation
tiup status
ARC129E Yet Another Minimization 题解 【网络流笔记】
JUC线程池(一): FutureTask使用
D - I Hate Non-integer Number (count of selected number dp
性能测试如何准备测试数据
JUC thread pool (1): FutureTask use
oracle创建用户以后的权限问题
Inter-process communication and inter-thread communication
node uses redis
Software testing interview questions: What are the strategies for system testing?
leetcode: 266. All Palindromic Permutations
Software Testing Interview Questions: What Are the Types of Software Testing?
typeScript - Partially apply a function
tiup uninstall
tensor.nozero(),面具,面具
2022杭电多校 第三场 B题 Boss Rush