The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 8th, 2024, 8:50am
Pages: 1
Send Topic Print
many modules in one cell (Virtuoso-AMS)? (Read 2397 times)
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
many modules in one cell (Virtuoso-AMS)?
Sep 29th, 2006, 1:42am
 
Hello

Is it possible to create more then one module in cell.
When I do it, elaboration fails and error message appears:

*E,CUCFUN (No HDL source,0|0): instance 'I1' of the unit 'MOD2' is unresolved in 'MyLib.MOD1:verilogams'.

MOD1 consists of two MOD2.

In the cell MOD1 I created 2 modules: MOD1 and MOD2.

Thanks in advance.

Pavel.
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: many modules in one cell (Virtuoso-AMS)?
Reply #1 - Sep 29th, 2006, 2:42am
 
I also saw this issue with AMS Designer when I was using
AMS Designer out of DFII with HED.
I had a Verilog file containing more than one module, specified as
'View to use from source file'.
I worked around it by importing the HDL code in a DFII library,
in my case with 'Verilog In',
then they appeared as separate modules and AMS Designer could evaluate them.

Bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: many modules in one cell (Virtuoso-AMS)?
Reply #2 - Sep 30th, 2006, 1:36am
 
Yep..
in cdba - one CELL = one Module
if you put another modele inside it needs its own module.. module name MUST match the cell name..

But this is NORMAL in verilog design.. one file per module (name.v) except gates which will all be in one library file lib.v

Of course, this is just standard practice in most places I've seen and not a requirement, and not quire often enough recommended to new users to keep it fairly universal..


Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.