I nte rna t io na l J o urna l o f   Rec o nfig ura ble a nd   E m be dd e d Sy s t e m s   ( I J R E S)   Vo l.   7 ,   No .   1 Mar ch   2 0 1 8 p p .   2 1 ~3 3   I SS N:  2 089 - 4 864 ,   DOI : 1 0 . 1 1 5 9 1 / i j r es . v7 . i 1 . p p 21 - 33          21       J o ur na l ho m ep a g e h ttp : //ia e s co r e. co m/jo u r n a ls /in d ex . p h p / I JR E S /in d ex   E m be dded  H a rd w a re Cir cuit  a nd   So ft w a re De v elo pm en o f   USB ba sed  H a rd w a re Ac celerato r       Sa n k et   Dess a i ,   Sa n deep  G .   De p a rte m e n o f   Co m p u ter S c ien c e   a n d   E n g in e e rin g ,   M . S . Ra m a iah   Un iv e rsit y   o f   A p p li e d   S c ien c e s,  Be n g a lu ru ,   I n d ia       Art icle  I nfo     AB ST RAC T     A r ticle  his to r y:   R ec eiv ed   Dec   5 ,   2 0 1 7   R ev i s ed   Feb   2 ,   2 0 1 8   A cc ep ted   Feb   15 ,   2 0 1 8     T h is  p a p e f o c u o n   d e sig n   a n d   d e v e lo p   a   Ha rd w a r e   A c c e lera to w h ich   c a n   p lu g   i n   to   Un iv e rsa S e rial  Bu s o f   a n y   m o d e rn   lo w   p o w e lo w   c o st  e m b e d d e d   d e v e lo p m e n s y st e m   to   d o   c o m p lex   p ro c e ss in g   in   a   p lu g   a n d   p lay   d e v e lo p m e n e n v iro n m e n t.   Cry p to g ra p h ic  a lg o rit h m s,  ste g a n o g ra p h y   a n d   e n c o d i n g   d e c o d i n g   a p p li c a ti o n c a n   u se   c o - d e v ice to   a c c e lera te   p e rf o r m a n c e .   In   th is  p a p e a n   im p lem e n tatio n   o f   a   h a rd w a r e   in f ra str u c tu re   f o c o m p u ti n g   th o u g h   USB  b u o f   a n y   s m a ll   sc a le  e m b e d d e d   c o n tr o l ler  b o a rd .   Ex e c u ti o n   e n g in e   o f   t h e   a c c e lera to w il b e   a n   F P G A   w h ich   is  c o n n e c ted   t o     a   USB  c o n tro ll e w it h   DD m e m o r y   to   sto re   u se d a ta.  F P GA c a n   p e rf o r m   th e   p ro c e ss   f a ste th a n   lo w   p o w e m icro c o n tro ll e rs  to   so lv e   su c h   a lg o rit h m s.   F o th e   im p lem e n tatio n   X IL INX   A RT IX   7   F P G A   is   u se d   to   o f f   lo a d   th e   a lg o rit h m   f o fa ste p ro c e ss in g .   S y ste m   a lso   h a a   C y p re s USB  in terf a c e   c h ip   f o o f f lo a d in g   d a ta  p a th .   Ha rd w a r e   a lso   h a a   DR A M   m e m o r y   f o d u m p in g   th e   d a ta  to   b e   st o re d .   De sig n   a lso   e x p lo re d iff e r e n f u tu risti c   f e a tu re li k e   in terru p c o n n e c ti o n   f o f a ste re sp o n se   p a th ,   sh a re d   m e m o r y   a rc h it e c tu re   f o h a n d   sh a k e   m e c h a n is m   a n d   G P IO  c o n n e c ti o n   f o im p le m e n tatio n   o f   f a ste in terfa c e s f o IO ex p a n sio n .   K ey w o r d s :   E m b ed d ed   Sy s te m s   FP GA     Har d w ar A cc eler ato r   USB   Xilin x   AR T I 7     Co p y rig h ©   2 0 1 8   In stit u te o A d v a n c e d   E n g i n e e rin g   a n d   S c ien c e   Al rig h ts  re se rv e d .   C o r r e s p o nd ing   A uth o r :   San k et  Des s ai,     Dep ar te m en t o f   C o m p u ter   Sci en ce   an d   E n g i n ee r in g ,   M. S.R a m aiah   U n i v er s it y   o f   Ap p lied   Scien ce s ,   #470 - P ,   P ee n y I n d u s tr ial  A r e a,   P ee n y Seco n d   Stag e,   P ee n y a   B en g a lu r u   ( B an g alo r e) - 560058.   E m ail: sa n k etd ess a i.c s . et @ m s r u as.a c. in       1.   I NT RO D UCT I O N   Har d w ar ac ce ler atio n   i s   m et h o d   o f   u s in g   ad d itio n al   h ar d w ar to   p er f o r m   s o m e   f u n ctio n s   ef f icien tl y   an d   f as ter   th a n   co n v e n tio n al   s o f t w ar r u n n in g   o n   m o r g e n er al  p u r p o s p r o ce s s in g .     E x a m p les   o f   h ar d w ar ac ce le r atio n   in c lu d b it  b o u n d ar y   b o ck   tr an s f er   ac ce ler atio n   f u n c ti o n alit y   in   g r ap h ics  p r o ce s s in g   u n its   ( GP Us)  a n d   r eg u lar   ex p r ess io n   h ar d w a r ac ce ler atio n   f o r   s p a m   co n tr o in   t h s er v er   in d u s tr y .   I n   co n v e n tio n al   s y s t e m s   p r o ce s s o r s   ar s eq u e n tial   lik i n s tr u ctio n s   ar e x ec u ted   o n b y   o n e,   an d   ar e   d esig n ed   to   r u n   g en er al  p u r p o s alg o r ith m s   co n tr o lled   b y   i n s tr u ctio n   f etc h .   Har d w ar A c ce ler ato r s   i m p r o v th ex ec u tio n   o f   s p ec i f ic  a l g o r ith m   b y   al lo w in g   g r ea ter   co n cu r r en c y ,   h a v i n g   s p ec if i d ata - p ath s   f o r   it s   te m p o r ar y   co m p u tatio n   o f   th s y s te m ,   an d   p o s s ib l y   r ed u cin g   t h o v er h ea d   o f   i n s tr u ctio n   co n tr o l.   Mo d er n   p r o ce s s o r s   ar m u lti - co r an d   o f ten   f ea t u r p ar a llel  SIM u n i ts   p r o v id in g   p er f o r m an ce   y ield s   b en ef it s   [ 1 ] ,   [ 2 ] .   I n   t h is   p ap er ,   d esig n   o f   h ar d w ar ac ce ler ato r   f o r   s m all  f o r m   f ac to r   e m b ed d ed   d esig n s   ar d is cu s s e d   in   d etail,   i ts   d e v elo p m e n o f   m o d el s   ar i m p le m en ted   a n d   t ested .   Fi g u r 1   s h o w s   h ig h   le v el  co m p o n en t s   o f   a   s y s te m   w it h   h ar d w ar ac ce le r ato r .   No r m al  s o f t w ar e x ec u tio n   f lo w   w ill  s tar w it h   p r o g r a m s   a s s e m b l y     co d e/ in s tr u ct io n s   s tar in ter ac tin g   w it h   co r C P U.   Un d er ly in g   s o f t w ar w il co n tr o th e   ex ec u tio n   p ath   to     th ac ce ler ato r .   Data   p ath   is   i m p le m e n ted ,   as  a   s h ar ed   m e m o r y   u s i n g   m e m o r y   co n tr o ller   tak i n g   ca r o f   b o th   R A an d   it c a n   b an   in d ep en d en m e m o r y   f o r   ac ce ler ato r   a n d   C P an d   m a n ag in g   it sep ar atel y .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  7 ,   No .   1 Ma r et   2 0 1 8   :   2 1     33   22   Har d w ar ac ce ler atio n   is   s u i tab le  f o r   an y   r ep etiti v e,   i n te n s i v k e y   al g o r ith m .   Dep en d in g   u p o n   g r an u lar it y ,   h ar d w ar ac ce ler atio n   ca n   v ar y   f r o m   s m al f u n ctio n al  u n it,  to   lar g f u n ctio n al   b lo ck   l ik e   MP E alg o r ith m   FF T   ca lcu lat io n   etc   [ 3 ] .           Fig u r 1 .   C o m p u ti n g   w it h   Har d w ar A cc eler ato r       Fix ed - f u n ctio n   i m p le m en ted   o n   FP GAs,  an d   f i x ed - f u n ct io n   i m p le m en ted   o n   A SI C s t h er is   tr ad o f f   b et w ee n   f lex ib il it y   a n d   ef f icie n c y ,   w i th   e f f icie n c y   in cr ea s in g   b y   o r d er s   o f   m ag n it u d w h en   a n y   g iv e n   ap p licatio n   is   i m p le m e n ted   h i g h er   u p   th at  h ier ar c h y .   S m a ll  lo w   p o w er   e m b ed d ed   d esig n s   ar m ad to   s er v e   p ar ticu lar   f u n c tio n ali t y .   Fo r   f aster   s y s te m   p er f o r m a n ce   e m b ed d ed   s y s te m s   o f te n   u s e   ch ip   s o lu tio n s   f o r   f aster   d esi g n   t i m e.   I n   s u c h   ca s es  th co m m u n icatio n   b et w ee n   t h p r o ce s s o r   an d   its   p er ip h er als  is   n o t   s ta n d ar d ized   th at  r e s u l i n   a p p licatio n s   d ev elo p ed   f o r   o n s o l u tio n   is   n o r ea d il y   p o r tab le  to   an o th er .     Ou r   i m p le m en tatio n   i s   to   s o lv th i s   p r o b lem ,   b y   o f f er i n g   e m b ed d ed   s y s te m s   p r o g r a m m ab le  lo g ic  p ar in     g e n er ic  USB   b u s   w h ic h   ca n   m o v f r o m   d esi g n   to   d e s i g n   q u ick l y .   C u r r en tl y   t h er i s   n o   o f f   t h s h el f   p r o d u c t   av ailab le  f o r   e m b ed d ed   s y s te m s   to   u s a s   h ar d w ar ac ce ler ato r .   Ho w e v er ,   th a s u ch   s y s te m   b i m p le m e n ted   is   f ast   b ec o m i n g   a n   i m p er ati v g i v e n   t h r i s i n   e m b ed d ed   w o r ld s   g r o w th   p ac e.   T h er ar m a n y   ap p licatio n s   co m in g   u p   in   i n d u s tr ial  a n d   m ed ical  an d   in ter n et  o f   th i n g s   s eg m e n t s   w h ich   n ee d   p r o ce s s i n g   p o w er   ad d ed   f o r   s p ec ial  alg o r ith m s   [ 3 ] [ 4 ] [ 5 ] .     1 . 1 .   Adv a nt a g es o f   H a rdwa r Acc eler a t o r   A   c u s to m ized   p r o ce s s i n g   u n it   o u ts id t h p r o ce s s o r   w ill   b ab le  to   p er f o r m   o p er atio n   m u ch   f a s ter   th an   C P o f   eq u i v ale n co s t.  An y   ad d ed   g en er al  p u r p o s p r o ce s s o r   w il o u t   p er f o r m   t h a n   u n it  w h ic h   ca n   p er f o r m   s p ec if ic  tas k   d u t o   its   d esig n   o p ti m is ed   m o d el.   C o s o f   p r o ce s s o r   is   al w a y s   lin ea r   f u n ctio n   o f   p er f o r m a n ce .   A cc eler ato r s   al w a y s   g iv e   b ett er   r ea ti m p er f o r m a n ce   co m p ar ed   to   g en er ic  p r o ce s s o r ,     w h ic h   d o es th tas k .   A cc eler ato r s   ar e   g o o d   i n   p er f o r m in g   in p u t o u tp u t   o p er atio n   i n   r ea ti m ap p licati o n s .   FP G ar ev e n   ca p ab le  to   i m p le m e n h i g h   s p e ed   in ter f ac e s   s u c h   as   P C I E   ex p r ess   co n n ec tio n s .   Ded icate d   h ar d w ar co n s u m es   less er   en er g y   co m p ar ed   to   th co   p r o ce s s o r s   o r   g en er ic  co m p u ti n g   p r o ce s s o r s .   E x ter n al  ac ce ler ato r s   al w a y s   i m p r o v p er f o r m an ce   f o r   d a ta  s tr ea m i n g   ap p licatio n s   s u c h   as  v id eo   au d i o   en co d in g   d o m a in s .   I is   k ee p s   th ca ch m e m o r y   d ep en d en c y   o f   C P a w a y   f r o m   t h p er f o r m an ce .   B it  le v el  o p er atio n s   w h ich   ar m o r e   f r eq u en tl y   u s ed   i n   e m b ed d ed   ap p licatio n   to o   w ill  p er f o r m   b etter   o n   d ed icate d   h ar d w ar f aster   t h an   s in g le  co n tr o ller .   A   s in g le  co n tr o ller   o r   p r o ce s s o r   ca n d o   all  th e   p ar allel  task   w h ic h   ar s u p p o s ed   to   p er f o r m   o n   m is s io n   cr itical  e m b ed d ed   s y s te m   [ 1 ] ,   [ 5 ] .     1 . 2 .   Cha lleng es a nd   Adv a nta g es o f   H a rd w a re   Acc eler a t o in E m b edde d Sy s t e m s     T h FP GA   d esig n   ac ce p tan ce   p ath   is   r elativ el y   lo n g   an d   co m p lex .   T h d esig n   c y cle  f o r   FP GA   b ased   s o lu tio n s   ar lo n g er   th a n   s o f t w ar s o lu tio n s   d u to   th r eso u r ce   r eq u ir e m en t s .   C o n s id er in g   t h ec o   s y s te m s   lik Op en FP GA   a n d   Op en C L   k in d   o f   s o f t w ar s o lu t io n s   alo n g   w i th   FP GA   I P s   ca n   s o lv t h is   i s s u to   g r ea t   ex ten t.  FP G A s   ar f a s ter   b u t h e y   ca n   o n l y   d o   o n l y   f ix ed   tas k .   R e p r o g r a m m i n g   c ap ab ilit y   ad d ed   to   th s o f t w ar ec o   s y s te m   ca n   s o lv th i s   is s u to   g r ea ex ten d   ev en   t h o u g h   it  is   ti m co n s u m i n g .   Fo r   an   ex a m p le  to   d o   b ey o n d   j u s f o r m at  co n v er s io n   li k d ata  s tr ea m   f i lter in g ,   FP GA   w i ll  h a v e   to   r ep r o g r am   w it h   n e w l y   ad d ed   alg o r ith m   u s i n g   n e w   b it st r ea m   a s   s h o w n   i n   Fi g u r 2 .   Evaluation Warning : The document was created with Spire.PDF for Python.
I J R E     I SS N:  2089 - 4864       E mb ed d ed   H a r d w a r C ir cu it  a n d   S o ftw a r Dev elo p men t o US B   b a s ed   Ha r d w a r …  ( S a n ke t D ess a i )   23   FP GA   d esi g n   w il b co n s id er ed   as  h ar d w ar d es ig n   t h at  b y   n a tu r n ee d ed   m o r p lan n i n g   a n d   r eso u r ce s   th a n   s o f t w ar i m p le m en tatio n s .   T esti n g   ti m an d   p r o ce s s   ar m o r co m p licated   in   ca s o f   FP GA  d esig n   s o f t w ar t h an   tr ad itio n al  s o f t w ar e .   I r eq u ir e s   ti m c o n s u m i n g   s y n th e s is   an d   ti m i n g   an a l y s is   to   b r i n g   i to   th f i n al  s ta g e   [ 6 ] .   Har d w ar ac ce ler ated   d esig n   n ee d   to   b ar ch itected   ca r ef u ll y ,   th d es ig n s   w h ich   ar n o t   ar ch itect u r w el l a r tr ad itio n all y   w ill  n o t d o   th eir   u s e   a s   s h o w n   i n   Fi g u r 3 .             Fig u r 2 .   FP GA   b ased   I P   Vid e o   Ser v illan ce           Fig u r 3 FP GA   h ar d w ar ac ce ler ato r   I b ased   r ea l - ti m co n tr o l s y s te m s       Mo s o f   t h e m b ed d ed   ap p licatio n s   t h at  ar also   r ea ti m ap p licatio n s   w h ic h   w ill  d e m a n d   v er y   s tr ict   ti m i n g   r eq u ir e m en t s .   T h er ef o r e,   an   o p er atin g   s y s te m   t h at  m an a g es   th e s tas k s ,   h av to   b eh a v i n     d eter m in i s tic  a n d   p r ed ictab le  w a y .   T h tas k   s c h ed u ler   al s o   w ill  h a v s a v p r ed ictab ilit y   r eq u ir e m e n w h ich   is   m aj o r   o v er h ea d .   Ma n y   o f   th em b ed d ed   d ev ices  o p er ate  o n   lo w   p o w er   s e g m en ts   o r   in   b atter ies,  w h ic h   w ill   h av m a n y   s er ial  p o r ts   o f te n   u s ed .   T h ese  in p u o u tp u p o r ts   c an   cr ea te  u n n ec es s ar y   o v er h ea d   to   th s y s te m .   Ma j o r   p ar t o f   th is   o v er h ea d   ca n   b o u t so u r ce d   to   th ac ce ler ato r   p ar t in   ca s o f   lo w   p o w er   d ev ices.     1 . 3 .   Cha lleng es a nd   Adv a nta g es o f   H a rd w a re   Acc eler a t o in E m b edde d Sy s t e m s     A ll  th m aj o r   em b ed d ed   s y s t e m s   w i ll  h a v g en er al - p u r p o s co n tr o ller   an d   ass o ciate d   h ar d w ar lik m e m o r y ,   ti m er s   a n d   ass o c iated   co m p o n e n t s   w ill  b t h er o n   b o ar d   o r   in   A SIC.  Dep e n d in g   o n   ap p licatio n   r eq u ir e m en ts   t h er ca n   b o th er   co m p o n e n t s   also   f o u n d   li k s y s t e m   w h ic h   is   e x p ec ted   to   p er f o r m   s i g n al  p r o ce s s in g   ta s k s   ca n   h a v m u ltip l y   a n d   ac cu m u late  ( M AC ) ,   s y s te m   w h ic h   u s ed   ce ll  p h o n es  h a v ce ll u lar   n et w o r k   m an a g e m en r elate d   d ev ices  in co r p o r ated .   E m b e d d ed   s y s te m ,   w h ic h   ar d esig n ed   f o r   h ig h - s p ee d   n et w o r k   ac ce s s   o r   m e m o r y   d at ac ce s s ,   ar lik el y   to   h av D MA   co n tr o ller s   an d   n et w o r k   i n ter f ac co n tr o ller s .   Oth er   th a n   all  th e s s y s te m s   ca n   h a v e,   s p ec ial  h ig h - s p ee d   p o r ts   o r   co d ec s   f o r   als o   im p le m e n f as ter   co m p r es s io n   o r   d ec o m p r es s io n   as s h o w n   i n   Fi g u r 4   Ma th e m atic al  r o u t in e s ,   w h ic h   ar i m p le m e n ted   at  lo w   lev el  w i th   a n   o p ti m u m   cu s to m is ed   p ar allel  ar ch itect u r e,   ca n   r ea lize   u s i n g   HW   ac ce ler ato r s .   T h is   r e m o v e s   o v er h ea d   o f   co n tr o l,  o p er atin g   s y s te m ,   in ter r u p ts   an d   i n ter f ac es.  T h is   i m p le m e n tatio n   is   h i g h l y   d eter m in is ti c   an d   r ep ea tab le  i n   d eliv er i n g   d ec i s io n s   o r   o r d er s   f aster   th a n   s o f t w ar r ea lizatio n s   i n   m a n y   ca s es   [ 8 ] [ 9 ] .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  7 ,   No .   1 Ma r et   2 0 1 8   :   2 1     33   24       Fig u r 4 C o m p r ess io n   alg o r it h m   i n   s o f t w ar e - co r e       2.   S YST E M   ARCH I T E CT U R E   DE SI G N   I n   th i s   s ec tio n   d esig n   o f   s y s t e m   ar ch itect u r is   e x p lain ed   f o r   t h USB   b ased   h ar d w ar ac ce ler ato r .       2 . 1 .   Circ uit  Desig n o f   F P G H a rdw a re   Acc eler a t o in USB             Fig u r 5 B lo ck   Diag r a m   o f   h a r d w ar A cc eler ato r   Un it        T h s y s te m   w ill  co n s is o f   i n ter f ac to   th co m p u ti n g   m o d u les  an d   th FP G A   ex ec u t io n   en g in e.   Dev ice  a ls o   w i ll  co n tain   m e m o r y   r eq u ir ed   f o r   t h d ata   s h ar i n g   an d   co m m a n d   ex c h a n g e   b et w ee n   h o s t   s y s te m   an d   th ac ce ler ato r .   T h d esig n   o f   t h o v er all  s y s te m   co n tai n s   E Z   b ased   U SB   in ter f a ce   an d   s u p p o r tin g   E E P R OM   cir cu itr y   to   co n f ig u r t h U SB   in ter f ac e   an d   f o r   th m icr o co n tr o ller   i n s id e.   C P L a llo w s   a   f ast   FP GA   co n f i g u r atio n   th r o u g h   USB .   I co n tr o ls   th co n f ig u r atio n s   p in s   o f   f las h   an d   FP GA .   Fla s h   m e m o r y   is   g iv e n   to   s to r th FP G A   b it st r ea m   f ile  to   h elp   r ep r o g r a m m in g   if   to   u s s a m al g o r ith m   to   r er u n .     C y p r es s   E Z - USB   FX2   a n d   FX3   d ev ices  ar l o w   p o w er ,   h ig h l y   i n te g r at ed   USB   m icr o co n tr o ller   [ 1 0 ] ,   [ 1 1 ] .   T h e y   h av e   f u ll y   co n f i g u r ab le  Gen er al  P r o g r a m m ab le  I n ter f ac an d   m a s ter /s la v en d p o in FIF O,   w h ic h   p r o v i d es  an   ea s y   co n n ec tio n   to   p o p u lar   in ter f ac es   s u ch   as  A T A ,   UT OP I A ,   E P P,   P C MCI A ,   DSP ,   a n d   m o s p r o ce s s o r s   i n   a   g l u e   les s   w a y   c y p r ess   a ls o   p r o v id es   d esi g n er   to o ls   f o r   u s er s .     FX3   d ev ices p r o v id es a   USB 3   co n n ec tio n   f o r   f as ter   d ata  tr an s f er   as s h o w n   in   F ig u r 5   an d   Fig u r 6 .     T h r o b u s d esig n   o f   t h cir c u it p r o v id e as y   to   u s p lu g   an d   p la y   ca p ab ilit ie s   k i n d   o f   f ea t u r es  of   th U n i v er s al   Ser ial  B u s   ( US B )   g ain i n g   g r ea p o p u lar it y   f o r   th in ter f ac s y s te m .   USB   h as  w id e   r an g o f   b an d w id t h   c h o ices   li k lo w ,   h ig h   an d   Su p er   s p ee d   m o d es   m a k es   it   c h o ice  o f   i n ter f a ce   f o r   r a n g o f   ap p licatio n s   f r o m   s lo w   s p ee d   p er ip h er als  lik m o u s k e y b o ar d   s en s o r s   to   h i g h   b an d   w id t h   ap p licatio n s   s u c h   as  s to r ag e   d is k s   a n d   s ca n n er s .   Oth er   th a n   p e r ip h er al  u s e,   ca s es  it   is   p r o v en   i n ter f ac f o r   m u ch   h i g h   s p ee d   an d   s lo w   s p ee d   in d u s tr ial  an d   m ed ical  ap p licatio n s   [ 1 2 ]     Evaluation Warning : The document was created with Spire.PDF for Python.
I J R E     I SS N:  2089 - 4864       E mb ed d ed   H a r d w a r C ir cu it  a n d   S o ftw a r Dev elo p men t o US B   b a s ed   Ha r d w a r …  ( S a n ke t D ess a i )   25       Fig u r 6 B lo ck   Diag r a m   o f   D u al  USB   Har d w ar A cc eler ato r       T ab le  1 Sp ee d   o f   D if f er e n Av ailab le  I n ter f ac es   I n t e r f a c e   S p e e d   F i r e W i r e   8 0 0   8 0 0   M   b i t s / se c   U S B   3 . 0   5   G   b i t s/ se c   U S B   3 . 1   1 0   G   b i t s/ se c   e S A TA   6   G   b i t s/ se c   T h u n d e r b o l t   10   G   b i t s/ se c   T h u n d e r b o l t   2   20   G   b i t s/ se c   T h u n d e r b o l t   3   40   G   b i t s/ se c   P C I   Ex p r e ss 1 x   4   G   b i t s/ se c   ( u p + d n )   P C I   Ex p r e ss 2 x   8   G   b i t s/ se c   ( u p + d n )       2 . 2 .   Desig n o f   CP L a nd   SPI F la s h De s ig n f o Co nfig ura t io   Fo r   cu s to m ized   ap p licatio n s ,   m icr o p r o ce s s o r   o r   C P L ca n   b u s ed   to   co n f i g u r a n   A r i tx   7   eit h er   s er ies  d ev ice,   Ma s ter   Select MA P   m o d o r   S lav e   Select MA P   m o d e.   T h 7   s er ies  FP GA   Ma s ter   SP I   co n f i g u r atio n   m o d e n ab les  th u s o f   lo w   p i n - co u n t,  i n d u s tr y - s tan d ar d   SP I   f las h   d e v ices  f o r   b its tr ea m   s to r ag e.   I n   t h is   d esi g n ,   it  is   u s C P L to   s elec b et w ee n   E E P R OM   an d   FP G A   d ev ic [ 0 - 2 ]   p in s   ar e   s elec ted   u s i n g   C P L b its tr ea m   w i ll  b p r o g r a m m ed   to   FP GA  ac co r d in g   to   th e   s elec tio n .   Data   b u s   w ill  b e   d ir ec ted   to   C P L DDP R an d   FP GA   ac co r d in g   to   th u s er   s elec tio n   as  s h o w n   i n   Fi g u r 7   T h r o u g h   t h f ir m w ar lo ad ed   th r o u g h   th e   E Z   USB   to   it s   co n tr o lle r   w ill  b t h m aster   co n tr o o f   th ap p licatio n   p r o g r a m   in ter f ac e .   T h in ter n al  m icr o   co n tr o ller   w i ll  b u s ed   p r o g r a m   t h C P L w h ic h   tak e s   ca r o f   th XL I NX  p r o g r a m m in g   m o d an d   E E P R OM   p ath .   T h f ir m w ar in s id th m icr o   co n tr o ller   p lay s   a   cr u cial  r o le  in   it.  I n s tead   o f   c o m p lete   i m p le m e n tatio n   o f   lo g ic  i n s id o n e   FP G A   d esi g n   w il h a v to   m o v e     th p r o g r a m m i n g   lo g ic  to   th e   h o s m ac h i n w h ich   ca n   b r ea k   th p o r tab ilit y   o f   Har d w ar e   ac ce ler ato r   d esig n   [ 1 3 ] ,   [ 1 4 ] ,   [ 1 5 ] .   A   L G A   p ac k ag o f   4 5   m m   X   4 2 . 5   m m   i s   d esig n ed   w it h   1 3 5 6   p in s .   On   to p   o f   th i s   p ac k a g e,   th d ie   ( s ilico n )   w it h   th s ize  o f   1 0 . 3 4 3 7 4   m m   x   2 0 . 3 7 9 7   m m   i s   p lace d .   T ab le  1   s h o w s   t h d etails  o f   th p ac k a g an d   th d ie.             Fig u r 7 B lo ck   d iag r a m   o f   p r o g r a m m i n g   cir c u it   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  7 ,   No .   1 Ma r et   2 0 1 8   :   2 1     33   26   2 . 3 .   Desig n o f   I nte rc o nn ec t   L o g ic  bet w ee n B lo ck s     T h er ar m u lt ip le  b o ck s   in   t h s y s te m   w h ic h   n ee d s   d ata  tr a n s f er   in   t h s y s te m   f o r   p r o g r am m in g   ad   f o r   ap p licatio n   d ata  tr an s f er   SelectM A P   s i g n als  ar co n n ec ted   b et w ee n   C P L a n d   FP GA   f o r   f aster   p r o g r am m i n g   s u p p o r w h ic h   is   d is c u s s ed   in   d etail  i n   t h ab o v s ec tio n s .   I h as   g e n er al  p r o g r a m m ab l e   in ter f ac co n n ec tio n   b et w ee n   th FP G A   a n d   USB   FX2   o r   FX3   d ev ice  f o r   f aster   d ata  t r an s f er   b et w ee n   f o r   ap p licatio n s   as s h o w n   i n   Fi g u r 8           Fig u r 8 .   I n ter f ac r o u ti n g   d ia g r a m         2 . 4 .   P o w er   Su pp ly   Desig n f o t he  USB   H a rdwa re   Desig n   o f   p o w er   s u p p l y   a n d   its   m a n ag e m e n f o r   FP GA s   p l a y s   cr u cial  p ar o f   th o v er a ll  p r o d u ct.   I n   t h is   h ar d w ar d esi g n   lo w   p o w er   h i g h   p er f o r m a n ce   X ili n x   A r tix   7   FP G A   f o r   o f   lo ad in g   th lo g ic.   T ab le  2 ,   g iv e s   m aj o r   v o ltag in p u t s   an d   th eir   s p ec   f o r   A r tix   7   s er ies.       T ab le  2 Vo ltag L ev el s   o f   A r t ix   7   X i l i n x   V i r t e x - 7   P o w e r - s u p p l y   R e q i r e me n t s   P o w e r   R a i l   N o mi n a l   V o l t a g e   ( V )   T o l e r a n c e   D e scri p t i o n   V CCIN T   1 . 0 *   ± 3 % *   V o l t a g e   su p p l y   f o r   t h e   i n t e r n a l   c o r e   l o g i c   V CCA U X   1 . 8   ± 5 %   V o l t a g e   su p p l y   f o r   a u x i l i a r y   l o g i c   V CCO   1 . 2   t o   3 . 3   1 . 1 1 V   t o   3 . 4 5 V * *   V o l t a g e   su p p l y   f o r   I / O   b a n k s   M G TA V C C   1 . 0   ± 3 %   V o l t a g e   su p p l y   f o r   G TX   t r a n s c e i v e r   M G TA V TT   1 . 2   ± 3 0 mV   V o l t a g e   su p p l y   f o r   G TX   t r a n s c e i v e r   t e r mi n a t i o n   c i r c u i t s       Oth er   les s   i m p o r tan v o lta g l ev els  ar al s o   th er i n   FP GA   s u ch   a s   V C C B R A M,   VB A T T   an d   VR E F   th at  r eq u ir le s s er   c u r r en t.  FP GA   p r o v id b etter   p r o g r a m m i n g   co n tr o l   o v er   C P L D   a n d   o th er   d ev ices.   FB G   9 6   DDR  w h ich   i s   u s ed   f o r   d ata  s h ar i n g   as  m aj o r   p o w er   co n s u m i n g   d ev ices.  Ot h er   th a n   th e s e ,   it   n ee d   to   co n s id er   E E P R OM ,   FLA SH  a n d   r eset  ch ip   w h ile  co n s id er in g   th p o w er   r eq u ir e m e n t s   [ 1 5 ] .   T h er ar 3   m aj o r   p o w er   r eq u ir e m e n ts   f o r   t h b o ar d   1   Vo lt  4   Am p er p o w er   s u p p l y   f o r   t h FP G A   i n ter n al   lo g ic  an d   3 . 3   2   Am p er s u p p l y   f o r   th I n p u t   Ou tp u co n n ec tio n   o f   t h FP GA  cir cu it.  T h er is   s ep ar a te  1 . 5 2 A   p o w er   s u p p l y   d ed icate d   f o r   DDR  ci r cu it.  Fo llo w i n g   s ec tio n s   e x p lain s   th d etai ls   o f   ea ch   o f   t h ese  p o w er   s u p p l y   s ec tio n s   i n   d etail.   Fo r   3 . 3 an d   1 . 5 it  is   u s i n g   A O Z 1 0 5 0   DC   DC   B u c k   R eg u lato r s ,   is   h i g h   e f f icie n c y ,   ea s y   to   u s e,   2 A   s y n c h r o n o u s   b u ck   r eg u lat o r   as  s h o w n   in   Fi g u r 1 0 .   T h A O Z 1 0 5 0 P I   w o r k s   f r o m   4 . 5   to   1 8   in p u t   v o ltag r a n g e,   a n d   p r o v id es  u p   to   2   A   o f   co n ti n u o u s   o u tp u cu r r en w it h   a n   o u tp u v o ltag e   ad j u s tab le  d o w n   to   0 . 8   V.   I f   d esi g n ,   f o llo w   s i n g le   p o w er   s u p p l y   f o r   t h co m p le t s o lu t io n   cir c u it  w ill  h a v to   s u p p o r d esi g n   o f   2 0 A   p o w er   s u p p l y .   So   i n   t h is   d es ig n   a   s p li tti n g   o f   t h e   p o w er   s u p p l y   to   m u lt ip le  p ar ts   ac co r d in g   to     th r eq u ir e m e n t.  T h er is   also   an   o p t io n   in   cir c u it  to   s w itc h   b et w ee n   USB   an d   ex ter n al  p o w er   s u p p l y   to   r u n   th FP G A   i n   f as ter   m o d e.   R T 8 2 8 8 A   is   s y n ch r o n o u s   s tep - d o w n   r e g u lato r   w ith   an   in ter n al  p o w er   MO S FET   as  s h o w n   in   Fi g u r 1 1 .   I t   ca n   s o u r ce   u p to   4 A   o f   co n ti n u o u s   o u tp u cu r r e n o v er   w id in p u s u p p l y   r an g e   w it h   g o o d   lo ad   r eg u latio n   an d   lin r eg u latio n   as s h o w n   i n   Fi g u r 9 .     Evaluation Warning : The document was created with Spire.PDF for Python.
I J R E     I SS N:  2089 - 4864       E mb ed d ed   H a r d w a r C ir cu it  a n d   S o ftw a r Dev elo p men t o US B   b a s ed   Ha r d w a r …  ( S a n ke t D ess a i )   27       Fig u r 9 .   Diag r a m   o f   p o w er   s u p p l y   s ec tio n   f o r   th ac ce ler at o r           Fig u r 10 Sch e m at ic  d iag r a m   f o r   1 . 5 an d   3 . 3 u s in g   A O Z 1 0 5 0             Fig u r 11 Sch e m at ic  d iag r a m   f o r   1 . 0 s u p p ly   u s i n g   R T 8 2 8 8       3.   DE S I G O F   SO F T WAR E   CO M P O NE NT   T ar g et  o r   h ar d w ar ac ce ler ato r   in   th is   d eig n   n ee d   m u ltip le  s o f t w ar co m p o n en t s   to   w o r k   t o g eth er   to   ac h iev t h p er f o r m a n ce   th r o u g h p u t.  Fo llo w i n g   p ictu r ill u s tr ate s   d if f er e n s o f t w ar co m p o n en ts   an d   th er e   in ter o p er atio n .   GP I F in ter f ac ca n   b d esig n ed   u s i n g   C y p r es s   d esig n   to o l.  T h er w il l b r o le  f o r   f ir m w ar to   m an a g t h C P L D   also .   C o m m o n   in ter f ac co d e,   w h ic h   ca n   b r eu s ed   ac r o s s   d esi g n s .   E Z   F f ir m w ar co d w il b f ix ed   f o r   all  th d esi g n s .   P r o g r a m m in g   co d w ill  f l ex ib le  en o u g h   r ec o n f i g u r in   all  th ap p licatio n s .   FP GA   i n ter f ac co d w ill b co m m o n   r ep o s ito r y ,   w h ic h   w i ll h a v to   in te g r ate  w it h   ap p licatio n s   as  s h o w n   i n   Fig u r 1 2 .     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  7 ,   No .   1 Ma r et   2 0 1 8   :   2 1     33   28       Fig u r 1 2 .   So f t w ar C o m p o n e n ts   I n ter co n n ec tio n   i n   T ar g et  H ar d w ar e       Dep en d s   o n   t h in ter f ac c h i p   ac ce ler ato r   ca n   u s DM A   Qu a n tu m   FI FO  m ec h a n is m   u s ed   in s id e     th co n tr o ller   ch ip   f o r   b u l k   d a ta  tr an s f er .   F X3   ch ip   h as   D MA   en g i n i n s id w h ic h   ca n   b u s ed   f o r   co p y in g   DDR  d ata  th r o u g h   FP G A   to   th SUB   in ter f ac e   w it h o u t h co n tr o ller   cy cle  ti m e.   I n   ca s o f   FX2   ac ce ler ato r   w il h a v to   m a k th s y s te m   w o r k   w it h   Qu a n t u m   FIF in   au to   co n f i g u r atio n .   Des ig n   h as   d ed icate d   m e m o r y   r e g io n   r e s er v ed   f o r   i m p le m e n ti n g   t h h a n d   s h ak e   m ec h a n i s m .   User   co d r es u lt   ca n   b i n f o r m ed   to   th h o s th r o u g h   VH co d in   th FP G A   w h ic h   i s   k ee p   m o n ito r in g   th e   s h ar ed   m e m o r y   r eg io n .   T h is   ca n   b a n   o p tio n al  m o d el  d ep en d s   o n   th e   u s er   co d w o r k i n g   m o d el .       3 . 1 .   O pen  M P   So lutio n f o E m b edde d H o s t     Op en MP   4   s u p p o r w id r an g o f   co m p u te  d ev ice s   Xeo n   P h is ,   GP Us,  FP GA .   Op en MP   is   u s h i g h   lev el  d ir ec ti v b ased   s o lu t io n   b y   it s   ar ch itec tu r w h ic h   h elp s   t h d ev e lo p er s   to   s p in   t h ap p licatio n s   f aster   [ 1 6 ] .   I n   Op en MP   t h r e ad s   co m m u n ica te  b y   s h ar in g   v ar iab les   f o r   s y n c h r o n izatio n s   to   co n tr o r ac e   co n d itio n s .   E v en   t h o u g h   n o n e   o f   th s o l u tio n s   ar p er f ec i n d u s tr y   ad o p tio n   is   cr it ical.   I s u p p o r ts   s tan d ar d   f o r   s h ar ed   m e m o r y   p ar allel  p r o g r a m m in g   f o r   i n d u s tr y .   P r o g r a m m er s   al w a y s   n ee d   a   w r it o n ce ,   a n d   r eu s e   k in d   o f   ar c h itect u r to   av o id   r e w r iti n g   f r o m   b asic  a n d   to   p r o v id in cr e m e n tal  p ath   es s e n tial  f o r   ap p licatio n   co d es  to   m i g r ate.   T o   ex ten d   th u s a g o f   h ig h - lev e p r o g r a m m in g   m o d el,   Op en MP   to   m u ltico r e m b ed d ed   s y s te m s   a n d   ad d r ess   th ar c h itect u r al  ch a llen g es,  s o f t w a r w ill  h a v to   u s r u n ti m lib r ar y ,   w h ic h   u n d er s ta n d s   t h s y s te m s ,   a n d   i t sh o u ld   f o llo w   MC A P I   as s h o w n   i n   Fi g u r 1 3.     I n   r ec en d ev elo p m e n t s   e m b ed d ed   ap p licatio n s   ar b ec o m i n g   g etti n g   co m p le x   d a y   b y   d a y   an d   lo o k in g   f o r   co d r u s ag e   as  lik h i g h   lev el   d esk to p   ap p licatio n s   d u to   f ats  g r o w th   in   h ar d w ar p latf o r m s   tech n o lo g ies   an d   ap p licatio n s .   Her w ar e   tr y i n g   to   an al y s e   a   m o d el  w i th   o f   s o f t w a r A P I s   a n d   h ar d w ar e   [ 1 7 ] .   E v e n   f o r   h i g h l y   f le x ib le  a n d   ef f icie n h ar d w ar d esi g n   al s o   n ee d   s u p p o r o f   p r o g r a m m i n g   m o d el s   an d   to o ls .             Fig u r 1 3 .   Op en MP   MCA P I   s o f t w ar b lo ck   d iag r a m   f o r   FP GA   h ar d w ar ac ce ler ato r     Fig u r 1 4 .   A b s tr ac tio n   i n   i n ter f ac lev e l f o r   d esig n   Evaluation Warning : The document was created with Spire.PDF for Python.
I J R E     I SS N:  2089 - 4864       E mb ed d ed   H a r d w a r C ir cu it  a n d   S o ftw a r Dev elo p men t o US B   b a s ed   Ha r d w a r …  ( S a n ke t D ess a i )   29   P h y s ical  h ar d w ar d esig n   ca n   co n s is a n y   k i n d   o f   p r o ce s s o r s   o r   h ar d w ar ac ce ler ato r   I P   w h ic h   w il l   g et  w r ap p ed   u s i n g   s o f t w ar A P I   lev el  f o r   o v er all  f u n c tio n al  co m p letio n .   An   ex tr s u p p o r f r o m   d r iv er s   an d   o p er at in g   s y s te m   to   g et  th f i n al  la y er s   o p er atio n al.   T h f in al  tar g et  is   to   estab lis h   a n   in te r f ac la y er   b et w ee n   h ar d w ar ac ce ler ato r s ,   p r o ce s s o r s   an d   ap p licatio n   la y er   an d   m a x i m u m   o f f er   p er f o r m an ce   an d   m e m o r y   m an a g e m e n t   as s h o w n   i n   Fi g u r 1 4   Op en MP   is   co ll ec tio n   o f   A P I s   f o r   m u lti - p r o ce s s o r   p r o g r am m i n g   lan g u ag e s   in   C ++   [ 1 8 ]   A   n o r m al  co m p u ter   r u n n i n g   L in u x   o r   W in d o w s   ca n   b e   u s ed   f o r   ap p licatio n   d ev elo p m e n a n d   FP GA  s y n t h esi s .   An d   ca n   u s t h b its tr ea m   alo n g   w it h   d r iv er   ap p licatio n s   to   in te g r ate  w it h   A P I s   to   s h o w   th e   p er f o r m a n ce   ad v an ta g e.   U s ap p licatio n s   d ev elo p ed   in   d esk to p   en v ir o n m e n allo w s   f a s ter   d eb u g g i n g   an d   in te g r atio n .   A p p licatio n   co d ca n   b tr an s f er r ed   to   FP GA   o r   d is tr ib u ted   b et w ee n   s y s te m s .     3 . 2 .   Ho s t   Appl ica t io n in B a s ic  Co de   A ll  t h E m b ed d ed   d ev elo p m en en v ir o n m en w ill  n o t   b h av in g   lu x u r y   to   u s litt le  h ea v y   en v ir o n m e n li k Op en MP   o r   o th er   A P I s .   T o   ad d r ess   th is   s i t u atio n ,   w ar ex p lo r in g   o n m o r o p tio n   h er to   i m p le m en t h h ar d w ar ac ce l er ato r   f o r   s m al s ca le  e m b ed d ed   s y s te m s   w h ic h   h a s   USB   in ter   f ac to   co n n ec t   th d esi g n ed   h ar d w ar e   [ 1 9 ] .   Fig u r 1 6   s h o w s   f lo w   c h ar t o f   a p p licatio n   s o f t w ar f o r   C   i m p l e m en tatio n .             Fig u r 1 5 .   So f t w ar I m p le m e n tatio n             Fig u r 1 6 .   B asic So f t w ar f lo w   d ia g r a m     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  7 ,   No .   1 Ma r et   2 0 1 8   :   2 1     33   30   T h is   d esi g n   is   u s i n g   lib u s b ,   l ib r ar y   th at   p r o v id es  ap p licatio n s   ac ce s s   f o r   d ata  tr an s f er   t h r o u g h   U SB   in ter f ac e,   w h ich   is   lice n s ed   u n d er   L GP L   f o r   L i n u x   UNI w i n d o w s   a n d   o th er ,   m an y   o th er   O Ss ,   w i th o u t     th n ee d   f o r   k er n el - m o d d r iv er s   [ 1 9 ] .   I ts   h ig h l y   p o r tab le  d e s ig n   m a k es  it  f av o r ite  f o r   ap p licatio n   d ev elo p er s .   T h is   ca n   m a k th co m m u n ic atio n   i m p le m e n ted   w ith o u g o in g   to   co m p licated   k er n el  m o d im p le m e n tatio n s   as  s h o w n   in   Fi g u r 1 5 .   I als o   h as  d ef au l s u p p o r f r o m   U SB   1 . 0   t o   3 . 0 .   I also   s u p p o r t s   s y n c h r o n o u s   a n d   as y n ch r o n o u s   i n ter f ac alo n g   w it h   all  t y p es  o f   tr an s f er   t y p e s   lik b u lk ,   i n ter r u p t,  co n tr o an d   is o ch r o n o u s   as   s h o w n   in   F ig u r 1 6 .     3 . 3 .   I nte rr up t   I m ple m e nta t io n f o Crit ica l U s Ca s es            Fig u r 1 7 .   I n ter r u p i m p le m e n tatio n   f o r   m is s io n   citical  u s c ases       FP GA   h ar d w ar s ta n d ar d   co d co m p o n e n t s   ar ad d ed   to   ta k ca r o f   co m m u n icat io n   w it h   th h o s t   w h ic h   w ill  m ak s y s te m   m o r p o r tab le.   USB   E Z   to   FP G A   co n n ec tio n   p ar w ill  b f ix ed   s o   w ca n   r eu s e   th co d f o r   an y   ap p licatio n s .   A ll  k i n d   o f   USB   tr an s ac tio n s   ar in itiated   f r o m   h o s t.  I d em an d s   an d   o v er   h ea d   o f   p o r p o llin g   to   t h h o s ap p licatio n   to   c h ec k   if   A cc eler a to r   h as  co m p leted   th e   o p er atio n .   A cc eler ato r   h as   I Os  co n n ec ted   to   s ep ar ate  co n n ec to r   f r o m   FP GA   to   ad d r ess   th s itu a tio n   i n   ti m cr itical  ap p licatio n s .   Fo r   s u c h   ap p licatio n s   it  ca n   co n n ec th J o b   Do n e”   s ig n al  f r o m   FP G A   w i ll  b co n n ec ted   to   th h o s t   co n tr o ller s   in ter r u p p in .   W w il h av to   m o d i f y   th e   h o s in ter r u p co d to   i n itiate   p o llin g   to   t h s h ar ed   m e m o r y   a s   s h o w n   i n   Fig u r 1 7 .   E v en   th o u g h   th er is   l ittl e   p o r tab ilit y   is s u f o r   th d esig n   w h a v ad d ed   an   o p tio n   f o r   in ter r u p a n d   o th er   GP I Os  in   th d e s ig n   to   m ak it  m o r u s er   ad ap tab le . T h h a r d w ar ac ce ler ato r   h ad   co m p ar ed   w i th   t h p ap er   [ 1 ] ,   Fo r   o u r   d esig n   t h A r t ix   7   d ev ice  f u n c tio n   w it h   9 6 2 5 1   lo g ic  r eso u r ce s   an d   1 3 1 0 0 0   m e m o r y   b lo c k s   a n d   ca n   r u n   in   6 7 6   MH s y s te m   c lo ck .       4.   T E ST I N G   WI T H   F F T   DE SI G NS    T h VHDL   m o d u le  ca lc u late s   t w o   p o in FF T   u s in g   th e   t w o   in p u t   s a m p les.  T h b u tter f l y   s tr u ctu r e   is   s h o w n   i n   b elo w   f ig u r e.   T h is   m o d u le  tak e s   t w o   i n p u t s   s a y   a‟ ,   b .   T h in p u b   is   m u ltip lied   b y   t w id d le   f ac to r   W N .   T h t w o   o u tp u t s   A‟   a n d   B   ar ca lcu lated   b y   s i m p le  ad d itio n   an d   s u b tr ac tio n   o p er atio n   o f     th t w o   ele m e n t s   as s h o w n   i n   t h Fi g u r 1 8 .   Fig u r 1 9 ,   s h o w s   t h s tat m ac h in o f   th FF T   en g i n e.   D ata  co n v er to r   tak es  d ata  f r o m   USB   an d   p ass es  t h d ata  to   th DDR  w h ic h   ca n   b later   tak e n   b y   FF T   en g i n f o r   ca lcu lat io n   D DR   in ter f ac ca n   b e   g en er ated   u s i n g   X ilin x   co r g en er ato r   to o f o llo w i n g   i m a g e   s h o w s   DD R   i n ter f ac b lo ck   f o r   in ter f ac i n g   w i th   FF T   en g i n e.   T h f i n al  d esi g n   ca n   b p o r ted   to   p en   d r iv s ize  USB   d ev ice  to   p lu g   to   an y   co m p u ti n g   s y s te m   w h ic h   h a s   U SB   in ter f ac e.   T h p o w er   co n s u m p tio n   o f   th e   co m p lete  r ef er e n ce   cir cu i co m es  less   th a n   2 W   w h ic h   w ill  b e n o u g h   f o r   USB   d ev ice.   Hig h   le v el  C   co d w ill  b u s ed   to   co m m u n ic ate  w i th   ac ce ler ato r   f r o m   h o s m ac h i n to   test   th s etu p .   W w il b d u m p in g   t h d ata  th r o u g h   lib u s b   to   th D DR   f o r   ca lcu la tio n   Fig u r 2 0   s h o w s   t h test   s e tu p   f o r   th h ar d w ar e.   Evaluation Warning : The document was created with Spire.PDF for Python.