From: Luke Kenneth Casson Leighton Date: Mon, 29 Jun 2020 14:02:49 +0000 (+0100) Subject: add autogenerated do not commit comment X-Git-Tag: div_pipeline~202 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=591bbdf0c6f16c153eda5eed9a64cba6aaa181ad;p=soc.git add autogenerated do not commit comment --- diff --git a/src/soc/decoder/pseudo/pywriter.py b/src/soc/decoder/pseudo/pywriter.py index bac8c459..c34945ea 100644 --- a/src/soc/decoder/pseudo/pywriter.py +++ b/src/soc/decoder/pseudo/pywriter.py @@ -111,6 +111,7 @@ class PyISAWriter(ISA): fname = os.path.join(isadir, "all.py") with open(fname, "w") as f: + f.write('# auto-generated by pywriter.py: do not edit or commit\n') f.write('from soc.decoder.isa.caller import ISACaller\n') for page in self.pages_written: f.write('from soc.decoder.isa.%s import %s\n' % (page, page))