Skip to content

fixup i2c_*.sv SVA #1146

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_11.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 4500, localparam CBITS = 15) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_12.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 5000, localparam CBITS = 15) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_13.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 5500, localparam CBITS = 15) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_14.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 6000, localparam CBITS = 15) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_15.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 6500, localparam CBITS = 15) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_16.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 7000, localparam CBITS = 15) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_17.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 10000, localparam CBITS = 16) (input clk
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_18.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 17500, localparam CBITS = 17) (input clk
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_19.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 35000, localparam CBITS = 18) (input clk
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_20.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 70000, localparam CBITS = 19) (input clk
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_3.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 500, localparam CBITS = 11) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_4.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 1000, localparam CBITS = 12) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_5.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 1500, localparam CBITS = 13) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_6.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 2000, localparam CBITS = 13) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_7.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 2500, localparam CBITS = 14) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_8.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 3000, localparam CBITS = 14) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
2 changes: 1 addition & 1 deletion examples/Benchmarks/i2c_9.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ module i2cStrech #(localparam divider = 3500, localparam CBITS = 14) (input clk,
data_clk = 0;
end
end
p1: assert property (@(posedge clk) ((always s_eventually (rst == 1 or scl_not_ena == 1)) or (always s_eventually stretch == 1))) ;
p1: assert property (@(posedge clk) s_eventually (rst == 1 || scl_not_ena == 1 || stretch == 1)) ;
//F G (rst = F & scl_not_ena = F) -> G F (stretch = T)
endmodule
Loading