npc: add cmake-format for verilate macro
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 40s
Run CTests within npc / npc-test (push) Failing after 42s

This commit is contained in:
xinyangli 2024-08-02 12:08:03 +08:00
parent de9f770d08
commit d9efde7a44
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
5 changed files with 42 additions and 40 deletions

24
npc/.cmake-format Normal file
View file

@ -0,0 +1,24 @@
additional_commands = {
"verilate": {
"pargs": 1,
"flags": [
"COVERAGE",
"SYSTEMC",
"THREADS",
"TRACE_THREADS",
"TRACE",
"TRACE_FST"
],
"kwargs": {
"DIRECTORY": "?",
"INCLUDE_DIRS": "*",
"OPT_SLOW": "*",
"OPT_FAST": "*",
"OPT_GLOBAL": "*",
"PREFIX": "?",
"SOURCES": "+",
"TOP_MODULE": "?",
"VERILATOR_ARGS": "*",
}
}
}