Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
std:channels [2022/07/17 06:56]
rajit
std:channels [2022/07/17 07:00]
rajit
Line 24: Line 24:
  
 <code act> <code act>
-export defchan e1of1 <: e1of<1> (bool?! r);  // The ''.r'' field is included as the request, which is the same as the single data wire +defchan e1of1 <: e1of<1> (bool?! r);  
-export defchan e1of2 <: e1of<2> (bool?! t, f); // The ''.t'' and ''.f'' fields are connected to the data wires+</code>  
 +The ''.r'' field is included as the request, which is the same as the single data wire in the ''e1of'' channel. 
 + 
 +<code act> 
 +defchan e1of2 <: e1of<2> (bool?! t, f); 
 +defchan er1of2 <: e1of<2> (bool?tf); 
 +defchan ev1of2 <: e1of<2> (bool?! t, f); 
 +defchan erv1of2 <: e1of<2> (bool?! t, f);
 </code> </code>
 +The ''.t'' and ''.f'' fields are connected to the appropriate data wires.
 +
 +The namespace also includes definitions for the same channel names but starting with ''a'' instead of ''e''. These correspond to channels that use the standard acknowledge signal instead of the inverted acknowledge (enable) signal.
 +