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

Subversion Repositories sata_phy

[/] [sata_phy/] [trunk/] [hdl/] [glbl.v] - Blame information for rev 15

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

Line No. Rev Author Line
1 8 beandigita
 
2
`timescale  1 ps / 1 ps
3
 
4
module glbl ();
5
 
6
    parameter ROC_WIDTH = 100000;
7
    parameter TOC_WIDTH = 0;
8
 
9
    wire GSR;
10
    wire GTS;
11
    wire GWE;
12
    wire PRLD;
13
    tri1 p_up_tmp;
14
    tri (weak1, strong0) PLL_LOCKG = p_up_tmp;
15
 
16
    reg GSR_int;
17
    reg GTS_int;
18
    reg PRLD_int;
19
 
20
//--------   JTAG Globals --------------
21
    wire JTAG_TDO_GLBL;
22
    wire JTAG_TCK_GLBL;
23
    wire JTAG_TDI_GLBL;
24
    wire JTAG_TMS_GLBL;
25
    wire JTAG_TRST_GLBL;
26
 
27
    reg JTAG_CAPTURE_GLBL;
28
    reg JTAG_RESET_GLBL;
29
    reg JTAG_SHIFT_GLBL;
30
    reg JTAG_UPDATE_GLBL;
31
    reg JTAG_RUNTEST_GLBL;
32
 
33
    reg JTAG_SEL1_GLBL = 0;
34
    reg JTAG_SEL2_GLBL = 0 ;
35
    reg JTAG_SEL3_GLBL = 0;
36
    reg JTAG_SEL4_GLBL = 0;
37
 
38
    reg JTAG_USER_TDO1_GLBL = 1'bz;
39
    reg JTAG_USER_TDO2_GLBL = 1'bz;
40
    reg JTAG_USER_TDO3_GLBL = 1'bz;
41
    reg JTAG_USER_TDO4_GLBL = 1'bz;
42
 
43
    assign (weak1, weak0) GSR = GSR_int;
44
    assign (weak1, weak0) GTS = GTS_int;
45
    assign (weak1, weak0) PRLD = PRLD_int;
46
 
47
    initial begin
48
        GSR_int = 1'b1;
49
        PRLD_int = 1'b1;
50
        #(ROC_WIDTH)
51
        GSR_int = 1'b0;
52
        PRLD_int = 1'b0;
53
    end
54
 
55
    initial begin
56
        GTS_int = 1'b1;
57
        #(TOC_WIDTH)
58
        GTS_int = 1'b0;
59
    end
60
 
61
endmodule

powered by: WebSVN 2.1.0

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