A forum for Spin users
You are not logged in.
Pages: 1
Hi,
you can convert the .tcl into .ps, adding the line below at the end of the .tcl file, and re-run the file with 'wish':
.c postscript -file "myfile.ps"
and you can play with -x -y -heigth and -width parameters if you want to adjust your image.
saludos
-s
Hi everyone.
Before the last version, the -M option was to generate a MSC-flow in postscript format. With the last version, this option generates a MSC-flow in TCL/TK format.
Sorry, but I would like to use this MSC in postscript format (PS or EPS).
Could you tell me a tool or procedure to convert TCL/TK into PS/EPS format, please?
Thank you in advance.
/salva
Hi,
Is it possible to visualize the structure of the model state-vector?
Thanks
/salva
Following with this question....
From the code below:
----------------------------------
active proctype P () {
byte i,v;
for (i : 0 .. 20) {
select (v : 50..100); printf("v(%d)=%d\n",i,v)
}
}
----------------------------------------
and the output:
$ spin p.pml
v(0)=51
v(1)=51
v(2)=50
v(3)=53
v(4)=51
v(5)=50
v(6)=50
v(7)=50
v(8)=51
v(9)=50
v(10)=50
v(11)=55
v(12)=51
v(13)=50
v(14)=50
v(15)=50
v(16)=50
v(17)=52
v(18)=51
v(19)=50
v(20)=51
1 process created
The cuestion is: is correct the behaviour above, because it seems 'a little bit' non-deterministic??
Thank you in advance.
/salva
ok, this is the solution:
cc -DVECTORSZ=2048 -o pan pan.c
![]()
I have founded the following message about my error message:
https://spinroot.com/fluxbb/viewtopic.php?id=115
I'm going to translate this solution to my model.
Thanks.
Hi everybody:
In my model, the simulation is running correctly, but the verifier doesn't run and shows the following message:
pan:1: VECTORSZ is too small, edit pan.h (at depth 0)
What is the origin of the problem?
regards.
-salva
Pages: 1