aboutsummaryrefslogtreecommitdiff
path: root/dv/formal/regfile/regfile.sby
diff options
context:
space:
mode:
authorWarrick Lo <wlo@warricklo.net>2026-06-24 07:58:06 +0000
committerWarrick Lo <wlo@warricklo.net>2026-06-24 07:58:06 +0000
commitadce21a91f4b55cad1126fa4d453b4d6eef79f7f (patch)
tree6132f55957a5e467cbb02e1eedecd4c75ff1e037 /dv/formal/regfile/regfile.sby
parentMerge branch 'feature/core' (diff)
downloadmontreal-adce21a91f4b55cad1126fa4d453b4d6eef79f7f.tar.xz
montreal-adce21a91f4b55cad1126fa4d453b4d6eef79f7f.zip
Add CI pipeline for formal verification
* Add formal verification tests with sby to CI * Fix reviewdog having insufficient API permissions See-also: #15 Signed-off-by: Warrick Lo <wlo@warricklo.net>
Diffstat (limited to 'dv/formal/regfile/regfile.sby')
-rw-r--r--dv/formal/regfile/regfile.sby26
1 files changed, 26 insertions, 0 deletions
diff --git a/dv/formal/regfile/regfile.sby b/dv/formal/regfile/regfile.sby
new file mode 100644
index 0000000..a976a29
--- /dev/null
+++ b/dv/formal/regfile/regfile.sby
@@ -0,0 +1,26 @@
+[tasks]
+cover
+bmc
+prove
+
+[options]
+cover: mode cover
+bmc: mode bmc
+bmc: depth 50
+prove: mode prove
+prove: depth 20
+
+[engines]
+smtbmc
+
+[script]
+read -formal -sv config_pkg.sv
+read -formal -sv regfile.sv
+read -formal -sv regfile_fv.sv
+prep -top regfile_fv
+
+[files]
+rtl/types.svh
+rtl/config_pkg.sv
+rtl/regfile.sv
+dv/formal/regfile/regfile_fv.sv