Smonson wrote: ↑Sun Oct 29, 2017 9:42 am
I'm creating a
HDMI/DVI video out for my STFM by interfacing a Cyclone-II FPGA with the shifter socket. The lowest-spec Cyclone-II is cheap and can directly drive an
HDMI/DVI video signal. It also has onboard SRAM which I will use to implement scanline doubling. The benefits of this as opposed to an external upscaler are:
This sounds awesome. At our users have been crying out for
HDMI video out for years.
I did look at the other range of chips, but I have not really considered the cyclone yet. But like you say, if it has everything on board for scaling, date is ideal for this. The stuff I am doing is more on gate level to me like the shifter, so I was looking more towards the MAX 2,5,10 series.
Smonson wrote: ↑Sun Oct 29, 2017 9:42 am
- Perfect picture clarity - no analogue signal paths at any point
- No buffering delay (in mono - one scanline delay in colour)
- Can display 50Hz natively on any PAL TV, just like in the good old days
- Should work with normal videomodes as borderless 640x400, or in overscan modes, automatically switch to another video mode such as 720x480 (*in theory).
This is of course the best method
As scan doublers at the moment are of course using the analog parts, like you say this basically sucks
We need to interface directly to the RGB data, and work on the digital side of things, then there is no problems about signal degrading etc
Smonson wrote: ↑Sun Oct 29, 2017 9:42 am
Shifter data is loaded into the FPGA the same way as the original shifter (through 5-to-3.3v level converters) on the LOAD pulse and then shifted out into a scanline buffer in FPGA RAM.
It is something I have not totally figured out yet, of course there are what you eat level converters. The chips I was looking at would accept a 5 V input, but only via current limiting resistors on the input and. Which is diode clamped internally in the chip.
Well of course it is possible, it still involves some extra soldering, as either a logic level converter would have to be used, or the resistor diode clamping method, as yet I am undecided which want to go for.
After a one-scanline delay, that data is then clocked out to the DVI connector. The purpose of the delay is to implement the scanline doubler for colour modes.
Smonson wrote: ↑Sun Oct 29, 2017 9:42 am
The reason why the desktop looks weird in that pic is that I have my stripboard prototype set up with only writeable shifter registers, it won't drive the bus to read them back. So the ST is confused about what resolution it's in.
Well you have something workable, which is more than anyone else has done so far. Of course nobody can wake up one morning and create 100% compatible and working chip right from the start, Things off course need to be done one step at a time. But of course still good to know about this "issue" anyway
Smonson wrote: ↑Sun Oct 29, 2017 9:42 am
The biggest obstacle that I'm dealing with right now is instability..... I am working off the theory that this is because of noise in the clock. There is a lot of noise all over the whole circuit actually.
Welcome to my world
Is normally design something in a day, and then spend the next six months trying to work out why things are glitching, which are now always noise on the motherboard somewhere.
The phrase 'let's play Atari' has a whole new meaning these days
Smonson wrote: ↑Sun Oct 29, 2017 9:42 am
I hope that will resolve the instability issue... I'll let you know how it goes.
Yes please let us know. It may be more beneficial if we both try and get your design working as we are both basically working on the same thing.
I am not going down the coding route though, I am doing things on a gate level. In short, it is easier for me to work with logic gates than try and learn a new programming language, and trying to work out if my coding is wrong, or my design for something. So basically got tired of all the coding aspects, and went for the Altera as I was more comfortable using the schematic editor in the software.
In any case, we could implement the new video modes I was talking about in my own thread, and make your video chip functional with my accelerator designs. Ultimately your chip could be used for my new motherboard remake is a standard video chip, which of course would be awesome