Skip to content

Commit

Permalink
feat: modify def toml config file
Browse files Browse the repository at this point in the history
  • Loading branch information
maksyuki committed Feb 22, 2024
1 parent cff2e98 commit 3a9ee6b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
26 changes: 16 additions & 10 deletions src/def_config.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
# This is the default submit config
[meta]
project = "demo"
author = "Ben"
version = "1.0"

# iverilog
[iv_config]
[core]
name = "ysyx_xxxxxxxx.v" # core name
top = "ysyx_xxxxxxxx" # top name
clk_name = "clk" # top clock signal name

[iverilog]
commit_info = "iv"

# verilator
[ver_config]
[verilator]
commit_info = "ver"

[vcs_config]
[vcs]
commit_info = "vcs"
prog = 'all' # format: [prog]-[type] prog: [hello, memtest, rtthread] type: [flash, mem, sdram]
freq = 100 # [100, 800, step: 50]
debug = {wave = "off", prog = "hello-flash"}
prog = 'all' # format: [prog]-[type] prog: [hello, memtest, rtthread] type: [flash, mem, sdram]
debug = {wave = "off", prog = "hello-flash"}

[dc_config]
[dc]
commit_info = "dc"
freq = 100 # [100, 800, step: 50]
freq = 100 # [100, 800, step: 50]
corner = "TYP" # [WCZ MAX WCL TYP MIN ML MZ]
retiming = "off" # [off on]
2 changes: 1 addition & 1 deletion src/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# func:
# 1. check code similarity, record commit info(freq, time) -> web
# 2. verilator test
# 3. (iverilog test)
# 3. iverilog test
# 4. vcs test
# struct:
# toml, database
Expand Down

0 comments on commit 3a9ee6b

Please sign in to comment.