def _run_quartus(build_name, quartus_path):
- build_script_contents = """# Autogenerated by Migen
+ build_script_contents = """# Autogenerated by LiteX
set -e
def _build_script(build_name, device, toolchain_path, ver=None):
if sys.platform in ("win32", "cygwin"):
script_ext = ".bat"
- build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n"
+ build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n"
copy_stmt = "copy"
fail_stmt = " || exit /b"
else:
script_ext = ".sh"
- build_script_contents = "# Autogenerated by Migen\nset -e\n\n"
+ build_script_contents = "# Autogenerated by LiteX\nset -e\n\n"
copy_stmt = "cp"
fail_stmt = ""
def _build_script(source, build_template, build_name, **kwargs):
if sys.platform in ("win32", "cygwin"):
script_ext = ".bat"
- build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n"
+ build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n"
fail_stmt = " || exit /b"
else:
script_ext = ".sh"
- build_script_contents = "# Autogenerated by Migen\nset -e\n\n"
+ build_script_contents = "# Autogenerated by LiteX\nset -e\n\n"
fail_stmt = ""
for s in build_template:
package, freq_constraint):
if sys.platform in ("win32", "cygwin"):
script_ext = ".bat"
- build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n"
+ build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n"
fail_stmt = " || exit /b"
else:
script_ext = ".sh"
- build_script_contents = "# Autogenerated by Migen\nset -e\n\n"
+ build_script_contents = "# Autogenerated by LiteX\nset -e\n\n"
fail_stmt = ""
for s in build_template:
def _build_script(build_name, device, toolchain_path, ver=None):
if sys.platform in ("win32", "cygwin"):
script_ext = ".bat"
- build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n"
+ build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n"
copy_stmt = "copy"
fail_stmt = " || exit /b"
else:
script_ext = ".sh"
- build_script_contents = "# Autogenerated by Migen\n\n"
+ build_script_contents = "# Autogenerated by LiteX\n\n"
copy_stmt = "cp"
fail_stmt = " || exit 1"
source_cmd = "call "
script_ext = ".bat"
shell = ["cmd", "/c"]
- build_script_contents = "@echo off\nrem Autogenerated by Migen\n"
+ build_script_contents = "@echo off\nrem Autogenerated by LiteX\n"
fail_stmt = " || exit /b"
else:
source_cmd = "source "
script_ext = ".sh"
shell = ["bash"]
- build_script_contents = "# Autogenerated by Migen\nset -e\n"
+ build_script_contents = "# Autogenerated by LiteX\nset -e\n"
fail_stmt = ""
if source:
settings = common.settings(ise_path, ver, "ISE_DS")
def _run_vivado(build_name, vivado_path, source, ver=None):
if sys.platform == "win32" or sys.platform == "cygwin":
- build_script_contents = "REM Autogenerated by Migen\n"
+ build_script_contents = "REM Autogenerated by LiteX\n"
build_script_contents += "vivado -mode batch -source " + build_name + ".tcl\n"
build_script_file = "build_" + build_name + ".bat"
tools.write_to_file(build_script_file, build_script_contents)
command = build_script_file
else:
- build_script_contents = "# Autogenerated by Migen\nset -e\n"
+ build_script_contents = "# Autogenerated by LiteX\nset -e\n"
# Only source Vivado settings if not already in our $PATH
if not find_executable("vivado"):
# For backwards compatibility with ISE paths, also