Theora hardware with LEON3 is runinng!!!<br><br>My video was too slow, then I discovered that the problem was on LINUX!<br>I don't exactly, but I suppose that the time of LINUX Call systems (like fread()) is the problem. If I don't use the linux (like is done on NIOS), I can to decode much faster than the time of exibition!
<br><br>Now we have two points on software (the hardware is the same, LEON+Theora_hardware):<br><br>[a] Theora on LINUX: we have a .ogg file that can be decoded on FPGA and shown on a monitor. But it can't be decoded in time of exibition. I suppose that the problem is the LINUX system call.
<br><a href="http://www.students.ic.unicamp.br/~ra031198/theora_hardware/9_integration_video.png">http://www.students.ic.unicamp.br/~ra031198/theora_hardware/9_integration_video.png</a><br><br>[b] Theora without LINUX: Here, we can to decode much faster that the time of exibition. But, without LINUX, we can't to use a .ogg file directly, we need to convert it in a vector and to compile with dump_video (the Leonardo also needs to do it on NIOS).
<br><a href="http://www.students.ic.unicamp.br/~ra031198/theora_hardware/12_theora.png">http://www.students.ic.unicamp.br/~ra031198/theora_hardware/12_theora.png</a><br><br>The next step will be to do plug it (the system [b]) on the SRAM memory in order to increase the resolution.
<br><br>The most important is that now we have a complete theora decoding on FPGA and with no NIOS or any module proprietary. Putting a ogg video a seeing a video on monitor! <br><br><br>I had a lot of problems with LEON3 and the information about it is still very poor (the leon_sparc list helped me a lot). Then, I wrote a "tutorial" explaining step by step how to integrate the Leon with Theora. It is necessary if anyone want repeat this process or to work with Theora hardware. You can see it at link below:
<br><a href="http://www.students.ic.unicamp.br/~ra031198/theora_hardware/">http://www.students.ic.unicamp.br/~ra031198/theora_hardware/</a><br><br>I put a demostration on youtube (theora without LINUX) : <a href="http://br.youtube.com/watch?v=NBLF6L5akJo">
http://br.youtube.com/watch?v=NBLF6L5akJo</a><br>The Unknown device is the Theora Hardware, it is not show the name "Theora Hardware" because I am using a evaluation version of Grmon (the comunication interface with LEON3 on FPGA);
<br><br>You can also see the demostration using the LINUX: <a href="http://br.youtube.com/watch?v=NBLF6L5akJo">http://br.youtube.com/watch?v=NBLF6L5akJo</a><br><br>This video shows the sequencie:<br>- Programmer the board (Stratix II) with LEON3 (by USB Blaster - jtag);
<br>- Load the linux image on LEON3 (using grmon, by USB Blaster - jtag). <br>- Open the kermit interface and set the configuration (by Serial Interface, in order to open a LINUX konsole that is runinng on FPGA);<br>- Run the linux kernel (using grmon, by USB Blaster - jtag);
<br>- Come back to kermit and you will see a konsole of Linux (by Serial Interface). Here you can the "LEON Theora Driver" that is recognize by the linux;<br>Now, I go to home path and run the dump_video (./dump_video
ronaldinho9680.ogg);<br><br><br>Cheers,<br><br> -- <br>André Costa<br><br>Gerente Técnico<br>Projeto BrazilIP<br>LSC IC-UNICAMP <br>Cel: + 55 13 9201 1870<br><a href="http://www.brazilip.org.br/">http://www.brazilip.org.br/
</a>