[28] | 1 | # vl2mv simple.v |
---|
| 2 | # version: 2.1 |
---|
[31] | 3 | # date: 16:16:51 12/06/2011 (CET) |
---|
[28] | 4 | .model concret |
---|
| 5 | # I/O ports |
---|
| 6 | .inputs i |
---|
| 7 | # p = 0 |
---|
| 8 | .names p$raw_n0 |
---|
| 9 | 0 |
---|
| 10 | # q = 0 |
---|
| 11 | .names q$raw_n1 |
---|
| 12 | 0 |
---|
| 13 | # state [1 : 0] = 0 |
---|
| 14 | .names state$raw_n2<0> |
---|
| 15 | 0 |
---|
| 16 | .names state$raw_n2<1> |
---|
| 17 | 0 |
---|
| 18 | # non-blocking assignments for initial |
---|
| 19 | .names _n5<0> |
---|
| 20 | 0 |
---|
| 21 | .names _n5<1> |
---|
| 22 | 0 |
---|
| 23 | .names state<0> _n5<0> _n6<0> |
---|
| 24 | .def 0 |
---|
| 25 | 0 1 1 |
---|
| 26 | 1 0 1 |
---|
| 27 | .names state<1> _n5<1> _n6<1> |
---|
| 28 | .def 0 |
---|
| 29 | 0 1 1 |
---|
| 30 | 1 0 1 |
---|
| 31 | .names _n6<0> _n6<1> _n7 |
---|
| 32 | .def 1 |
---|
| 33 | 0 0 0 |
---|
| 34 | .names _n7 _n4 |
---|
| 35 | 0 1 |
---|
| 36 | 1 0 |
---|
| 37 | .names _n4 _n3 |
---|
| 38 | .def 1 |
---|
| 39 | 0 0 |
---|
| 40 | .names _n9 |
---|
| 41 | 1 |
---|
| 42 | # i == 1 |
---|
| 43 | .names i _n9 _na |
---|
| 44 | .def 0 |
---|
| 45 | 0 1 1 |
---|
| 46 | 1 0 1 |
---|
| 47 | .names _na _n8 |
---|
| 48 | 0 1 |
---|
| 49 | 1 0 |
---|
| 50 | .names _n8 _nc |
---|
| 51 | - =_n8 |
---|
| 52 | # state [1 : 0] = 1 |
---|
| 53 | .names state$_n8_nd$true<0> |
---|
| 54 | 1 |
---|
| 55 | .names state$_n8_nd$true<1> |
---|
| 56 | 0 |
---|
| 57 | # p = 0 |
---|
| 58 | .names p$_n8_ne$true |
---|
| 59 | 0 |
---|
| 60 | # q = 1 |
---|
| 61 | .names q$_n8_nf$true |
---|
| 62 | 1 |
---|
| 63 | # state [1 : 0] = 2 |
---|
| 64 | .names state$_n8_n10$false<0> |
---|
| 65 | 0 |
---|
| 66 | .names state$_n8_n10$false<1> |
---|
| 67 | 1 |
---|
| 68 | # p = 1 |
---|
| 69 | .names p$_n8_n11$false |
---|
| 70 | 1 |
---|
| 71 | # q = 0 |
---|
| 72 | .names q$_n8_n12$false |
---|
| 73 | 0 |
---|
| 74 | # if/else (i == 1) |
---|
| 75 | .names _n8 p$_n8_ne$true p$_n8_n11$false p$_n8$raw_n16 |
---|
| 76 | .def 0 |
---|
| 77 | 1 1 - 1 |
---|
| 78 | 0 - 1 1 |
---|
| 79 | .names _n8 q$_n8_nf$true q$_n8_n12$false q$_n8$raw_n18 |
---|
| 80 | .def 0 |
---|
| 81 | 1 1 - 1 |
---|
| 82 | 0 - 1 1 |
---|
| 83 | .names _n8 state$_n8_nd$true<0> state$_n8_n10$false<0> state$_n8$raw_n1a<0> |
---|
| 84 | .def 0 |
---|
| 85 | 1 1 - 1 |
---|
| 86 | 0 - 1 1 |
---|
| 87 | .names _n8 state$_n8_nd$true<1> state$_n8_n10$false<1> state$_n8$raw_n1a<1> |
---|
| 88 | .def 0 |
---|
| 89 | 1 1 - 1 |
---|
| 90 | 0 - 1 1 |
---|
| 91 | .names _n25<0> |
---|
| 92 | 1 |
---|
| 93 | .names _n25<1> |
---|
| 94 | 0 |
---|
| 95 | .names state<0> _n25<0> _n26<0> |
---|
| 96 | .def 0 |
---|
| 97 | 0 1 1 |
---|
| 98 | 1 0 1 |
---|
| 99 | .names state<1> _n25<1> _n26<1> |
---|
| 100 | .def 0 |
---|
| 101 | 0 1 1 |
---|
| 102 | 1 0 1 |
---|
| 103 | .names _n26<0> _n26<1> _n27 |
---|
| 104 | .def 1 |
---|
| 105 | 0 0 0 |
---|
| 106 | .names _n27 _n24 |
---|
| 107 | 0 1 |
---|
| 108 | 1 0 |
---|
| 109 | .names _n24 _n23 |
---|
| 110 | .def 1 |
---|
| 111 | 0 0 |
---|
| 112 | .names _n29 |
---|
| 113 | 1 |
---|
| 114 | # i == 1 |
---|
| 115 | .names i _n29 _n2a |
---|
| 116 | .def 0 |
---|
| 117 | 0 1 1 |
---|
| 118 | 1 0 1 |
---|
| 119 | .names _n2a _n28 |
---|
| 120 | 0 1 |
---|
| 121 | 1 0 |
---|
| 122 | .names _n28 _n2c |
---|
| 123 | - =_n28 |
---|
| 124 | # state [1 : 0] = 1 |
---|
| 125 | .names state$_n28_n2d$true<0> |
---|
| 126 | 1 |
---|
| 127 | .names state$_n28_n2d$true<1> |
---|
| 128 | 0 |
---|
| 129 | # p = 0 |
---|
| 130 | .names p$_n28_n2e$true |
---|
| 131 | 0 |
---|
| 132 | # q = 1 |
---|
| 133 | .names q$_n28_n2f$true |
---|
| 134 | 1 |
---|
| 135 | # state [1 : 0] = 3 |
---|
| 136 | .names state$_n28_n30$false<0> |
---|
| 137 | 1 |
---|
| 138 | .names state$_n28_n30$false<1> |
---|
| 139 | 1 |
---|
| 140 | # p = 1 |
---|
| 141 | .names p$_n28_n31$false |
---|
| 142 | 1 |
---|
| 143 | # q = 1 |
---|
| 144 | .names q$_n28_n32$false |
---|
| 145 | 1 |
---|
| 146 | # if/else (i == 1) |
---|
| 147 | .names _n28 p$_n28_n2e$true p$_n28_n31$false p$_n28$raw_n36 |
---|
| 148 | .def 0 |
---|
| 149 | 1 1 - 1 |
---|
| 150 | 0 - 1 1 |
---|
| 151 | .names _n28 q$_n28_n2f$true q$_n28_n32$false q$_n28$raw_n38 |
---|
| 152 | .def 0 |
---|
| 153 | 1 1 - 1 |
---|
| 154 | 0 - 1 1 |
---|
| 155 | .names _n28 state$_n28_n2d$true<0> state$_n28_n30$false<0> state$_n28$raw_n3a<0> |
---|
| 156 | .def 0 |
---|
| 157 | 1 1 - 1 |
---|
| 158 | 0 - 1 1 |
---|
| 159 | .names _n28 state$_n28_n2d$true<1> state$_n28_n30$false<1> state$_n28$raw_n3a<1> |
---|
| 160 | .def 0 |
---|
| 161 | 1 1 - 1 |
---|
| 162 | 0 - 1 1 |
---|
| 163 | .names _n45<0> |
---|
| 164 | 0 |
---|
| 165 | .names _n45<1> |
---|
| 166 | 1 |
---|
| 167 | .names state<0> _n45<0> _n46<0> |
---|
| 168 | .def 0 |
---|
| 169 | 0 1 1 |
---|
| 170 | 1 0 1 |
---|
| 171 | .names state<1> _n45<1> _n46<1> |
---|
| 172 | .def 0 |
---|
| 173 | 0 1 1 |
---|
| 174 | 1 0 1 |
---|
| 175 | .names _n46<0> _n46<1> _n47 |
---|
| 176 | .def 1 |
---|
| 177 | 0 0 0 |
---|
| 178 | .names _n47 _n44 |
---|
| 179 | 0 1 |
---|
| 180 | 1 0 |
---|
| 181 | .names _n44 _n43 |
---|
| 182 | .def 1 |
---|
| 183 | 0 0 |
---|
| 184 | .names _n49 |
---|
| 185 | 1 |
---|
| 186 | # i == 1 |
---|
| 187 | .names i _n49 _n4a |
---|
| 188 | .def 0 |
---|
| 189 | 0 1 1 |
---|
| 190 | 1 0 1 |
---|
| 191 | .names _n4a _n48 |
---|
| 192 | 0 1 |
---|
| 193 | 1 0 |
---|
| 194 | .names _n48 _n4c |
---|
| 195 | - =_n48 |
---|
| 196 | # state [1 : 0] = 2 |
---|
| 197 | .names state$_n48_n4d$true<0> |
---|
| 198 | 0 |
---|
| 199 | .names state$_n48_n4d$true<1> |
---|
| 200 | 1 |
---|
| 201 | # p = 1 |
---|
| 202 | .names p$_n48_n4e$true |
---|
| 203 | 1 |
---|
| 204 | # q = 0 |
---|
| 205 | .names q$_n48_n4f$true |
---|
| 206 | 0 |
---|
| 207 | # state [1 : 0] = 3 |
---|
| 208 | .names state$_n48_n50$false<0> |
---|
| 209 | 1 |
---|
| 210 | .names state$_n48_n50$false<1> |
---|
| 211 | 1 |
---|
| 212 | # p = 1 |
---|
| 213 | .names p$_n48_n51$false |
---|
| 214 | 1 |
---|
| 215 | # q = 1 |
---|
| 216 | .names q$_n48_n52$false |
---|
| 217 | 1 |
---|
| 218 | # if/else (i == 1) |
---|
| 219 | .names _n48 p$_n48_n4e$true p$_n48_n51$false p$_n48$raw_n56 |
---|
| 220 | .def 0 |
---|
| 221 | 1 1 - 1 |
---|
| 222 | 0 - 1 1 |
---|
| 223 | .names _n48 q$_n48_n4f$true q$_n48_n52$false q$_n48$raw_n58 |
---|
| 224 | .def 0 |
---|
| 225 | 1 1 - 1 |
---|
| 226 | 0 - 1 1 |
---|
| 227 | .names _n48 state$_n48_n4d$true<0> state$_n48_n50$false<0> state$_n48$raw_n5a<0> |
---|
| 228 | .def 0 |
---|
| 229 | 1 1 - 1 |
---|
| 230 | 0 - 1 1 |
---|
| 231 | .names _n48 state$_n48_n4d$true<1> state$_n48_n50$false<1> state$_n48$raw_n5a<1> |
---|
| 232 | .def 0 |
---|
| 233 | 1 1 - 1 |
---|
| 234 | 0 - 1 1 |
---|
| 235 | .names _n65<0> |
---|
| 236 | 1 |
---|
| 237 | .names _n65<1> |
---|
| 238 | 1 |
---|
| 239 | .names state<0> _n65<0> _n66<0> |
---|
| 240 | .def 0 |
---|
| 241 | 0 1 1 |
---|
| 242 | 1 0 1 |
---|
| 243 | .names state<1> _n65<1> _n66<1> |
---|
| 244 | .def 0 |
---|
| 245 | 0 1 1 |
---|
| 246 | 1 0 1 |
---|
| 247 | .names _n66<0> _n66<1> _n67 |
---|
| 248 | .def 1 |
---|
| 249 | 0 0 0 |
---|
| 250 | .names _n67 _n64 |
---|
| 251 | 0 1 |
---|
| 252 | 1 0 |
---|
| 253 | .names _n64 _n63 |
---|
| 254 | .def 1 |
---|
| 255 | 0 0 |
---|
| 256 | .names _n69 |
---|
| 257 | 1 |
---|
| 258 | # i == 1 |
---|
| 259 | .names i _n69 _n6a |
---|
| 260 | .def 0 |
---|
| 261 | 0 1 1 |
---|
| 262 | 1 0 1 |
---|
| 263 | .names _n6a _n68 |
---|
| 264 | 0 1 |
---|
| 265 | 1 0 |
---|
| 266 | .names _n68 _n6c |
---|
| 267 | - =_n68 |
---|
| 268 | # state [1 : 0] = 2 |
---|
| 269 | .names state$_n68_n6d$true<0> |
---|
| 270 | 0 |
---|
| 271 | .names state$_n68_n6d$true<1> |
---|
| 272 | 1 |
---|
| 273 | # p = 1 |
---|
| 274 | .names p$_n68_n6e$true |
---|
| 275 | 1 |
---|
| 276 | # q = 0 |
---|
| 277 | .names q$_n68_n6f$true |
---|
| 278 | 0 |
---|
| 279 | # state [1 : 0] = 3 |
---|
| 280 | .names state$_n68_n70$false<0> |
---|
| 281 | 1 |
---|
| 282 | .names state$_n68_n70$false<1> |
---|
| 283 | 1 |
---|
| 284 | # p = 1 |
---|
| 285 | .names p$_n68_n71$false |
---|
| 286 | 1 |
---|
| 287 | # q = 1 |
---|
| 288 | .names q$_n68_n72$false |
---|
| 289 | 1 |
---|
| 290 | # if/else (i == 1) |
---|
| 291 | .names _n68 p$_n68_n6e$true p$_n68_n71$false p$_n68$raw_n76 |
---|
| 292 | .def 0 |
---|
| 293 | 1 1 - 1 |
---|
| 294 | 0 - 1 1 |
---|
| 295 | .names _n68 q$_n68_n6f$true q$_n68_n72$false q$_n68$raw_n78 |
---|
| 296 | .def 0 |
---|
| 297 | 1 1 - 1 |
---|
| 298 | 0 - 1 1 |
---|
| 299 | .names _n68 state$_n68_n6d$true<0> state$_n68_n70$false<0> state$_n68$raw_n7a<0> |
---|
| 300 | .def 0 |
---|
| 301 | 1 1 - 1 |
---|
| 302 | 0 - 1 1 |
---|
| 303 | .names _n68 state$_n68_n6d$true<1> state$_n68_n70$false<1> state$_n68$raw_n7a<1> |
---|
| 304 | .def 0 |
---|
| 305 | 1 1 - 1 |
---|
| 306 | 0 - 1 1 |
---|
| 307 | # case (state ) |
---|
| 308 | .names _n63 p$_n68$raw_n76 p p$_n63$raw_n89 |
---|
| 309 | .def 0 |
---|
| 310 | 1 1 - 1 |
---|
| 311 | 0 - 1 1 |
---|
| 312 | .names _n63 q$_n68$raw_n78 q q$_n63$raw_n8b |
---|
| 313 | .def 0 |
---|
| 314 | 1 1 - 1 |
---|
| 315 | 0 - 1 1 |
---|
| 316 | .names _n63 state$_n68$raw_n7a<0> state<0> state$_n63$raw_n8d<0> |
---|
| 317 | .def 0 |
---|
| 318 | 1 1 - 1 |
---|
| 319 | 0 - 1 1 |
---|
| 320 | .names _n63 state$_n68$raw_n7a<1> state<1> state$_n63$raw_n8d<1> |
---|
| 321 | .def 0 |
---|
| 322 | 1 1 - 1 |
---|
| 323 | 0 - 1 1 |
---|
| 324 | .names _n43 p$_n48$raw_n56 p$_n63$raw_n89 p$_n43$raw_n90 |
---|
| 325 | .def 0 |
---|
| 326 | 1 1 - 1 |
---|
| 327 | 0 - 1 1 |
---|
| 328 | .names _n43 q$_n48$raw_n58 q$_n63$raw_n8b q$_n43$raw_n92 |
---|
| 329 | .def 0 |
---|
| 330 | 1 1 - 1 |
---|
| 331 | 0 - 1 1 |
---|
| 332 | .names _n43 state$_n48$raw_n5a<0> state$_n63$raw_n8d<0> state$_n43$raw_n94<0> |
---|
| 333 | .def 0 |
---|
| 334 | 1 1 - 1 |
---|
| 335 | 0 - 1 1 |
---|
| 336 | .names _n43 state$_n48$raw_n5a<1> state$_n63$raw_n8d<1> state$_n43$raw_n94<1> |
---|
| 337 | .def 0 |
---|
| 338 | 1 1 - 1 |
---|
| 339 | 0 - 1 1 |
---|
| 340 | .names _n23 p$_n28$raw_n36 p$_n43$raw_n90 p$_n23$raw_na0 |
---|
| 341 | .def 0 |
---|
| 342 | 1 1 - 1 |
---|
| 343 | 0 - 1 1 |
---|
| 344 | .names _n23 q$_n28$raw_n38 q$_n43$raw_n92 q$_n23$raw_na2 |
---|
| 345 | .def 0 |
---|
| 346 | 1 1 - 1 |
---|
| 347 | 0 - 1 1 |
---|
| 348 | .names _n23 state$_n28$raw_n3a<0> state$_n43$raw_n94<0> state$_n23$raw_na4<0> |
---|
| 349 | .def 0 |
---|
| 350 | 1 1 - 1 |
---|
| 351 | 0 - 1 1 |
---|
| 352 | .names _n23 state$_n28$raw_n3a<1> state$_n43$raw_n94<1> state$_n23$raw_na4<1> |
---|
| 353 | .def 0 |
---|
| 354 | 1 1 - 1 |
---|
| 355 | 0 - 1 1 |
---|
| 356 | .names _n3 p$_n8$raw_n16 p$_n23$raw_na0 p$_n3$raw_nb0 |
---|
| 357 | .def 0 |
---|
| 358 | 1 1 - 1 |
---|
| 359 | 0 - 1 1 |
---|
| 360 | .names _n3 q$_n8$raw_n18 q$_n23$raw_na2 q$_n3$raw_nb2 |
---|
| 361 | .def 0 |
---|
| 362 | 1 1 - 1 |
---|
| 363 | 0 - 1 1 |
---|
| 364 | .names _n3 state$_n8$raw_n1a<0> state$_n23$raw_na4<0> state$_n3$raw_nb4<0> |
---|
| 365 | .def 0 |
---|
| 366 | 1 1 - 1 |
---|
| 367 | 0 - 1 1 |
---|
| 368 | .names _n3 state$_n8$raw_n1a<1> state$_n23$raw_na4<1> state$_n3$raw_nb4<1> |
---|
| 369 | .def 0 |
---|
| 370 | 1 1 - 1 |
---|
| 371 | 0 - 1 1 |
---|
| 372 | # conflict arbitrators |
---|
| 373 | .names _n3 _nc _n23 _n2c _n43 _n4c _n63 _n6c _nc0 |
---|
| 374 | .def 0 |
---|
| 375 | 1 1 - - - - - - 1 |
---|
| 376 | 1 0 - - - - - - 1 |
---|
| 377 | 0 - 1 1 - - - - 1 |
---|
| 378 | 0 - 1 0 - - - - 1 |
---|
| 379 | 0 - 0 - 1 1 - - 1 |
---|
| 380 | 0 - 0 - 1 0 - - 1 |
---|
| 381 | 0 - 0 - 0 - 1 1 1 |
---|
| 382 | 0 - 0 - 0 - 1 0 1 |
---|
| 383 | .names _nc0 p$_n3$raw_nb0 p _nc1 |
---|
| 384 | 1 0 - 0 |
---|
| 385 | 1 1 - 1 |
---|
| 386 | 0 - 0 0 |
---|
| 387 | 0 - 1 1 |
---|
| 388 | .names _n3 _nc _n23 _n2c _n43 _n4c _n63 _n6c _nc2 |
---|
| 389 | .def 0 |
---|
| 390 | 1 1 - - - - - - 1 |
---|
| 391 | 1 0 - - - - - - 1 |
---|
| 392 | 0 - 1 1 - - - - 1 |
---|
| 393 | 0 - 1 0 - - - - 1 |
---|
| 394 | 0 - 0 - 1 1 - - 1 |
---|
| 395 | 0 - 0 - 1 0 - - 1 |
---|
| 396 | 0 - 0 - 0 - 1 1 1 |
---|
| 397 | 0 - 0 - 0 - 1 0 1 |
---|
| 398 | .names _nc2 q$_n3$raw_nb2 q _nc3 |
---|
| 399 | 1 0 - 0 |
---|
| 400 | 1 1 - 1 |
---|
| 401 | 0 - 0 0 |
---|
| 402 | 0 - 1 1 |
---|
| 403 | .names _n3 _nc _n23 _n2c _n43 _n4c _n63 _n6c _nc4 |
---|
| 404 | .def 0 |
---|
| 405 | 1 1 - - - - - - 1 |
---|
| 406 | 1 0 - - - - - - 1 |
---|
| 407 | 0 - 1 1 - - - - 1 |
---|
| 408 | 0 - 1 0 - - - - 1 |
---|
| 409 | 0 - 0 - 1 1 - - 1 |
---|
| 410 | 0 - 0 - 1 0 - - 1 |
---|
| 411 | 0 - 0 - 0 - 1 1 1 |
---|
| 412 | 0 - 0 - 0 - 1 0 1 |
---|
| 413 | .names _nc4 state$_n3$raw_nb4<0> state$_n3$raw_nb4<1> state<0> state<1> -> _nc5<0> _nc5<1> |
---|
| 414 | 1 - - - - =state$_n3$raw_nb4<0> =state$_n3$raw_nb4<1> |
---|
| 415 | 0 - - - - =state<0> =state<1> |
---|
| 416 | # non-blocking assignments |
---|
| 417 | # latches |
---|
| 418 | .r p$raw_n0 p |
---|
| 419 | 0 0 |
---|
| 420 | 1 1 |
---|
| 421 | .latch _nc1 p |
---|
| 422 | .r q$raw_n1 q |
---|
| 423 | 0 0 |
---|
| 424 | 1 1 |
---|
| 425 | .latch _nc3 q |
---|
| 426 | .r state$raw_n2<0> state<0> |
---|
| 427 | .def 0 |
---|
| 428 | 1 1 |
---|
| 429 | .r state$raw_n2<1> state<1> |
---|
| 430 | .def 0 |
---|
| 431 | 1 1 |
---|
| 432 | .latch _nc5<0> state<0> |
---|
| 433 | .latch _nc5<1> state<1> |
---|
| 434 | # quasi-continuous assignment |
---|
| 435 | .end |
---|