Good question.
In the modeling I have done over the years I have used constants a bit but
have never actually used generics.
Testbenches have been where I most use constants.
More discussion?
Joanne
-----Original Message-----
From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On Behalf Of
Jim Lewis
Sent: Thursday, March 17, 2011 6:29 PM
To: vhdl-200x@eda.org
Subject: [vhdl-200x] Why OOP vs Generics
Hi,
Martin asked a question in this mornings meeting:
why generics vs OOP/AOP programming? What are some
examples where we need OOP/AOP over using generics?
Particularly for testbenches.
I would like to open/provoke the discussion from there.
Best,
Jim
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jim Lewis Director of Training mailto:Jim@SynthWorks.com SynthWorks Design Inc. http://www.SynthWorks.com 1-503-590-4787 Expert VHDL Training for Hardware Design and Verification ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Mar 18 11:52:38 2011
This archive was generated by hypermail 2.1.8 : Fri Mar 18 2011 - 11:53:05 PDT