Verification of Parameterised FPGA Circuit Descriptions with Layout ...
Verification of Parameterised FPGA Circuit Descriptions with Layout ... Verification of Parameterised FPGA Circuit Descriptions with Layout ...
APPENDIX D. CIRCUIT LAYOUT CASE STUDIES 290 theorem width_ge0: "!! (clk::wire) (bits::int) (n::int) (a::(wire)vector) (s::((wire) vector)vector) (s2::((wire)vector)vector) (d::bool). 0 ((0::int)
APPENDIX D. CIRCUIT LAYOUT CASE STUDIES 291 (rule allI)+, (case_tac "0 ((wire)vector*((wire)vector)vector)=>(((wire)vector) vector*(wire)vector)=>bool" height:: "(int*int)=>wire=>((wire)vector*((wire)vector)vector)=>(((wire)vector) vector*(wire)vector)=>int" width:: "(int*int)=>wire=>((wire)vector*((wire)vector)vector)=>(((wire)vector) vector*(wire)vector)=>int" filter_core:: "((int*int)=>wire=>((wire)vector*((wire)vector)vector)=>(((wire) vector)vector*(wire)vector)=>bool, (int*int)=>wire=>((wire)vector*((wire) vector)vector)=>(((wire)vector)vector*(wire)vector)=>int)block" defs struct_def: "struct == % (n, bits) clk (newval, s) (s2, median). Def ((newval, s) ;;; fst $ (fork ;; fst $ (rcomp $ (n, map $ (bits, fd $ clk)))) ;; below $ ( nextstate $ clk $ bits $ n, insert_median $ bits $ n) ;; snd $ (pi2) ;;; (s2, median))" height_def: "height == % (n, bits) clk (newval, s) (s2, median). Height ((newval, s) ;;; fst $ (fork ;; fst $ (rcomp $ (n, map $ (bits, fd $ clk)))) ;; below $ (nextstate $ clk $ bits $ n, insert_median $ bits $ n) ;; snd $ (pi2) ;;; ( s2, median))" width_def: "width == % (n, bits) clk (newval, s) (s2, median). Width ((newval, s) ;;; fst $ (fork ;; fst $ (rcomp $ (n, map $ (bits, fd $ clk)))) ;; below $ ( nextstate $ clk $ bits $ n, insert_median $ bits $ n) ;; snd $ (pi2) ;;; (s2, median))" filter_core_def: "filter_core == (| Def = struct, Height = height, Width = width |)" declare width_def [simp] declare height_def [simp] declare struct_def [simp] section {* Validity of width and height functions *} theorem height_ge0_int : "!! (n::int) (bits::int) (clk::wire) (newval::(wire)vector) (s::((wire)vector)vector) (s2::((wire)vector)vector) (median::(wire)vector). 0
- Page 249 and 250: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 251 and 252: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 253 and 254: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 255 and 256: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 257 and 258: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 259 and 260: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 261 and 262: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 263 and 264: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 265 and 266: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 267 and 268: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 269 and 270: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 271 and 272: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 273 and 274: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 275 and 276: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 277 and 278: APPENDIX C. PLACED COMBINATOR LIBRA
- Page 279 and 280: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 281 and 282: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 283 and 284: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 285 and 286: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 287 and 288: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 289 and 290: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 291 and 292: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 293 and 294: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 295 and 296: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 297 and 298: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 299: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 303 and 304: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 305 and 306: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 307 and 308: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 309 and 310: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 311 and 312: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 313 and 314: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 315 and 316: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 317 and 318: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 319 and 320: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 321 and 322: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 323 and 324: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 325 and 326: APPENDIX D. CIRCUIT LAYOUT CASE STU
- Page 327: APPENDIX D. CIRCUIT LAYOUT CASE STU
APPENDIX D. CIRCUIT LAYOUT CASE STUDIES 291<br />
(rule allI)+,<br />
(case_tac "0 ((wire)vector*((wire)vector)vector)=>(((wire)vector)<br />
vector*(wire)vector)=>bool"<br />
height:: "(int*int)=>wire=>((wire)vector*((wire)vector)vector)=>(((wire)vector)<br />
vector*(wire)vector)=>int"<br />
width:: "(int*int)=>wire=>((wire)vector*((wire)vector)vector)=>(((wire)vector)<br />
vector*(wire)vector)=>int"<br />
filter_core:: "((int*int)=>wire=>((wire)vector*((wire)vector)vector)=>(((wire)<br />
vector)vector*(wire)vector)=>bool, (int*int)=>wire=>((wire)vector*((wire)<br />
vector)vector)=>(((wire)vector)vector*(wire)vector)=>int)block"<br />
defs<br />
struct_def: "struct == % (n, bits) clk (newval, s) (s2, median). Def ((newval, s)<br />
;;; fst $ (fork ;; fst $ (rcomp $ (n, map $ (bits, fd $ clk)))) ;; below $ (<br />
nextstate $ clk $ bits $ n, insert_median $ bits $ n) ;; snd $ (pi2) ;;; (s2,<br />
median))"<br />
height_def: "height == % (n, bits) clk (newval, s) (s2, median). Height ((newval,<br />
s) ;;; fst $ (fork ;; fst $ (rcomp $ (n, map $ (bits, fd $ clk)))) ;; below<br />
$ (nextstate $ clk $ bits $ n, insert_median $ bits $ n) ;; snd $ (pi2) ;;; (<br />
s2, median))"<br />
width_def: "width == % (n, bits) clk (newval, s) (s2, median). Width ((newval, s)<br />
;;; fst $ (fork ;; fst $ (rcomp $ (n, map $ (bits, fd $ clk)))) ;; below $ (<br />
nextstate $ clk $ bits $ n, insert_median $ bits $ n) ;; snd $ (pi2) ;;; (s2,<br />
median))"<br />
filter_core_def: "filter_core == (| Def = struct, Height = height, Width = width<br />
|)"<br />
declare width_def [simp]<br />
declare height_def [simp]<br />
declare struct_def [simp]<br />
section {* Validity <strong>of</strong> width and height functions *}<br />
theorem height_ge0_int : "!! (n::int) (bits::int) (clk::wire) (newval::(wire)vector)<br />
(s::((wire)vector)vector) (s2::((wire)vector)vector) (median::(wire)vector). 0