home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / vhdl / 438 next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.0 KB

  1. Path: sparky!uunet!gatech!prism!kopp.gatech.edu!user
  2. From: mike.kopp@gtri.gatech.edu (Mike Kopp)
  3. Newsgroups: comp.lang.vhdl
  4. Subject: extended integer size?
  5. Message-ID: <mike.kopp-080992123255@kopp.gatech.edu>
  6. Date: 8 Sep 92 16:38:07 GMT
  7. Sender: news@prism.gatech.EDU
  8. Followup-To: comp.lang.vhdl
  9. Organization: Georgia Tech Research Institute
  10. Lines: 12
  11.  
  12. I am working on a high-level design in which I use integer variables.  Some
  13. of the variables can have up to 16 bits (unsigned) so that if multiply two
  14. of them the result could be 32 bits unsigned.  My vhdl implementation uses
  15. 32-bit integers so the largest unsigned integer is 31 bits so I cannot
  16. represent the result using standard integers.  Has anyone implemented a
  17. portable "integer-like" type to extend the integer size to some arbitrary
  18. but fixed length?  Has anyone any suggestions as to how I should proceed?
  19.  
  20. -----------
  21. Mike Kopp                                    
  22. Electronic Support Measures Laboratory              
  23. Georgia Tech Research Institute                           mike.kopp@gtri.gatech.edu
  24.