build/xilinx/ise.py: write .v file for post synthesis sim
This commit is contained in:
parent
7396ebbb38
commit
88b882c7e0
|
@ -108,6 +108,11 @@ def _run_ise(build_name, ise_path, source, mode, ngdbuild_opt,
|
||||||
ext = "ngc"
|
ext = "ngc"
|
||||||
build_script_contents += """
|
build_script_contents += """
|
||||||
xst -ifn {build_name}.xst{fail_stmt}
|
xst -ifn {build_name}.xst{fail_stmt}
|
||||||
|
"""
|
||||||
|
|
||||||
|
# This generates a .v file for post synthesis simulation
|
||||||
|
build_script_contents += """
|
||||||
|
netgen -ofmt verilog -w -sim {build_name}.{ext} {build_name}_synth.v
|
||||||
"""
|
"""
|
||||||
|
|
||||||
build_script_contents += """
|
build_script_contents += """
|
||||||
|
|
Loading…
Reference in New Issue