Assume that I have a circuit with 4 transistors (with mismatch enabled) and therefore 4 digital inputs, and 1 digital output. I want to run transient simulation multiple times with Monte-Carlo mismatch (same MC run each time for same mismatch profile of the 4 transistors), for different inputs. The inputs are voltage sources which should have random values either VDD or GND for every transient run. I got to know of two ways to do this: 1) provide an input vector file in ADEXL where I specify input bit-streams for each transient run or 2) write ocean script. Which way would be better? Or if there is any other easier/faster way to accomplish this please let me know. A quick question: is there a command like randint() that I can enter in the global variable section to generate a random number for each transient run? Thank you.
↧