Debian Codegraph @

examples/gw5a/pll7.v

raw
1 module top (input wire clk, input wire resetn, output wire lock,
2 output wire clkout0,
3 output wire clkout1,
4 output wire clkout2,
5 output wire clkout3,
6 output wire clkout4,
7 output wire clkout5,
8 output wire clkout6
9 );
10
11 wire clkfbout;
12 wire [7:0] mdrdo;
13 wire gw_gnd;
14
15 assign gw_gnd = 1'b0;
16
17 PLLA PLLA_inst (
18 .LOCK(lock),
19 .CLKOUT0(clkout0),
20 .CLKOUT1(clkout1),
21 .CLKOUT2(clkout2),
22 .CLKOUT3(clkout3),
23 .CLKOUT4(clkout4),
24 .CLKOUT5(clkout5),
25 .CLKOUT6(clkout6),
26 .CLKFBOUT(clkfbout),
27 .MDRDO(mdrdo),
28 .CLKIN(clk),
29 .CLKFB(gw_gnd),
30 .RESET(resetn),
31 .PLLPWD(gw_gnd),
32 .RESET_I(gw_gnd),
33 .RESET_O(gw_gnd),
34 .PSSEL({gw_gnd,gw_gnd,gw_gnd}),
35 .PSDIR(gw_gnd),
36 .PSPULSE(gw_gnd),
37 .SSCPOL(gw_gnd),
38 .SSCON(gw_gnd),
39 .SSCMDSEL({gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd}),
40 .SSCMDSEL_FRAC({gw_gnd,gw_gnd,gw_gnd}),
41 .MDCLK(gw_gnd),
42 .MDOPC({gw_gnd,gw_gnd}),
43 .MDAINC(gw_gnd),
44 .MDWDI({gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd,gw_gnd})
45 );
46
47 defparam PLLA_inst.FCLKIN = "50";
48 defparam PLLA_inst.IDIV_SEL = 1;
49 defparam PLLA_inst.FBDIV_SEL = 1;
50 defparam PLLA_inst.ODIV0_SEL = 36;
51 defparam PLLA_inst.ODIV1_SEL = 41;
52 defparam PLLA_inst.ODIV2_SEL = 45;
53 defparam PLLA_inst.ODIV3_SEL = 60;
54 defparam PLLA_inst.ODIV4_SEL = 90;
55 defparam PLLA_inst.ODIV5_SEL = 100;
56 defparam PLLA_inst.ODIV6_SEL = 117;
57 defparam PLLA_inst.MDIV_SEL = 18;
58 defparam PLLA_inst.MDIV_FRAC_SEL = 0;
59 defparam PLLA_inst.ODIV0_FRAC_SEL = 0;
60 defparam PLLA_inst.CLKOUT0_EN = "TRUE";
61 defparam PLLA_inst.CLKOUT1_EN = "TRUE";
62 defparam PLLA_inst.CLKOUT2_EN = "TRUE";
63 defparam PLLA_inst.CLKOUT3_EN = "TRUE";
64 defparam PLLA_inst.CLKOUT4_EN = "TRUE";
65 defparam PLLA_inst.CLKOUT5_EN = "TRUE";
66 defparam PLLA_inst.CLKOUT6_EN = "TRUE";
67 defparam PLLA_inst.CLKFB_SEL = "INTERNAL";
68 defparam PLLA_inst.CLKOUT0_DT_DIR = 1'b1;
69 defparam PLLA_inst.CLKOUT1_DT_DIR = 1'b1;
70 defparam PLLA_inst.CLKOUT2_DT_DIR = 1'b1;
71 defparam PLLA_inst.CLKOUT3_DT_DIR = 1'b1;
72 defparam PLLA_inst.CLKOUT0_DT_STEP = 0;
73 defparam PLLA_inst.CLKOUT1_DT_STEP = 0;
74 defparam PLLA_inst.CLKOUT2_DT_STEP = 0;
75 defparam PLLA_inst.CLKOUT3_DT_STEP = 0;
76 defparam PLLA_inst.CLK0_IN_SEL = 1'b0;
77 defparam PLLA_inst.CLK0_OUT_SEL = 1'b0;
78 defparam PLLA_inst.CLK1_IN_SEL = 1'b0;
79 defparam PLLA_inst.CLK1_OUT_SEL = 1'b0;
80 defparam PLLA_inst.CLK2_IN_SEL = 1'b0;
81 defparam PLLA_inst.CLK2_OUT_SEL = 1'b0;
82 defparam PLLA_inst.CLK3_IN_SEL = 1'b0;
83 defparam PLLA_inst.CLK3_OUT_SEL = 1'b0;
84 defparam PLLA_inst.CLK4_IN_SEL = 2'b00;
85 defparam PLLA_inst.CLK4_OUT_SEL = 1'b0;
86 defparam PLLA_inst.CLK5_IN_SEL = 1'b0;
87 defparam PLLA_inst.CLK5_OUT_SEL = 1'b0;
88 defparam PLLA_inst.CLK6_IN_SEL = 1'b0;
89 defparam PLLA_inst.CLK6_OUT_SEL = 1'b0;
90 defparam PLLA_inst.DYN_DPA_EN = "FALSE";
91 defparam PLLA_inst.CLKOUT0_PE_COARSE = 0;
92 defparam PLLA_inst.CLKOUT0_PE_FINE = 0;
93 defparam PLLA_inst.CLKOUT1_PE_COARSE = 0;
94 defparam PLLA_inst.CLKOUT1_PE_FINE = 0;
95 defparam PLLA_inst.CLKOUT2_PE_COARSE = 0;
96 defparam PLLA_inst.CLKOUT2_PE_FINE = 0;
97 defparam PLLA_inst.CLKOUT3_PE_COARSE = 0;
98 defparam PLLA_inst.CLKOUT3_PE_FINE = 0;
99 defparam PLLA_inst.CLKOUT4_PE_COARSE = 0;
100 defparam PLLA_inst.CLKOUT4_PE_FINE = 0;
101 defparam PLLA_inst.CLKOUT5_PE_COARSE = 0;
102 defparam PLLA_inst.CLKOUT5_PE_FINE = 0;
103 defparam PLLA_inst.CLKOUT6_PE_COARSE = 0;
104 defparam PLLA_inst.CLKOUT6_PE_FINE = 0;
105 defparam PLLA_inst.DYN_PE0_SEL = "FALSE";
106 defparam PLLA_inst.DYN_PE1_SEL = "FALSE";
107 defparam PLLA_inst.DYN_PE2_SEL = "FALSE";
108 defparam PLLA_inst.DYN_PE3_SEL = "FALSE";
109 defparam PLLA_inst.DYN_PE4_SEL = "FALSE";
110 defparam PLLA_inst.DYN_PE5_SEL = "FALSE";
111 defparam PLLA_inst.DYN_PE6_SEL = "FALSE";
112 defparam PLLA_inst.DE0_EN = "FALSE";
113 defparam PLLA_inst.DE1_EN = "FALSE";
114 defparam PLLA_inst.DE2_EN = "FALSE";
115 defparam PLLA_inst.DE3_EN = "FALSE";
116 defparam PLLA_inst.DE4_EN = "FALSE";
117 defparam PLLA_inst.DE5_EN = "FALSE";
118 defparam PLLA_inst.DE6_EN = "FALSE";
119 defparam PLLA_inst.RESET_I_EN = "FALSE";
120 defparam PLLA_inst.RESET_O_EN = "FALSE";
121 defparam PLLA_inst.ICP_SEL = 6'bXXXXXX;
122 defparam PLLA_inst.LPF_RES = 3'bXXX;
123 defparam PLLA_inst.LPF_CAP = 2'b00;
124 defparam PLLA_inst.SSC_EN = "FALSE";
125
126 endmodule //Gowin_PLL