Skip to content

Commit 6f81edc

Browse files
committed
operator benchmakrd added
1 parent 5273d40 commit 6f81edc

File tree

85 files changed

+1753
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1753
-1
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= a[0] & a[1];
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
out clk_out
2+
x 0
3+
0 1
4+
0 0
5+
0 1
6+
0 0
7+
0 1
8+
0 0
9+
0 1
10+
0 0
11+
1 1
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= a[0] === a[1];
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= a[0] && a[1];
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
out clk_out
2+
x 0
3+
0 1
4+
0 0
5+
0 1
6+
0 0
7+
0 1
8+
0 0
9+
0 1
10+
0 0
11+
1 1
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= a[0] == a[1];
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
out clk_out
2+
x 0
3+
0 1
4+
0 0
5+
1 1
6+
1 0
7+
0 1
8+
0 0
9+
0 1
10+
0 0
11+
1 1
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0:
22+
begin
23+
out <= (a[0] >= a[1]);
24+
end
25+
default: out <= 1'b0;
26+
endcase
27+
end
28+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
out clk_out
2+
x 0
3+
0 1
4+
0 0
5+
1 1
6+
1 0
7+
1 1
8+
1 0
9+
0 1
10+
0 0
11+
1 1
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= (a[0] > a[1]);
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
out clk_out
2+
x 0
3+
0 1
4+
0 0
5+
0 1
6+
0 0
7+
1 1
8+
1 0
9+
0 1
10+
0 0
11+
0 1
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= (a[0] <= a[1]);
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
out clk_out
2+
x 0
3+
0 1
4+
0 0
5+
1 1
6+
1 0
7+
0 1
8+
0 0
9+
1 1
10+
1 0
11+
1 1
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module simple_op(
2+
clk,
3+
reset,
4+
a,
5+
out,
6+
clk_out
7+
);
8+
9+
input clk;
10+
input reset;
11+
input [1:0] a;
12+
13+
output out;
14+
output clk_out;
15+
16+
assign clk_out = clk;
17+
18+
always @(posedge clk)
19+
begin
20+
case(reset)
21+
1'b0: out <= (a[0] < a[1]);
22+
default: out <= 1'b0;
23+
endcase
24+
end
25+
endmodule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GLOBAL_SIM_BASE_CLK clk reset a
2+
0 0 1 0X0
3+
0 1 1 0X0
4+
0 0 0 0X0
5+
0 1 0 0X0
6+
0 0 0 0X1
7+
0 1 0 0X1
8+
0 0 0 0X2
9+
0 1 0 0X2
10+
0 0 0 0X3
11+
0 1 0 0X3

0 commit comments

Comments
 (0)