1 / 12

Technion – Israel Institute of Technology Department of Electrical Engineering

Written by:. Haim Natan Benny Pano. Supervisor:. Gregory Mironov. Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab. Inverse Matrix Accelerator. Characterization Presentation. Project Goal. Designing and implementing an FPGA

kedem
Download Presentation

Technion – Israel Institute of Technology Department of Electrical Engineering

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Written by: Haim Natan Benny Pano Supervisor: Gregory Mironov Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Inverse Matrix Accelerator Characterization Presentation

  2. Project Goal Designing and implementing an FPGA circuitry that inverses a matrix by using a Monte-Carlo based algorithm.

  3. Inverter Matrix Inverted matrix Input & Output • Input: • * A 625x625 matrix Output: * A 625x625 inversed matrix

  4. Project Requirements • The matrix will be of size 625x625 • Matrix elements will be of type 64 bits double precision floating point • The inverted matrix should be accurate as much as possible • Calculation time < 20ms

  5. N – number of markov chains T – length of each chain b – an inversed element MP() – a chain generator bi,j := 0; For c := 1 to N do { k0 := i ; w0 := 1 ; For t := 1 to T do { kt := MP( kt-1 ) ; wt := sign(dkt-1,kt) * wt-1 * Ekt-1 ; if kt = j then bi,j += wt ; } } bi,j /= N ; The algorithm (simplified version)

  6. The algorithm (continued) • D = I – A • Ei =Σj|di,j| • P is a transition probability matrix such that pi,j= |di,j| /Ei

  7. Implementation Guide-lines • Loop unroll (for c and t) • Pipeline • Use built-in multipliers • Parallelize operations • Cut out the fat

  8. Pre Algorithm RAM RAM P Basic Flow Diagram FPGA A Monte-Carlo Algorithm k Chain Generator (E) RAM B P, (E)

  9. T k = i MP MP MP E1 SW SW SW En SW SW SW 0 bi,j A A A Initial algorithm architecture

  10. SW A Kin Tin Tin Ein Eout Win Wout * Kin Wint Rin Rout Cin Cout Kout Tout Vin Vout Switch & Accumulator Eout = Ein Rout = Rin Kout = Kin If Rin = Kin Then Tout = Ein Else Tout = Tin Cout = Cin Wout = Win * Tin Wint = Wout If Cin = Kin Then Vout = Vin + Wint Else Vout = Vin

  11. Past Achievements • 32x32 Matrix • 8-bit Fixed Point • T = 8 • Time < 1ms • Close to maximum utilization of Virtex II

  12. VHDL To-do List • Floating point arithmetic units • Algorithm • Markov chain generator • Simulation • Synthesis

More Related