24.04.2013 Views

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

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.

APPENDIX C. PLACED COMBINATOR LIBRARIES 263<br />

apply (induct_tac n)<br />

apply (auto intro: z_aleq_bc half.height_ge0 half.width_ge0 simp add: Let_def max_def<br />

half_def)<br />

done<br />

section {* Additional simplification rules for different representations *}<br />

theorem height_ge0: "!! (n::int) (R::(((’t20*’t20)=>’t20=>bool,(’t20*’t20)=>’t20=>int<br />

)block)) (i::(’t20)vector) (o_::’t20). [| ALL (qs67::(’t20*’t20)) (qs68::’t20).<br />

0 bool,(’t20*’t20)=>’t20=>int)<br />

block)) (i::(’t20)vector) (o_::’t20). [| ALL (qs67::(’t20*’t20)) (qs68::’t20). 0<br />

bool,(’t20*’t20)=>’t20=>int)block)) (i<br />

::(’t20)vector) (o_::’t20). [| if n = 0 then o_ = i else Def (i ;;; half $ (m<br />

div 2) ;;; (st1_in, st2_in)) & (if (n mod 2) = 0 then (struct (int2nat (n - 1))<br />

R st1_in st1_out) & Def ((st1_out, st2_out) ;;; R ;;; o_) & (struct (int2nat (n<br />

- 1)) R st2_in st2_out) else (struct (int2nat (n - 1)) R st1_in st1_out) & Def<br />

((st1_out, st2_out) ;;; R ;;; o_) & (struct (int2nat (n - 1)) R st2_in st2_out))<br />

; m = (2 pwr n) ; ALL (qs67::(’t20*’t20)) (qs68::’t20). 0

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

Saved successfully!

Ooh no, something went wrong!