1.2.12 ASB Advanced Options - SMEV RAM

If you choose to enable user access to SMEV RAM in the ASB Advanced Options dialog box, then you can read the contents of the SMEV RAM.

When processing channels the SMEV stores the digitally-filtered (i.e., averaged ) ADC Result value into this RAM. The address locations for these values are exported in the log file created by Analog System Builder. Unlike the ASSC RAM, the SMEV stores its result on a per channel basis.

The SMEV will continually overwrite each channel location every time it processes a channel.

As with the ASSC RAM, the data is stored as a 12-bit value, so you must read two RAM locations to retrieve one value.

The exposed SMEV RAM ports are shown in the table below.

Port NameInput/OutputDescription
USER_EV_ADDR[8:0]InputUser RAM Address - You can control these address signals and enable read access from the A-port of the 512x9 SMEV RAM. If unused, these signals must be tied to logic 0 or logic 1
USER_EV_RDInputUser RAM Read Enable - You can control the control signal and enable read access from the A-port of the 512x9 SMEV dual-port RAM (you must connect to the EV_RAM_DO_A[8:0] port for read data). If unused, this signal must be tied to logic 0. Make sure that the USER_EV_RAM_BUSY signal is inactive at logic 0 while this signal is first activated, otherwise, the data read from the A-port of the SMEV RAM(s) will not be from the USER_EV_ADDR[EV_ASIZE-1:0] address.
USER_EV_RAM_BUSYOutputSMEV RAM Busy - This output signal indicates that either the Init/Config Soft IP block or the SMTR Soft IP block is busy accessing the A-port of the SMEV RAM. This signal can be used by user logic external to the analog interface soft IP blocks or can be left unconnected if unused.
EV_RAM_WR_BUSY_BOutputSMEV Busy Writing - This active-high signal is for user status monitoring and indicates that the SMEV block is busy writing to the B port of its dual-port RAM.
SMEV_RAM_DOUTInputDout of Port A of the SMEV RAM

The SMEV memory content report looks like this:

******************************************************************************

SMEV Memory Content Report

****************************************************************************** Channel Address Bits Value

volt1

75| [08:00]| Averaged ADC Result [08:00] 76| [02:00]| Averaged ADC Result [11:09]

Related topics:

ASB Advanced Options

ASB Advanced Options - ASSC RAM

ASB Advanced Options - ADC Results

ASB Advanced Options - ACM Bus