You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296

BLITTER RE-CREATION THOUGHTS

Progress on our FPGA cores.
ijor
Posts: 583
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

Icky wrote: Sun Oct 16, 2022 8:31 am @ijor was this core on real hardware or was it on something like the MiST / MiSTer etc?
That was running on MiSTer. I don't have adapters to run FPGA cores on original hardware. It still shows that the core is cycle exact.
exxos wrote: Sun Oct 16, 2022 9:54 am Was just wondering that as well. GB6 is showing as a STE , IIRC @ijor yours wasn't a STE chip set ? which is one reason I was using suska cores as well.
My main cores can do both ST and STE. The Blitter core is indistinct, can run on either system without modifications. The benchmark was performed on STE mode, only because I had not reference for ST that included Blitter. As far as I can see, Gembench distribution doesn't include any MegaST or ST reference with Blitter. The only reference tests with Blitter that I had were all STE.
I guess we could be running into a terminology issue here as well. As cycle accurate may well be true for mister etc but when I mention cycle accurate, it mimics a real chip, which to my knowleage nobody has tested the cores in a real machine @ijor ? ... Can your cores deal with wakeup states from a real chip set or are they all fixed for mister ?
I don't think there is a terminology issue here. Cores are cycle accurate or they are not. However, some cores are releases to interface with a whole SOC/FPGA system, like MIST or similar. If you want to use such a core as a replacement for a real individual chip, you need to add some logic, or depending on the hardware implement some modifications. If you don't implement this correctly, you might break the timing.

My main system core can be configured for any wakeup state, it is not fixed. The Blitter and the other cores support all wakeup states. Anyway, I doubt the problem here is about wake states. This might be a problem with full screen demos, not with the benchmark. Btw, I'm not sure your problem with the Suska cores is wake states either. The main problem with the Suska cores is that they are not cycle accurate, let alone wake states issues. They were never designed to be cycle accurate. As far as I know this was never Wolfgang's goal.
Possible we might have screwed up something, but what ?
I can only assume that when you adapted my core to your hardware, the core modifications you implemented messed with the timing and cycle accuracy got broken. From the timing difference sounds like an extra cycle was introduced at the DMA handshake.

Send me the Quartus project folder with my modified core, and I'll probably should be able to find the problem.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
exxos
Site Admin
Site Admin
Posts: 25373
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

ijor wrote: Sun Oct 16, 2022 5:45 pm I can only assume that when you adapted my core to your hardware, the core modifications you implemented messed with the timing and cycle accuracy got broken. From the timing difference sounds like an extra cycle was introduced at the DMA handshake.

Send me the Quartus project folder with my modified core, and I'll probably should be able to find the problem.
I'm not sure if I even looked at your core personally. @Icky may still have it, but assume not after all this time. IIRC @Icky has a few versions of the suska core as he was experimenting with a lot. I know I was looking at the code suggesting things, but don't remember much after all this time.

Probably best let him get a working setup first and let him get your core running again and take things from there.
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.
ijor
Posts: 583
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Sun Oct 16, 2022 8:57 pm Probably best let him get a working setup first and let him get your core running again and take things from there.
Ok. Let me know.

Btw, just out of curiosity. What FPGA devices are you using?
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
exxos
Site Admin
Site Admin
Posts: 25373
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

ijor wrote: Mon Oct 17, 2022 12:32 am Btw, just out of curiosity. What FPGA devices are you using?
Image of the chip here viewtopic.php?p=52684#p52684
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: 4098
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

OK, finally got my test rig up and running. Had a few issues with sorting out the connectors so I could test an original BLITTER and the FGPA ones.

So, the plan of action before we start to diagnose the issues is to run and post some tests and differences so we have references to start with.
  • Run GEMBench on original stock machine with BLITTER as a benchmark
  • Run GEMBench on the same machine each core in its current state to compare
  • Run @Cyprian's test prgs on stock and FPGA cores to post differences

I should be able to get these done in the next day or so, then we can go from there.
ijor
Posts: 583
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Mon Oct 17, 2022 1:33 pm Image of the chip here viewtopic.php?p=52684#p52684
Thanks. I'm not sure it is a good idea to use that particular part at this development stage. But now with the chip shortage it is difficult to find any FPGA at all :(
Icky wrote: Thu Oct 20, 2022 12:37 pm OK, finally got my test rig up and running. Had a few issues with sorting out the connectors so I could test an original BLITTER and the FGPA ones.
You want to run an original Blitter in the very same machine? Do you suspect there are hardware issues?
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
Icky
Site Admin
Site Admin
Posts: 4098
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

ijor wrote: Fri Oct 21, 2022 5:49 pm
exxos wrote: Mon Oct 17, 2022 1:33 pm Image of the chip here viewtopic.php?p=52684#p52684
Thanks. I'm not sure it is a good idea to use that particular part at this development stage. But now with the chip shortage it is difficult to find any FPGA at all :(
We have been using these for other chip recreations just fine and have a small stock of these.
ijor wrote: Fri Oct 21, 2022 5:49 pm
Icky wrote: Thu Oct 20, 2022 12:37 pm OK, finally got my test rig up and running. Had a few issues with sorting out the connectors so I could test an original BLITTER and the FGPA ones.
You want to run an original Blitter in the very same machine? Do you suspect there are hardware issues?
No hardware issues, however we are dealing with real hardware here and we need a bench mark to compare against. Definitively running real hardware test programs on both original blitter and a FPGA one will help to see if they are indeed matching or something is out. In fact as we progress having other test programs or suites would be good.
ijor
Posts: 583
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

Icky wrote: Fri Oct 21, 2022 6:26 pm We have been using these for other chip recreations just fine and have a small stock of these.
I meant mainly for developing purposes. I would probably use a much bigger FPGA. Might probably cost just around $20 more or so (at normal pre chip shortage prices).
No hardware issues, however we are dealing with real hardware here and we need a bench mark to compare against. Definitively running real hardware test programs on both original blitter and a FPGA one will help to see if they are indeed matching or something is out.
Yes, of course. I thought you wanted to run the original Blitter and the FPGA core in the very same computer. And you don't need that for this purpose, you can compare the tests results between one computer running original Blitter, and another (real hardware) one running the FPGA core. Or I miss something?
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
exxos
Site Admin
Site Admin
Posts: 25373
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

ijor wrote: Sat Oct 22, 2022 12:45 am Yes, of course. I thought you wanted to run the original Blitter and the FPGA core in the very same computer. And you don't need that for this purpose, you can compare the tests results between one computer running original Blitter, and another (real hardware) one running the FPGA core. Or I miss something?
Not sure I follow what you're saying.. The real blitter is tested and GB6 is calibrated for that system. Using a different machine is adding a bunch of unknowns. Different clock speeds across machines cause variations in tests. So the same machine has to be used for a original blitter, and then swapped for the FPGA blitter. If the scores are not 100% then something is wrong with the thing. This all has to be done in real original ST hardware otherwise it's not a fair comparison.
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.
ijor
Posts: 583
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Sat Oct 22, 2022 6:11 pm Not sure I follow what you're saying.. The real blitter is tested and GB6 is calibrated for that system. Using a different machine is adding a bunch of unknowns. Different clock speeds across machines cause variations in tests. So the same machine has to be used for a original blitter, and then swapped for the FPGA blitter. If the scores are not 100% then something is wrong with the thing. This all has to be done in real original ST hardware otherwise it's not a fair comparison.
I beg to differ but I disagree … I was going to elaborate, but honestly, I'm not sure this is the right place for a debate about testing methodology. Probably not a very useful debate at this time, since testing in the very same machine can't hurt, and if I understand correctly, Icky is already ready to perform the tests. So, unless you insist I elaborate, I suggest we better see first the tests results.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
Post Reply

Return to “FPGA DEVELOPMENT”