jbdavid
|
MY favorite editor is nedit - since there are pattern files for it.. but if you are used to VIM, I think those pattern files (the name is different) are available on this forum somewhere.. and emacs has a verilog-A and Verilog-AMS modes available somewhere too..
AfTER starting cadence, BEFORE opening a new cellview, in the CIW window type (they taught you about this part right?)
editor = "nedit"
- you can substitute the command for your favorite editor, but vi is the cadence default. Then go to the library manager, select the library you want to create a model in, and then use the File -> New -> Cellview pull down menu.. (just like creating a new schematic symbol or layout view) but pick Verilog-A editor (or Verilog-AMS editor if doing mixed signal) or Verilog editor if doing digital) for the Tool, and use an appropriate view name, (cadence defaults to veriloga or verilogams respectively - but I find I sometimes need more views depending on what I'm connected to it, so we have standardized a few other view names. ie vlog_empty, vloga_basebandeq, etc if you pick the digital tool, there is no default, but "functional" or "behavioral" are traditional verilog view names.
--- after deciding which cell, view name and tool click ok -- and your selected editor will open , populated with as much information as cadence has about that view (ie if the symbol or schematic view exist you'll get a module declaration with pins.. if not, you'll just get an empty module declaration.)
Edit the model SAVE and exit the editor. at this point a syntax checker will run.. fix the syntax errors save and exit, fix the syntax errors, save and exit... and if you have fixed them all, (and there is no symbol, or if the new pin info is different from the old symbol) then it will ask you if you want to CREATE (or replace or modify) the symbol view.
then you build a schematic with your model and any stimulus you want to test it with (ie borrowed from ahdlLib or bmslib ) or analoglib when your testbench is done, fire up ADE pick an appropriate simulator (spectre for verilogA, ams for anything else) netlist and run. -- I'm assuming your instructor set up any connect modules you'll need.
don't forget how to fire up the cadence docs (cdnshelp or cdsdoc depending on the version of the TOOL you want to find help on)
Your school has someone with access to cadence training manuals, and cadence AE's.. find out who that person is. (chances are , if you get any good at this, you'll be able to take on that TA position next school year -- unless the line for this position is long. )
Good luck
|