I believe the IRSIM commands supported in the .cmd Stimuli file by
Electric's IRSIM plugin are:
*|* a comment in the command file
*!* command to print gate info
*?* command to print source/drain info
*activity*
*alias*
*ana*
*assert* command to test signal value
*assertWhen*
*back*
*c* command to run a clock cycle
*changes*
*clock* command to declare stimuli
*debug*
*decay*
*h* command to set signal high
*inputs*
*l* command to sent signal low
*model*
*p*
*path*
*print*
*printx**
**R**
**report*
*s *command to advance time
*set* command to change vector values
*stats*
*stepsize* command to set time advance
*stop*
*t *command to trace
*tcap**
**u**
**unitdelay**
**until**
**V*
*vector* command to group signals
*x* command to set signal undefined
Those are what I see in the IRSIM source code of Analyzer.java for
Electric 9.07:
http://svn.savannah.gnu.org/viewvc/electric/tags/electric-9.07/electric/electric-java/com/sun/electric/plugins/irsim/Analyzer.java?revision=102&view=markup
On 2/7/2018 8:21 AM, Andrea Bettati wrote:
Hi to you all,
I need to simulate arithmetic circuits for a project, therefore I need
a fast way to iterate different inputs in a "for-loop" fashion.
Looking at IRSIM docs
<http://opencircuitdesign.com/irsim/tutorial/tutorial.html#Schedule> I
found this command
for {set i 0} {$i < 8} {incr i} {setvector in 0d$i ; s}
Which should be perfect.
The problem is, running this shor .cmd file for a 2 inputs AND gate:
| Simulate AND2
| Set stepsize (default is 10ns)
stepsize 50
| Nodes to be watched
w A B AandB
| Nodes to be displayed (d = all)
d
ana in
| Group nodes together
vector in A B
| Force initial value to logic 0
1 A B
| Simulate for in 00 -> 01 -> 10 -> 11
for {set i 0} {$i < 3} {incr i} {set in 0d$i ; s}
All I got is this message prompt by th error window
*IRSIM, version 9.5j*
Loading netlist for AND2{lay}...
Warning: contact Metal-1-P-Active-Con['contact@2'] has more than 2
connections, RC estimation may be wrong
Warning: Aliasing nodes 'gnd' and 'Gnd'
Warning: Aliasing nodes 'vdd' and 'Vdd'
7 nodes, 3 n-channel transistors, 3 p-channel transistors
=================================3=================================
Reading /home/~/IRSIMsim/and2.cmd
Unknown command: w
Unknown command: d
Unknown command: 1
Unknown command: for
IRSIM is at v.9.5j and I downloaded the latest Static Free Software
extras <http://www.staticfreesoft.com/productsFree.html>
What are the commands supported by the IRSIM "Electric VLSI edition"?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Electric
VLSI Editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.