Entity: Sff8472
- File: Sff8472.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
Description: Optical Module SFF-8472 Wrapper (I2C for SFP, QSFP, etc)
This file is part of 'SLAC Firmware Standard Library'. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of 'SLAC Firmware Standard Library', including this file, may be copied, modified, propagated, or distributed except according to
the terms contained in the LICENSE.txt file.
Generics
Generic name | Type | Value | Description |
---|---|---|---|
TPD_G | time | 1 ns | |
I2C_SCL_FREQ_G | real | 100.0E+3 | units of Hz |
I2C_MIN_PULSE_G | real | 100.0E-9 | units of seconds |
AXI_CLK_FREQ_G | real | 156.25E+6 |
Ports
Port name | Direction | Type | Description |
---|---|---|---|
scl | inout | sl | I2C Ports |
sda | inout | sl | |
axilReadMaster | in | AxiLiteReadMasterType | AXI-Lite Register Interface |
axilReadSlave | out | AxiLiteReadSlaveType | |
axilWriteMaster | in | AxiLiteWriteMasterType | |
axilWriteSlave | out | AxiLiteWriteSlaveType | |
axilClk | in | sl | Clocks and Resets |
axilRst | in | sl |
Constants
Name | Type | Value | Description |
---|---|---|---|
DEVICE_MAP_C | I2cAxiLiteDevArray(0 to 1) | ( 0 => MakeI2cAxiLiteDevType( i2cAddress => "1010000", -- Configuration PROM dataSize => 8, -- in units of bits addrSize => 8, -- in units of bits endianness => '0', -- Little endian repeatStart => '0'), -- Repeat start 1 => MakeI2cAxiLiteDevType( -- Enhanced interface i2cAddress => "1010001", -- Diagnostic Monitoring dataSize => 8, -- in units of bits addrSize => 8, -- in units of bits endianness => '0', -- Little endian repeatStart => '0')) |
Instantiations
- U_AxiI2C: surf.AxiI2cRegMaster