@Badwolf DSACK1 Has a lot of activity so difficult to know what cycles they belong to.
DSACK0 pulses twice slow, but this match is what is in the input of the PLD. So can likely say thats OK.
I need to find another scope probe with a tip which isn't snapped off :lol: :roll:
exxos's DFB1 trials
-
exxos
- Site Admin

- Posts: 28388
- Joined: 16 Aug 2017 23:19
- Location: UK
-
exxos
- Site Admin

- Posts: 28388
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos's DFB1 trials
@Badwolf
DSACK0 input and output of PLD.
DSACK1 input and output of PLD.
So looks fine to me.
Bizarrely the number seems to be relatively consistent to this all the time now. Sometimes it changes to a different number and stops there for a bit now :shrug:
DSACK0 input and output of PLD.
DSACK1 input and output of PLD.
So looks fine to me.
Bizarrely the number seems to be relatively consistent to this all the time now. Sometimes it changes to a different number and stops there for a bit now :shrug:
You do not have the required permissions to view the files attached to this post.
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: exxos's DFB1 trials
Yeah, you’d have to trigger on the FPU side. Dsack1 on the cpu side gets all the motherboard traffic.exxos wrote: 10 Nov 2022 22:41 @Badwolf DSACK1 Has a lot of activity so difficult to know what cycles they belong to.
BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: exxos's DFB1 trials
Ah, well. There goes another theory. Thanks for indulging me. :)exxos wrote: 10 Nov 2022 23:10 @Badwolf
DSACK0 input and output of PLD.
IMG_0196.JPG
DSACK1 input and output of PLD.
IMG_0197.JPG
IMG_0198.JPG
So looks fine to me.
You can see the difference between the 25MHz operation of the FPU and the 16MHz operation of the motherboard quite clearly there too. That’s reassuring.
BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
exxos
- Site Admin

- Posts: 28388
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos's DFB1 trials
:lol: keep pressing and guessing :lol:
Going back to what I mentioned earlier about more noise on some databus pins. Those are the lower ones bits. I see you got 10k on them. As we out of options I could try lower values, maybe even add some 33pf caps on them to rule out noise. Though I can't see what else it can really be at this point.
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: exxos's DFB1 trials
Yeah, nor why it would only happen on this board, nor why it would only affect the FPU.exxos wrote: 11 Nov 2022 00:14Going back to what I mentioned earlier about more noise on some databus pins. Those are the lower ones bits. I see you got 10k on them. As we out of options I could try lower values, maybe even add some 33pf caps on them to rule out noise. Though I can't see what else it can really be at this point.
There isn’t much else to try, though:
A0 and SIZE have been checked as high, IIRC.
I’m pretty sure we’ve both buzzed out A1-4.
Only really leaves the decode logic. Perhaps we should build a firmware with that AS dependency we were talking about?
BW
EDIT: long shot, but I don’t remember that I buzzed out RW.
EDIT2: Attached firmware that gates the FPU decode with AS.
You do not have the required permissions to view the files attached to this post.
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
exxos
- Site Admin

- Posts: 28388
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos's DFB1 trials
@Badwolf I checked every pin last night :)
Falcon had to move to my "workbench" due to the USB cable isn't long enough to reach the floor :lol: No change with the firmware, but no surprise.
Maybe for the hell of it, run the FPU at 8MHz ? Slow the CPU to the same speed also during FPU access ?
Falcon had to move to my "workbench" due to the USB cable isn't long enough to reach the floor :lol: No change with the firmware, but no surprise.
Maybe for the hell of it, run the FPU at 8MHz ? Slow the CPU to the same speed also during FPU access ?
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28388
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos's DFB1 trials
@Badwolf Just looking at the 68882 datasheet and states there is 80ns from DS to data actually valid. Also DSACK to data valid is 50ns. It quotes max times.. but I don't take those as gospel anyway.
EDIT:
I tried
But seems to have made it worse :lol: It crashes on the first test now without displaying any numbers at all :roll:
EDIT:
I tried
Code: Select all
FDCP ff_fpu1( .D( FPUDSACK ), .C( XCPUCLK ), .CLR(1'b0), .PRE( 1'b0 ), .Q(FPUDSACK_2) );
wire [1:0] FPU_DSACK_INT = fpu | FPUDSACK_2 | FPUDSACK;You do not have the required permissions to view the files attached to this post.
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: exxos's DFB1 trials
Yeah.exxos wrote: 11 Nov 2022 10:39 Falcon had to move to my "workbench" due to the USB cable isn't long enough to reach the floor :lol: No change with the firmware, but no surprise.
If you jumper OPTION2, you'll stay in 16MHz mode* -- the FPU will then run at 8MHz.Maybe for the hell of it, run the FPU at 8MHz ? Slow the CPU to the same speed also during FPU access ?
If you want to keep CPU and FPU in lockstep, I could generate another firmware tonight, ditching the half clock speed (FPUCLK = CPUCLK) or you could remove the FPU clock inline termination resistor R18 and bridge its western pad to the adjacent CPU clock inline termination resistor R19.
EDIT: I just spotted you'd built your own firmware, so changing the FPUCLK directly might be easiest.
Obviously that is unlikely to go well at 50MHz.
BW
* Technically motherboard speed, this could be set to 8MHz with the normal tools but the FPU would then end up at 4MHz.
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: exxos's DFB1 trials
Given it's designed to share a common DS and DSACK[x] line with the CPU I can't see that it could be a problem, unless the clock differential is too much.exxos wrote: 11 Nov 2022 11:18 @Badwolf Just looking at the 68882 datasheet and states there is 80ns from DS to data actually valid. Also DSACK to data valid is 50ns. It quotes max times.. but I don't take those as gospel anyway.
After all the FPU is intended to be run faster than the CPU. Here we're doing the reverse. I found (empirically) about half clock the most I could get away with -- going below CPUCLK/2 was unreliable. We would probably be taking out a variable by locking the two clocks, but it wouldn't explain why *this circuit board* is so senstitive.
BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Who is online
Users browsing this forum: ClaudeBot and 6 guests