#!/bin/bash tool_path=../tools h2cchannels=$1 c2hchannels=$2 if [ "$#" -ne 2 ];then echo "usage $0 " exit -1 fi rm hw_log_h2c.txt rm hw_log_c2h.txt echo "h2cchannels $h2cchannels" echo "c2hchannels $c2hchannels" h2c=/dev/xdma0_h2c_0 c2h=/dev/xdma0_c2h_0 iter=1 out_h2c=hw_log_h2c.txt out_c2h=hw_log_c2h.txt for ((i=0;i