?? usbf_ep_rf_dummy.v
字號:
`include "usbf_defines.v"// Endpoint register Filemodule usbf_ep_rf_dummy( clk, wclk, rst, // Wishbone Interface adr, re, we, din, dout, inta, intb, dma_req, dma_ack, // Internal Interface idin, ep_sel, ep_match, buf0_rl, buf0_set, buf1_set, uc_bsel_set, uc_dpd_set, int_buf1_set, int_buf0_set, int_upid_set, int_crc16_set, int_to_set, int_seqerr_set, out_to_small, csr, buf0, buf1, dma_in_buf_sz1, dma_out_buf_avail );input clk, wclk, rst;input [1:0] adr;input re;input we;input [31:0] din;output [31:0] dout;output inta, intb;output dma_req;input dma_ack;input [31:0] idin; // Data Inputinput [3:0] ep_sel; // Endpoint Number Inputoutput ep_match; // Asserted to indicate a ep no is matchedinput buf0_rl; // Reload Buf 0 with original valuesinput buf0_set; // Write to buf 0input buf1_set; // Write to buf 1input uc_bsel_set; // Write to the uc_bsel fieldinput uc_dpd_set; // Write to the uc_dpd fieldinput int_buf1_set; // Set buf1 full/empty interruptinput int_buf0_set; // Set buf0 full/empty interruptinput int_upid_set; // Set unsupported PID interruptinput int_crc16_set; // Set CRC16 error interruptinput int_to_set; // Set time out interruptinput int_seqerr_set; // Set PID sequence error interruptinput out_to_small; // OUT packet was to small for DMA operationoutput [31:0] csr; // Internal CSR Outputoutput [31:0] buf0; // Internal Buf 0 Outputoutput [31:0] buf1; // Internal Buf 1 Outputoutput dma_in_buf_sz1; // Indicates that the DMA IN buffer has 1 max_pl_sz // packet availableoutput dma_out_buf_avail;// Indicates that there is space for at least // one MAX_PL_SZ packet in the buffer/////////////////////////////////////////////////////////////////////// Internal Access//assign dout = 32'h0;assign inta = 1'b0;assign intb = 1'b0;assign dma_req = 1'b0;assign ep_match = 1'b0;assign csr = 32'h0;assign buf0 = 32'hffff_ffff;assign buf1 = 32'hffff_ffff;assign dma_in_buf_sz1 = 1'b0;assign dma_out_buf_avail = 1'b0;endmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -