diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2022-08-23 21:13:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 12:13:31 -0700 |
commit | dcdf8d35dc906b6232b1e3d01d1392128e049294 (patch) | |
tree | 384f0affb71aee8390288b67e2dfb6addde10384 /parse.py | |
parent | 0e5bcb5c7c1e01e97b0adb21fbac878acf2efa20 (diff) | |
download | riscv-opcodes-dcdf8d35dc906b6232b1e3d01d1392128e049294.zip riscv-opcodes-dcdf8d35dc906b6232b1e3d01d1392128e049294.tar.gz riscv-opcodes-dcdf8d35dc906b6232b1e3d01d1392128e049294.tar.bz2 |
Add copyright holder to the generated file (#140)
The BSD-3-Clause license mentions a copyright notice that has to
be retained while redistributing the source code.
Copy the copyright notice from LICENSE file to the script, so it
get in the generated file.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'parse.py')
-rwxr-xr-x | parse.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -853,6 +853,8 @@ def make_c(instr_dict): enc_file = open('encoding.out.h','w') enc_file.write(f'''/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2022 RISC-V International */ + /* * This file is auto-generated by running 'make' in * https://github.com/riscv/riscv-opcodes ({commit}) |