We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94057e commit d6b773bCopy full SHA for d6b773b
pyfpga/helpers/prj2bit.py
@@ -63,7 +63,7 @@ def main():
63
prjfile = Path(args.prjfile)
64
65
if not prjfile.exists():
66
- sys.exit('file not found.')
+ sys.exit(f'ERROR: {prjfile} file not found.')
67
68
directory = prjfile.parent
69
base_name = prjfile.stem
@@ -72,9 +72,9 @@ def main():
72
tool = ''
73
if extension in tool_per_ext:
74
tool = tool_per_ext[extension]
75
- print(f'* {tool} project file found.')
+ print(f'INFO: {tool} project file found.')
76
else:
77
- sys.exit('Unknown project file extension')
+ sys.exit(f'ERROR: unknown project file extension ({extension})')
78
79
# -------------------------------------------------------------------------
80
# Solving with PyFPGA
0 commit comments