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