-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,470 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
default: test | ||
|
||
TEST_PL = ../../lib/cbmc/regression/test.pl | ||
|
||
test: | ||
@$(TEST_PL) -c ../../../src/nuterm/build/nuterm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CORE | ||
counter1 | ||
|
||
^weight main.clk = 0 .*$ | ||
^weight main.counter = 1 .*$ | ||
^RESULT: main.counter-1$ | ||
^bias: -1 .*$ | ||
^EXIT=0$ | ||
^SIGNAL=0$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module main(input clk); | ||
|
||
reg [31:0] counter; | ||
|
||
always @(posedge clk) | ||
if(counter != 0) | ||
counter = counter - 1; | ||
|
||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
0main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
1main.clk | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
0main.clk | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
1main.clk | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
#10 | ||
b00001111111111111111111111110110 main.counter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
0main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
1main.clk | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
0main.clk | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
1main.clk | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
0main.clk | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
1main.clk | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
#10 | ||
b00001111111111111111111111110110 main.counter | ||
0main.clk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
0main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
1main.clk | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
0main.clk | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
1main.clk | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
0main.clk | ||
#10 | ||
b00001111111111111111111111110110 main.counter | ||
1main.clk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
1main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
0main.clk | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
1main.clk | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
0main.clk | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
1main.clk | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
0main.clk | ||
#10 | ||
b00001111111111111111111111110110 main.counter | ||
1main.clk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
0main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
1main.clk | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
0main.clk | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
1main.clk | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
0main.clk | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
1main.clk | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
0main.clk | ||
#10 | ||
b00001111111111111111111111110110 main.counter | ||
1main.clk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
1main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
0main.clk | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
1main.clk | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
0main.clk | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
1main.clk | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
#10 | ||
b00001111111111111111111111110110 main.counter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
$date | ||
Sun Jan 7 16:33:39 2024 | ||
$end | ||
$timescale | ||
1ns | ||
$end | ||
$scope module main $end | ||
$var reg 32 main.counter main.counter [31:0] $end | ||
$var wire 1 main.clk main.clk $end | ||
$upscope $end | ||
$enddefinitions $end | ||
#0 | ||
b00010000000000000000000000000000 main.counter | ||
0main.clk | ||
#1 | ||
b00001111111111111111111111111111 main.counter | ||
1main.clk | ||
#2 | ||
b00001111111111111111111111111110 main.counter | ||
0main.clk | ||
#3 | ||
b00001111111111111111111111111101 main.counter | ||
#4 | ||
b00001111111111111111111111111100 main.counter | ||
1main.clk | ||
#5 | ||
b00001111111111111111111111111011 main.counter | ||
#6 | ||
b00001111111111111111111111111010 main.counter | ||
0main.clk | ||
#7 | ||
b00001111111111111111111111111001 main.counter | ||
1main.clk | ||
#8 | ||
b00001111111111111111111111111000 main.counter | ||
0main.clk | ||
#9 | ||
b00001111111111111111111111110111 main.counter | ||
1main.clk | ||
#10 | ||
b00001111111111111111111111110110 main.counter | ||
0main.clk |
Oops, something went wrong.