Welcome, Guest. Please login or register.

Author Topic: CIA Question for FPGA Experts  (Read 3627 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline PlazTopic starter

CIA Question for FPGA Experts
« on: November 28, 2007, 05:39:35 PM »
CIA chips are a common failure on amiga motherboards. I was wondering how much work would be involved in recreating CIA chips in FPGA for classic repairs. With pin out differences, I'm pretty sure a piggyback board would probably be needed. I'm thinking it could revive lots of 1200's and 4000's (maybe some CD32s). Perhaps even another version for 3000's.

Plaz
 

Offline amigadave

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 3836
    • Show only replies by amigadave
    • http://www.EfficientByDesign.org
Re: CIA Question for FPGA Experts
« Reply #1 on: November 28, 2007, 05:44:27 PM »
Isn't this what Jens is doing with CloneA, replacing all custom chips, one at a time with either fgpa, or other parts that will eventually be recreated in new silicon?
How are you helping the Amiga community? :)
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: CIA Question for FPGA Experts
« Reply #2 on: November 28, 2007, 05:44:36 PM »
Don't see why it would be that difficult.  How about I mess with the MiniMig's limited CIA's and see if I can expand them to full complience?
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline PlazTopic starter

Re: CIA Question for FPGA Experts
« Reply #3 on: November 28, 2007, 06:17:22 PM »
Quote
Isn't this what Jens is doing with CloneA


Sure but that's a whole new machine with the entire machine probably in one big FPGA. This would be a much smaller project just for patching classics.

Plax
 

Offline PlazTopic starter

Re: CIA Question for FPGA Experts
« Reply #4 on: November 28, 2007, 06:28:39 PM »
@downix

Quote
Don't see why it would be that difficult. How about I mess with the MiniMig's limited CIA's and see if I can expand them to full complience?


Awesome if you could use minimig as a headstart. Minimig CIA should be similar to those used on A500/2000/3000. I don't know if the surface mount versions on A1200/4000 are different.

Plaz
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: CIA Question for FPGA Experts
« Reply #5 on: November 28, 2007, 06:37:33 PM »
Quote

Plaz wrote:
@downix

Quote
Don't see why it would be that difficult. How about I mess with the MiniMig's limited CIA's and see if I can expand them to full complience?


Awesome if you could use minimig as a headstart. Minimig CIA should be similar to those used on A500/2000/3000. I don't know if the surface mount versions on A1200/4000 are different.

Plaz

Not internally, no.  Incidentally, the C128 had a CIA as well.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline PlazTopic starter

Re: CIA Question for FPGA Experts
« Reply #6 on: November 28, 2007, 06:43:07 PM »
Quote
Not internally, no. Incidentally, the C128 had a CIA as well.


Same as the ones in Amiga? I might have guessed it would be like the one used in the C64, but functionally a bit different than the ones in Amiga. Interesting if they all used the same design just in differnt packages.

Plaz

 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: CIA Question for FPGA Experts
« Reply #7 on: November 28, 2007, 06:46:45 PM »
Well, even the C64 had two CIAs, (older) 6526 (same with C128). 8520s even work in C64s, they're just faster and have additional timer(s).

The 1541's 6522s were just called VIAs (simpler, but very similar still).

Are 8520s hard to get? Vesalia has them in stock for 6.90€ (DIL) or 3.90 (PLCC) - no way to beat that price with an FPGA!
 

Offline PlazTopic starter

Re: CIA Question for FPGA Experts
« Reply #8 on: November 28, 2007, 07:04:37 PM »
@Zac67

Thanks for the CIA lesson. Interesting about using 8520's in even a C64.

Quote
Are 8520s hard to get? Vesalia has them in stock for 6.90€ (DIL) or 3.90 (PLCC) - no way to beat that price with an FPGA!


I saw that today also. I wonder how their stock is holding up. Has any one made CIAs in 10 years?

Plaz
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: CIA Question for FPGA Experts
« Reply #9 on: November 28, 2007, 07:42:54 PM »
Quote

