25.02.2017 Views

Formal Verification with Yosys-SMTBMC Clifford Wolf

slides

slides

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

cycle3.tpl<br />

(set­logic QF_UFBV)<br />

; insert the auto­generated code here<br />

%%<br />

; declate three states<br />

(declare­fun s1 () cycle3_s)<br />

(declare­fun s2 () cycle3_s)<br />

(declare­fun s3 () cycle3_s)<br />

; setup three states<br />

(assert (and (cycle3_h s1) (not (cycle3_is s1))))<br />

(assert (and (cycle3_h s2) (not (cycle3_is s2))))<br />

(assert (and (cycle3_h s3) (not (cycle3_is s3))))<br />

...

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!