Do I need to declare every class in a separate package or can I place multiple classes in a single package?Dave FechserLSI Logic, Inc.Fort Collins, CO
Hello Dave, You are free to place multiple classes into a single package. Kathleen
I hope this is not a language related question - LRM doesn't limit any such thing. As a methodology as well I will be very surprised if someone tries that - we are only populating the namespace by doing that. Instead what we usually do in our company and also recommend to our customers is to have one package per IP block - such as AHB, ENET, PCI etc. Sure there can be few packages per complex IP if needed but not 1 package per class.RegardsAjeetha, CVCwww.noveldv.com
Thanks. I want to do one package per VIP block but have only been able to find examples of one-class-per-package.
Example:package vip_pkg;class one_c; ...endclassclass two_c;...endclassendpackagemodule vip;import vip_pkg::*;endmodule