Plaz wrote:
@Zac67

Thanks for the CIA lesson. Interesting about using 8520's in even a C64.

Quote
Are 8520s hard to get? Vesalia has them in stock for 6.90€ (DIL) or 3.90 (PLCC) - no way to beat that price with an FPGA!


I saw that today also. I wonder how their stock is holding up. Has any one made CIAs in 10 years?

Plaz

Don't think so, but I'm studying the MiniMig's one as we speak so who knows.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline Belial6

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 568
    • Show only replies by Belial6
    • http://www.glasshead.net
Re: CIA Question for FPGA Experts
« Reply #10 on: November 28, 2007, 08:20:14 PM »
@Downix

You know, I'm really looking forward to seeing something come out for the MiniMig from you.  Almost every time you post, you sound like you really know what you are talking about.  Instead of just telling people to forget it, you will point out the difficulties, and frequently give advice on how to over come the challenge.  This lends to your credibility.  Unfortunately, I, like most, have become very skeptical over the years, so I will withhold judgment until I see something tangible.  I am particularly interested in seeing your MiniMig external bus.  It would be great to add another name to list of people who have delivered on the MiniMig.

 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: CIA Question for FPGA Experts
« Reply #11 on: November 28, 2007, 11:35:26 PM »
Quote

Belial6 wrote:
@Downix

You know, I'm really looking forward to seeing something come out for the MiniMig from you.  Almost every time you post, you sound like you really know what you are talking about.  Instead of just telling people to forget it, you will point out the difficulties, and frequently give advice on how to over come the challenge.  This lends to your credibility.  Unfortunately, I, like most, have become very skeptical over the years, so I will withhold judgment until I see something tangible.  I am particularly interested in seeing your MiniMig external bus.  It would be great to add another name to list of people who have delivered on the MiniMig.


If you'd like I could post the schematics now, it's getting the PCB bits done that I drag my feet on.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline FrenchShark

  • Full Member
  • ***
  • Join Date: Jan 2004
  • Posts: 181
    • Show only replies by FrenchShark
    • http://www.arcaderetrogaming.com
Re: CIA Question for FPGA Experts
« Reply #12 on: November 28, 2007, 11:39:50 PM »
Quote

Zac67 wrote:
Well, even the C64 had two CIAs, (older) 6526 (same with C128). 8520s even work in C64s, they're just faster and have additional timer(s).

The 1541's 6522s were just called VIAs (simpler, but very similar still).

Are 8520s hard to get? Vesalia has them in stock for 6.90€ (DIL) or 3.90 (PLCC) - no way to beat that price with an FPGA!


The difference between the 6526 and 8520 is the TOD (time of day) counter.
It is a 24-bit counter on the 8520 and a BCD counter on the 6526.

The ECS/OCS Amigas have a 1 MHz capable 8520 (running at 0.7 MHz) and the AGA Amigas have a 2 MHz capable 8520 (running at 1.4 MHz).
 

Offline AeroMan

  • Sr. Member
  • ****
  • Join Date: Oct 2007
  • Posts: 342
    • Show only replies by AeroMan
Re: CIA Question for FPGA Experts
« Reply #13 on: November 29, 2007, 12:41:40 AM »
I have a sugestion. It may not be possible, but it needs to be analyzed first before saying it is or not.
What about using a microcontroller ? There are some really cheap and fast ones in the market. Microchip just released their new PIC32. It has a MIPS core and runs at 75Mhz.
I believe it could be done with something smaller than this one. Microcontrollers seems a good alternative to replace the CIAS
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: CIA Question for FPGA Experts
« Reply #14 on: November 29, 2007, 01:02:24 AM »
@AeroMan:
I think any MCU will suffer from latency.
As for a suitable chip. Because the amount of logics way less a CPLD might be more suitable. They might even come in 5V ready version.
There's also the Spartan-3A which uses internal EEPROM to store the configuration.