|
发表于 2010-1-14 15:54:29
|
显示全部楼层
Thus far, we have communicated information between concurrent
processes using events and using ordinary module member data. Because
there are no guarantees about which processes execute next from the ready
state, we must be extremely careful when sharing data.
Events let us manage this aspect of SystemC, but they require careful
coding. Because events may be missed, it is important to update a handshake
variable indicating when a request is made, and clear it when the request is
acknowledged. |
|