diff --git a/srdl2sv/main.py b/srdl2sv/main.py index 9fc4bbd..93983d1 100755 --- a/srdl2sv/main.py +++ b/srdl2sv/main.py @@ -41,6 +41,9 @@ if __name__ == "__main__": root = rdlc.elaborate() except RDLCompileError: sys.exit(1) + except FileNotFoundError: + logger.fatal("Could not find '{}'".format(input_file)) + sys.exit(1) addrmap = AddrMap(root.top, config)