CSCE 491 - Fall 2004 802.11 WLAN MAC Layer Controller in Programmable Logic Dr. James P. Davis Macro-function for the Random generator for the exponential backoff algorithm. As a simplification, please use the following macro function for this purpose. This will be used in your Transmitter thread when generating a backoff value that should be between 0 and CWmin (see Lecture 38 Notes on the web page). RAND(Abus) == MUL(CAT ('b0', REFL(CMPL2NC (ROTR(ABUS))) ), 'b1111') Question to consider: what exactly does this nested user-defined macro-function do? Reference: --------- Sheridan, L., and J. Davis "Creating Wireless Networking Protocol Engines on Adaptive Computing Platforms: Experiments Using Algorithmic State Machines of the IEEE 802.11 MAC Layer", submitted for publication, 2004.