Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion hw/dv/tools/dvsim/sim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ do_build: gen_sv_flist
post_build: do_build
@echo "[make]: post_build"
ifneq (${post_build_cmds},)
cd ${build_dir} && ${post_build_cmds}
cd ${build_dir} && ${post_build_cmds} ${post_build_opts}
endif

build_result: post_build
Expand Down Expand Up @@ -183,7 +183,11 @@ endif

simulate: sw_build
@echo "[make]: simulate"
ifeq (${SIMULATOR}, z01x)
cd ${run_dir} && ${run_cmd} ${fi_sim_run_opts}
else
cd ${run_dir} && ${run_cmd} ${run_opts}
endif

post_run: simulate
@echo "[make]: post_run"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
name: xcelium_crypto_dpi_prince_build_opts
build_opts: ["-I{build_dir}/fusesoc-work/src/{crypto_prince_ref_src_dir}"]
}

{
name: z01x_crypto_dpi_prince_build_opts
build_opts: ["-CFLAGS -I{build_dir}/fusesoc-work/src/{crypto_prince_ref_src_dir}"]
}
]
}
Loading
Loading