The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 10:23pm
Pages: 1
Send Topic Print
Instantiating a model in Verilog-A (Read 2086 times)
IVerify
New Member
*
Offline



Posts: 6

Instantiating a model in Verilog-A
Nov 13th, 2007, 7:07pm
 
I'm trying to instantiate a model in Verilog-A where the cell name is different than the model name.

For example:
Library Name: lib
Cell Name: foundry_cell
View Name: symbol
Under CDF parameter
Model name: model_of_cell

In Verilog-A, I tried:
foundry_cell #(.param1...) (.node1(x)...);

When doing this the elaborator says "Cannot find any unit under lib:foundry_cell:symbol in the design libraries".  This makes sense as it has no way of knowing the mapping from foundry_cell to model_of_cell.  I also tried:

model_of_cell #(.param1...)(.node1(x)...);

This doesn't work, because there is no cell view called "model of cell"

Is there a way I can specify the model name when I instantiate "foundry_cell" in Verilog-A?  Is there a parameter for model name that I can use?

-I Verify
Back to top
 
 
View Profile   IP Logged
IVerify
New Member
*
Offline



Posts: 6

Re: Instantiating a model in Verilog-A
Reply #1 - Nov 15th, 2007, 11:27am
 
Instantiating the cell in this way seemed to work.

model_of_cell #(.param1...) (* integer library_binding = "lib"; *) instance_name (.node1(x)...);

The hierarchy editor will complain that "model_of_cell" cannot be found, but the simulation will run.
Back to top
 
 
View Profile   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.