Good 74HC parts to have
-
qwertykeyboard
- Posts: 20
- Joined: 09 Jul 2018
- Location: Canada
Good 74HC parts to have
I'm about to place an order from my local electronics store and among other things, I'm looking to have a good assortment of 74hc parts to have on hand. What are some others that you guys would recommend that are useful in a 6502 computer project?
Re: Good 74HC parts to have
At the very minimum, the '00 (quad 2-NAND), the '04 (hex inverter), and the '138 (3-8 line decoder). That's enough to build the glue logic for a basic SBC.
You could also add the '02 (quad 2-NOR), the '14 (hex Schmitt triggered inverter), the '86 (quad 2-XOR), and your choice of JK flip-flops, tristate buffers, synchronous-load shift registers and 8-bit transparent and/or synchronous latches.
I would also suggest looking at the 3-input, 4-input and 8-input gates, some counters (decade and binary), the '85 4-bit magnitude comparator (potentially very useful for dividing up an address space between RAM, ROM and I/O), and the '688 8-bit equality comparator.
Don't forget to choose your logic family carefully. The 74HC series expects CMOS-type inputs that are driven to the rails. The 74HCT series would be a better choice if you must accommodate TTL levels, as produced by an NMOS 6502 for example. The 74AHC series is much faster, but you might find that not all the parts you want are available; consider looking in the 74AC series for those.
You could also add the '02 (quad 2-NOR), the '14 (hex Schmitt triggered inverter), the '86 (quad 2-XOR), and your choice of JK flip-flops, tristate buffers, synchronous-load shift registers and 8-bit transparent and/or synchronous latches.
I would also suggest looking at the 3-input, 4-input and 8-input gates, some counters (decade and binary), the '85 4-bit magnitude comparator (potentially very useful for dividing up an address space between RAM, ROM and I/O), and the '688 8-bit equality comparator.
Don't forget to choose your logic family carefully. The 74HC series expects CMOS-type inputs that are driven to the rails. The 74HCT series would be a better choice if you must accommodate TTL levels, as produced by an NMOS 6502 for example. The 74AHC series is much faster, but you might find that not all the parts you want are available; consider looking in the 74AC series for those.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Good 74HC parts to have
My "minimums" list will mostly overlap Chromatix':
'00, '02, '04, '14, '74, '132, '138, '139, and if you think you'll ever do a 65816, also the '245 and '573. The '165 and '595 are great for converting between serial and parallel, like when using the 6522's serial port.
There are lots more that would be good, but start with these. For small orders, the shipping cost can dwarf the cost of the parts, so you might as well get a decent set.
'00, '02, '04, '14, '74, '132, '138, '139, and if you think you'll ever do a 65816, also the '245 and '573. The '165 and '595 are great for converting between serial and parallel, like when using the 6522's serial port.
There are lots more that would be good, but start with these. For small orders, the shipping cost can dwarf the cost of the parts, so you might as well get a decent set.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Good 74HC parts to have
I would also advise downloading a copy of each datasheet for easy reference. You can browse TI's online catalogue to find them (ti.com, products, logic, and drill down from there).
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Good 74HC parts to have
Chromatix wrote:
I would also advise downloading a copy of each datasheet for easy reference. You can browse TI's online catalogue to find them (ti.com, products, logic, and drill down from there).
x86? We ain't got no x86. We don't NEED no stinking x86!
-
qwertykeyboard
- Posts: 20
- Joined: 09 Jul 2018
- Location: Canada
Re: Good 74HC parts to have
How many of each should I buy? Would two of each be ok?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Good 74HC parts to have
qwertykeyboard wrote:
How many of each should I buy? Would two of each be ok?
The good thing is that discrete logic in PDIP packages is still plentiful and relatively inexpensive. However, it isn't going to stay that way, so a little bit of hoarding now may prove to be a wise thing to do.
As far as which logic family to purchase, consider that in most cases, 74HC ("high-speed CMOS") is reliable in systems running at up 8 MHz, and output rise and fall times are moderate. Beyond that, go with 74AC ("advanced CMOS") or 74AHC ("advanced high-speed CMOS"). 74AC device outputs have an extremely fast rise and fall time, and can cause problems if construction methods are not carefully thought out. 74AHC is friendlier in that respect, but doesn't have as much drive. It all depends on what you plan to do.
I recommend you avoid using TTL devices, such as 74LS or 74F. They are power-hungry and produce TTL-level outputs, not CMOS. Attempting to drive the input of a CMOS device from the output of a TTL device may cause switching problems, unless the CMOS device has TTL-compatible inputs. Such devices will have a 'T' in the part number, such as 74ACT541.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Good 74HC parts to have
BigDumbDinosaur wrote:
The good thing is that discrete logic in PDIP packages is still plentiful and relatively inexpensive. However, it isn't going to stay that way, so a little bit of hoarding now may prove to be a wise thing to do.
I especially like this ^^^^ paragraph. You may find a price break at qty 10. Get plenty of DIP sockets too.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Good 74HC parts to have
GARTHWILSON wrote:
BigDumbDinosaur wrote:
The good thing is that discrete logic in PDIP packages is still plentiful and relatively inexpensive. However, it isn't going to stay that way, so a little bit of hoarding now may prove to be a wise thing to do.
I especially like this ^^^^ paragraph. You may find a price break at qty 10. Get plenty of DIP sockets too.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Good 74HC parts to have
BigDumbDinosaur wrote:
Speaking of sockets, the "machine-tooled" types with gold-flashed contacts are more reliable over the long haul, but the cheaper sockets with tin wiper contacts are better suited to situations where frequent removal and installation is common.
Exactly my experience too. Of the cheaper ones, be sure to get double-wipe, ie, where both sides of each pin of the IC are contacted electrically, not just one.
Quote:
In the case of ROMs, use of a ZIF socket is a good idea during firmware development.
I think the green TEXTOOL ones are the ones I've had kind of bad luck with. I've had good luck with all other brands.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Good 74HC parts to have
GARTHWILSON wrote:
BigDumbDinosaur wrote:
In the case of ROMs, use of a ZIF socket is a good idea during firmware development.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
qwertykeyboard
- Posts: 20
- Joined: 09 Jul 2018
- Location: Canada
Re: Good 74HC parts to have
Also with regards to clock speed, I've read the clock primer already but I'm wondering what a good clock speed would be to start off with?
I've been looking into getting a 74HC4060 and using that to divide a 32768 khz crystal if I need lower clock speeds to see whats going on data and address lines with LEDs.
I've been looking into getting a 74HC4060 and using that to divide a 32768 khz crystal if I need lower clock speeds to see whats going on data and address lines with LEDs.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Good 74HC parts to have
qwertykeyboard wrote:
Also with regards to clock speed, I've read the clock primer already but I'm wondering what a good clock speed would be to start off with?
I've been looking into getting a 74HC4060 and using that to divide a 32768 khz crystal if I need lower clock speeds to see whats going on data and address lines with LEDs.
I've been looking into getting a 74HC4060 and using that to divide a 32768 khz crystal if I need lower clock speeds to see whats going on data and address lines with LEDs.
What I do with a new design that has problems is use a single-stepper plugged into the oscillator socket, which generates a high pulse when a pushbutton is pressed. That, in turn, triggers the clock generator flip-flop into changing state. Thus, two pushes of the button are need for a full clock cycle. It's possible because WDC MPUs can be stopped by merely stopping the clock in either phase. Since the clock can be stopped in either phase, single-stepping as I described makes it easy to probe the buses and control signals during Ø2 low and high, which helps with troubleshooting.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
qwertykeyboard
- Posts: 20
- Joined: 09 Jul 2018
- Location: Canada
Re: Good 74HC parts to have
BigDumbDinosaur wrote:
qwertykeyboard wrote:
Also with regards to clock speed, I've read the clock primer already but I'm wondering what a good clock speed would be to start off with?
I've been looking into getting a 74HC4060 and using that to divide a 32768 khz crystal if I need lower clock speeds to see whats going on data and address lines with LEDs.
I've been looking into getting a 74HC4060 and using that to divide a 32768 khz crystal if I need lower clock speeds to see whats going on data and address lines with LEDs.
What I do with a new design that has problems is use a single-stepper plugged into the oscillator socket, which generates a high pulse when a pushbutton is pressed. That, in turn, triggers the clock generator flip-flop into changing state. Thus, two pushes of the button are need for a full clock cycle. It's possible because WDC MPUs can be stopped by merely stopping the clock in either phase. Since the clock can be stopped in either phase, single-stepping as I described makes it easy to probe the buses and control signals during Ø2 low and high, which helps with troubleshooting.
Re: Good 74HC parts to have
For a first build you will always be best-served by running at a low frequency. To run the CPU at 1MHz you might need a 2MHz clock can.
(My impression is that most projects ignore this advice, and most projects are never finished - not that it's a complete overlap.)
(My impression is that most projects ignore this advice, and most projects are never finished - not that it's a complete overlap.)