aboutsummaryrefslogtreecommitdiff
path: root/verif/formal/simple_alu/simple_alu_bind.sv
diff options
context:
space:
mode:
authorChat <63841542+ChillZero@users.noreply.github.com>2026-05-14 19:58:51 -0700
committerWarrick Lo <wlo@warricklo.net>2026-05-14 19:58:51 -0700
commit1fcb70209582fd05c03919b31502deb2b7af472a (patch)
treeff887c53b5fae0c799e7eb668f26fa17553bc98a /verif/formal/simple_alu/simple_alu_bind.sv
parentTidy root directory [skip ci] (diff)
downloadmontreal-1fcb70209582fd05c03919b31502deb2b7af472a.tar.xz
montreal-1fcb70209582fd05c03919b31502deb2b7af472a.zip
Add simple_alu RTL and formal verification
- simple_alu.sv: 32-bit ALU with add/sub, 33-bit extended overflow detection, and active-low synchronous reset - simple_alu_bind.sv: attaches checker to simple_alu without modifying RTL - simple_alu_top_fv.sv: replace bind (unsupported in open-source Yosys) with explicit wrapper that instantiates DUT and checker side-by-side - simple_alu_fv.sv: bind-based checker module observing DUT signals - simple_alu.sby: SymbiYosys config running BMC and cover tasks - README.md: verification plan tracking implemented and planned properties - .gitignore: exclude SymbiYosys output directories
Diffstat (limited to '')
-rw-r--r--verif/formal/simple_alu/simple_alu_bind.sv15
1 files changed, 15 insertions, 0 deletions
diff --git a/verif/formal/simple_alu/simple_alu_bind.sv b/verif/formal/simple_alu/simple_alu_bind.sv
new file mode 100644
index 0000000..b12e0eb
--- /dev/null
+++ b/verif/formal/simple_alu/simple_alu_bind.sv
@@ -0,0 +1,15 @@
+// Bind file for simple_alu formal verification.
+// Attaches simple_alu_fv to every instance of simple_alu in the design.
+// RTL is completely unaware of this file.
+//
+// bind <dut_module> <fv_module> <instance_name> (<port_connections>);
+
+bind simple_alu simple_alu_fv u_simple_alu_fv (
+ .clk (clk),
+ .rst (rst),
+ .a (a),
+ .b (b),
+ .sel (sel),
+ .y (y),
+ .overflow (overflow)
+); \ No newline at end of file