WIMAX系统中PCI接口的设计与实现
module state_machine (devsel_l, …);
本文引用地址://m.amcfsurvey.com/article/83566.htmoutput de vsel_l; // 三态输入
output trdy_l;// 三态输入
output stop_l;//三态输入
output dts_oe; // the devsel, trdy_l, stop_l (dts)信号的使能控制信号
output par_oe; // 校验使能控制信号
output bk_oe; // 用户端数据线的使能控制信号
output pci_ad_en;//PCI地址启动寄存器的时钟使能信号
output abort_sig; // 设置abort信号状态寄存器位
output data_write_l; // 数据写信号,用作pci_clk 信号到用户端设备的时钟使能
output count_rst_l; // 重试计数器的复位信号
output count_en_l; // 重试计数器的时钟使能信号
output base_region0_l; // 片选信号
output base_region1_l; //片选信号
output data_read_l; // 用户端设备读信号
output be_oe; // 用户端口字节使能信号
input hit_ba0_l;// 用于说明PCI地址在base address 0
input hit_ba1_l;//用于说明PCI地址在base address 1
input pci_frame_l; // pci_frame_l 信号
input pci_idsel; // pci_idsel 信号
input pci_irdy_l; // pci_irdy 信号
input [31:0] pci_ad;// 原始的pci 地址数据线
input [3:0] pci_cbe_l; // 命令/字节使能信号
…
input data_stop_l; // 用户端申请中止数据传输信号
input ready_l; // 用户准备开始一个传输周期
input retry_l; // 重试信号
……
endmodule
图3 状态机模块仿真图
状态机模块的仿真波形如图3所示。 PCI总线接口的顶层gdf文件如图4。
图4 PCI接口gdf文件
评论