6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun May 12, 2024 4:33 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Fri Oct 01, 2021 11:09 am 
Offline
User avatar

Joined: Wed Aug 05, 2020 8:41 pm
Posts: 47
Location: Montreal, QC, Canada
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?

_________________
Fred Segard
A.K.A. The Micro Hobbyist
https://6502sbc.blogspot.com/


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 01, 2021 11:37 am 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 360
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.

_________________
Want to design a PCB for your project? I strongly recommend KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of Retro Computing and Arduino components you might find useful.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 01, 2021 1:43 pm 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
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


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 01, 2021 2:39 pm 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 993
Location: near Heidelberg, Germany
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 of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 01, 2021 4:42 pm 
Offline

Joined: Fri Jul 09, 2021 10:12 pm
Posts: 741
Do you have a way to program the ATF2500s? Last time I checked it was only supported in old, obsolete programmers.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 01, 2021 6:43 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8180
Location: Midwestern USA
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.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 02, 2021 5:49 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1686
Location: Sacramento, CA
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

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 03, 2021 2:01 am 
Offline
User avatar

Joined: Wed Aug 05, 2020 8:41 pm
Posts: 47
Location: Montreal, QC, Canada
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.

_________________
Fred Segard
A.K.A. The Micro Hobbyist
https://6502sbc.blogspot.com/


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 03, 2021 9:25 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8180
Location: Midwestern USA
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.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: