Skip to content

Commit

Permalink
chore: modify readme badge and def config file
Browse files Browse the repository at this point in the history
  • Loading branch information
maksyuki committed Feb 24, 2024
1 parent 22e6ceb commit 4947fcf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<img alt="stars" src="https://img.shields.io/github/stars/oscc-soc/ci?color=blue&style=flat-square" />
</a>
<a href="https://github.com/oscc-soc/ci">
<img src="https://img.shields.io/tokei/lines/github/oscc-soc/ci?color=red&style=flat-square">
<img src="https://tokei.rs/b1/github/oscc-soc/ci?color=rosybrown&style=flat-square">
</a>
<a href="https://github.com/oscc-soc/ci">
<img src="https://img.shields.io/badge/toolchain-python-red?style=flat-square">
Expand Down
27 changes: 18 additions & 9 deletions src/def_config.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
# This is the default submit config
# NOTE: below config if have bracket in line comment, that mean
# this config only supports string in bracket, other words dont support!

[meta]
project = "demo"
author = "Ben"
version = "1.0"

[core]
name = "ysyx_xxxxxxxx.v" # core name
top = "ysyx_xxxxxxxx" # top name
clk_name = "clk" # top clock signal name
[dut]
file = "ysyx_xxxxxxxx.v" # dut file name TODO: support filelist
top = "ysyx_xxxxxxxx" # top module name
clk = "clk" # top clock signal name
commit = "" # support ["", "vcs", "dc"] leave a blank mean
# test vcs+dc, otherwise ci only run specific test
# which commit equal below testsuit's commit_flag.
# Now iverilog and verilator test are not supported.
# example: commit == "dc" mean only run dc test

[iverilog]
commit_info = "iv"
commit_flag = "iv"

[verilator]
commit_info = "ver"
commit_flag = "ver"

[vcs]
commit_info = "vcs"
commit_flag = "vcs"
freq = 25
prog = 'all' # format: [prog]-[type] prog: [hello, memtest, rtthread] type: [flash, mem, sdram]
debug = {wave = "off", prog = "hello-flash"}

[dc]
commit_info = "dc"
commit_flag = "dc"
freq = 100 # [100, 800, step: 50]
corner = "TYP" # [WCZ MAX WCL TYP MIN ML MZ]
retiming = "off" # [off on]
retime = "off" # [off on]

0 comments on commit 4947fcf

Please sign in to comment.