From 2e9cea79582fdd2b008203fdc7542996c683c835 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Mon, 16 Dec 2024 08:27:07 +0000 Subject: Upate BladeRF quick guide --- md/writeup/bladerf_quick_guide.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'md/writeup') diff --git a/md/writeup/bladerf_quick_guide.md b/md/writeup/bladerf_quick_guide.md index 7c29634..19af38d 100644 --- a/md/writeup/bladerf_quick_guide.md +++ b/md/writeup/bladerf_quick_guide.md @@ -122,7 +122,7 @@ Get the version of Quartus 20.1.1 from Intel download page. Get the whole packag Get the BladeRF source: -``` +```bash git clone https://github.com/Nuand/bladeRF.git cd bladeRF git submodule init @@ -133,7 +133,7 @@ go to *hdl/quartus* so now set the environment -``` +```bash export QSYS_ROOTDIR="/home/user/intelFPGA_lite/20.1.1/quartus/sopc_builder" export QUARTUS_ROOTDIR=/home/user/intelFPGA_lite/20.1.1/quartus export PATH=$PATH:/home/user/intelFPGA_lite/20.1.1/quartus/sopc_builder/bin @@ -146,14 +146,14 @@ export SOPC_KIT_NIOS2=/home/user/intelFPGA_lite/20.1.1/nios2eds Get the license files from Intel self licensing page -``` +```bash export LM_LICENSE_FILE=/home/user/intelFPGA_lite/LR-174976_License.dat export MGLS_LICENSE_FILE=/home/user/intelFPGA_lite/LR-174976_License.dat ``` Now in bladerf dir go to hdl/quartus and run command to build hosted firmware -``` +```bash ./build_bladerf.sh -b bladeRF-micro -r hosted -s A4 ``` @@ -163,7 +163,7 @@ How to make modsim to run, for simulating BladeRF code Add dependencies for modsim -``` +```bash dpkg --add-architecture i386 apt update apt install libxft2 libxft2:i386 libxext6 libext6:i386 @@ -172,7 +172,7 @@ apt install libxft2 libxft2:i386 libxext6 libext6:i386 Run vsim command from where its located inside the quartus install directory -``` +```bash ./vsim ``` -- cgit v1.2.3