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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [lib/] [gaisler/] [vlog/] [hazard_unit.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
module hazard_unit
2
                (
3
                  clk,load,rt,hold,
4
                  load_o,rt_o
5
                );
6
 
7
 
8
input clk;
9
wire clk;
10
input load;
11
wire load;
12
input [4:0] rt;
13
wire [4:0] rt;
14
output load_o;
15
wire load_o;
16
output [4:0] rt_o;
17
wire [4:0] rt_o;
18
input hold;
19
wire hold;
20
 
21
 
22
 
23
 
24
 
25
r1_reg load1 (.hold(hold),
26
                .clk(clk),
27
                .r1_i(load),
28
                .r1_o(load_o)
29
            );
30
 
31
r5_reg rt1
32
            (.hold(hold),
33
                .clk(clk),
34
                .r5_i(rt),
35
                .r5_o(rt_o)
36
            );
37
 
38
 
39
 
40
 
41
endmodule

powered by: WebSVN 2.1.0

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