Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1.  
  2. rule packetReadStart if (!readStarted);
  3. let pktId = toGet(pkt_ff).get;
  4. let pktLen <- toGet(readLenFifo).get;
  5. readStarted <= True;
  6. readReqFifo.enq(EtherReq{len: truncate(pktLen)});
  7. endrule
  8.  
  9. Rule: top_lMain_txchan_packetReadStart
  10. Predicate: top_lMain_txchan_readLenFifo.i_notEmpty &&
  11. top_lMain_txchan_readReqFifo.i_notFull &&
  12. (! top_lMain_txchan_readStarted)
  13. Blocking rules: (none)
  14.  
  15.  
  16. rule packetReadStart if (!readStarted);
  17. pkt_ff.deq;
  18. let pktLen <- toGet(readLenFifo).get;
  19. readStarted <= True;
  20. readReqFifo.enq(EtherReq{len: truncate(pktLen)});
  21. endrule
  22.  
  23. Rule: top_lMain_txchan_packetReadStart
  24. Predicate: top_lMain_txchan_pkt_ff.i_notEmpty &&
  25. top_lMain_txchan_readLenFifo.i_notEmpty &&
  26. top_lMain_txchan_readReqFifo.i_notFull &&
  27. (! top_lMain_txchan_readStarted)$
  28. Blocking rules: (none)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement