It is same as the image.
↧
Forum Post: RE: Direct Plot then Transient Signal stop updating after some time
↧
Forum Post: quotation mark replacement with pcreReplace?
Hi, I am trying to get outputs from ocean using outputs() function into a list from a post layout simulation(netlist is dspf file). The format of outputs() is sth like this: /VCO/VCO_CORE/CAPBANK[0]/MMN0:G To be able to plot these with ocean, I need to convert them to below format: v("VCO.VCO_CORE\\/CAPBANK\\[0\\]\\/MMN0\\:G) In other words, I need to use double escape character before "/ [ ] : " characters. We can assume VCO section is common for all saved nets so /VCO/ => VCO. is not much an issue. Also I was able to change [ ] : and / with pcreCompile and pcreReplace but I couldn't figure out how to add quotation mark after v( To add double backslach before : [ ]/ , I have below comPat2 = pcreCompile("[:/\\[\\]]") pcreReplace(comPat1 "/VCO/VCO_CORE/CAPBANK[0]/MMN0:G" "\\\\&" 0) The question is how I can replace quotation mark in pcreReplace such that /VCO/ becomes v("VCO? Thanks yayla Version Info: ICADV12.3 64b 500.21 spectre -W => Tool 'cadenceMMSIM' Current project version '16.10.479' sub-version 16.1.0.479.isr9
↧
↧
Forum Post: RE: quotation mark replacement with pcreReplace?
I am putting the sample of code I am trying to fix. As mentioned earlier, this script is supposed to get saved nets from outputs() function, post-process with pcre and plot it. sigList_raw = outputs() ; Compile patterns comPatSpecial = pcreCompile("[:/\\[\\]]") comPatTop = pcreCompile("/VCO/(.*)") sigList = list(nil) foreach(sg sigList_raw pcreExecute(comPatTop sg) sigNet = pcreSubstitute("v(\\\"VCO\\.\\1\\\")") ;Add escapes for special characters sigNet = pcreReplace(comPatSpecial sigNet "\\\\&" 0) plot(sigNet) ); foreach sigList Example input: /VCO/VCO_CORE/CAPBANK[0]/MMN0:G Expected output: v("VCO.VCO_CORE\\/CAPBANK\\[0\\]\\/MMN0\\:G") and plot the waveform. Current issue with this script is that final signal names are strings as below and when I use evalstring, it gives below error message: "v(\"VCO.VCO_CORE\\/CAPBANK\\[0\\]\\/MMN0\\:G\")" Error message: *Error* evalstring: argument #1 should be a string (type template = "ts") Thanks yayla
↧
Forum Post: RE: problem creating symbol of netlist subcircuit
Dear yefj, Did you follow all of the instructions at the Sourcelink article at URL: https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXEGEA2&pageName=ArticleContent&oMenu=People%20who%20viewed%20this%20also%20viewed I have used these instructions to import netlists and they have worked well for me. Shawn
↧
Forum Post: moveOrigin does not work
I've tried making the origin of the rectangle stretchable by giving 't' to ?moveOrigin in the function rodAssignHandleToParameter but I failed. I succeeded in creating the rectangle and making it stretchable but I can not move the origin of the rectangle. Can anyone tell me why? Here is my code: pcDefinePcell( list(ddGetObj( "test_lib") "test_pcell" "layout") (Metal_W 0.23) (Metal_L 0.6) (Met1 "METAL1") let(() Metal=rodCreateRect( ?layer Met1 ?width Metal_W ?length Metal_L ) rodAssignHandleToParameter( ?Parameter "Metal_L" ?rodObj Metal ?handleName list("upperCenter" "lowerCenter") ?displayName "Metal_L" ?stretchDir "y" ?stretchType "relative" ?moveOrigin t ?updateIncrement 0.005 ) ) ) Regards John
↧
↧
Forum Post: trying to convert xilinx ibis file into dml. which tool should i use?
https://github.com/chaujohnthan/zcu104hw/blob/master/zcu106.ibs btw, why should i use SystemSI, if orcad and allegro flow does support SI analysis?
↧
Forum Post: Orcad pin ignore missing in latest version.
In previous versions you could generate ,for example , an op amp with 4 sections. Each section had the same power and ground pins. They you could go into the pins spreadsheet and select pins you wanted ignored(not displayed in the schematic), That way you only had power and ground showing on one section. With this never version of the symbol editor I cannot figure out how to do that ? Any ideas.
↧
Forum Post: can orcad tcl script handle things like changing symbols in libraries?
https://github.com/chaujohnthan/zcu104hw/blob/master/HPQFN_19_A.png i have lots of this stuff. converted from DxD. i want to delete the duplicated labels. the lighter blue ones.
↧
Forum Post: RE: problem creating symbol of netlist subcircuit
OK, a few things are wrong here: I'm not sure why you created a schematic from the hspiceText view, because this will just contain the pins. The schematic creation using create cellView from cellView only creates an empty schematic other than the pins. I'm sure you didn't really mean to do this. When the schematic view is created using create cellView from cellView, it is saved, but not check-and-saved. That's why you are getting the net listing error (the error would go away if you did a check-and-save of the schematic with the three pins, but you'd then not get a sensible simulation because you'd just be simulating an empty schematic!) So what you really want to do is add the text view into the switch view list in Setup->Environment. However, hspiceText views are not supported with spectre as the simulator - they netlist, but there's no inclusion of the resulting netlist (not sure why this is the case - it's probably an oversight - although perhaps it's only designed to work with hspice). So instead, create a "spice" text view (default name "spiceText") and paste in the same model text that you had. Then add spiceText into the switch view list on Setup->Environment (near the beginning - certainly before any schematic view). If you then simulate, it will netlist and include this view, but fail because of the line: .MODEL RTEMP RES (TC1=9E-3 TC2=5.5E-6) Change the "RES" to "R" in that line in the spiceText view and all will be OK Regards, Andrew.
↧
↧
Forum Post: RE: quotation mark replacement with pcreReplace?
In theory you should just be able to use the name from outputs() directly, but I think in this case the name is confusing the mapping code. So I suggest that instead you do: sigList=outputs(?map nil) foreach(sg sigList plot(v(sg)) ) This will be much simpler - you're over-complicating the problem. I wouldn't use evalstring anyway, I'd use a pattern substitution and then pass the result to the v() function; however, the approach of getting the unmapped names (with ?map nil) is even simpler and avoids having to do all the substitution. Regards, Andrew.
↧
Forum Post: RE: Direct Plot then Transient Signal stop updating after some time
Well, given the fact that you are using an old and unsupported version (I don't know what version fo the simulator you're using too), I suggest you try just switching to "psf" in this case to see if that fixes it. Andrew.
↧
Forum Post: RE: Simulation crashed - Killed by user
Maybe you have CPU time limits in your environment? If you're using a queuing system (like LSF) you might need to check the queue setups - if simulating directly, see what the "limit cputime" command says (if using csh), or "ulimit -t" says if using bash/ksh. Andrew.
↧
Forum Post: RE: moveOrigin does not work
Hi John, Other than a few typos in the code above (I assume you can't have cut-and-paste it into the forum, because it doesn't work as-is), it works OK. If you have ?moveOrigin nil, then stretching the bottom stretch handle causes the top edge to move up or down, rather than the bottom edge moving up or down. If it is t, then the bottom edge correctly moves (in essence the origin of the shape changes. Perhaps you've misunderstood what it's supposed to do? Try setting ?moveOrigin nil and observe the difference in behaviour... Regards, Andrew.
↧
↧
Forum Post: RE: skill script return wrong value for floating-point data, failed at if condition statement
The SKILL "interpreter" (it's compiled, so isn't really an interpreter) hasn't changed. It's always been wise to make sure calculator functions can handle family data - and I don't believe anything changed in ADE (you didn't say how you're calling it) in the specific version you mention. Anyway, as I said, I'm not going to duplicate the efforts of my colleagues in customer support (I don't have the bandwidth to do that anyway, and it's not fair on whoever else is working on it if we double up our work). Andrew.
↧
Forum Post: RE: hiCreateReportField... passing arguments to its callback
It's not entirely clear what you're trying to do, but I suspect you just want to update the contents of the report field? If so, alternating the ->choices list would do it: choices=abExampleTabForm->tabField->page3->tabInfo3->choices abExampleTabForm->tabField->page3->tabInfo3->choices=cons(list("met1" "metal1" "drawing" "high" 1.0 2.0) choices) Andrew.
↧
Forum Post: RE: Orcad pin ignore missing in latest version.
I found it but it does not allow setting of 1 pin to ignore. You have to set the pin on each section to ignore in order for it to work. The new version seems like its a step back and not forward.
↧
Forum Post: RE: Orcad pin ignore missing in latest version.
Ok. it looks like the new symbol editor has some functions that do not work correctly. Below is how I was able to get this to work correctly 1. If you set a power pin - pin ignore to yes on one section and press apply it changes all sections. Should one change that section. 2. Once a power pin - pin ignore is set to yes (all sections are yes) and then set one of those to no , selecting apply all stay at yes. Have to set all to no to get no to work. 3. although the pins correctly reflect the the state of pin ignore when exit the symbol editor they are not displayed correctly in the symbol editor. 3. If you select an individual power pin and then edit just that pin the pin ignore works correctly, And is displayed correct when you exit the symbol editor. IF you select Edit pins (for all sections) the edit pin does not display the correct state of the sections ignore pin we just changed. 4. The manual for this section is very vague.
↧
↧
Forum Post: RE: problem creating symbol of netlist subcircuit
Hello Andrew , i was looking in hspice text editor, schematics, library manager . ,where is the "setup" tab located? so i could do the switch. Thanks [quote userid="4936" url="~/cadence_technology_forums/f/rf-design/41729/problem-creating-symbol-of-netlist-subcircuit/1360687#1360687"]Setup->Environment (near the beginning - certainly before any schematic view).[/quote]
↧
Forum Post: RE: I need to know about the traces with details!!!
thanks for ur reply!!!
↧
Forum Post: RE: Cannot add dummy net on No Connection pin
Hi, I did it. But still it is not getting connected. I am sharing the screen shot below for your reference. .
↧