Skip to content

Commit b773029

Browse files
committed
fx
1 parent 0e64d31 commit b773029

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

regression/ebmc/neural-liveness/counter1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
counter1.sv
3-
--number-of-traces 2 --neural-liveness --neural-engine "echo Candidate: counter\\\\n"
3+
--number-of-traces 2 --neural-liveness --neural-engine "echo RESULT: counter\\\\n"
44
^\[main\.property\.p0\] always s_eventually main.counter == 0: PROVED$
55
^EXIT=0$
66
^SIGNAL=0$
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
CORE
22
counter1.sv
33
--number-of-traces 1 --neural-liveness --show-traces
4-
^nuterm::live@0 = 0$
5-
^nuterm::live@1 = 0$
6-
^nuterm::live@2 = 0$
7-
^nuterm::live@3 = 0$
8-
^nuterm::live@4 = 0$
9-
^nuterm::live@5 = 0$
10-
^nuterm::live@6 = 0$
11-
^nuterm::live@7 = 0$
12-
^nuterm::live@8 = 0$
13-
^nuterm::live@9 = 0$
14-
^nuterm::live@10 = 1$
4+
^Verilog::main\.\$live@0 = 0$
5+
^Verilog::main\.\$live@1 = 0$
6+
^Verilog::main\.\$live@2 = 0$
7+
^Verilog::main\.\$live@3 = 0$
8+
^Verilog::main\.\$live@4 = 0$
9+
^Verilog::main\.\$live@5 = 0$
10+
^Verilog::main\.\$live@6 = 0$
11+
^Verilog::main\.\$live@7 = 0$
12+
^Verilog::main\.\$live@8 = 0$
13+
^Verilog::main\.\$live@9 = 0$
14+
^Verilog::main\.\$live@10 = 1$
1515
^EXIT=0$
1616
^SIGNAL=0$
1717
--

src/nuterm/nuterm_main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,11 @@ int main(int argc, const char *argv[])
282282

283283
std::cout << "Got " << tensors.size() << " transitions to rank\n";
284284

285+
if(tensors.empty())
286+
{
287+
return 0;
288+
}
289+
285290
const auto net = std::make_shared<RankingNet>(state_variables.size());
286291

287292
#if 0

0 commit comments

Comments
 (0)