[11] | 1 | .model elevator |
---|
| 2 | .inputs init<0>0 init<1>0 location<0>0 location<1>0 buttons<*0*>0 \ |
---|
| 3 | buttons<*1*>0 buttons<*2*>0 stop_next0 direction0 door0 door1 movement0 \ |
---|
| 4 | open_next0 continue0 [0]0 [1]0 [2]0 [3]0 [4]0 |
---|
| 5 | .outputs open_next$raw_n160 location$raw_n17<0>0 location$raw_n17<1>0 \ |
---|
| 6 | direction$raw_n180 door$raw_n190 door$raw_n191 movement$raw_n1a0 \ |
---|
| 7 | buttons$raw_n1b<*0*>0 buttons$raw_n1b<*1*>0 buttons$raw_n1b<*2*>0 \ |
---|
| 8 | buttons$raw_n2d<*0*>0 buttons$raw_n2d<*1*>0 buttons$raw_n2d<*2*>0 \ |
---|
| 9 | buttons$raw_n3f<*0*>0 buttons$raw_n3f<*1*>0 buttons$raw_n3f<*2*>0 _n2450 \ |
---|
| 10 | _n25c<*0*>0 _n25c<*1*>0 _n25c<*2*>0 _n29d0 _n29d1 _n2b4<0>0 _n2b4<1>0 _n2b60 \ |
---|
| 11 | _n2cd0 dec0 inc0 |
---|
| 12 | .names open_next$raw_n160 |
---|
| 13 | .names direction$raw_n180 |
---|
| 14 | .names door$raw_n190 |
---|
| 15 | .names door$raw_n191 |
---|
| 16 | .names movement$raw_n1a0 |
---|
| 17 | .names buttons$raw_n1b<*0*>0 |
---|
| 18 | 1 |
---|
| 19 | .names buttons$raw_n1b<*1*>0 |
---|
| 20 | .names buttons$raw_n1b<*2*>0 |
---|
| 21 | .names buttons$raw_n2d<*0*>0 |
---|
| 22 | .names buttons$raw_n2d<*1*>0 |
---|
| 23 | 1 |
---|
| 24 | .names buttons$raw_n2d<*2*>0 |
---|
| 25 | .names buttons$raw_n3f<*0*>0 |
---|
| 26 | .names buttons$raw_n3f<*1*>0 |
---|
| 27 | .names buttons$raw_n3f<*2*>0 |
---|
| 28 | 1 |
---|
| 29 | .names buttons<*0*>0 buttons<*1*>0 buttons<*2*>0 direction0 door0 door1 \ |
---|
| 30 | movement0 open_next0 continue0 _n2b60 [4]0 inc0 dec0 _n2450 |
---|
| 31 | ----1-1------ 1 |
---|
| 32 | -----01------ 1 |
---|
| 33 | ------1---0-- 1 |
---|
| 34 | ----01001---- 1 |
---|
| 35 | -0-001-0-0-0- 1 |
---|
| 36 | --0001-0-0-0- 1 |
---|
| 37 | 0--101-0-1--0 1 |
---|
| 38 | -0-101-0-1--0 1 |
---|
| 39 | .names location<0>0 location<1>0 buttons<*0*>0 stop_next0 direction0 [0]0 \ |
---|
| 40 | _n25c<*0*>0 |
---|
| 41 | 00---- 1 |
---|
| 42 | 0-1--0 1 |
---|
| 43 | --10-0 1 |
---|
| 44 | -11-10 1 |
---|
| 45 | -01-00 1 |
---|
| 46 | .names location<0>0 location<1>0 buttons<*1*>0 stop_next0 direction0 [1]0 \ |
---|
| 47 | _n25c<*1*>0 |
---|
| 48 | 10---- 1 |
---|
| 49 | 1-1--0 1 |
---|
| 50 | --10-0 1 |
---|
| 51 | -01-10 1 |
---|
| 52 | -11-00 1 |
---|
| 53 | .names location<0>0 location<1>0 buttons<*2*>0 stop_next0 direction0 [2]0 \ |
---|
| 54 | _n25c<*2*>0 |
---|
| 55 | 01---- 1 |
---|
| 56 | 0-1--0 1 |
---|
| 57 | --10-0 1 |
---|
| 58 | -01-10 1 |
---|
| 59 | -11-00 1 |
---|
| 60 | .names door0 door1 _n29d1 [3]0 _n29d0 |
---|
| 61 | -01- 1 |
---|
| 62 | -10- 1 |
---|
| 63 | 1--0 1 |
---|
| 64 | .names door0 door1 movement0 open_next0 [3]0 _n29d1 |
---|
| 65 | 11--- 1 |
---|
| 66 | -11-- 1 |
---|
| 67 | -1-0- 1 |
---|
| 68 | 00--1 1 |
---|
| 69 | .names location<0>0 door0 door1 movement0 [4]0 inc0 dec0 _n2b4<0>0 |
---|
| 70 | 11----- 1 |
---|
| 71 | 1-0---- 1 |
---|
| 72 | 1----00 1 |
---|
| 73 | 00111-- 1 |
---|
| 74 | .names location<0>0 location<1>0 door0 door1 inc0 dec0 _n2b4<1>0 |
---|
| 75 | -11--- 1 |
---|
| 76 | -1-0-- 1 |
---|
| 77 | 11--0- 1 |
---|
| 78 | 01---0 1 |
---|
| 79 | 10011- 1 |
---|
| 80 | 0001-1 1 |
---|
| 81 | .names location<0>0 location<1>0 buttons<*0*>0 buttons<*2*>0 direction0 \ |
---|
| 82 | continue0 _n2b60 |
---|
| 83 | 01---- 1 |
---|
| 84 | 1---11 1 |
---|
| 85 | 100-1- 1 |
---|
| 86 | 11--00 1 |
---|
| 87 | 1--100 1 |
---|
| 88 | .names location<0>0 location<1>0 buttons<*0*>0 buttons<*1*>0 buttons<*2*>0 \ |
---|
| 89 | stop_next0 direction0 door0 door1 movement0 open_next0 _n2cd0 |
---|
| 90 | -------01-1 1 |
---|
| 91 | -----1-011- 1 |
---|
| 92 | 0--0---011- 1 |
---|
| 93 | 00----1011- 1 |
---|
| 94 | -00---1011- 1 |
---|
| 95 | 01----0011- 1 |
---|
| 96 | -10---0011- 1 |
---|
| 97 | 11--0-1011- 1 |
---|
| 98 | 10--0-0011- 1 |
---|
| 99 | .names direction0 movement0 [4]0 inc0 |
---|
| 100 | 011 1 |
---|
| 101 | .names direction0 movement0 [4]0 dec0 |
---|
| 102 | 111 1 |
---|
| 103 | .names init<0>0 location$raw_n17<0>0 |
---|
| 104 | 1 1 |
---|
| 105 | .names init<1>0 location$raw_n17<1>0 |
---|
| 106 | 1 1 |
---|
| 107 | .end |
---|