Re: Fully unrolled RC5 on FPGA
"Olivier Meyer" <[email protected]> Wed, 15 Nov 2006 11:19:20 -0700
| Newsgroups | gmane.comp.distributed-net.hardware |
|---|---|
| Message-ID | <[email protected]> |
--===============0213213758926003233== Content-Type: multipart/alternative; boundary="----=_Part_22769_1853077.1163614760473" ------=_Part_22769_1853077.1163614760473 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Folding at home is trying to use graphic cards, but there is one reason why FPGA is much better: A graphics card is NOT DESIGNED to execute general purpose code. It is made to render video and 3D images. What Folding has done is they have managed t= o use the restricted instruction set to do their protein-folding stuff. An FPGA design is the one thing less customisable than an ASIC. We can choose whatever we want to put on the FPGA, and we can make it check 1 key/cycle. = I wonder, can our FPGA implementation be used on cheap, low power FPGAs that = a student can afford (hint, hint!). Has anyone tried to use 74HC discrete logic to make an RC5-72 core? On 11/15/06, Fr=E9d=E9ric Bastien <[email protected]> wrote: > > To my knowledge Folding at home try to use graphic card and not FPGA. > This could be interesting as this don't require new hardware. But we > will need people that have time to implement it. > > Fr=E9d=E9ric Bastien > > Olivier Meyer wrote: > > If we will use a microcontroller to control the FPGA, an AVR would be > > much better than a PIC for many reasons: > > *more register space > > *a GCC port > > *higher speed. > > > > Notice that we got to the FPGA before Folding at Home! > > > > On 11/15/06, *[email protected] <mailto:[email protected]>* > > <[email protected] <mailto:[email protected]>> wrote: > > > > Bonjour, > > > > Tuesday, November 14, 2006, 8:41:25 PM, you wrote: > > > > JLB> Hi Guerric, > > > > JLB> Any chance I can get you go target your design to an > > XCV2000E-6BG560C > > JLB> and tell me if it fits and what the clock rate estimate is? > > > > JLB> It's just a data point for me to compare two year old data to > > the XCV4LX > > JLB> numbers. > > > > JLB> Thanks, > > JLB> John > > > > Ok, I can do that. > > The design will need 4 times the number of bRAMs compared with the > > Virtex4 design: 16-bit data width and no "read before write" mode. > > > > With this kind of RAMs, a register on the B signal of the > KeySchedule > > bloc could be saved using the fact that input is mirrored to the > > output of the bRAM while writing. I currently don't plan to make > this > > optimization. (this would mean a saving of 26*3 *32/2 =3D 1250 > Slices). > > Whatever, it is probably bad from a place&route point of view. > > > > I will test the full design with the new long shift register and > will > > provides the implementation results. > > > > -- > > Guerric > > > > > > _______________________________________________ > > Hardware mailing list > > Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected] <mailto: > Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected]> > > http://lists.distributed.net/mailman/listinfo/hardware > > > > > > > > > > -- > > ----------------------- > > Olivier V. Meyer > > Congress shall make no law respecting an establishment of religion, or > > prohibiting the free exercise thereof; or abridging the freedom of > > speech, or of the press; or the right of the people peaceably to > > assemble, and to petition the government for a redress of grievances. > > > > > > -----------------------------------------------------------------------= - > > > > _______________________________________________ > > Hardware mailing list > > Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected] > > http://lists.distributed.net/mailman/listinfo/hardware > _______________________________________________ > Hardware mailing list > Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected] > http://lists.distributed.net/mailman/listinfo/hardware > --=20 ----------------------- Olivier V. Meyer Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances. ------=_Part_22769_1853077.1163614760473 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Folding at home is trying to use graphic cards, but there is one reason why= FPGA is much better:<br>A graphics card is NOT DESIGNED to execute general= purpose code. It is made to render video and 3D images. What Folding has d= one is they have managed to use the restricted instruction set to do their = protein-folding stuff. An FPGA design is the one thing less customisable th= an an ASIC. We can choose whatever we want to put on the FPGA, and we can m= ake it check 1 key/cycle. I wonder, can our FPGA implementation be used on = cheap, low power FPGAs that a student can afford (hint, hint!). <br><br>Has anyone tried to use 74HC discrete logic to make an RC5-72 core?= <br><br><br><div><span class=3D"gmail_quote">On 11/15/06, <b class=3D"gmail= _sendername">Fr=E9d=E9ric Bastien</b> <<a href=3D"mailto:[email protected]= ">[email protected] </a>> wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-lef= t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1= ex;">To my knowledge Folding at home try to use graphic card and not FPGA.<= br> This could be interesting as this don't require new hardware. But we<br>wil= l need people that have time to implement it.<br><br>Fr=E9d=E9ric Bastien<b= r><br>Olivier Meyer wrote:<br>> If we will use a microcontroller to cont= rol the FPGA, an AVR would be <br>> much better than a PIC for many reasons:<br>> *more register sp= ace<br>> *a GCC port<br>> *higher speed.<br>><br>> Notice that = we got to the FPGA before Folding at Home!<br>><br>> On 11/15/06, * <a href=3D"mailto:[email protected]">[email protected]</a> <= mailto:<a href=3D"mailto:[email protected]">[email protected]</= a>>*<br>> <<a href=3D"mailto:[email protected]">gmeurice@dic= e.ucl.ac.be </a> <mailto:<a href=3D"mailto:[email protected]">[email protected]= l.ac.be</a>>> wrote:<br>><br>> Bonjour,= <br>><br>> Tuesday, November 14, 2006, 8:41:2= 5 PM, you wrote:<br>><br>> JLB> Hi Guerric= , <br>><br>> JLB> Any chance I can get you g= o target your design to an<br>> XCV2000E-6BG560C= <br>> JLB> and tell me if it fits and what th= e clock rate estimate is?<br>><br>> JLB> I= t's just a data point for me to compare two year old data to <br>> the XCV4LX<br>> = JLB> numbers.<br>><br>> JLB> Thanks,<b= r>> JLB> John<br>><br>> &nbs= p; Ok, I can do that.<br>> The design will= need 4 times the number of bRAMs compared with the <br>> Virtex4 design: 16-bit data width and no &= quot;read before write" mode.<br>><br>> = With this kind of RAMs, a register on the B signal of the KeySchedule<br>&g= t; bloc could be saved using the fact that input is= mirrored to the <br>> output of the bRAM while writing. I curren= tly don't plan to make this<br>> optimization. (= this would mean a saving of 26*3 *32/2 =3D 1250 Slices).<br>>  = ; Whatever, it is probably bad from a place&route point of = view. <br>><br>> I will test the full design with t= he new long shift register and will<br>> provide= s the implementation results.<br>><br>> --<br= >> Guerric<br>><br>><br>> &n= bsp; _______________________________________________ <br>> Hardware mailing list<br>> &= nbsp; <a href=3D"mailto:Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected]">Hardware@list= s.distributed.net</a> <mailto:<a href=3D"mailto:Hardware-Ra3b/[email protected]= ed.net">Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected]</a> ><br>> <a href=3D"http://lists.distributed.ne= t/mailman/listinfo/hardware">http://lists.distributed.net/mailman/listinfo/= hardware</a><br>><br>><br>><br>><br>> --<br>> -----------= ------------<br>> Olivier V. Meyer <br>> Congress shall make no law respecting an establishment of religion= , or<br>> prohibiting the free exercise thereof; or abridging the freedo= m of<br>> speech, or of the press; or the right of the people peaceably = to <br>> assemble, and to petition the government for a redress of grievanc= es.<br>><br>><br>> -----------------------------------------------= -------------------------<br>><br>> _________________________________= ______________ <br>> Hardware mailing list<br>> <a href=3D"mailto:Hardware-Ra3b/[email protected]= tributed.net">Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected]</a><br>> <a href=3D"http://= lists.distributed.net/mailman/listinfo/hardware">http://lists.distributed.n= et/mailman/listinfo/hardware </a><br>_______________________________________________<br>Hardware mailing= list<br><a href=3D"mailto:Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected]">[email protected]= istributed.net</a><br><a href=3D"http://lists.distributed.net/mailman/listi= nfo/hardware"> http://lists.distributed.net/mailman/listinfo/hardware</a><br></blockquote>= </div><br><br clear=3D"all"><br>-- <br>-----------------------<br>Olivier V= . Meyer<br>Congress shall make no law respecting an establishment of religi= on, or prohibiting the free exercise thereof; or abridging the freedom of s= peech, or of the press; or the right of the people peaceably to assemble, a= nd to petition the government for a redress of grievances. ------=_Part_22769_1853077.1163614760473-- --===============0213213758926003233== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hardware mailing list Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected] http://lists.distributed.net/mailman/listinfo/hardware --===============0213213758926003233==--