This commit is contained in:
leeyunlong 2025-07-30 10:21:10 +08:00
parent 6b8c0aed97
commit d6aac16faf
6 changed files with 16 additions and 1 deletions

View File

@ -104,4 +104,19 @@ APB32位发起两笔读transaction
## 4.2 状态机设计 ## 4.2 状态机设计
![alt text](image-6.png) ![alt text](image-6.png)
# 5 MAC-IP Propramming Guide
To guide to propram sequences to initialize and manage.
寄存器配置流程:下配置的核心是:读-修改-写--目的是为了防止覆盖同一寄存器的其他字段;
实现使用MASK参数来进行精准定位需修改的位
![alt text](image-10.png)
## 5.1 Startup using Standard Alignment Marker Cycle length
以寄存器配置去bring up 这个800GBASE-R8 KP
配置通道0的相关寄存器然后通过读取状态寄存器0x0010等待其中指定的9个状态位全部置1表示通道0已经启动完成。
![alt text](image-11.png)
进行适配APB配置时的32bit接口
![alt text](image-13.png)
到时候仿axi_read_modify_write()函数来进行写一个apb_read_modify_write()函数注意addr、data、mask的取32bit map;

BIN
rtl/eth_mac/image-10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
rtl/eth_mac/image-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
rtl/eth_mac/image-12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

BIN
rtl/eth_mac/image-13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB