home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / sci / electron / 13435 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  3.6 KB

  1. Path: sparky!uunet!comp.vuw.ac.nz!windy!grace!srgxnbs
  2. Newsgroups: sci.electronics
  3. Subject: Re: 20 Bit Counter?
  4. Message-ID: <1992Jul28.133749.16829@grace.dsir.govt.nz>
  5. From: srgxnbs@grace.dsir.govt.nz
  6. Date: 28 Jul 92 13:37:49 +1200
  7. References: <1992Jul21.233228.27249@uwm.edu><ERIC.92Jul22201943@iceland.telebit.com> <92205.211343LEEK@QUCDN.QueensU.CA>
  8. Organization: DSIR, Gracefield, New Zealand
  9. Lines: 66
  10.  
  11. In article <92205.211343LEEK@QUCDN.QueensU.CA>, <LEEK@QUCDN.QueensU.CA> writes:
  12. > In article <ERIC.92Jul22201943@iceland.telebit.com>, eric@telebit.com (Eric
  13. > Smith) says:
  14. > Original post was about needing a 20-bit address generator for RAM.
  15. >>You could use a CMOS counter 14-bit counter like the 4040.  Remember that
  16. >>it needs CMOS input levels on the clock and reset lines.  Two of these would
  17. >>get you 28 bits.  These are really slow, and since you would need two of
  18. >>them anyhow, I think you're probably better of with 74xx parts.
  19. > There is the HC remix of the 4020, 4040 chip.  They are now 74HC4020 and
  20. > 74HC4040.  These are faster chip and blessed with 74HC drive capabilities
  21. > and speed.  Do use them carefully.  Due to the rippling nature (each bit
  22. > has an accumulated delay from the last one in the chain) and CMOS
  23. > switching current, pretty bad ring on the output is possible.  I have
  24. > witnessed  2V ringing on a badly done wire wrap board with these chips.
  25. > I 'fixed' the problem by terminating the outputs to ground via 220 ohms
  26. > resistors.  The ringing is reduced to below TTL thresholds.
  27. > I pretty much use synchronous counters on all my designs - a side effect
  28. > of doing VLSI course and working with PLD's.
  29. > I would highly recommend using a series of synchronous counter described
  30. > below or at the very least use latches on the outputs clocked by a
  31. > different phase of the clock (ie hold the previous address until the
  32. > new one settles down).  This reduces the chip count and optionally allows
  33. > one to tristates the address generator for access from CPU side.
  34. >>
  35. >>If you need the counter to be fast enough to be able to read or write
  36. >>the memory "instantly" after incrementing, you need to use synchronous
  37. >>counters, like the 74xx163.  For a fully synchronous 20 bit counter, you
  38. >>would need to have four gates to generate the *ET (or was it *EP) inputs
  39. >>to each '163 after the first.  In practice you can tie the ripple carry
  40. >>output of each counter to the *ET and *EP inputs of the next counter up.
  41. >>There are probably some 8 bit synchronous counters also, in the 74xx500-699
  42. >>range, but I don't know them offhand.
  43. > 74LS469 is a 8-bit up/down counter.  I don't know whether it is
  44. > synchronous or not.  It is missing from my really old TTL databook.
  45. > Alternative is to implement the counter in a PAL/GAL chip if you know
  46. > what you are doing and have the equipment to program it.  PLD's
  47. > are kind of slow, but they allow a much more complex designs.
  48. >>Eric
  49. > K. C. Lee
  50. > Elec. Eng. Grad. Student
  51.  
  52. This may have been suggested (or rejected) ...
  53. If repetition rate is not important and any sort of random access is required
  54. then an alternative would be to use cascaded bit shift registers instead.
  55. minus = 20 times round small program loop to load each address.
  56. plus = all 20 bits change synchronously
  57.        speed advantage for address changes greater than approx 20
  58.        relative to current address, ie constant access time independant
  59.        of address
  60. -- 
  61. Bruce Spedding - Materials Science and Performance Group
  62. SRGXNBS@???????????????????
  63. Industrial Research Limited                Ph +64 +4 566-6919
  64.  P.O.Box 31310                              Fx +64 +4 566-6004
  65. Lower Hutt, New Zealand
  66.