Skip to content

Commit ff30842

Browse files
Top generator: add reggen and PLIC
This makes util/top_gen.py the only script that needs to be run to make sure all the RTL is up to date with the templates.
1 parent 55a3386 commit ff30842

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

util/top_gen/generator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,5 +368,7 @@ def generate_top(config: TopConfig) -> None:
368368
["clang-format", "sw/cheri/common/platform-pinmux.hh", "-i"],
369369
check=True,
370370
)
371+
subprocess.run(["sh", "util/generate_plic.sh"], check=True)
372+
subprocess.run(["bash", "util/reg_gen.sh"], check=True)
371373
except subprocess.CalledProcessError as err:
372374
exit(err.returncode)

0 commit comments

Comments
 (0)