56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
--=========================================================================
|
|
-- Exercise 2
|
|
--=========================================================================
|
|
|
|
--=========================================================================
|
|
-- PROPERTIES OF FIFO
|
|
--=========================================================================
|
|
-- This file is not a standalone NuSMV file: it is to be included in
|
|
-- fifo.smv or fifo-fixed.smv.
|
|
|
|
-- The LTL properties in this file are numbered. To have
|
|
-- NuSMV check just the property numbered <p>, run it with the added
|
|
-- option -n <p>.
|
|
|
|
---------------------------------------------------------------------------
|
|
-- Section 2.1, LTL Properties
|
|
---------------------------------------------------------------------------
|
|
|
|
|
|
--0: (a)
|
|
LTLSPEC G(!(empty & full));
|
|
|
|
--1: (b)
|
|
LTLSPEC (F G write & ! G F read) -> (F full);
|
|
|
|
|
|
--2: (c)
|
|
LTLSPEC G (F ((wr_data = 0ud1_1) & write & !full)) -> F (rd_data = 0ud1_1);
|
|
|
|
|
|
--3: (d)
|
|
LTLSPEC G (F ((wr_data = data1) & write & !full)) -> F (rd_data = data1);
|
|
|
|
|
|
-- salvo gli esercizi in una repo e ve li mando
|
|
-- thk
|
|
|
|
--4: (e)
|
|
LTLSPEC
|
|
TRUE;
|
|
|
|
--5: (f)
|
|
|
|
LTLSPEC
|
|
TRUE;
|
|
|
|
---------------------------------------------------------------------------
|
|
-- Section 2.2, LTL Property showing bug
|
|
---------------------------------------------------------------------------
|
|
|
|
--6:
|
|
LTLSPEC
|
|
TRUE;
|
|
|
|
|