problem with veriloga model

B

baobao

Guest
I made a veriloga file and related symbol. I think I have already
combine them together.
It works before, but doesn't work this time. I am not sure what is the
reason for this.

It says:

ERROR (OSSHNL-116): Unable to descend into any of the views defined in
the view list, 'spectre cmos_sch cmos.sch schematic veriloga', for the
instance 'I0' in cell 'diodepara'. Either add one of these views to
the library 'research',
cell 'diodemodel' or modify the view list to contain an existing view.

End netlisting Sep 25 14:58:32 2008
ERROR (OSSHNL): Error(s) found during netlisting. The netlist may be
corrupt
or may not be produced at all.
To generate correct netlist, fix the errors and re-netlist.
...unsuccessful.

Thank you very much!
 
Hi There,

Have you got a view called 'veriloga' for cell research/diodemodel ?
The 'veriloga' view is part of your switch viewList but does not seem
to be found for that particular cell.
BTW, which simulator are you using ? Spectre from ADE or any other
config using the HED ?
The more information you provide the best to get it solved.

Cheers,
Riad
 
On Sep 28, 3:47 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi There,

Have you got a view called 'veriloga' for cell research/diodemodel ?
The 'veriloga' view is part of your switch viewList but does not seem
to be found for that particular cell.
BTW, which simulator are you using ? Spectre from ADE or any other
config using the HED ?
The more information you provide the best to get it solved.

Cheers,
Riad
Hello Riad,

Thank you so much for your reply. I use Spectre from ADE.
What is "view"? you mean "cellview"? Yes, I think so.I made a file
which is in veriloga format.
I tried to make a schematic and symbol out of it, so I can put it in
the library to use.
I don't know whether I have some wrong steps to follow, maybe.
Do you know any help file or examples to follow?

Thank you so much! :)
 
Hello Baobao,

I honestly don't understand what do you mean by 'I tried to make a
schematic and symbol out of it' :-(
I would advice the following flow as an example:
1. Create a new verilog-A cellView from your Lib Manager -> New ->
View and fill up the poped form. This is a little exmpample:
http://riad-kaced-usenet-group.googlegroups.com/web/pic01.png?gsc=RHfB_AsAAAChh_UigiaDfLU9K0ICidPT

2. Step1 should come with a text editor including a verilog-A template
you need to complete. There is the code for my example:

// VerilogA for rkWorkLib, rkSampleHold, veriloga
// The core is from the designers-guide.org's Guide (www.designers-
guide.org).

`include "constants.vams"
`include "disciplines.vams"

module rkSampleHold(Pout, Nout, Pin, Nin);

input Pin, Nin; voltage Pin, Nin; // input port
output Pout, Nout; voltage Pout, Nout; // output port
parameter real period=1 from (0:inf); // sampling period (s)
parameter real toff=0 from [0:inf); // offset time for sampling (s)
parameter real td=0 from [0:inf); // delay from sampling to output (s)
parameter real tt=period/100 from (0:inf); // duration of output
transitions (s)
integer n;
real tstop, save;

analog begin
// Determine the sample time
n = ($abstime - toff) / period;
tstop = n*period + toff;

// Sample the input
@(timer(tstop) or initial_step)
save = V(Pin,Nin);

// Produce output with well-controlled transitions
V(Pout,Nout) <+ transition(save, td, tt);

end

endmodule
//

When you save and close the file editor, your code will be checked and
compiled. When everything's alright and the symbol does nt exist, the
Create Symbol form pops out to create a new symbol. It is pre filled
with the pins as defined in yoyr verilog-A file.

So if you manage to come at the end of this, then your cellView ends
up with 2 views: veriloga and symbol.
Create another schematic for the testbench, instantiate the symbol you
have recently created and simulate. Simple as that ! When you descend
the sybol, it will go to the verilog-A code. I suppose yoy haven't got
any other views rather than symbol and veiloga.

That's it, hope it is better now :)

Best Regards,
Riad.
 
Hi,
I followed exactly what you said but I'm still facing the same problem mensuioned above.
could you please help me.
Thanks,
Sal
 
Hello,
I am facing a similar problem. I want to model a cntfet in cadence using veriloga. I used the veriloga code (https://nano.stanford.edu/stanford-cnfet-model-verilog). I followed these steps to create the cntfet model-

1. I created a new veriloga cell view and edited the veriloga.va by copying the code of NCNTFET_L3.va. I also added the fles NCNFET_L2.va, NCNCNT_L3.va and parameters.vams in the veriloga directory created.

2. I created a symbol from the veriloga cell view (create->cellview->from cellview).

3. Now I opened a new schematic and used this symbol to implement a simple circuit. I was not able to select from schematic for plotting the outputs and encountered the error -

ERROR (OSSHNL): Error(s) found during netlisting. The netlist may be corrupt or may not be produced at all.

To generate correct netlist, fix the errors and re-netlist.
...unsuccessful.

What and where could be the problem? Kindly look into this and help me out.
 
El viernes, 26 de septiembre de 2008, 21:59:32 (UTC+2), baobao escribiĂł:
I made a veriloga file and related symbol. I think I have already
combine them together.
It works before, but doesn't work this time. I am not sure what is the
reason for this.

It says:

ERROR (OSSHNL-116): Unable to descend into any of the views defined in
the view list, 'spectre cmos_sch cmos.sch schematic veriloga', for the
instance 'I0' in cell 'diodepara'. Either add one of these views to
the library 'research',
cell 'diodemodel' or modify the view list to contain an existing view.

End netlisting Sep 25 14:58:32 2008
ERROR (OSSHNL): Error(s) found during netlisting. The netlist may be
corrupt
or may not be produced at all.
To generate correct netlist, fix the errors and re-netlist.
...unsuccessful.

Thank you very much!

Hi, i have a similar problem, i'm using an instance from cadence library for a FF type D, among other functional blocks, but when i run the ADE L Spectre, it says something like this:

ERROR (OSSHNL-116): Unable to descend into any of the views defined in the view list, 'spectre veriloga ahdl cmos_sch schematic', for the
instance 'I6' in cell 'sb_phasegen'. Add one of these views to the cell 'not' in the
library 'sample', or modify the view list so that it contains an existing view.

I don't understand why, 'cause i didn't create a symbol, i'm using a component by default. I also have a block that contains only logic gates, it is a phase generator, and it has the same error, i solved the FF problem creating the veriloga description and its symbol, it seems like the problem for my case is only for the digital blocks

Help me please, greetings.
 

Welcome to EDABoard.com

Sponsor

Back
Top