I am trying to add a VPWL source through a stimuli file rather than adding thorugh graphical interface in Analog Design Environment....It shows error with "" brackets telling me tht "[" should be followed bt # symbol. ..Actually I am trying to add a time/voltage pairs through wave=[...] in vsource and type=pwl option....and when I change them to () from  the file read in goes correctly but the spectre simulator while circuit read-in says syntax error. Can somebody throw some suggestion for me to do this without errors.My cadence version is IC5.1
Can you put in the exact error message from spectre? Without that I cannot be sure what the issue is.
Here's a guess though: put the escape character before the [
For example, change this:
_vin (in 0) vsource wave=[ 0 0 1u 2 ] type=pwl
_vin (in 0) vsource wave=\[ 0 0 1u 2 ] type=pwl
Here is a typical syntax for a vpwl
V4 (net06 net07) vsource type=pwl wave=[ 0 0.0 1 1.0 2 2.0 ]
If this fails for you, make sure to name the include file something.scs (the scs suffix is key). Otherwise you need to add the following header to the include file:
Hi EricCDN,Thank You for your suggestion. It works with your given modification with "\". I think the conversion tool provided with Cadence does not include that "\" while converting from SPICE to Spectre stimulus files. That might be creating problem. Thnaks all for your suggestions again.