25 karma · joined May 7, 2015 (11y ago) · 6 submissions
comment 5y ago · link · parent
module Blinker (
input wire clock,
output reg state
);
always @(posedge clock)
state <= !state;
`if FORMAL
always @(posedge clock)
assert ($past(state) != state);
`endif
endmodule
module testbench (
input wire clock,
output wire state1,
output wire state2
);
Blinker blinker1(clock, state1);
Blinker blinker2(clock, state2);
`if FORMAL
# assume that they are different
assume (state1 != state2);
# then they stay different
always @(posedge clock)
assert (state1 != state2);
`endif
endmodule
Of course you NEED clock wires to the blinker. Composability comes from the use of assume and assert. You assume that your environment is behaving according to spec and you prove that you are also behaving to spec PROVIDED the environment working correctly. See https://symbiyosys.readthedocs.io/en/latest/index.html for more details.Moral of the story: broken spec cannot be used, and I am saying this as a mathematician!
comment 6y ago · link · parent
4.
Darpa SC2 Team MarmotE modem is open sourced(lists.gnu.org ↗)
2 points · by mmaroti · 7y ago · discuss
comment 10y ago · link · parent
comment 11y ago · link · parent
http://research.microsoft.com/en-us/events/indoorloccompetit...
The 4 meter precision is in the middle of the pack.