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

Subversion Repositories instruction_list_pipelined_processor_with_peripherals

[/] [instruction_list_pipelined_processor_with_peripherals/] [trunk/] [hdl/] [tcReset.v] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 maheshpalv
 
2
`include "timescale.v"
3
`include "defines.v"
4
 
5
 
6
module tcReset (tcResetEn, resetIn, tcAddr, resetOut);
7
 
8
        input tcResetEn, resetIn;
9
        input [`tcAddrLen-1:0] tcAddr;
10
 
11
        output [`tcNumbers-1:0] resetOut;
12
 
13
        reg [`tcNumbers-1:0] resets;
14
 
15
 
16
        always @ *
17
        begin
18
                if (tcResetEn)
19
                begin
20
                        resets[tcAddr] = resetIn;
21
                end
22
        end
23
 
24
        assign resetOut = resets;
25
 
26
 
27
endmodule

powered by: WebSVN 2.1.0

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