Running the Manchester Receiver Simulation

This section explains how to start and monitor the Manchester Receiver simulation:

  1. Start MATLAB, if it is not already running.

  2. At the MATLAB command prompt, enter the following command:

    manchester_tb
    

    This command starts the Manchester Receiver test script that you created in Creating a Manchester Receiver Test Bench Script. The following informational messages appear in the MATLAB Command Window:

    MATLAB testing Manchester Receiver component decoder.vhd...
     Creates two plots of the entity's transfer function
     providing a visualization of the decoder behavior.
    
    HDLDaemon socket server is running on port 4449 with 0 connections
    
    Waiting for testing of 'decoder.vhd' to complete 
    (flag from manchester_decoder.m indicates completion)
    

  3. The following figure window appears.

  4. The decoder test then displays the following message in the MATLAB Command Window:

    MATLAB test of decoder.vhd is complete. Check the
    generated plot for results.
    Press any key to continue to the next test.
    
  5. With the input focus in the MATLAB Command Window, press any key on the keyboard. The test script starts the I/Q convolver test and displays the following:

    MATLAB testing Manchester Receiver component iqconv.vhd...
     Checks isum and qsum output for a randomly generated
     stream of data samples.
    MATLAB test of iqconv.vhd is complete. 
    If the test fails, an error message is displayed.');
    Press any key to continue to the next test.
    
  6. With the input focus in the MATLAB Command Window, press any key on the keyboard. The test script starts the state counter test and displays the following:

    MATLAB testing Manchester Receiver component statecnt.vhd...
      Creates and checks isum and qsum outputs for a randomly
      generated stream of data samples.
    
  7. The following figure window appears.

  8. The state counter test then displays the following message in the MATLAB Command Window:

    MATLAB test of statecnt.vhd is complete. Check the
    generated plot for results.
    Press any key to exit the test script.
    
  9. With the input focus in the MATLAB Command Window, press any key on the keyboard. The MATLAB prompt reappears.


Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS