mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
Adding skeleton for adi sdr design
Now need to integrate elink in this
This commit is contained in:
parent
9feaa36dce
commit
bb084f1670
5
parallella/fpga/sdr_fmcomms/build.sh
Executable file
5
parallella/fpga/sdr_fmcomms/build.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
vivado -mode batch -source run.tcl
|
||||
rm system_wrapper.bit.bin bit2bin.bin
|
||||
bootgen -image bit2bin.bif -split bin
|
||||
cp system_wrapper.bit.bin parallella.bit.bin
|
12
parallella/fpga/sdr_fmcomms/run.tcl
Normal file
12
parallella/fpga/sdr_fmcomms/run.tcl
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
#STEP1: DEFINE KEY PARAMETERS
|
||||
source ./system_params.tcl
|
||||
|
||||
#STEP2: CREATE PROJECT AND READ IN FILES
|
||||
source ../../../common/fpga/system_init.tcl
|
||||
|
||||
#STEP 3 (OPTIONAL): EDIT system.bd in VIVADO gui, then go to STEP 4.
|
||||
##...
|
||||
|
||||
#STEP 4: SYNTEHSIZE AND CREATE BITSTRAM
|
||||
source ../../../common/fpga/system_build.tcl
|
1191
parallella/fpga/sdr_fmcomms/system_bd.tcl
Normal file
1191
parallella/fpga/sdr_fmcomms/system_bd.tcl
Normal file
File diff suppressed because one or more lines are too long
23
parallella/fpga/sdr_fmcomms/system_params.tcl
Normal file
23
parallella/fpga/sdr_fmcomms/system_params.tcl
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
#Design name ("system" recommended)
|
||||
set design system
|
||||
|
||||
#Project directory ("." recommended)
|
||||
set projdir ./
|
||||
|
||||
#Device name
|
||||
set partname "xc7z020clg400-1"
|
||||
|
||||
#Paths to all IP blocks to use in Vivado "system.bd"
|
||||
|
||||
set ip_repos [list "../parallella_base"]
|
||||
|
||||
#All source files
|
||||
set hdl_files []
|
||||
|
||||
#All constraints files
|
||||
set constraints_files [list \
|
||||
../parallella_timing.xdc \
|
||||
../parallella_io.xdc \
|
||||
../parallella_7020_io.xdc \
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user