December 02, 2003

Find error in Mutex 1 using SPIN

Create a model of Mutex 1 (from the Mutex handout) in SPIN. Use that model to show that it is possible to have more than 1 process in the critical section at the same time. Strategically add printfs to your code so that the MSC contains meaningful information. Mail me (jones@cs.byu.edu) the msc.ps from a guided simulation that shows the error. Due last day of class.

Posted by jones at 10:11 AM | Comments (0)

October 01, 2003

Convert to a BDD (due Monday 10/6)

Convert the expression (a /\ b) \/ (a /\ c) to a BDD. Use the algorithm we are developing in class. Show your results and BDD tables. Will be moved back to Wednesday if we don't get through an example on friday.

Posted by jones at 01:06 PM | Comments (0)

September 22, 2003

Homework for Friday 9/26

Translate a verse (or equivalent) from the religious text of your choice to CTL*. Due at the beginining of class Friday 9/26.

Posted by jones at 12:44 PM | Comments (0)

September 17, 2003

CTL* Formulas for Friday

Two formulas that describe correct behaviors of mutex protocols.

Posted by jones at 11:42 AM | Comments (0)

September 12, 2003

Homework for Friday Sept 19

Translate the behavior of two processes using Mutex1 into a Kripke structure. Find two traces in the Kripke Structure: one that allows two processes to enter the critical section and one that starves a process from access to the critical section. Turn in your traces only. Do not turn in, or even write (if you don't have to), the entire Kripke Structure. Due Friday, September 19 at the start of class.

Posted by jones at 01:08 PM | Comments (0)