Page 30 of 48

Re: BLITTER RE-CREATION THOUGHTS

Posted: 13 Apr 2020 23:30
by Cyprian
Icky wrote: 11 Apr 2020 13:03
Cyprian wrote: 11 Apr 2020 08:50 just to let you know
@ijor has released his BLiTTER fpga code:

https://github.com/ijor/stBlitter
Thanks @Cyprian. As one of my many projects I have been looking at fitting Igor's code into the FPGA board to see how it works. I currently have it plumbed in but the ST is not booting currently :).

Unfortunately prioritywise its not top of my list this holiday break as I am re-wiring the Giant Panda wiring loom and then swinging back to the Flashy Clock V6 testing.

EDIT: and I keep getting distracted https://www.exxosforum.co.uk/forum/viewt ... =30#p36237
cool,
still waiting impatiently for your blitter/fpga board :)

Re: BLITTER RE-CREATION THOUGHTS

Posted: 11 Oct 2020 21:42
by Icky
I finally got round to looking at this project again this weekend and have made progress. The Sparkalaphobia board is now almost matching a stock BLITTER.

The screenshot of GEMBench shows the test motherboard recorded with an original BLITTER so 100% is the stock. The FPGA BLITTER is just under at 98% and we are not getting any corruption including doing various tests.

Whats more I managed to test the Suska core as well as Ijor's core and there were absolutely no differences in the scores or behaviour.

IMG_5776.jpeg

I have run @Cyprian's test programs and the patterns are a little different to the original BLITTER so may be there is something that can be tweaked to get this to 100%.

EDIT: 1st image corrected.
Program 1.png
Program 2.png

Re: BLITTER RE-CREATION THOUGHTS

Posted: 12 Oct 2020 03:52
by sporniket
Great work !

To me, the "program 1" snapshot let me believe that the missing 2% are lost in getting the first bus grant ? And on the other hand in the "program 2" it got to start a very very little bit quicker.

==> Does the wakestate have an influence on the result ?

Re: BLITTER RE-CREATION THOUGHTS

Posted: 15 Oct 2020 07:59
by Icky
Well after getting to 98% and hacking away at the v2 of the board to get it to work I respun the board to a v3 which is a lot smaller and the footprint is changed to match the H4/H5 PLCC socket layout. From the image you can see its only a little bit wider than a PLCC socket. If this version works I will spin a funky socket version.

Top side:
Screenshot 2020-10-15 at 00.21.36.png

Bottom:
Screenshot 2020-10-15 at 00.23.45.png

Re: BLITTER RE-CREATION THOUGHTS

Posted: 15 Oct 2020 10:18
by GadgetUK164
This is fantastic! Great job!!!!

Re: BLITTER RE-CREATION THOUGHTS

Posted: 15 Oct 2020 10:24
by dhedberg
Wow, looks awesome. That must have involved some layout voodoo? :lol:

Re: BLITTER RE-CREATION THOUGHTS

Posted: 15 Oct 2020 13:11
by DoG
Looking good... as usual. Really nice progress on this.

I hope everyone can afford a FPGA-blitter later on.

Re: BLITTER RE-CREATION THOUGHTS

Posted: 15 Oct 2020 19:08
by Icky
sporniket wrote: 12 Oct 2020 03:52 Great work !

To me, the "program 1" snapshot let me believe that the missing 2% are lost in getting the first bus grant ? And on the other hand in the "program 2" it got to start a very very little bit quicker.

==> Does the wakestate have an influence on the result ?
I did have the program #1 images the wrong way round. I have corrected the image in the post.

Re: BLITTER RE-CREATION THOUGHTS

Posted: 15 Oct 2020 20:15
by sporniket
I see.

Anyway it's good enough for now, the last 2% would take 98% of effort to reach.

Re: BLITTER RE-CREATION THOUGHTS

Posted: 16 Oct 2020 20:17
by Cyprian
Icky wrote: 11 Oct 2020 21:42 I finally got round to looking at this project again this weekend and have made progress. The Sparkalaphobia board is now almost matching a stock BLITTER.
...


I have run @Cyprian's test programs and the patterns are a little different to the original BLITTER so may be there is something that can be tweaked to get this to 100%.
great news looks almost perfect.
I wonder about two things:
- "1st image" - the right part - marked "Sprahlaphobia". CPU bars (white/grey/red) above the BLiTTER activity are skewed but should be straight like those below the BLiTTER activity area. Looks like something delays the CPU by 4 cycles (one bus access) each line.

- "2nd image" are you sure they are marked correctly? For me the right part, marked "Sprahlaphobia" is actually the real STE, and the left part is "Sprahlaphobia" - there the CPU starts the BLiTTER 4 cycles (1 bus access) later.
sporniket wrote: 12 Oct 2020 03:52 ==> Does the wakestate have an influence on the result ?
they shouldn't but who nows