public class Cabac extends Asic
| Modifier and Type | Field and Description |
|---|---|
static int |
CABAC_FLD_BIAS_HZ |
static int |
CABAC_FLD_EXP_CLK |
static int |
CABAC_FLD_GD |
static int |
CABAC_FLD_MUX |
static int |
CABAC_FLD_MUX_OFF |
static int |
CABAC_FLD_MUX0 |
static int |
CABAC_FLD_MUX1 |
static int |
CABAC_FLD_MUXE |
static int |
CABAC_FLD_OD_EXP0 |
static int |
CABAC_FLD_OD_EXP1 |
static int |
CABAC_FLD_OD_RDO0 |
static int |
CABAC_FLD_OD_RDO1 |
static int |
CABAC_FLD_OG |
static int |
CABAC_FLD_PCLK0 |
static int |
CABAC_FLD_PCLK1 |
static int |
CABAC_FLD_PCLK2 |
static int |
CABAC_FLD_PCLK3 |
static int |
CABAC_FLD_PULSE |
static int |
CABAC_FLD_RD |
static int |
CABAC_FLD_RG |
static int |
CABAC_FLD_SCLK0 |
static int |
CABAC_FLD_SCLK1 |
static int |
CABAC_FLD_SCLK2 |
static int |
CABAC_FLD_SPARE |
static int |
CABAC_FLD_SPH |
static int |
CABAC_FLD_SPL |
static int |
CABAC_FLD_TEST |
static int |
CABAC_OFF_BOTTOM
Public constants.
|
static int |
CABAC_OFF_READ
Public constants.
|
static int |
CABAC_OFF_TOP
Public constants.
|
static int |
CABAC_OFF_WRITE
Public constants.
|
static int |
NUM_CABAC_FLDS |
static int |
NUM_CABAC_FLDS_0 |
static int |
NUM_CABAC_REGS
Public constants.
|
static int |
PWR_ENA_3V
Public constants.
|
static int |
PWR_ENA_5V
Public constants.
|
static int |
PWR_ENA_B3V
Public constants.
|
static int |
PWR_ENA_B5V
Public constants.
|
static int |
PWR_ENA_VEE
Public constants.
|
static int |
REG_CABAC
Public constants.
|
static int |
REG_CABAC_FETCH
Public constants.
|
static int |
REG_CABAC_LOAD
Public constants.
|
static int |
REG_CABAC_POWER
Public constants.
|
static int |
REG_CABAC_READ
Public constants.
|
static int |
REG_CABAC_RESET
Public constants.
|
static int |
REG_CABAC_RESET_0
Public constants.
|
static int |
VALUE_MASK
Public constants.
|
static int |
VERSION_0
Public constants.
|
static int |
VERSION_1
Public constants.
|
static int |
VERSION_UNSUPP
Public constants.
|
ADDR_POSN, MAX_ASICS, MAX_STRIPS, NUM_SIDES, SIDE_BOTTOM, SIDE_MASK, SIDE_POSN, SIDE_TOP, STRIP_POSN, WRITE_POSN| Modifier and Type | Method and Description |
|---|---|
void |
copyRaw(int side)
Copies CABAC input registers to the output ones.
|
void |
fetch(int strip)
Fetches the contents of a CABAC strip to the registers.
|
int[] |
get(int side)
Gets all CABAC field values.
|
int |
get(int side,
int field)
Gets one CABAC field value.
|
int[] |
get(int side,
int first,
int count)
Gets several CABAC field values.
|
int |
getNumFields()
Gets the number of CABAC fields.
|
int |
getNumStrips()
Gets the number of strips.
|
int |
getRegulator()
Gets the power regulator enables.
|
int |
getVersion()
Gets the CABAC version.
|
void |
load(int strip)
Loads a CABAC strip from the registers.
|
int[][] |
readField(int strips,
int side)
Reads all CABAC fields.
|
int[] |
readField(int strips,
int side,
int field)
Reads a CABAC field.
|
int[][] |
readField(int strips,
int side,
int first,
int count)
Reads several CABAC fields.
|
int[] |
readRaw(int side)
Reads CABAC input registers in raw format.
|
void |
reset(int strip)
Resets a CABAC strip.
|
void |
set(int side,
int[] value)
Sets all CABAC field values.
|
void |
set(int side,
int field,
int value)
Sets one CABAC field value.
|
void |
set(int side,
int first,
int count,
int[] value)
Sets several CABAC field values.
|
void |
setRegulator(int enables)
Sets the power regulator enables.
|
void |
writeField(int strips,
int sides,
int[] value)
Writes all CABAC fields.
|
void |
writeField(int strips,
int sides,
int field,
int value)
Writes a CABAC field.
|
void |
writeField(int strips,
int sides,
int first,
int count,
int[] value)
Writes several CABAC fields.
|
void |
writeRaw(int side,
int[] values)
Writes CABAC output registers in raw format.
|
makeCommandpublic static final int VERSION_UNSUPP
public static final int VERSION_0
public static final int VERSION_1
public static final int REG_CABAC
public static final int REG_CABAC_LOAD
public static final int REG_CABAC_FETCH
public static final int REG_CABAC_RESET
public static final int REG_CABAC_RESET_0
public static final int REG_CABAC_READ
public static final int CABAC_OFF_TOP
public static final int CABAC_OFF_BOTTOM
public static final int CABAC_OFF_WRITE
public static final int CABAC_OFF_READ
public static final int NUM_CABAC_REGS
public static final int VALUE_MASK
public static final int REG_CABAC_POWER
public static final int PWR_ENA_5V
public static final int PWR_ENA_3V
public static final int PWR_ENA_VEE
public static final int PWR_ENA_B5V
public static final int PWR_ENA_B3V
public static final int CABAC_FLD_OD_EXP0
public static final int CABAC_FLD_OD_EXP1
public static final int CABAC_FLD_OD_RDO0
public static final int CABAC_FLD_OD_RDO1
public static final int CABAC_FLD_PCLK0
public static final int CABAC_FLD_PCLK1
public static final int CABAC_FLD_PCLK2
public static final int CABAC_FLD_PCLK3
public static final int CABAC_FLD_SCLK0
public static final int CABAC_FLD_SCLK1
public static final int CABAC_FLD_SCLK2
public static final int CABAC_FLD_RG
public static final int CABAC_FLD_GD
public static final int CABAC_FLD_OG
public static final int CABAC_FLD_RD
public static final int CABAC_FLD_SPH
public static final int CABAC_FLD_SPL
public static final int CABAC_FLD_MUX0
public static final int CABAC_FLD_MUX1
public static final int CABAC_FLD_PULSE
public static final int CABAC_FLD_MUXE
public static final int CABAC_FLD_SPARE
public static final int CABAC_FLD_MUX
public static final int CABAC_FLD_MUX_OFF
public static final int CABAC_FLD_TEST
public static final int CABAC_FLD_EXP_CLK
public static final int CABAC_FLD_BIAS_HZ
public static final int NUM_CABAC_FLDS_0
public static final int NUM_CABAC_FLDS
public Cabac(BaseSet bss)
bss - The associated base set objectpublic int getVersion()
public int getNumStrips()
throws REBException
REBException - if the firmware version is unknownpublic void fetch(int strip)
throws REBException
strip - The number of the strip to be fetchedREBExceptionpublic void load(int strip)
throws REBException
strip - The number of the strip to be loadedREBExceptionpublic void reset(int strip)
throws REBException
strip - The number of the strip to be resetREBExceptionpublic int[] readRaw(int side)
throws REBException
side - The side to read: 0 = top; 1 = bottomREBExceptionpublic void writeRaw(int side,
int[] values)
throws REBException
side - The side to write: 0 = top; 1 = bottomvalues - The 5-element array of values to be writtenREBExceptionpublic void copyRaw(int side)
throws REBException
side - The side number: 0 = top; 1 = bottomREBExceptionpublic void set(int side,
int field,
int value)
throws REBException
side - The side number: 0 = top; 1 = bottomfield - The field IDvalue - The value to be setREBExceptionpublic void set(int side,
int[] value)
throws REBException
side - The side number: 0 = top; 1 = bottomvalue - The 21-element array of values to be setREBExceptionpublic void set(int side,
int first,
int count,
int[] value)
throws REBException
side - The side number: 0 = top; 1 = bottomfirst - The ID of the first fieldcount - The number of fields to setvalue - The array of values to be setREBExceptionpublic int get(int side,
int field)
throws REBException
side - The side number: 0 = top; 1 = bottomfield - The field IDREBExceptionpublic int[] get(int side)
throws REBException
side - The side number: 0 = top; 1 = bottomREBExceptionpublic int[] get(int side,
int first,
int count)
throws REBException
side - The side number: 0 = top; 1 = bottomfirst - The ID of the first fieldcount - The number of fields to getREBExceptionpublic void writeField(int strips,
int sides,
int field,
int value)
throws REBException
strips - The mask of strips to writesides - The mask of sides (top and/or bottom) to writefield - The CABAC field IDvalue - The value to writeREBExceptionpublic void writeField(int strips,
int sides,
int[] value)
throws REBException
strips - The mask of strips to writesides - The mask of sides (top and/or bottom) to writevalue - The array of values to writeREBExceptionpublic void writeField(int strips,
int sides,
int first,
int count,
int[] value)
throws REBException
strips - The mask of strips to writesides - The mask of sides (top and/or bottom) to writefirst - The ID of the first fieldcount - The number of fields to writevalue - The array of values to writeREBExceptionpublic int[] readField(int strips,
int side,
int field)
throws REBException
strips - The mask of strips to readside - The side number: 0 = top; 1 = bottomfield - The CABAC field IDREBExceptionpublic int[][] readField(int strips,
int side)
throws REBException
strips - The mask of strips to readside - The side number: 0 = top; 1 = bottomREBExceptionpublic int[][] readField(int strips,
int side,
int first,
int count)
throws REBException
strips - The mask of strips to readside - The side number: 0 = top; 1 = bottomfirst - The ID of the first fieldcount - The number of fields to readREBExceptionpublic int getNumFields()
throws REBException
REBExceptionpublic void setRegulator(int enables)
throws REBException
enables - The mask of enable bitsREBExceptionpublic int getRegulator()
throws REBException
REBExceptionCopyright © 2020 LSST. All rights reserved.