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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX B. THEORETICAL BASIS FOR LAYOUT REASONING 189<br />

declare geq_def [simp]<br />

section {* Power function for integers *}<br />

(* Undefined for negative argument y - result must be an integer *)<br />

consts<br />

pwr :: "[int,int]=>int" (infixr 60)<br />

defs<br />

pwr_def: "x pwr y == if y >= 0 then int (nat x ^ nat y) else arbitrary"<br />

section {* Reasoning <strong>with</strong> equality and inequalities *}<br />

theorem zless_eq: "(((x::int)

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

Saved successfully!

Ooh no, something went wrong!