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

Subversion Repositories steelcore

[/] [vivado/] [steel-core.sim/] [sim_1/] [behav/] [xsim/] [glbl.v] - Blame information for rev 11

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 11 rafaelcalc
// $Header: /devl/xcs/repo/env/Databases/CAEInterfaces/verunilibs/data/glbl.v,v 1.14 2010/10/28 20:44:00 fphillip Exp $
2
`ifndef GLBL
3
`define GLBL
4
`timescale  1 ps / 1 ps
5
 
6
module glbl ();
7
 
8
    parameter ROC_WIDTH = 100000;
9
    parameter TOC_WIDTH = 0;
10
 
11
//--------   STARTUP Globals --------------
12
    wire GSR;
13
    wire GTS;
14
    wire GWE;
15
    wire PRLD;
16
    tri1 p_up_tmp;
17
    tri (weak1, strong0) PLL_LOCKG = p_up_tmp;
18
 
19
    wire PROGB_GLBL;
20
    wire CCLKO_GLBL;
21
    wire FCSBO_GLBL;
22
    wire [3:0] DO_GLBL;
23
    wire [3:0] DI_GLBL;
24
 
25
    reg GSR_int;
26
    reg GTS_int;
27
    reg PRLD_int;
28
 
29
//--------   JTAG Globals --------------
30
    wire JTAG_TDO_GLBL;
31
    wire JTAG_TCK_GLBL;
32
    wire JTAG_TDI_GLBL;
33
    wire JTAG_TMS_GLBL;
34
    wire JTAG_TRST_GLBL;
35
 
36
    reg JTAG_CAPTURE_GLBL;
37
    reg JTAG_RESET_GLBL;
38
    reg JTAG_SHIFT_GLBL;
39
    reg JTAG_UPDATE_GLBL;
40
    reg JTAG_RUNTEST_GLBL;
41
 
42
    reg JTAG_SEL1_GLBL = 0;
43
    reg JTAG_SEL2_GLBL = 0 ;
44
    reg JTAG_SEL3_GLBL = 0;
45
    reg JTAG_SEL4_GLBL = 0;
46
 
47
    reg JTAG_USER_TDO1_GLBL = 1'bz;
48
    reg JTAG_USER_TDO2_GLBL = 1'bz;
49
    reg JTAG_USER_TDO3_GLBL = 1'bz;
50
    reg JTAG_USER_TDO4_GLBL = 1'bz;
51
 
52
    assign (strong1, weak0) GSR = GSR_int;
53
    assign (strong1, weak0) GTS = GTS_int;
54
    assign (weak1, weak0) PRLD = PRLD_int;
55
 
56
    initial begin
57
        GSR_int = 1'b1;
58
        PRLD_int = 1'b1;
59
        #(ROC_WIDTH)
60
        GSR_int = 1'b0;
61
        PRLD_int = 1'b0;
62
    end
63
 
64
    initial begin
65
        GTS_int = 1'b1;
66
        #(TOC_WIDTH)
67
        GTS_int = 1'b0;
68
    end
69
 
70
endmodule
71
`endif

powered by: WebSVN 2.1.0

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