BLITTER RE-CREATION THOUGHTS

Progress on our FPGA cores.
User avatar
mfro
Posts: 122
Joined: Thu Dec 13, 2018 7:32 am

Re: BLITTER RE-CREATION THOUGHTS

Post by mfro »

exxos wrote: Tue Aug 06, 2019 11:11 am ... we are not stupid!
Apologise if I appeared wanting to imply that and assure you: I didn't!

The problem (and advantage) of FPGAs is that you do not have access to raw silicon as the original blitter designers had. On raw silicon, there are possibilities you do not have on FPGAs (or you are at least not supposed to do unless you are asking for a lot of trouble), you are basically restricted to clean, synchronous design (you can't reliably design a delay based on gate propagation delays, for example).
Besides that you are restricted to the properties of the 'ingredients' the FPGA designers decided to put into your specific chip. You simply can't use any logic they didn't put on the chip upfront.

Bottom line is: you can't implement everything on FPGAs that you can on raw silicon.

But there is a workaround. You usually can implement a logically equivalent circuit with a clean synchronous design.
And remember: Beethoven wrote his first symphony in C.
User avatar
exxos
Site Admin
Site Admin
Posts: 23711
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

What we are doing as a next test is to run the core on 32Mhz and clock the state machine from the ST's 8MHz clock. Likely the 32MHz clock can be even 50MHz and it probably won't matter. It probably doesn't matter to much how fast the core runs internally as long as its external timings to the ST's clock remains in sync at 8MHz. The suska code seems to have a pretty good state machine coded in, so it shouldn't matter if the 2 clocks are out of sync to eachother.

Icky has the only board at the moment. So hopefully he will have time later tonight to try it out :)
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
GadgetUK164
Posts: 430
Joined: Fri Jan 04, 2019 2:26 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by GadgetUK164 »

Amazed at how much work has gone into this so far! Also super impressive to see the new STF boards too. Didn't realise how much I had missed!
My YouTube Channel - www.youtube.com/GadgetUK164
User avatar
exxos
Site Admin
Site Admin
Posts: 23711
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

GadgetUK164 wrote: Fri Aug 23, 2019 5:33 pm Amazed at how much work has gone into this so far! Also super impressive to see the new STF boards too. Didn't realise how much I had missed!
Yes lots of awesomeness being created by our great community :)
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Icky
Site Admin
Site Admin
Posts: 3993
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

We haven't forgotten about this project. There have been many other projects getting in the way.

Recently we have managed to get the Blitter speed up to 71% by modifying wait states but we are encountering some screen corruption and are still trying to figure the whole thing out.

IMG_4452.jpeg
IMG_4452.jpeg (176.18 KiB) Viewed 4401 times
User avatar
Icky
Site Admin
Site Admin
Posts: 3993
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

When its running the test the corruption looks like this

IMG_4455.jpeg
IMG_4455.jpeg (83.25 KiB) Viewed 4396 times
User avatar
exxos
Site Admin
Site Admin
Posts: 23711
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

Icky wrote: Fri Oct 11, 2019 8:29 pm Recently we have managed to get the Blitter speed up to 71% by modifying wait states but we are encountering some screen corruption and are still trying to figure the whole thing out.
Did we get it higher at some point (aside form the corruption ? )

It seems to be a double-edged sword, make it run faster to get the proper speed there and get corruption, or run it at half speed and don't get corruption... Cannot seem to win :roll:
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Icky
Site Admin
Site Admin
Posts: 3993
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

exxos wrote: Fri Oct 11, 2019 9:07 pm Did we get it higher at some point (aside form the corruption ? )
The fastest we got it to was 86% but that was when we clocked the Blitter at 16MHz.

This is the fastest we have got it running on stock (8MHz).
User avatar
exxos
Site Admin
Site Admin
Posts: 23711
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

Icky wrote: Fri Oct 11, 2019 9:10 pm The fastest we got it to was 86% but that was when we clocked the Blitter at 16MHz.

This is the fastest we have got it running on stock (8MHz).
What happened when you clocked it at 32Mhz ?
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Icky
Site Admin
Site Admin
Posts: 3993
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

exxos wrote: Fri Oct 11, 2019 9:17 pm What happened when you clocked it at 32Mhz ?
Didn't work. As soon as you turned on the Blitter it froze.
Post Reply

Return to “FPGA DEVELOPMENT”