Article View: comp.lsi
Article #656syntax for literals in nutmeg
From: Robert Daasch
Date: Tue, 11 Jun 1991 01:22
Date: Tue, 11 Jun 1991 01:22
30 lines
1164 bytes
1164 bytes
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.
Technical Details
Message-ID:
<2848@pdxgate.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!wuarchive!uunet!ogicse!pdxgate!eecs.cs.pdx.edu!daaschShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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