Tom Vijlbrief

Results 34 comments of Tom Vijlbrief
trafficstars

The standard input buffer is 512 bytes and cyclic. 32 bytes are reserved for look back when compressing (could also apply when decompressing). So if you are feeding data to...

Can you print `GetIProgress()` and `GetOProgress()` and `CompressedWriteCount` in the inner loop when writing the input data, to get some debug info? Both Progress indicators should start progressing after a...

> Another thing: the o_done bit goes high after byte 449 is written ( I think it was 449, I'll confirm tomorrow). I was under the belief that png contains...

> Or do I just keep writing in the compressed data? That should work, it does handle multiple blocks in a stream. I do not think that your issue is...

Hi Maarten, The first step is to execute: python3 deflate.py This will generate `deflate.v` which you should import in e.g. Vivado. You can also just run `make` which will do...

@vanmierlo Yes, I think it's best to just forget about the HDL-Deflate.xpr Vivado project in the repository. In a fresh Vivado project you can just add the `deflate.v` and `test_deflate_bench.v`...

@vanmierlo The Python testbench uses Python3.6 specific deflate options when testing with `DYNAMIC=False`. When you use `DYNAMIC=True` (default) then even Python2 will be fine. Regarding your other questions: `o_iprogress` starts...

> Would you consider to rename reset to resetn as it appears to be active-low? Yes, I should or I could change the implementation to active-high which is best practice...

> I'm getting lost. You wrote: Sorry, I corrected the text in the original reply. It should be OK now. Regarding the VHDL, that's a MyHDL issue, nothing I can...

> If setting `i_mode` to READ is optional, does that mean that you don't need to READ to release occupied bytes in the read buffer? So, if you don't read...