Visible to Intel only — GUID: bmj1682963538496
Ixiasoft
Visible to Intel only — GUID: bmj1682963538496
Ixiasoft
3.10.2.1. Logical Avalon® Memory-Mapped Port Indexing
This sectio explais how to access the GTS PMA laes if you desig has moe tha oe GTS PMA lae. You eed to kow how to cotol the logical Avalo® memoy-mapped pot idexig if you ae usig the shaed ecofiguatio iteface. (Eable sepaate Avalo iteface pe PMA = Off).
If you desig has the Eable sepaate Avalo iteface pe PMA = O featue eabled, each Avalo® memoy-mapped iteface has its ow ecofiguatio iteface ad you ca diectly access the pot’s egiste addess without followig the logical pot idexig istuctio explaied i this sectio.
- 18 bits fo the PMA Avalo memoy-mapped ecofiguatio iteface (i_ecofig_addess[17:0])
The ecofiguatio addess space gows as a fuctio of the followig equatio:
log2(N)(whee N = umbe of laes), fo a icease i the umbe of PMA laes. The additioal MSB bits of the ecofiguatio addess bus epeset the logical Avalo® memoy-mapped pot idex value. Refe to MSB Addess Bits fo PMA Logical Avalo® Memoy-Mapped Recofiguatio Pot Idex Value fo moe ifomatio.
Fo example, if you eable fou PMA laes i you desig, fo the Avalo® memoy-mapped iteface, the total ecofiguatio addess bus is i_ecofig_addess[19:0]. The Avalo® memoy-mapped itefaces MSB addess bits (i_ecofig_addess[19:18]) povide the logical mappig to access diffeet laes based o the umbe of PMA laes. The two additioal MSB addess bits (i_ecofig_addess[19:18]) ae a logical epesetatio of the Avalo® memoy-mapped iteface pot. You ca use them to ead o wite to the idividual Avalo® memoy-mapped iteface defied withi the IP.
The followig table shows the MSB addess bits fo logical Avalo® memoy-mapped pot idexig with the umbe of PMA laes cofigued i the IP.
PMA Lae Set i GUI | Recofiguatio Addess Bus 38 | MSB Addess Bits fo Logical Avalo® Memoy-Mapped Pot Idexig | Logical Avalo® Memoy-Mapped Pot Idexig (value=hex) |
---|---|---|---|
1 | i_ecofig_addess[17:0] | Not Applicable | 0 |
2 | i_ecofig_addess[18:0] | [18] | 0,1 |
4 | i_ecofig_addess[19:0] | [19:18] | 0,1,2,3 |
6, 8 | i_ecofig_addess[20:0] | [20:18] | 0,1,2,3,4,5,6,7 |
Example 1: Pefomig a Read Opeatio fo TX EQ pe_tap_1 Registe (0x091750[9:5]) i Simulatio
- Fo lae 0: 0x091750 ÷ 4 = 0x245D4
- Fo lae 1: 0x191750 ÷ 4 = 0x645D4
avmm_ead(21'h245D4,data,32'habcd_ef01,1); // To ead TX EQ pe_tap_1 fo lae 0 epeat (5) @(posedge mgmt_clk); avmm_ead(21'h645D4,data,32'habcd_ef01,1); // To ead TX EQ pe_tap_1 fo lae 1 epeat (5) @(posedge mgmt_clk);