EasyManua.ls Logo

COBHAM GRMON3 - Page 155

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
155 www.cobham.com/gaisler
57. la - syntax
NAME
la - Control the LOGAN core
SYNOPSIS
la
la subcommand ?args...?
DESCRIPTION
The LOGAN debug driver contains commands to control the LOGAN on-chip logic analyzer core. It allows to
set various triggering conditions, and to generate VCD waveform files from trace buffer data. All logic analyzer
commands are prefixed with la.
If more than one device exists in the system, the logan# can be used to select device, default is logan0.
la
la status ?logan#?
Reports status of LOGAN.
la arm ?logan#?
Arms the LOGAN. Begins the operation of the analyzer and sampling starts.
la config filename ?logan#?
la config ?name bits...? ?logan#?
Set the configuration of the LOGAN device. Either a filename or an array of name and bits pairs.
la count ?value? ?logan#?
Set/displays the trigger counter. The value should be between zero and depth-1 and specifies how many
samples that should be taken after the triggering event.
la div ?value? ?logan#?
Sets/displays the sample frequency divider register. If you specify e.g. “la div 5” the logic analyzer will
only sample a value every 5th clock cycle.
la dump ?filename? ?logan#?
This dumps the trace buffer in VCD format to the file specified (default is logan.vcd).
la mask trigl bit ?value? ?logan#?
Sets/displays the specified bit in the mask of the specified trig level to 0/1.
la page ?value? ?logan#?
Sets/prints the page register of the LOGAN. Normally the user doesn’t have to be concerned with this
because dump and view sets the page automatically. Only useful if accessing the trace buffer manually via
the GRMON mem command.
la pat trigl bit ?value? ?logan#?
Sets/displays the specified bit in the pattern of the specified trig level to 0/1.
la pm ?trigl? ?pattern mask? ?logan#?
Sets/displays the complete pattern and mask of the specified trig level. If not fully specified the input is
zero-padded from the left. Decimal notation only possible for widths less than or equal to 64 bits.
la qual ?bit value? ?logan#?
Sets/displays which bit in the sampled pattern that will be used as qualifier and what value it shall have
for a sample to be stored.
la reset ?logan#?
Stop the operation of the LOGAN. Logic Analyzer returns to idle state.
la trigctrl ?trigl? ?count cond? ?logan#?
Sets/displays the match counter and the trigger condition (1 = trig on equal, 0 = trig on not equal) for the
specified trig level.
la view start stop ?filename? ?logan#?
Prints the specified range of the trace buffer in list format. If no filename is specified the commands prints
to the screen.

Table of Contents