This commit is contained in:
Your Name
2026-10-31 15:16:37 +08:00
commit 0eb79b43c8
16 changed files with 1491 additions and 0 deletions
@@ -0,0 +1,13 @@
# SCE-MI runtime parameters for PCIe Gen5 vhost demo
# ZeBu 运行时通过 SCEMI_PARAMETERS 环境变量或 -parameters 指定本文件。
SYSTEM {
# ZeBu board 配置标识,与 zebu.work 中编译产物保持一致(按站点修改)
BoardName zebu_pcie5_demo
RuntimeDirectory ./zebu.work
}
# vhost transactor 的消息端口(与 tb/pcie_vhost_xtor.sv 中的实例名对应)
XtorList {
pcie_vhost_xtor
}
@@ -0,0 +1,27 @@
##---------------------------------------------------------------------
## PCIe Gen5 vhost demo - zCui UTF compile entry
## Structure follows the site ZeBu IP example (example_wrapper.utf):
## vcs_exec_command -> architecture_file -> zemi3 -> grid_cmd -> synthesis
## Invoked by scripts/compile.csh as:
## zCui -c -n -u cfg/zebu_compile.utf -w $ZEBU_WORK
##---------------------------------------------------------------------
vcs_exec_command { vcs -full64 \
-sverilog \
-timescale=1ns/1ps \
-hw_top=pcie5_demo_top \
$PCIE_DEMO_HOME/rtl/pcie_pkg.sv \
$PCIE_DEMO_HOME/rtl/pcie5_ep_core.sv \
$PCIE_DEMO_HOME/rtl/pcie5_demo_top.sv \
$PCIE_DEMO_HOME/tb/pcie_vhost_xtor.sv \
}
## Board architecture file: provided by the site environment (env.csh)
architecture_file -filename "$env(FILE_CONF)"
zemi3 -timestamp true
## NOTE: SceMi* modules are picked up automatically from
## $VCS_HOME/etc/unizfe/verilog by the UNIZFE flow (verified on site).
grid_cmd -submit $env(REMOTECMD) -delete {}
synthesis -max_loop_iterations 20000