1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/edma/hdl/edma.v

45 lines
1.1 KiB
Coq
Raw Normal View History

2015-04-23 17:49:06 -04:00
module edma (/*AUTOARG*/
// Outputs
reg_rdata, access_out, packet_out,
2015-04-23 17:49:06 -04:00
// Inputs
nreset, clk, reg_access, reg_packet, wait_in
2015-04-23 17:49:06 -04:00
);
/******************************/
/*Compile Time Parameters */
/******************************/
parameter RFAW = 6;
2015-04-23 17:49:06 -04:00
parameter AW = 32;
parameter DW = 32;
parameter PW = 104;
2015-04-23 17:49:06 -04:00
/******************************/
/*HARDWARE RESET (EXTERNAL) */
/******************************/
input nreset; //async reset
input clk;
2015-04-23 17:49:06 -04:00
/*****************************/
/*REGISTER INTERFACE */
/*****************************/
input reg_access;
input [PW-1:0] reg_packet;
output [31:0] reg_rdata;
2015-04-23 17:49:06 -04:00
/*****************************/
/*DMA TRANSACTION */
/*****************************/
output access_out;
output [PW-1:0] packet_out;
input wait_in;
//Tieoffs for now
assign access_out = 'b0;
assign packet_out = 'd0;
2015-04-23 17:49:06 -04:00
endmodule // edma
// Local Variables:
// verilog-library-directories:("." "../../common/hdl")
// End: