6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Jul 04, 2024 1:49 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Oct 21, 2022 3:50 pm 
Offline
User avatar

Joined: Mon Aug 30, 2021 11:52 am
Posts: 274
Location: South Africa
I suspect I already know the answer but is there a counter, like a '161 or '163 or similar, that has both the ability to parallel load and the ability to set its output to high impedance? And it must be fast.

That would be so useful for using counters for memory address that I don't always want on the bus.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 21, 2022 4:27 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10838
Location: England
Looks like the '469 is one such, but having found it there's the question of availability.
https://en.wikipedia.org/wiki/List_of_7 ... d_circuits

Edit: perhaps the '461 too.


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 22, 2022 2:18 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3366
Location: Ontario, Canada
Here are some 8-bit counters that may fit the bill, but they have TTL-level outputs; also, the prices and availability are poor.

You could also use an EPROM and a '574 to generate a count sequence. But a PAL or CPLD would be faster.

-- Jeff

_________________
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  
PostPosted: Sat Oct 22, 2022 10:48 am 
Offline
User avatar

Joined: Mon Aug 30, 2021 11:52 am
Posts: 274
Location: South Africa
Thanks BigEd and Dr Jefyll!

A pity about the availability (and price) because otherwise those are some really interesting chips.

Particularly the '461
Attachment:
20221022_121634.jpg
20221022_121634.jpg [ 212.76 KiB | Viewed 447 times ]
would have been perfect.

Well, if it was bit faster. I don't suppose anyone has a chip fab lying around and can produce this in LVC?

And whilst I'm wishing, maybe an internal register like the' 590. And up/down too
:D

But seriously I suppose few industries would use discrete ICs nowadays. I guess it's all (fairly) gone FPGA / CPLD


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 23, 2022 12:19 am 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 1019
Location: near Heidelberg, Germany
My guess is, using a standard counter and a separate register IC is not feasible eg due to board space?

_________________
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: Sun Oct 23, 2022 6:17 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1438
Location: Scotland
Curious about this, I remembered there is a 4-bit counter with parallel load in the GALasm package, so I modified this to be an -bit counter, but get an error in the 7th bit, (too many product terms) so it may be possible by re-arranging it or using a spare pin as a temporary (or limiting it to 7 bits?)

Or using another tool - this was targetting a GAL 22v10.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 24, 2022 6:37 am 
Offline
User avatar

Joined: Mon Aug 30, 2021 11:52 am
Posts: 274
Location: South Africa
The short answer is laziness: it's more ICs to solder and route, more testing and more chance of a mistake. The longer answer is I'm trying to reduce the ridiculous number of ICs I need in my build. Each one has complexity as it adds propagation delay (think two 4bit '161s into a an 8bit '541 and multiply that out to 24bits) and potentially more current draw and/or load on whatever is driving it. I might end up amplifying ringing that wouldn't happen in a single IC, need impedance matched resistors and more decoupling caps. Basically it's just more to think about in a project that, while a hell of a lot of fun, has gotten wildly complex.

And expense. Which makes the 22v10 almost a contender. The price of two 74LVC161s and a 74LVC541 is only a bit cheaper than a single ATF22v10. A bit off topic but I don't think I understand the 22v10 (specifically the ATF22V10C) as even at 100Hz frequencies the current draw sits around 150ma per chip - which strikes me as quite high. And means if I use a significant number of them I'm pulling amps.

[edit]I forgot to mention that the 74FCT191 exists and still readily available, reasonably cheap and fairly quick.
Attachment:
20221024_084232.jpg
20221024_084232.jpg [ 309.63 KiB | Viewed 365 times ]
But it's also huge! Can't have everything I suppose [Further edit]The 73HCT193 is the cheap IC, not the FCT. Oops


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 24, 2022 7:02 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1438
Location: Scotland
AndrewP wrote:
And expense. Which makes the 22v10 almost a contender. The price of two 74LVC161s and a 74LVC541 is only a bit cheaper than a single ATF22v10. A bit off topic but I don't think I understand the 22v10 (specifically the ATF22V10C) as even at 100Hz frequencies the current draw sits around 150ma per chip - which strikes me as quite high. And means if I use a significant number of them I'm pulling amps.


I have 2 Lattice 22v10's on my '816 board and the idle current draw is about 150mA. The board is running at 16Mhz and also has an ATmega 1280 and an SD card.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 6 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: