COMMAND NAME:

        OPENMEMORY

ABBREVIATION:

        OM

USAGE:
        OPENMEMORY address-expression

        The OPENMEMORY command causes the history of the opened 
        memory location to be recorded in the binary activity file.
        If the Display Manager is run concurrently with the
        simulator, the waveform of the open memory location is
        displayed in the Display Manager window.  The address can
        be any SCL expression which evaluates to an integer or
        signal value.

        The memory is identified by the pathname last specified
        using either the MEMPATH command or the NEXTMEMORY
        command.  The memory word is displayed in the current
        radix, and becomes the currently open signal for purposes 
        of depositing a new value.  

        The simulator remembers which signal was opened last.  This
        signal is referred to as the "currently open" signal.  You 
        can DEPOSIT values to the currently open signal without
        specifying the name in the DEPOSIT command.

EXAMPLES:
        OPENMEMORY #'address bus'
        /* opens the memory location currently addressed by the 
           bus signal called 'address bus' */

        for( address = 0; address < 256; address++ )
        {
            om address 
            if(( address / 2) * 2 ==  address ) d,$x00 else d,$xFF
        }
        /* sets even numbered memory locations to all 0s and odd
           numbered locations to all 1s, assuming the memory has
           8 bit words */
           
