Open mithro opened 9 years ago
I tried to use verilog version of the encoder and had issue at synthesis.It should not be that hard to fix, but that has to be fixed.
Also, some parts of the code in the original version are too complicated and not optimized. I've done optimization on the code that have to be applied to the verilog version if we integrate it.
BUF_FIFO should also be refactored to reduce block ram usage. It's not mandatory to store 16 entires lines when changing the order the accesses to the DRAM are done. We can only store 2*16 DRAM bursts.
I'm wondering if the best solution wouldn't be to rewrite the encoder with migen.
Rewriting it in migen would be definitely another option.
Replace the jpeg encoder at https://github.com/timvideos/HDMI2USB-misoc-firmware/tree/master/hdl/encoder/vhdl with cfelton's Verilog version at https://github.com/cfelton/test_jpeg
If https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/46 is also completed then the firmware is completely verilog.