加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vivadoresults.sh 705 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yaman Umuroglu 提交于 2018-01-23 16:03 . also report BRAM count
#!/bin/zsh
# --- Assumptions ---
# Clock: clock@3ns
# File: *.vhd, *.vhdl, *.v all in same directory..
# Results: stored in ./results_$1
# Board: VC707 - Virtex-7 VX485T FPGA
# test if we're passing argument to script..
if ((${+1}))
then
else
echo "Usage: vivadoresults.sh <top-level-entity-name>";
exit;
fi
cat results_$1/vivado.log | grep LUTs
cat results_$1/vivado.log | grep "Slice Registers"
cat results_$1/vivado.log | grep DSPs
cat results_$1/vivado.log | grep "Block RAM Tile" -m 1
cat results_$1/vivado.log | grep "Slack (MET)"
cat results_$1/vivado.log | grep "Slack (VIOLATED)"
cat results_$1/vivado.log | grep "Requirement"
cat results_$1/vivado.log | grep "Total On-Chip Power (W)"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化