Spinroot

A forum for Spin users

You are not logged in.

#1 Re: General » New output of Spin option -M » 2019-05-11 16:33:17

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

#2 General » New output of Spin option -M » 2019-04-30 16:25:41

salcaraz
Replies: 2

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

#3 General » State-vector structure » 2017-06-15 11:14:18

salcaraz
Replies: 1

Hi,

Is it possible to visualize the structure of the model state-vector?

Thanks

/salva

#4 Re: General » generate random initiation value for the variables » 2017-05-11 16:53:55

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

#6 Re: General » Verifier error "pan:1: VECTORSZ is too small, edit pan.h (at depth 0)" » 2017-05-10 09:22:01

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.

#7 General » Verifier error "pan:1: VECTORSZ is too small, edit pan.h (at depth 0)" » 2017-05-10 08:51:58

salcaraz
Replies: 3

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

Board footer

Powered by FluxBB