6502.org
http://forum.6502.org/

Daryl's 65SPI on any other CPLD other then the ATF1504?
http://forum.6502.org/viewtopic.php?f=10&t=6810
Page 1 of 1

Author:  fredericsegard [ Fri Oct 01, 2021 11:09 am ]
Post subject:  Daryl's 65SPI on any other CPLD other then the ATF1504?

I have an interest in Daryl's 65SPI, and I'm trying to understand the WinCUPL source code. I know it uses the PLCC ATF1504, but I have a couple of breadboard-friendly DIP ATF2500 on hand. It has fewer macrocells, however, could I use it instead? How can I know, by looking at the WinCUPL file, how many macrocells are required?

Author:  Alarm Siren [ Fri Oct 01, 2021 11:37 am ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

I don't think you can tell just by looking at the CUPL. It depends on the capabilities of your device's macrocells, inter-cell routing etc etc. If you run the fitter for the CUPL for your device, it will tell you how many Macrocells it uses and/or whether or not it fits.

That being said, from memory, I believe that the 65SPIv2 only just fits in an ATF1504 so if your ATF2500 has fewer macrocells I would suggest the 65SPIv2 is unlikely to fit.

Author:  plasmo [ Fri Oct 01, 2021 1:43 pm ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

I ported 65SPI to Altera Quartus schematic for EPM7064S which is very similar to ATF1504 with 64 macrocells. The full design uses 53 macrocell, but significant amount of macrocells are for SlaveSelect (8), option registers (6) and multiplexing of data from various registers. So if you only want to control a couple devices and don't want the various programmable features, the core design can be reduced below 40 macrocells. It may fit an ATF2500.
Bill

viewtopic.php?f=4&t=1265&p=85825&hilit=65spi#p81452
https://www.retrobrewcomputers.org/doku ... 5spi_proto

Author:  fachat [ Fri Oct 01, 2021 2:39 pm ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

I made a variation for the Xilinx 9572, I believe it would also work with the 5V tolerant 9572xl (as pure 5V devices have been discontinued)
http://www.6502.org/users/andre/spi65b/

OTOH those are PLCC as well...

Author:  gfoot [ Fri Oct 01, 2021 4:42 pm ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

Do you have a way to program the ATF2500s? Last time I checked it was only supported in old, obsolete programmers.

Author:  BigDumbDinosaur [ Fri Oct 01, 2021 6:43 pm ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

The ATF2500 is basically an upscaled GAL, not a CPLD. I'd be surprised if it would work in this application. You'd likely run out of logic resources.

Author:  8BIT [ Sat Oct 02, 2021 5:49 pm ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

In addition to resource limits, the registers need to support asynchronous set and reset. The ATF2500 uses a synchronous Set. I have not explored the modifications needed to enable the use of synchronous signals in the 65SPI logic, so it may be possible to modify the code to allow it. However, I do not indent to explore that myself.

thanks!

Daryl

Author:  fredericsegard [ Sun Oct 03, 2021 2:01 am ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

gfoot wrote:
Do you have a way to program the ATF2500s? Last time I checked it was only supported in old, obsolete programmers.

Urghh! You're right! My programmer does not support the ATF2500. Darn! That solves that issue.

Author:  BigDumbDinosaur [ Sun Oct 03, 2021 9:25 am ]
Post subject:  Re: Daryl's 65SPI on any other CPLD other then the ATF1504?

fredericsegard wrote:
gfoot wrote:
Do you have a way to program the ATF2500s? Last time I checked it was only supported in old, obsolete programmers.

Urghh! You're right! My programmer does not support the ATF2500. Darn! That solves that issue.

The ATF15xx series offers a lot more. For one thing, you can program any of them in-circuit via JTAG, which is convenient while you are debugging your hardware. Also, they have a lot of logic resources and are available down to 7.5ns pin-to-pin. I briefly looked at the ATF2500 some time ago but concluded the ATF15xx units were superior in all respects.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/