OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [rtl/] [verilog/] [dummy_slave.v] - Blame information for rev 17

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 unneback
module dummy_slave
2
   ( dat_o, stb_i, cyc_i, ack_o, clk, rst );
3
 
4
 
5
   output [31:0] dat_o;
6
   input         stb_i;
7
   input         cyc_i;
8
   output        ack_o;
9
   input         clk;
10
   input         rst;
11
 
12
   reg           ack_o;
13
 
14
   parameter [31:0] value = 32'hc0000000;
15
 
16
   assign dat_o = value;
17
 
18
   always @ (posedge clk or posedge rst)
19
     if (rst)
20
       ack_o <= 1'b0;
21
     else
22
       ack_o <= stb_i & cyc_i & !ack_o;
23
 
24
endmodule //
25
 
26
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.