Visible to Intel only — GUID: nik1398984306109
Ixiasoft
1. Introduction to the Protocol-Specific and Native Transceiver PHYs
2. Getting Started Overview
3. 10GBASE-R PHY IP Core
4. Backplane Ethernet 10GBASE-KR PHY IP Core
5. 1G/10Gbps Ethernet PHY IP Core
6. 1G/2.5G/5G/10G Multi-rate Ethernet PHY IP Core
7. XAUI PHY IP Core
8. Interlaken PHY IP Core
9. PHY IP Core for PCI Express (PIPE)
10. Custom PHY IP Core
11. Low Latency PHY IP Core
12. Deterministic Latency PHY IP Core
13. Stratix V Transceiver Native PHY IP Core
14. Arria V Transceiver Native PHY IP Core
15. Arria V GZ Transceiver Native PHY IP Core
16. Cyclone V Transceiver Native PHY IP Core Overview
17. Transceiver Reconfiguration Controller IP Core Overview
18. Transceiver PHY Reset Controller IP Core
19. Transceiver PLL IP Core for Stratix V, Arria V, and Arria V GZ Devices
20. Analog Parameters Set Using QSF Assignments
21. Migrating from Stratix IV to Stratix V Devices Overview
22. Additional Information for the Transceiver PHY IP Core
3.1. 10GBASE-R PHY Release Information
3.2. 10GBASE-R PHY Device Family Support
3.3. 10GBASE-R PHY Performance and Resource Utilization for Stratix IV Devices
3.4. 10GBASE-R PHY Performance and Resource Utilization for Arria V GT Devices
3.5. 10GBASE-R PHY Performance and Resource Utilization for Arria V GZ and Stratix V Devices
3.6. Parameterizing the 10GBASE-R PHY
3.7. General Option Parameters
3.8. Analog Parameters for Stratix IV Devices
3.9. 10GBASE-R PHY Interfaces
3.10. 10GBASE-R PHY Data Interfaces
3.11. 10GBASE-R PHY Status, 1588, and PLL Reference Clock Interfaces
3.12. Optional Reset Control and Status Interface
3.13. 10GBASE-R PHY Clocks for Arria V GT Devices
3.14. 10GBASE-R PHY Clocks for Arria V GZ Devices
3.15. 10GBASE-R PHY Clocks for Stratix IV Devices
3.16. 10GBASE-R PHY Clocks for Stratix V Devices
3.17. 10GBASE-R PHY Register Interface and Register Descriptions
3.18. 10GBASE-R PHY Dynamic Reconfiguration for Stratix IV Devices
3.19. 10GBASE-R PHY Dynamic Reconfiguration for Arria V and Stratix V Devices
3.20. 1588 Delay Requirements
3.21. 10GBASE-R PHY TimeQuest Timing Constraints
3.22. 10GBASE-R PHY Simulation Files and Example Testbench
4.1. 10GBASE-KR PHY Release Information
4.2. Device Family Support
4.3. 10GBASE-KR PHY Performance and Resource Utilization
4.4. Parameterizing the 10GBASE-KR PHY
4.5. 10GBASE-KR PHY IP Core Functional Description
4.6. 10GBASE-KR Dynamic Reconfiguration from 1G to 10GbE
4.7. 10GBASE-KR PHY Arbitration Logic Requirements
4.8. 10GBASE-KR PHY State Machine Logic Requirements
4.9. Forward Error Correction (Clause 74)
4.10. 10BASE-KR PHY Interfaces
4.11. 10GBASE-KR PHY Clock and Reset Interfaces
4.12. Register Interface Signals
4.13. 10GBASE-KR PHY Register Definitions
4.14. PMA Registers
4.15. PCS Registers
4.16. Creating a 10GBASE-KR Design
4.17. Editing a 10GBASE-KR MIF File
4.18. Design Example
4.19. SDC Timing Constraints
4.20. Acronyms
5.1. 1G/10GbE PHY Release Information
5.2. Device Family Support
5.3. 1G/10GbE PHY Performance and Resource Utilization
5.4. Parameterizing the 1G/10GbE PHY
5.5. 1GbE Parameters
5.6. Speed Detection Parameters
5.7. PHY Analog Parameters
5.8. 1G/10GbE PHY Interfaces
5.9. 1G/10GbE PHY Clock and Reset Interfaces
5.10. 1G/10GbE PHY Data Interfaces
5.11. XGMII Mapping to Standard SDR XGMII Data
5.12. MII Interface Signals
5.13. Serial Data Interface
5.14. 1G/10GbE Control and Status Interfaces
5.15. Register Interface Signals
5.16. 1G/10GbE PHY Register Definitions
5.17. PMA Registers
5.18. PCS Registers
5.19. 1G/10GbE GMII PCS Registers
5.20. GIGE PMA Registers
5.21. 1G/10GbE Dynamic Reconfiguration from 1G to 10GbE
5.22. 1G/10GbE PHY Arbitration Logic Requirements
5.23. 1G/10GbE PHY State Machine Logic Requirements
5.24. Editing a 1G/10GbE MIF File
5.25. Creating a 1G/10GbE Design
5.26. Dynamic Reconfiguration Interface Signals
5.27. Design Example
5.28. Simulation Support
5.29. TimeQuest Timing Constraints
5.30. Acronyms
7.1. XAUI PHY Release Information
7.2. XAUI PHY Device Family Support
7.3. XAUI PHY Performance and Resource Utilization for Stratix IV Devices
7.4. XAUI PHY Performance and Resource Utilization for Arria V GZ and Stratix V Devices
7.5. Parameterizing the XAUI PHY
7.6. XAUI PHY General Parameters
7.7. XAUI PHY Analog Parameters
7.8. XAUI PHY Analog Parameters for Arria II GX, Cyclone IV GX, HardCopy IV and Stratix IV Devices
7.9. Advanced Options Parameters
7.10. XAUI PHY Configurations
7.11. XAUI PHY Ports
7.12. XAUI PHY Data Interfaces
7.13. XAUI PHY Clocks, Reset, and Powerdown Interfaces
7.14. XAUI PHY PMA Channel Controller Interface
7.15. XAUI PHY Optional PMA Control and Status Interface
7.16. XAUI PHY Register Interface and Register Descriptions
7.17. XAUI PHY Dynamic Reconfiguration for Arria II GX, Cyclone IV GX, HardCopy IV GX, and Stratix IV GX
7.18. XAUI PHY Dynamic Reconfiguration for Arria V, Arria V GZ, Cyclone V and Stratix V Devices
7.19. SDC Timing Constraints
7.20. Simulation Files and Example Testbench
8.1. Interlaken PHY Device Family Support
8.2. Parameterizing the Interlaken PHY
8.3. Interlaken PHY General Parameters
8.4. Interlaken PHY Optional Port Parameters
8.5. Interlaken PHY Analog Parameters
8.6. Interlaken PHY Interfaces
8.7. Interlaken PHY Avalon-ST TX Interface
8.8. Interlaken PHY Avalon-ST RX Interface
8.9. Interlaken PHY TX and RX Serial Interface
8.10. Interlaken PHY PLL Interface
8.11. Interlaken Optional Clocks for Deskew
8.12. Interlaken PHY Register Interface and Register Descriptions
8.13. Why Transceiver Dynamic Reconfiguration
8.14. Dynamic Transceiver Reconfiguration Interface
8.15. Interlaken PHY TimeQuest Timing Constraints
8.16. Interlaken PHY Simulation Files and Example Testbench
9.1. PHY for PCIe (PIPE) Device Family Support
9.2. PHY for PCIe (PIPE) Resource Utilization
9.3. Parameterizing the PHY IP Core for PCI Express (PIPE)
9.4. PHY for PCIe (PIPE) General Options Parameters
9.5. PHY for PCIe (PIPE) Interfaces
9.6. PHY for PCIe (PIPE) Input Data from the PHY MAC
9.7. PHY for PCIe (PIPE) Output Data to the PHY MAC
9.8. PHY for PCIe (PIPE) Clocks
9.9. PHY for PCIe (PIPE) Clock SDC Timing Constraints for Gen3 Designs
9.10. PHY for PCIe (PIPE) Optional Status Interface
9.11. PHY for PCIe (PIPE) Serial Data Interface
9.12. PHY for PCIe (PIPE) Register Interface and Register Descriptions
9.13. PHY for PCIe (PIPE) Link Equalization for Gen3 Data Rate
9.14. Enabling Dynamic PMA Tuning for PCIe Gen3
9.15. PHY for PCIe (PIPE) Dynamic Reconfiguration
9.16. PHY for PCIe (PIPE) Simulation Files and Example Testbench
11.1. Device Family Support
11.2. Performance and Resource Utilization
11.3. Parameterizing the Low Latency PHY
11.4. General Options Parameters
11.5. Additional Options Parameters
11.6. PLL Reconfiguration Parameters
11.7. Low Latency PHY Analog Parameters
11.8. Low Latency PHY Interfaces
11.9. Low Latency PHY Data Interfaces
11.10. Optional Status Interface
11.11. Low Latency PHY Clock Interface
11.12. Optional Reset Control and Status Interface
11.13. Register Interface and Register Descriptions
11.14. Dynamic Reconfiguration
11.15. SDC Timing Constraints
11.16. Simulation Files and Example Testbench
12.1. Deterministic Latency Auto-Negotiation
12.2. Achieving Deterministic Latency
12.3. Deterministic Latency PHY Delay Estimation Logic
12.4. Deterministic Latency PHY Device Family Support
12.5. Parameterizing the Deterministic Latency PHY
12.6. Interfaces for Deterministic Latency PHY
12.7. Data Interfaces for Deterministic Latency PHY
12.8. Clock Interface for Deterministic Latency PHY
12.9. Optional TX and RX Status Interface for Deterministic Latency PHY
12.10. Optional Reset Control and Status Interfaces for Deterministic Latency PHY
12.11. Register Interface and Descriptions for Deterministic Latency PHY
12.12. Dynamic Reconfiguration for Deterministic Latency PHY
12.13. Channel Placement and Utilization for Deterministic Latency PHY
12.14. SDC Timing Constraints
12.15. Simulation Files and Example Testbench for Deterministic Latency PHY
13.1. Device Family Support for Stratix V Native PHY
13.2. Performance and Resource Utilization for Stratix V Native PHY
13.3. Parameter Presets
13.4. Parameterizing the Stratix V Native PHY
13.5. Interfaces for Stratix V Native PHY
13.6. ×6/×N Bonded Clocking
13.7. xN Non-Bonded Clocking
13.8. SDC Timing Constraints of Stratix V Native PHY
13.9. Dynamic Reconfiguration for Stratix V Native PHY
13.10. Simulation Support
13.11. Slew Rate Settings
14.1. Device Family Support
14.2. Performance and Resource Utilization
14.3. Parameterizing the Arria V Native PHY
14.4. General Parameters
14.5. PMA Parameters
14.6. Standard PCS Parameters
14.7. Interfaces
14.8. SDC Timing Constraints
14.9. Dynamic Reconfiguration
14.10. Simulation Support
14.11. Slew Rate Settings
15.1. Device Family Support for Arria V GZ Native PHY
15.2. Performance and Resource Utilization for Arria V GZ Native PHY
15.3. Parameter Presets
15.4. Parameterizing the Arria V GZ Native PHY
15.5. Interfaces for Arria V GZ Native PHY
15.6. SDC Timing Constraints of Arria V GZ Native PHY
15.7. Dynamic Reconfiguration for Arria V GZ Native PHY
15.8. Simulation Support
15.9. Slew Rate Settings
16.1. Cyclone Device Family Support
16.2. Cyclone V Native PHY Performance and Resource Utilization
16.3. Parameterizing the Cyclone V Native PHY
16.4. General Parameters
16.5. PMA Parameters
16.6. Standard PCS Parameters
16.7. Interfaces
16.8. SDC Timing Constraints
16.9. Dynamic Reconfiguration
16.10. Simulation Support
16.11. Slew Rate Settings
17.1. Transceiver Reconfiguration Controller System Overview
17.2. Transceiver Reconfiguration Controller Performance and Resource Utilization
17.3. Parameterizing the Transceiver Reconfiguration Controller IP Core
17.4. Parameterizing the Transceiver Reconfiguration Controller IP Core in Qsys
17.5. Transceiver Reconfiguration Controller Interfaces
17.6. Transceiver Reconfiguration Controller Memory Map
17.7. Transceiver Reconfiguration Controller Calibration Functions
17.8. Transceiver Reconfiguration Controller PMA Analog Control Registers
17.9. Transceiver Reconfiguration Controller EyeQ Registers
17.10. Transceiver Reconfiguration Controller DFE Registers
17.11. Controlling DFE Using Register-Based Reconfiguration
17.12. Transceiver Reconfiguration Controller AEQ Registers
17.13. Transceiver Reconfiguration Controller ATX PLL Calibration Registers
17.14. Transceiver Reconfiguration Controller PLL Reconfiguration
17.15. Transceiver Reconfiguration Controller PLL Reconfiguration Registers
17.16. Transceiver Reconfiguration Controller DCD Calibration Registers
17.17. Transceiver Reconfiguration Controller Channel and PLL Reconfiguration
17.18. Transceiver Reconfiguration Controller Streamer Module Registers
17.19. MIF Generation
17.20. Creating MIFs for Designs that Include Bonded or GT Channels
17.21. MIF Format
17.22. xcvr_diffmifgen Utility
17.23. Reduced MIF Creation
17.24. Changing Transceiver Settings Using Register-Based Reconfiguration
17.25. Changing Transceiver Settings Using Streamer-Based Reconfiguration
17.26. Pattern Generators for the Stratix V and Arria V GZ Native PHYs
17.27. Understanding Logical Channel Numbering
17.28. Two PHY IP Core Instances Each with Non-Bonded Channels
17.29. Transceiver Reconfiguration Controller to PHY IP Connectivity
17.30. Merging TX PLLs In Multiple Transceiver PHY Instances
17.31. Sharing Reconfiguration Interface for Multi-Channel Transceiver Designs
17.32. Loopback Modes
17.26.1. Enabling the Standard PCS PRBS Verifier Using Streamer-Based Reconfiguration
17.26.2. Enabling the Standard PCS PRBS Generator Using Streamer-Based Reconfiguration
17.26.3. Enabling the 10G PCS PRBS Generator or Verifier Using Streamer-Based Reconfiguration
Enable the PRBS 31 Generator
17.26.4. Disabling the Standard PCS PRBS Generator and Verifier Using Streamer-Based Reconfiguration
18.1. Device Family Support for Transceiver PHY Reset Controller
18.2. Performance and Resource Utilization for Transceiver PHY Reset Controller
18.3. Parameterizing the Transceiver PHY Reset Controller IP
18.4. Transceiver PHY Reset Controller Parameters
18.5. Transceiver PHY Reset Controller Interfaces
18.6. Timing Constraints for Bonded PCS and PMA Channels
20.2.2.1. CDR_BANDWIDTH_PRESET
20.2.2.2. PLL_BANDWIDTH_PRESET
20.2.2.3. XCVR_RX_DC_GAIN
20.2.2.4. XCVR_ANALOG_SETTINGS_PROTOCOL
20.2.2.5. XCVR_RX_COMMON_MODE_VOLTAGE
20.2.2.6. XCVR_RX_LINEAR_EQUALIZER_CONTROL
20.2.2.7. XCVR_RX_SD_ENABLE
20.2.2.8. XCVR_RX_SD_OFF
20.2.2.9. XCVR_RX_SD_ON
20.2.2.10. XCVR_RX_SD_THRESHOLD
20.2.2.11. XCVR_TX_COMMON_MODE_VOLTAGE
20.2.2.12. XCVR_TX_PRE_EMP_1ST_POST_TAP
20.2.2.13. XCVR_TX_RX_DET_ENABLE
20.2.2.14. XCVR_TX_RX_DET_MODE
20.2.2.15. XCVR_TX_VOD
20.2.2.16. XCVR_TX_VOD_PRE_EMP_CTRL_SRC
20.3.2.1. CDR_BANDWIDTH_PRESET
20.3.2.2. master_ch_number
20.3.2.3. PLL_BANDWIDTH_PRESET
20.3.2.4. reserved_channel
20.3.2.5. XCVR_ANALOG_SETTINGS_PROTOCOL
20.3.2.6. XCVR_RX_DC_GAIN
20.3.2.7. XCVR_RX_LINEAR_EQUALIZER_CONTROL
20.3.2.8. XCVR_RX_COMMON_MODE_VOLTAGE
20.3.2.9. XCVR_RX_ENABLE_LINEAR_EQUALIZER_PCIEMODE
20.3.2.10. XCVR_RX_SD_ENABLE
20.3.2.11. XCVR_RX_SD_OFF
20.3.2.12. XCVR_RX_SD_ON
20.3.2.13. XCVR_RX_SD_THRESHOLD
20.3.2.14. XCVR_TX_COMMON_MODE_VOLTAGE
20.3.2.15. XCVR_TX_PRE_EMP_PRE_TAP_USER
20.3.2.16. XCVR_TX_PRE_EMP_2ND_POST_TAP_USER
20.3.2.17. XCVR_TX_PRE_EMP_1ST_POST_TAP
20.3.2.18. XCVR_TX_PRE_EMP_2ND_POST_TAP
20.3.2.19. XCVR_TX_PRE_EMP_INV_2ND_TAP
20.3.2.20. XCVR_TX_PRE_EMP_INV_PRE_TAP
20.3.2.21. XCVR_TX_PRE_EMP_PRE_TAP
20.3.2.22. XCVR_TX_RX_DET_ENABLE
20.3.2.23. XCVR_TX_RX_DET_MODE
20.3.2.24. XCVR_TX_RX_DET_OUTPUT_SEL
20.3.2.25. XCVR_TX_VOD
20.3.2.26. XCVR_TX_VOD_PRE_EMP_CTRL_SRC
20.4.5.1. CDR_BANDWIDTH_PRESET
20.4.5.2. PLL_BANDWIDTH_PRESET
20.4.5.3. XCVR_ANALOG_SETTINGS_PROTOCOL
20.4.5.4. XCVR_RX_DC_GAIN
20.4.5.5. XCVR_RX_LINEAR_EQUALIZER_CONTROL
20.4.5.6. XCVR_RX_COMMON_MODE_VOLTAGE
20.4.5.7. XCVR_RX_SD_ENABLE
20.4.5.8. XCVR_RX_SD_OFF
20.4.5.9. XCVR_RX_SD_ON
20.4.5.10. XCVR_RX_SD_THRESHOLD
20.4.5.11. XCVR_TX_COMMON_MODE_VOLTAGE
20.4.5.12. XCVR_TX_PRE_EMP_1ST_POST_TAP
20.4.5.13. XCVR_TX_RX_DET_ENABLE
20.4.5.14. XCVR_TX_RX_DET_MODE
20.4.5.15. XCVR_TX_VOD
20.4.5.16. XCVR_TX_VOD_PRE_EMP_CTRL_SRC
20.5.2.1. CDR_BANDWIDTH_PRESET
20.5.2.2. master_ch_number
20.5.2.3. PLL_BANDWIDTH_PRESET
20.5.2.4. reserved_channel
20.5.2.5. XCVR_ANALOG_SETTINGS_PROTOCOL
20.5.2.6. XCVR_GT_RX_DC_GAIN
20.5.2.7. XCVR_RX_DC_GAIN
20.5.2.8. XCVR_RX_LINEAR_EQUALIZER_CONTROL
20.5.2.9. XCVR_GT_RX_COMMON_ MODE_VOLTAGE
20.5.2.10. XCVR_GT_RX_CTLE
20.5.2.11. XCVR_GT_TX_COMMON_ MODE_VOLTAGE
20.5.2.12. XCVR_GT_TX_PRE_EMP_1ST_POST_TAP
20.5.2.13. XCVR_GT_TX_PRE_EMP_ INV_PRE_TAP
20.5.2.14. XCVR_GT_TX_PRE_EMP_ PRE_TAP
20.5.2.15. XCVR_GT_TX_VOD_MAIN_TAP
20.5.2.16. XCVR_RX_COMMON_MODE_VOLTAGE
20.5.2.17. XCVR_RX_ENABLE_LINEAR_EQUALIZER_PCIEMODE
20.5.2.18. XCVR_RX_SD_ENABLE
20.5.2.19. XCVR_RX_SD_OFF
20.5.2.20. XCVR_RX_SD_ON
20.5.2.21. XCVR_RX_SD_THRESHOLD
20.5.2.22. XCVR_TX_COMMON_MODE_VOLTAGE
20.5.2.23. XCVR_TX_PRE_EMP_PRE_TAP_USER
20.5.2.24. XCVR_TX_PRE_EMP_2ND_POST_TAP_USER
20.5.2.25. XCVR_TX_PRE_EMP_1ST_POST_TAP
20.5.2.26. XCVR_TX_PRE_EMP_2ND_POST_TAP
20.5.2.27. XCVR_TX_PRE_EMP_INV_2ND_TAP
20.5.2.28. XCVR_TX_PRE_EMP_INV_PRE_TAP
20.5.2.29. XCVR_TX_PRE_EMP_PRE_TAP
20.5.2.30. XCVR_TX_RX_DET_ENABLE
20.5.2.31. XCVR_TX_RX_DET_MODE
20.5.2.32. XCVR_TX_RX_DET_OUTPUT_SEL
20.5.2.33. XCVR_TX_VOD
20.5.2.34. XCVR_TX_VOD_PRE_EMP_CTRL_SRC
21.1. Differences in Dynamic Reconfiguration for Stratix IV and Stratix V Transceivers
21.2. Differences Between XAUI PHY Parameters for Stratix IV and Stratix V Devices
21.3. Differences Between XAUI PHY Ports in Stratix IV and Stratix V Devices
21.4. Differences Between PHY IP Core for PCIe PHY (PIPE) Parameters in Stratix IV and Stratix V Devices
21.5. Differences Between PHY IP Core for PCIe PHY (PIPE) Ports for Stratix IV and Stratix V Devices
21.6. Differences Between Custom PHY Parameters for Stratix IV and Stratix V Devices
21.7. Differences Between Custom PHY Ports in Stratix IV and Stratix V Devices
Visible to Intel only — GUID: nik1398984306109
Ixiasoft
17.26.3. Enabling the 10G PCS PRBS Generator or Verifier Using Streamer-Based Reconfiguration
Complete the following reads and writes to the Streamer module of the Transceiver Reconfiguration Controller to enable one of the three pattern generators in the 10G PCS.
- Read the Streamer Module control and status register busy bit (7’h3A, bit[8]) until it is clear.
- Write the Streamer Module logical channel number to the Streamer logical channel number register at address 0x38.
- Set the Streamer Module control and status register Mode bits (7’h3A, bits[3:2]) to Mode 1.
- Write the pattern type (0x135 for the PRBS pattern generator or 0x15E for the PRBS pattern verifier) to the Streamer Module streamer offset register at address 0x3B.
- Write the Streamer Module control and status register (0x3A) with a value of 0x6 to initiate a read.
- Read the Streamer Module data register at address 0x3C.
- Perform a read-modify-write to the generator or verifier bits using the value read in step 6 to retain values for the bits that should not change.
For example, to select the PRBS31 generator and to enable the PRBS generator, perform a read-modify-write using the value 16'b0000-0-0-0-11-00 read from address 0x3C. In this 16-bit value, the hyphens represent bits that should not be modified.
- Write the new value from step 7 to the Streamer data register at address 0x3C
- Write the Streamer control and status register (7'h3A) with a value of 0x5.
- Repeat steps 3-9 to the TX PRBS Clock Enable (0x137) for RX PRBS Clock Enable (0x164).
- Assert the channel resets.
Note: You can only enable one of the three pattern generators at a time.
Enable the PRBS 31 Generator
//PRBS31 Pattern Generator selection and setup read_32 0x3A //Read the control and status register busy //bit[8] until it is clear write_32 0x38 0x0 //write the logical channel to 0x38 write_32 0x3A 0x4 //set the MIF mode 1 to address 0x3A write_32 0x3B 0x135 //write the pattern type offset write_32 0x3A 0x6 //write the control and status register //with a value of 0x6 to address 0x3A to initiate a read //read_32 0x3C Read the value at address 0x3C RMW {16'b0000-0-0-0-11-00, {Read_32 0x3C}} //Perform a // read-modify-write with the generator or bits and the // value read from above write_32 0x3C 0x<result from above > //Write the new value from //above to the dataregister at address 0x3C write_32 0x3A0x5 //Write the control and status register //with a value of 0x5 to address 0x3A //Generator clock setup read_32 0x3A //Read the control and status register busy //bit[8] until it is clear write_32 0x38 0x0 //write logical channel to 0x38 write_32 0x3A 0x4 //set the MIF mode 1 to address 0x3A write_32 0x3B 0x137 //write the clock write_32 0x3A 0x6 //write the control and status register //with a value of 0x6 to address 0x3A to initiate a read read_32 0x3C //Read the value at address 0x3C RMW {3’b10-,{read_32 0x3C}} //Perform a read-modify-write //with the generator or bits and the value read from above write_32 0x3C 0x<result from above > //Write the new value //from above to the data register at address 0x3C write_32 0x3A 0x5 //Write the control and status register //with a value of 0x5 to address 0x3A //Assert the channel resets
Enable the Square Wave Generator
//Enable the square wave generator with 5 consecutive 1s and 0s //Generator selection and setup read_32 0x3A //Read the control and status register //busy bit[8] until it is clear write_32 0x38 0x0 //write logical channel to 0x38 write_32 0x3A 0x4 //set the MIF mode 1 to address 0x3A write_32 0x3B 0x135 //write the pattern type offset write_32 0x3A 0x6 //write the control and status register //with a value of 0x6 to address 0x3A to initiate a read read_32 0x3C //Read the value at address 0x3C RMW {16’b0101-0-0-0-00-10, {read_32 0x3C}} //Perform a //read-modify-write with the generator or bits //and the value read from above write_32 0x3C 0x<result from above > //Write the new value from //above to the data register at address 0x3C write_32 0x3A 0x5 //Write the control and status register // with a value of 0x5 to address 0x3A //Generator clock setup read_32 0x3A //Read the control and status register //busy bit[8] until it is clear write_32 0x38 0x0 //write logical channel to 0x38 write_32 0x3A 0x4 //set the MIF mode 1 to address 0x3A write_32 0x3B 0x137 //write the pattern type offset write_32 0x3A 0x6 //write the control and status register with // a value of 0x6 to address 0x3A to initiate a read read_32 0x3C //Read the value at address 0x3C RMW {3’b01-, {read_32 0x3C}} //Perform a read-modified-write //with the generator or bits and the value read from above write_32 0x3C 0x<result from above > //Write the new value //from above to the data register at address 0x3C write_32 0x3A 0x5 //Write the control and status register //with a value of 0x5 to address 0x3A //Assert the channel resets
Enable the Pseudo-Random Generator
//Enable the pseudo-random pattern generator //Seed A is set to 0x5. Use 2 local faults read_32 0x3A //Read the control and status register busy // bit[8] until it is clear write_32 0x38 0x0 //write logical channel to 0x38 write_32 0x3A 0x4 //set the MIF mode 1 to address 0x3A write_32 0x3B 0x12D //write the pattern type offset write_32 0x3C 0x5 //Write the new value from above //to the data register at address 0x3C write_32 0x3A 0x5 //Write the control and status register //with a value of 0x5 to address 0x3A //Generator selection and setup read_32 0x3A //Read the control and status register //busy bit[8] until it is clear write_32 0x38 0x0 //write logical channel to 0x38 write_32 0x3A 0x4 //set the MIF mode 1 to address 0x3A write_32 0x3B 0x135 //write the pattern type offset write_32 0x3A 0x6//write the control and status register //with a value of 0x6 to address 0x3A to initiate a read read_32 0x3C //Read the value at address 0x3C RMW {3’b1-01, {read_32 0x3C}} //Perform a read-modify-write //with the generator or bits and the value read from above write_32 0x3C 0x<result from above > //Write the new value //from above to the data register at address 0x3C write_32 0x3A 0x5 //Write the control and status register with //a value of 0x5 to address 0x3A //Assert the channel resets