diff options
-rw-r--r-- | encoding.h | 2 | ||||
-rwxr-xr-x | parse.py | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,3 @@ -/* SPDX-License-Identifier: BSD-3-Clause-Clear */ - #ifndef RISCV_CSR_ENCODING_H #define RISCV_CSR_ENCODING_H @@ -823,11 +823,13 @@ def make_c(instr_dict): commit = os.popen('git log -1 --format="format:%h"').read() enc_file = open('encoding.out.h','w') - enc_file.write(f''' + enc_file.write(f'''/* SPDX-License-Identifier: BSD-3-Clause-Clear */ + /* -* This file is auto-generated by running 'make' in -* https://github.com/riscv/riscv-opcodes ({commit}) -*/ + * This file is auto-generated by running 'make' in + * https://github.com/riscv/riscv-opcodes ({commit}) + */ + {enc_header} /* Automatically generated by parse_opcodes. */ #ifndef RISCV_ENCODING_H |