Using deNewCellView would open an interactive window - if that's what you want, then you need to use "text.veriloga" as the viewType: deNewCellView("opamp090" "testva2" "veriloga" "text.veriloga") If you want to batch create the view, you could use the code in my article: How to create a text cellview using SKILL and then: tcv=CCSopenTextCellView("opamp090" "testva3" "veriloga" "a" "text.veriloga") fprintf(tcv->port "`include \"constants.vams\"\n") fprintf(tcv->port "`include \"disciplines.vams\"\n") fprintf(tcv->port "module testva3(a,b);\n") fprintf(tcv->port "endmodule\n") CCScloseTextCellView(tcv) ; check the cellView and create the OA shadow database vmsUpdateCellViews(?lib "opamp090" ?cell "testva3" ?view "veriloga") Andrew
↧