home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / vhdl / 624 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.3 KB

  1. Path: sparky!uunet!pipex!demon!cix.compulink.co.uk!jmessenger
  2. Newsgroups: comp.lang.vhdl
  3. From: jmessenger@cix.compulink.co.uk (John Messenger)
  4. Subject: Re: What types should one use?
  5. Reply-To: jmessenger@cix.compulink.co.uk
  6. Date: Tue, 5 Jan 1993 01:14:00 +0000
  7. Message-ID: <memo.840787@cix.compulink.co.uk>
  8. Sender: usenet@demon.co.uk
  9. Lines: 18
  10.  
  11. In-Reply-To: <1992Dec21.155528.26802@sol.asl.hitachi.com> lap@sol.asl.hitachi.com (Larry Pearlstein)
  12.  
  13. I think it that you should use the most abstract types which your
  14. synthesiser can handle.  The synthesiser I use can work out the
  15. 'used' range of an INTEGER and allocate the appropriate number of
  16. bits.  For boolean logic, I would use an MVL type and compare it to
  17. '1' or '0' in the 'if' statement.  I would avoid the use of BOOLEAN
  18. for things which will be synthesised.
  19.  
  20. If you are going to write structural or low-level VHDL yourself, and
  21. look for timing glitches, then you need to use an MVL system for
  22. almost everything.  I'm sure that VHDL is best used by writing code
  23. at a high level or abstraction, not thinking how every gate will look
  24. in the chip - otherwise its just a netlist in a posh accent!
  25.         -- John Messenger, Clifton Advanced Technology,
  26.         -- jmessenger@cix.compulink.co.uk
  27. --
  28.     John Messenger (jmessenger@cix.compulink.co.uk) Tel: +44 904 692700
  29.