10
CS269: HW/SW Engineering of Embedded Systems, Winter02
Netlist after Refinement
m1
p0
m0
p1
p3
p2
c1
c0
refm0
w0
mb
w1
r0
w0
w1
r0
refm1
// create mb, and then refine m0 and m1.
ByteM mb = new ByteM();
RefIntM refm0 = new RefIntM(m0, mb);
RefIntM refm1 = new RefIntM(m1, mb);
But, we need coordination:
  - if p0 has written to mb, c0 must read.
- if p2 has written to mb, c1 must read.
  - ...
Can be specified using the linear temporal logic.