Include script to generate broken lines
LICENSE: unknown
This commit is contained in:
parent
47a7c966bf
commit
b92ab84b0c
1 changed files with 14 additions and 0 deletions
14
netpfga/minip4/nf_sume_sdnet_ip/SimpleSumeSwitch/vivado_sim.bash
Executable file
14
netpfga/minip4/nf_sume_sdnet_ip/SimpleSumeSwitch/vivado_sim.bash
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
export PATH=${XILINX_VIVADO}/bin:${XILINX_VIVADO}/tps/lnx64/gcc-6.2.0/bin:${XILINX_VIVADO}/tps/lnx64/binutils-2.26/bin:$PATH
|
||||
|
||||
# Clean up any old files
|
||||
rm -rf xsim.dir
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
find -name "*.v" -o -name "*.vp" -o -name "*.sv" | { xargs -I % ${XILINX_VIVADO}/bin/xvlog -sv % || true; }
|
||||
mkdir -p xsim.dir/xsc
|
||||
find -name "*.c" | xargs ${XILINX_VIVADO}/bin/xsc -mt off -v 1
|
||||
${XILINX_VIVADO}/bin/xelab -L work --debug all -sv_lib dpi.so SimpleSumeSwitch_tb glbl
|
||||
${XILINX_VIVADO}/bin/xsim --runall SimpleSumeSwitch_tb#work.glbl
|
Loading…
Reference in a new issue