WIMAX系統中PCI接口的設計與實(shí)現
module state_machine (devsel_l, …);
本文引用地址:http://dyxdggzs.com/article/83566.htmoutput de vsel_l; // 三態(tài)輸入
output trdy_l;// 三態(tài)輸入
output stop_l;//三態(tài)輸入
output PCI_ad_oe;// PCI 地址線(xiàn)的使能信號
output dts_oe; // the devsel, trdy_l, stop_l (dts)信號的使能控制信號
output par_oe; // 校驗使能控制信號
output bk_oe; // 用戶(hù)端數據線(xiàn)的使能控制信號
output pci_ad_en;// PCI 地址啟動(dòng)寄存器的時(shí)鐘使能信號
output abort_sig; // 設置abort信號狀態(tài)寄存器位
output data_write_l; // 數據寫(xiě)信號,用作pci_clk 信號到用戶(hù)端設備的時(shí)鐘使能
output count_rst_l; // 重試計數器的復位信號
output count_en_l; // 重試計數器的時(shí)鐘使能信號
output base_region0_l; // 片選信號
output base_region1_l; //片選信號
output data_read_l; // 用戶(hù)端設備讀信號
output be_oe; // 用戶(hù)端口字節使能信號
input hit_ba0_l;// 用于說(shuō)明PCI地址在base address 0
input hit_ba1_l;//用于說(shuō)明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 地址數據線(xiàn)
input [3:0] pci_cbe_l; // 命令/字節使能信號
…
input data_stop_l; // 用戶(hù)端申請中止數據傳輸信號
input ready_l; // 用戶(hù)準備開(kāi)始一個(gè)傳輸周期
input retry_l; // 重試信號
……
endmodule
圖3 狀態(tài)機模塊仿真圖
狀態(tài)機模塊的仿真波形如圖3所示。 PCI總線(xiàn)接口的頂層gdf文件如圖4。
圖4 PCI接口gdf文件
評論