Go to the source code of this file.
Defines | |
#define | KNUT_VERSION 0x02000100 |
#define | ROC_SUCCESS 0 |
#define | ROC_READBACK_ERROR 1 |
#define | ROC_ADDRESS_ERROR 2 |
#define | ROC_VALUE_ERROR 3 |
#define | ROC_PERMISSION_ERROR 4 |
#define | ROC_ANSWER_DELAYED 5 |
#define | ROC_NETWORK_TRANSMISSION_ERROR 6 |
#define | ROC_I2C_ERROR 7 |
#define | ROC_TYPE 0x000000 |
#define | ROC_HWV 0x000004 |
#define | ROC_FPGA_TYPE 0x000008 |
#define | ROC_ROCID 0x000010 |
#define | ROC_SVN_REVISION 0x000014 |
#define | ROC_BUILD_TIME 0x000018 |
#define | ROC_SYSTEM_RESET 0x000100 |
#define | ROC_ETH_HWV 0x100000 |
#define | ROC_ETH_SWV 0x100004 |
#define | ROC_ADDSYSMSG 0x000200 |
#define | ROC_CMD_LST_NR 0x020000 |
#define | ROC_CMD_LST_ACTIVE 0x020004 |
#define | ROC_CMD_LST_MEM 0x021000 |
#define | ROC_CMD_LST_SIZE 0x000800 |
#define | ROC_CMD_LST_NUMBER 0x000008 |
#define | ROC_CMD_LST_PUT 0x02000000 |
#define | ROC_CMD_LST_ADDRMASK 0x00ffffff |
#define | ROC_NX_TS_RESET 0x400010 |
#define | ROC_NX_FIFO_RESET 0x400014 |
#define | ROC_NX_INIT 0x400018 |
#define | ROC_NX_BURST1 0x400100 |
#define | ROC_NX_BURST2 0x400104 |
#define | ROC_NX_BURST3 0x400108 |
#define | ROC_NX_THROTTLE 0x401200 |
#define | CON19 0 |
#define | CON20 1 |
#define CON19 0 |
Symbolic name for ROC port number 0
Definition at line 143 of file defines_roc.h.
Referenced by nxyter::MainAdc::getAdcDirect(), nxyter::MainAdc::getClockDelayBufg(), nxyter::MainAdc::getClockDelaySrInit(), nxyter::MainAdc::setClockDelayBufg(), and nxyter::MainAdc::setClockDelaySrInit().
#define CON20 1 |
Symbolic name for ROC port number 1
Definition at line 147 of file defines_roc.h.
Referenced by nxyter::MainAdc::getAdcDirect().
#define KNUT_VERSION 0x02000100 |
Definition at line 5 of file defines_roc.h.
#define ROC_ADDRESS_ERROR 2 |
Definition at line 9 of file defines_roc.h.
#define ROC_ADDSYSMSG 0x000200 |
Definition at line 74 of file defines_roc.h.
Referenced by autoped_issue_system_message(), roc::BoardsVector::autoped_issue_system_message(), roc::Board::Board(), roc::BoardsVector::produceSystemMessage(), UdpSimulator::PutReg(), roc::BoardsVector::ResetAllGet4(), and roc::NxCalibrModule::switchCalibration().
#define ROC_ANSWER_DELAYED 5 |
Definition at line 12 of file defines_roc.h.
#define ROC_BUILD_TIME 0x000018 |
{ROC, read-only, 32 bit} date and time the firmware was build (no of sec since 1970-01-01 0:00)
Definition at line 62 of file defines_roc.h.
Referenced by UdpSimulator::GetReg().
#define ROC_CMD_LST_ACTIVE 0x020004 |
Definition at line 77 of file defines_roc.h.
Referenced by roc::Board::downloadCommandsList(), UdpSimulator::PutReg(), and roc::Board::uploadCommandsList().
#define ROC_CMD_LST_ADDRMASK 0x00ffffff |
Definition at line 85 of file defines_roc.h.
Referenced by UdpSimulator::mainLoop().
#define ROC_CMD_LST_MEM 0x021000 |
Definition at line 78 of file defines_roc.h.
Referenced by roc::Board::downloadCommandsList(), UdpSimulator::GetReg(), UdpSimulator::PutReg(), and roc::Board::uploadCommandsList().
#define ROC_CMD_LST_NR 0x020000 |
Definition at line 76 of file defines_roc.h.
Referenced by roc::AbbDevice::ExecuteCommand(), roc::Board::invokeCommandsList(), and UdpSimulator::PutReg().
#define ROC_CMD_LST_NUMBER 0x000008 |
Definition at line 83 of file defines_roc.h.
Referenced by roc::Board::downloadCommandsList(), UdpSimulator::PutReg(), and roc::Board::uploadCommandsList().
#define ROC_CMD_LST_PUT 0x02000000 |
Definition at line 84 of file defines_roc.h.
Referenced by roc::Board::downloadCommandsList(), UdpSimulator::mainLoop(), UdpSimulator::UdpSimulator(), and roc::Board::uploadCommandsList().
#define ROC_CMD_LST_SIZE 0x000800 |
Definition at line 82 of file defines_roc.h.
Referenced by roc::Board::downloadCommandsList(), UdpSimulator::mainLoop(), UdpSimulator::PutReg(), UdpSimulator::UdpSimulator(), and roc::Board::uploadCommandsList().
#define ROC_ETH_HWV 0x100000 |
Definition at line 71 of file defines_roc.h.
Referenced by cmd_printid(), UdpSimulator::GetReg(), roc::UdpDevice::initUdp(), and roc::UdpBoard::UdpBoard().
#define ROC_ETH_SWV 0x100004 |
Definition at line 72 of file defines_roc.h.
Referenced by cmd_printid(), cmd_printroc(), UdpSimulator::GetReg(), RocMainWidget::getSubConfig(), roc::UdpDevice::initUdp(), and roc::UdpBoard::UdpBoard().
#define ROC_FPGA_TYPE 0x000008 |
{ROC, read-only, 8 bit} FPGA type (1: Virtex-4 fx20, 2: Virtex-4 fx40, 3: Virtex-4 fx60, 4: Spartan 6)
Definition at line 46 of file defines_roc.h.
Referenced by UdpSimulator::GetReg().
#define ROC_HWV 0x000004 |
{ROC, read-only} Holds the version number of the FPGA firmware
Definition at line 41 of file defines_roc.h.
Referenced by roc::Board::Board(), cmd_board(), cmd_printid(), UdpSimulator::GetReg(), and roc::NxCalibrModule::switchCalibration().
#define ROC_I2C_ERROR 7 |
Definition at line 14 of file defines_roc.h.
#define ROC_NETWORK_TRANSMISSION_ERROR 6 |
Definition at line 13 of file defines_roc.h.
#define ROC_NX_BURST1 0x400100 |
{ROC, read-only, ? bit} Part of DAQ interface.
Definition at line 119 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap(), and DataWidget::getData().
#define ROC_NX_BURST2 0x400104 |
{ROC, read-only, ? bit} Part of DAQ interface.
Definition at line 124 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap(), and DataWidget::getData().
#define ROC_NX_BURST3 0x400108 |
{ROC, read-only, ? bit} Part of DAQ interface.
Definition at line 129 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap(), and DataWidget::getData().
#define ROC_NX_FIFO_RESET 0x400014 |
{ROC, function} A write access will clear the message FIFO, thus discard all data held in the buffers on the FPGA. It will insert a 'FIFO RESET' system message into the data stream. Part of DAQ interface.
Definition at line 107 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap(), autoped_issue_system_message(), roc::Board::clearRocFifo(), roc::AbbDevice::ExecuteCommand(), roc::UdpDataSocket::ProcessEvent(), UdpSimulator::PutReg(), roc::NxCalibrModule::switchCalibration(), and roc::Board::uploadStartDaqCmdList().
#define ROC_NX_INIT 0x400018 |
{ROC, write-only, 1 bit} ACTIVE HIGH! - Starts nXYTER-Receiver-Init
Part of nXYTER data interface.
Definition at line 113 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap().
#define ROC_NX_THROTTLE 0x401200 |
{ROC, read-only, 2 bit} Part of DAQ interface.
Definition at line 135 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap().
#define ROC_NX_TS_RESET 0x400010 |
{ROC, read/write, 3 bit} This register holds the ROC number inserted into all data messages. Part of DAQ interface.
{ROC, write-only, 1 bit} ACTIVE HIGH since V2.0.0.2! - Resets the nXYTER-TS
Part of nXYTER data interface.
Definition at line 100 of file defines_roc.h.
Referenced by nxyter::RocNx::addAddrMap(), nxyter::RocNx::resetRocNxTs(), and roc::Board::uploadStartDaqCmdList().
#define ROC_PERMISSION_ERROR 4 |
Definition at line 11 of file defines_roc.h.
#define ROC_READBACK_ERROR 1 |
Definition at line 8 of file defines_roc.h.
#define ROC_ROCID 0x000010 |
{ROC, read-write} Unique ROC id, in Optic it is real register in Ethernet - emulated.
Definition at line 52 of file defines_roc.h.
Referenced by roc::Board::Board(), roc::AbbDevice::ExecuteCommand(), DataWidget::getData(), UdpSimulator::GetReg(), roc::UdpControlSocket::ProcessTimeout(), and UdpSimulator::PutReg().
#define ROC_SUCCESS 0 |
Definition at line 7 of file defines_roc.h.
#define ROC_SVN_REVISION 0x000014 |
{ROC, read-only, 16 bit} subversion revision number of the firmware
Definition at line 57 of file defines_roc.h.
Referenced by UdpSimulator::GetReg().
#define ROC_SYSTEM_RESET 0x000100 |
{ROC, function} A write access will cause the FPGA to reconfigure and, if available, the PPC to reboot. This is a cold restart with immediate effect, the write into this location will thus not be acknowledged.
Definition at line 69 of file defines_roc.h.
Referenced by roc::Board::Board(), and roc::Board::restartRoc().
#define ROC_TYPE 0x000000 |
{ROC, read-only} Holds the version number of the front-end and back-end type of the ROC Frontend: 1 - NX 2 - FEET Backend: 1 - Optics 2 - Ethernet FX20 3 - Ethernet FX40
Definition at line 37 of file defines_roc.h.
Referenced by roc::Board::Board(), cmd_printid(), and UdpSimulator::GetReg().
#define ROC_VALUE_ERROR 3 |
Definition at line 10 of file defines_roc.h.