Title: gateware/targets: Make firmware a real gateware object. · timvideos/HDMI2USB-misoc-firmware@254c281 · GitHub (at github.com)
mithro
_florent_: FYI, the Opsis production boards actually have a pin header on the SD card - so it is easy of other people to connect serial port there
_florent_
good
ok except understanding the strange behaviour on the hdmi inputs, what are the plans now?
are you going to do some capture tests with the HV30?
(or maybe sleep too...)
mithro
_florent_: I have no plans at the moment except helping figure out the issues with the HDMI inputs
_florent_: btw, did you get shipping notification from Crowd Supply about the prod board?
_florent_
yes
I got the notification, but the board are not already there
mithro
_florent_: how long ago?
_florent_
let me check that
mithro
_florent_: would be interested to know if/when they might possibly turn up
_florent_
6 days ago
mithro
any idea how long shipping might take? :P
I would guess minimum 7, maximum 14?
so likely to turn up Friday next week just when its no longer useful :P
_florent_
but I don't understand why behaviour is not similare between pre-prod and prob boards
was is re-routed?
or are there some changes on hdmi input buffers?
mithro
_florent_: there should have only been minor changes to the HDMI (connecting the power supplies correctly)
seaLne
my production opsis boards got to uk customs this morning
so _florent_ might not be long either
mithro
_florent_: shall I try and see if I can drop the Atlys frequency to 50MHz from the 75MHz?
_florent_
yes if you want
cr1901_modern
back. Found a nice bug in my freq counter module that made it essentially wasted silicon. Let's see what happens now...
Okay, I now have something that works :D
mithro
_florent_: what are you looking into?
_florent_
nothing for now, others things
mithro
_florent_: Is there anything you can do regarding the hdmi inputs?
_florent_
since my hardware seems to be working fine that's a bit difficult
on your side, it would be interesting to do a bisect with prebuild bitstream and a configuration that is not working correctly now
mithro
_florent_: is there any extra debugging we can add to gateware/hdmi_in/chansync.py || gateware/hdmi_in/charsync.py which would give insight into where things are going wrong / it is loosing sync?
_florent_
I'll look at that
cr1901_modern
mithro: I have a working frequency counter on my end. It's giving fairly accurate results, but something's a bit off
E.g. I'm feeding a 40MHz signal into one of the inputs. The frequency that's being read back is consistently 40040960 Hz
I mean, that's 0.1% error I think? But I would've expected 0% error
mithro
_florent_: question, why do the misoclib.soc.SoCs have a integrated_rom_size argument?
_florent_: is that for the bios?
_florent_
yes for the bios
mithro
_florent_: should the firmware ROM be read only?
_florent_: (doesn't it make a difference?)
cr1901_modern
I think creating a ROM on FPGA is just using a block RAM and not connecting the write signals
mithro
_florent_: also, why does the Atlys have 1024 FIFOs but the Opsis only 512? - is that just an oversight?
_florent_
IIRC it was needed because the Atlys have less DDR throughput
mithro
_florent_: that would increase the difficult in routing right?
_florent_
maybe but that's not sure (maybe 1024 fits in a single bram, if so then there is no difference between 512 and 1024)
Title: HDMI2USB Frequency Counter Patch · GitHub (at gist.github.com)
cr1901_modern
I'm curious to see if you get the same 0.1% error that I do on one of your boards...
mithro
cr1901_modern: send a pull request?
_florent_: dropping the frequency of the Atlys board seems to have made things worse....
cr1901_modern
mithro: Not sure if I should do that right now b/c: A. Idk if there's a bug or not, and B. The code that I added to minispartan6 is a debug target that probably shouldn't actually be used by anyone else right now
mithro
_florent_: Timing: Completed - 17 errors found.
cr1901_modern
Do you want me to send a pull request anyway and we'll fix bugs/remove the debug code later?
mithro
_florent_: I added something to the ci to re-enable the debug print from the input