home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / sci / electron / 15586 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.8 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!think.com!eplunix!raoul
  2. From: raoul@eplunix.UUCP (Nico Garcia)
  3. Newsgroups: sci.electronics
  4. Subject: Re: BCD-binary conversion
  5. Message-ID: <1273@eplunix.UUCP>
  6. Date: 13 Sep 92 16:31:02 GMT
  7. References: <1272@eplunix.UUCP> <1992Sep12.150251.1@research.ptt.nl>
  8. Organization: Eaton-Peabody Lab, Boston, MA
  9. Lines: 33
  10.  
  11. In article <1992Sep12.150251.1@research.ptt.nl>, walvdrk_r@research.ptt.nl (Kees van der Wal) writes:
  12. > In article <1272@eplunix.UUCP>, raoul@eplunix.UUCP (Nico Garcia) writes:
  13. > Five decades would be tricky as the maximum of (decimal) 99999 exceeds the 
  14. > 16-bit limit.
  15.  
  16. Yup. Turns out I can get away with 4, which is good.
  17.  
  18. > A standard approach uses a large number of Full Adders where e.g. the ouputs of 
  19. > Is that the approach that leads to 11 chips?
  20.  
  21. No, there is a clever approach that stacks single or double decade decoders
  22. in series to do the conversion. It's in the old TI databooks under '184 and
  23. '484 application notes.
  24.  
  25. > With 4 decades there's 4*4=16 inputs and 16 bits of output such it could be
  26. > done by taking two standard 64KB EPROMs. Writing a program for the code in the 
  27. > EPROMs is rather straightforward.
  28.  
  29. True. I didn't have anything to program EPROM's that large or a supply of
  30. them that large. Functional. Also, 4 decades of input only comes to about
  31. 14 bits of output ( 0-9999 decimal is less than 2^14 or 16K ). It doesn't
  32. help much, but it doesn't hurt.
  33.  
  34. I've gotten several approaches sent to me: I'll post a note on the one I
  35. use. I was avoiding microcomputer solutions primarily because this is for a
  36. mixed high-speed semi-analog design: the less digital circuitry, the less
  37. potential trouble to deal with. That's only a *desire*, not an absolute
  38. limitation, though.
  39. -- 
  40.             Nico Garcia
  41.             CIRL/MEEI
  42.             eddie.mit.edu!eplunix!raoul
  43.