Skip to content

Two tests for SVA->Buechi->BDD #1218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,12 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
# spot
wget -q -O - https://www.lrde.epita.fr/repo/debian.gpg | sudo apt-key add -
sudo sh -c 'echo "deb http://www.lrde.epita.fr/repo/debian/ stable/" >> /etc/apt/sources.list'
sudo apt-get update
sudo apt-get install spot
SPOT_VERSION=2.14.1
wget https://www.lre.epita.fr/repo/debian/stable/libbddx0_${SPOT_VERSION}.0-1_amd64.deb
wget https://www.lre.epita.fr/repo/debian/stable/libspotgen0_${SPOT_VERSION}.0-1_amd64.deb
wget https://www.lre.epita.fr/repo/debian/stable/libspot0_${SPOT_VERSION}.0-1_amd64.deb
wget https://www.lre.epita.fr/repo/debian/stable/spot_${SPOT_VERSION}.0-1_amd64.deb
sudo dpkg -i libbddx0_${SPOT_VERSION}.0-1_amd64.deb libspotgen0_${SPOT_VERSION}.0-1_amd64.deb libspot0_${SPOT_VERSION}.0-1_amd64.deb spot_${SPOT_VERSION}.0-1_amd64.deb
- name: Confirm ltl2tgba is available and log the version installed
run: ltl2tgba --version
- name: Get the ebmc binary
Expand Down
11 changes: 11 additions & 0 deletions regression/ebmc-spot/sva-buechi/sequence_and2.bdd.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CORE
../../verilog/SVA/sequence_and2.sv
--buechi --bdd
\[.*\] \(1 and \(##2 1\)\) \|-> main\.x == 2: PROVED$
\[.*\] \(\(##2 1\) and 1\) \|-> main\.x == 2: PROVED$
\[.*\] \(\(##2 1\) and 1\) #-# main\.x == 2: PROVED$
^EXIT=0$
^SIGNAL=0$
--
^warning: ignoring
--
12 changes: 12 additions & 0 deletions regression/ebmc-spot/sva-buechi/sequence_or1.bdd.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
CORE
../../verilog/SVA/sequence_or1.sv
--buechi --bdd
^\[main\.p0\] main\.x == 0 or main\.x == 1: PROVED$
^\[main\.p1\] strong\(main\.x == 0 or main\.x == 1\): PROVED$
^\[main\.p2\] main\.x == 0 or \(nexttime main\.x == 1\): PROVED$
^\[main\.p3\] \(nexttime main\.x == 1\) or main\.x == 1: PROVED$
^\[main\.p4\] \(main\.x == 0 or main\.x != 10\) |=> main\.x == 1: PROVED$
^EXIT=0$
^SIGNAL=0$
--
--
2 changes: 1 addition & 1 deletion regression/verilog/SVA/sequence_and2.sv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module main(input clk);

reg [31:0] x = 0;
reg [7:0] x = 0;

always @(posedge clk)
x<=x+1;
Expand Down
2 changes: 1 addition & 1 deletion regression/verilog/SVA/sequence_or1.sv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module main(input clk);

reg [31:0] x = 0;
reg [7:0] x = 0;

always @(posedge clk)
x<=x+1;
Expand Down
Loading