diff options
author | Arturs Artamonovs <dos21h@gmail.com> | 2024-12-16 08:27:07 +0000 |
---|---|---|
committer | Arturs Artamonovs <dos21h@gmail.com> | 2024-12-16 08:27:07 +0000 |
commit | 2e9cea79582fdd2b008203fdc7542996c683c835 (patch) | |
tree | fe715898f30866d42c0421daf353da564579698d /md/writeup | |
parent | 2c2cdf977c91233d2700bed5947360b9518ec05c (diff) | |
download | md-content-master.tar.gz md-content-master.zip |
Diffstat (limited to 'md/writeup')
-rw-r--r-- | md/writeup/bladerf_quick_guide.md | 12 |
1 files changed, 6 insertions, 6 deletions
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 ``` |