TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 07 Oct 2020 20:32 The solution to this is to assign one of the INTSIG wires to A5 in the CPLD.

assign INTSIG[x] = A[5]; etc.

This is why i have spare lines for. :)
Last missing to make whole of it to make sense to me are _IORD/_IOWR signals. How would I replicate this?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 07 Oct 2020 21:06 Last missing to make whole of it to make sense to me are _IORD/_IOWR signals. How would I replicate this?
IORD = Bus request + RW high
IORW = Bus Request + RW low

So you dont need to emulate these... this can be abstracted away.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 07 Oct 2020 21:25
arkadiusz.makarenko wrote: 07 Oct 2020 21:06 Last missing to make whole of it to make sense to me are _IORD/_IOWR signals. How would I replicate this?
IORD = Bus request + RW high
IORW = Bus Request + RW low

So you dont need to emulate these... this can be abstracted away.

Can I just read only value of /RW then? I will be decoded address + RW + bits of Address line, so I would have all states required to emulate RTC?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 07 Oct 2020 22:22
terriblefire wrote: 07 Oct 2020 21:25

IORD = Bus request + RW high
IORW = Bus Request + RW low

So you dont need to emulate these... this can be abstracted away.

Can I just read only value of /RW then? I will be decoded address + RW + bits of Address line, so I would have all states required to emulate RTC?
Yeah i think thats the case. I cant remember if there was also a BUSREQ pin?
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 07 Oct 2020 22:26
arkadiusz.makarenko wrote: 07 Oct 2020 22:22


Can I just read only value of /RW then? I will be decoded address + RW + bits of Address line, so I would have all states required to emulate RTC?
Yeah i think thats the case. I cant remember if there was also a BUSREQ pin?
Those are available on edge connection, but a lot of ?? on descriptions.

111 /CPU_BR CPU bus request??
112 /EXP_BG Expansion bus granted??
113 /CPU_BG CPU bus granted??
114 /EXP_BR Expansion bus request??

I will grab and test it on A1200 on clockport first if I manage to emulate MSM6242 then I will go back and test it on Riser (less moving parts)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

No those are the arb signals...

The interrupt should be enough.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Im happy to test this out on my CD32 when you're ready. I still have this riser and a CD32 here.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 08 Oct 2020 19:46 Im happy to test this out on my CD32 when you're ready. I still have this riser and a CD32 here.
As soon as I will have something to show...
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

:D

My first verilog that actually passed syntax check and I managed to program cpld

Code: Select all

module address_decoder(
    input [23:16] A,
    input A3,
    input A5,
    output INTSIG2,
    output INTSIG3,
    output INTSIG5
    );

assign INTSIG3 = A3;
assign INTSIG5 = A5;
assign INTSIG2 = A[23:16]==8'b1101_1100; //RTC registers at $DC0000 - $DCFFFF 


endmodule

and mappings

Code: Select all

NET "A3"  LOC = "P32"  ;
NET "A5"  LOC = "P34"  ;
NET "A<16>"  LOC = "P47"  ;
NET "A<17>"  LOC = "P48"  ;
NET "A<18>"  LOC = "P57"  ;
NET "A<19>"  LOC = "P56"  ;
NET "A<20>"  LOC = "P51"  ;
NET "A<21>"  LOC = "P52"  ;
NET "A<22>"  LOC = "P50"  ;
NET "A<23>"  LOC = "P49"  ;
NET "INTSIG2"  LOC = "P23"  ;
NET "INTSIG3"  LOC = "P24"  ;
NET "INTSIG5"  LOC = "P12"  ;
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

I managed to detect RTC_SEL interrupt when looking for RTC clock in Amiga Tool Kit, so at least I know that this bit works.
I can read SOME addresses as well.
So it is time to try to put something on the bus.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: ClaudeBot and 3 guests