Xref: utzoo comp.lsi:1513 comp.lsi.cad:1009 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!wuarchive!uunet!ogicse!pdxgate!eecs.cs.pdx.edu!daasch From: daasch@eecs.cs.pdx.edu (Robert Daasch) Newsgroups: comp.lsi,comp.lsi.cad Subject: syntax for literals in nutmeg Message-ID: <2848@pdxgate.UUCP> Date: 11 Jun 91 01:22:13 GMT Article-I.D.: pdxgate.2848 Sender: news@pdxgate.UUCP Reply-To: daasch@eecs.cs.pdx.edu (Robert Daasch) Distribution: usa Organization: Portland State University, Portland, OR Lines: 30 Simple question: When running nutmeg as a postprocessor for SPICE3, how do I enter a vector of literals? The nutmeg man page says it is, let a = [literal1 literal2...] Here is what I get on a SPARC, no apparent troubles during the build, doing this; Spice 159 ->let a = [5 4 3 2 1] Syntax Error. or this, Spice 160 ->let a = [5, 4, 3, 2, 1] Syntax Error. Escaping the ']' yields, Spice 161 ->let a = "[5, 4, 3, 2, 1]" Error: [5, 4, 3, 2, 1]: no such vector. Simple question #2: In nutmeg, can you specify a vector element, e.g. x[3], on the left hand side of an assignment ('let')? Regards, Rob D.