User guide

Figure 6-4: Writing to the Reconfiguration Interface
119
00000000
0000000c
reconfig_clk
reconfig_reset
reconfig_address
reconfig_read
reconfig_readdata
reconfig_waitrequest
reconfig_write
reconfig_writedata
Related Information
Ports and Parameters on page 6-24
Configuration Files
You can save the parameters you specify for the Transceiver Native PHY and Transmit PLL IP instances
as configuration files. These files contain bit settings of the IP instance.
The configuration files are generated during IP generation. They are located in the <IP instance name>/
reconfig/ subfolder of the IP instance. The configuration data is available in the following formats:
SystemVerilog packages: <name>.sv
C Header files: <name>.h
Memory Initialization File (MIF): <name>.mif
Select one or more of the configuration file formats on the Dynamic Reconfiguration tab of the
Transceiver Native PHY or Transmit PLL parameter editor to store the configuration data. All configura‐
tion files generated for a particular IP instance contain the same address and data values. The contents of
the configuration files can be used to reconfigure from one transceiver configuration to another.
Example 6-1: SystemVerilog Configuration File
26'h008FF04,
// [25:16]-DPRIO address=0x008;
// [15:8]-bit mask=0xFF;
// [7:7]- hssi_tx_pcs_pma_interface_pldif_datawidth_mode=pldif_data_10bit(1'h0);
// [6:5]-hssi_tx_pcs_pma_interface_tx_pma_data_sel=ten_g_pcs(2'h0);
// [4:4]-hssi_tx_pcs_pma_interface_prbs_gen_pat=prbs_gen_dis(1'h0);
// [3:0]-hssi_tx_pcs_pma_interface_sq_wave_num=sq_wave_default(4'h4);
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_VALUE = "pldif_data_10bit";
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_ADDR_OFST = 8;
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_ADDR_FIELD_OFST = 7;
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_ADDR_FIELD_HIGH = 7;
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_ADDR_FIELD_SIZE = 1;
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_ADDR_FIELD_BITMASK =
32'h00000080;
localparam HSSI_TX_PCS_PMA_INTERFACE_PLDIF_DATAWIDTH_MODE_ADDR_FIELD_VALMASK =
6-6
Configuration Files
UG-01143
2015.05.11
Altera Corporation
Reconfiguration Interface and Dynamic Reconfiguration
Send Feedback