From: Luke Kenneth Casson Leighton Date: Thu, 26 Mar 2020 11:42:56 +0000 (+0000) Subject: add newline to stop gnu-as whining X-Git-Tag: div_pipeline~1625 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=309106b51ead9351e2ec6e0b74672f47ab945945;p=soc.git add newline to stop gnu-as whining --- diff --git a/src/soc/simulator/program.py b/src/soc/simulator/program.py index 4466f99b..b3c1e87f 100644 --- a/src/soc/simulator/program.py +++ b/src/soc/simulator/program.py @@ -15,7 +15,7 @@ class Program: def __init__(self, instructions): if isinstance(instructions, list): instructions = '\n'.join(instructions) - self.assembly = instructions + self.assembly = instructions + '\n' # plus final newline self._assemble() def __enter__(self):