Solution ID: rd06172009_579
Last Modified: Jun 25, 2010
Product Category: Intellectual Property
Product Area: Other (Intellectual Property)
Product Sub-area: Other (IP)
IP Product: Triple Speed Ethernet MAC
Title
In the Altera Triple Speed Ethernet (TSE) MegaCore function, how is the PCS register address calculated?
Description
In the Altera® Triple Speed Ethernet (TSE) MegaCore® Function, to get the full address of PCS register, the PCS register offset needs to be added to the base register address.
PCS register address (pcs_reg_addr) = PCS register base address + (PCS register offset*2)
(From the TSE User Guide:"For configurations that contain both the MAC and PCS functions, multiply the address offset by 2".)
For example:
PCS control register:
PCS register base address : 0x200 (Table 4-12)
Control register offset : 0x00 (Table 4-22)
PCS control register address = 0x200 + (0x00*2) = 0x200
PCS if_mode register:
PCS register base address : 0x200 (Table 4-12)
if_mode register offset : 0x28 (Table 4-22)
PCS if_mode register address = 0x200 + (0x28*2) = 0x250
Feedback
Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.
