6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 9:46 am

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Cmod C2 CPLD?
PostPosted: Wed May 16, 2018 11:03 pm 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
Has anybody looked at using this for address decoding, 816 bus demultiplexing, etc.?

https://store.digilentinc.com/cmod-c2-b ... ld-module/

Not super cheap, but DIP-type package, breadboardable, 40 pins, has the JTAG etc. bolted on, and once one proves out the design one could use the SMT chip form instead. Would replace a handful of 74 series chips and allow the design to be worked out in the Xilinix tool, etc.

3.3v tho.

Curious if the 64 macrocells would be enough?


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Thu May 17, 2018 1:16 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
porcupine wrote:
Curious if the 64 macrocells would be enough?

Depends on what is to be accomplished. My POC V2 units use about half of the available logic resources in an Microchip (Atmel) ATF1504AS CPLD, which has 64 macrocells. I'm actually constrained by the number of available I/Os (32 on a PLCC44 package). not the logic resources.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Thu May 17, 2018 2:56 am 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
At a minimum it'd be 816 data bus demultiplexing stuff + address decoder. Chip has I believe, 33 I/Os (XC2C64A VQ44). So about the same as yours. More pins would surely be nice. Too bad they don't make a 48 or even 64-pin version of this. The next thing up from them in this vein are two 48-pins that host full FPGAs. Useful but overkill, and $60-$75.

Life really would be much easier if WDC just made a 816 in a PDIP 48 package (or various SMT forms) with the extra 8 address lines broken out. :-(


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Thu May 17, 2018 1:30 pm 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
I've been using the Altera EPM7064S which is 64 macrocells and supports 5V but like BDD the biggest problem is lack of pins.
I am using one as the address decoder for my 65C02 based system which only ends up using about 11 macrocells. I also managed to fit a basic VGA controller in one too.

I should get around to making a 600-mil dip breakout for it though. I've been using these breakout boards but they're wider than a 600-mil dip package and having both the TQFP footprint and traces on one side + the QFN ones on the other it's probably not great for high speed stuff. I should get around to making a breakout like the digilent one linked.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Thu May 17, 2018 2:11 pm 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
Well, just ordered a couple of these. I'll see what I can do with them, at least to prototype on breadboard. Once I'm more confident with them maybe I'd just try my hand at SMT soldering and get something with more pins.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 6:04 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
Nice, are you building 3V systems?

Also what programmer are you going to use?


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 1:22 pm 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
So I was _thinking_ of attempting a 3v system. But it appears that I'm doomed really on account of the fact that there seems to be no through-hole EPROM or NVRAM type chips with a parallel interface and 3v supply voltage.

So now it looks like I've ordered this 3v only CPLD module but won't really be able to use it with a 65816 without coming up with some sort of SMT solution. Or doing level conversion between the CPLD and the system.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 3:25 pm 
Offline

Joined: Sat Jan 02, 2016 10:22 am
Posts: 197
You can get 3 volt SST39LF040 flash in PLCC format, that's reasonably through hole friendly.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 3:26 pm 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
Cool. Tho PLCC isn't breadboard friendly.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 3:54 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
Technological Arts (and others) offer adapters like this...
Attachment:
PLCC_Adapter__44_4a00672a6c03b.jpg
PLCC_Adapter__44_4a00672a6c03b.jpg [ 29.26 KiB | Viewed 5190 times ]

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 4:27 pm 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
Cool. I see the SST39VF010-70-4C-NHE at Mouser, 128KB, 70ns access time, and cheap.

But what does one use for a programmer for such PLCC flash chips?

My EPROM programmer was destroyed in a flood last year, so need to replace it.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 7:40 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
This may sound like an odd question, but are you sure your EPROM programmer needs replacement? You might be in for a pleasant surprise, as I was after a freak rainstorm flooded my (and many other) basements in 2002.

A lot of my electronic gear, including audio and musical equipment, got entirely submerged. :cry: But at least half of it turned out to be OK, after simply having had a chance to dry out. :shock: :D Good thing I didn't just assume the worst and send the stuff to the landfill. :!:

YMMV, depending on what sort of water is involved. I was comparatively lucky; rainwater is probably as benign as it gets. But in any case the takeaway is, don't just assume the stuff is pooched.

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 9:14 pm 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
The insurance settlement was such that anything that I was to be compensated for, they had to take away to discard. So it was either keep it and risk it not working again and not getting anything, or get compensated and go buy a new one.

That thing always annoyed me because it didn't work with GALs or CPLDs or anything, and the programming software was windows only. Cheap Chinese thing.

For what it's worth stuff I knew I couldn't replace (vintage computers, synthesizers) I kept and tried to repair. My amazing coworker just fixed two C64s of mine that were damaged in the flood. Some stuff worked just fine after, stuff I would never have thought would work.

The water was clean, it was a broken water softener, so just my well water. Most things came out ok, with a little corrosion.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 9:18 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
In many cases, PCBs are washed with water after the parts are soldered on in production. I have kept our company from using water-soluble fluxes because of problems these fluxes can cause in sensitive analog circuits. The water itself does not hurt the components though.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Cmod C2 CPLD?
PostPosted: Fri May 18, 2018 10:39 pm 
Offline

Joined: Sat Jan 02, 2016 10:22 am
Posts: 197
There's cheap PLCC32 to DIP32 adaptors on e-bay and other places. Then you can program in a regular programmer as if it was a DIP version. The sockets on them may not take too many insertions and removals, but given how inexpensive they are, it may not be an issue.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 69 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: