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

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [rc-1.0/] [rtl/] [verilog/] [minsoc_clock_manager.v] - Diff between revs 52 and 56

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 52 Rev 56
Line 7... Line 7...
);
);
 
 
// 
// 
// Parameters 
// Parameters 
// 
// 
parameter    divisor = 5;
   parameter    divisor = 2;
parameter    multiplier = 1;
 
 
 
input clk_i;
input clk_i;
output clk_o;
output clk_o;
 
 
`ifdef NO_CLOCK_DIVISION
`ifdef NO_CLOCK_DIVISION
Line 31... Line 30...
end
end
assign clk_o = clk_int;
assign clk_o = clk_int;
`elsif FPGA_CLOCK_DIVISION
`elsif FPGA_CLOCK_DIVISION
 
 
`ifdef ALTERA_FPGA
`ifdef ALTERA_FPGA
minsoc_pll
    `ifdef ARRIA_GX
#(
      defparam systemPll.FAMILY = "Arria GX";
   multiplier,
    `elsif ARRIA_II_GX
   divisor
      defparam systemPll.FAMILY = "Arria II GX";
)
    `elsif CYCLONE_I
systemPll
      defparam systemPll.FAMILY = "Cyclone I";
 
    `elsif CYCLONE_II
 
      defparam systemPll.FAMILY = "Cyclone II";
 
    `elsif CYCLONE_III
 
      defparam systemPll.FAMILY = "Cyclone III";
 
    `elsif CYCLONE_III_LS
 
      defparam systemPll.FAMILY = "Cyclone III LS";
 
    `elsif CYCLONE_IV_E
 
      defparam systemPll.FAMILY = "Cyclone IV E";
 
    `elsif CYCLONE_IV_GS
 
      defparam systemPll.FAMILY = "Cyclone IV GS";
 
    `elsif MAX_II
 
      defparam systemPll.FAMILY = "MAX II";
 
    `elsif MAX_V
 
      defparam systemPll.FAMILY = "MAX V";
 
    `elsif MAX3000A
 
      defparam systemPll.FAMILY = "MAX3000A";
 
    `elsif MAX7000AE
 
      defparam systemPll.FAMILY = "MAX7000AE";
 
    `elsif MAX7000B
 
      defparam systemPll.FAMILY = "MAX7000B";
 
    `elsif MAX7000S
 
      defparam systemPll.FAMILY = "MAX7000S";
 
    `elsif STRATIX
 
      defparam systemPll.FAMILY = "Stratix";
 
    `elsif STRATIX_II
 
      defapram systemPll.FAMILY = "Stratix II";
 
    `elsif STRATIX_II_GX
 
      defparam systemPll.FAMILY = "Stratix II GX";
 
    `elsif STRATIX_III
 
      defparam systemPll.FAMILY = "Stratix III"
 
    `endif
 
 
 
    defparam systemPll.FREQ_DIV = divisor;
 
 
 
    minsoc_pll systemPll
(
(
    .inclk0(clk_i),
    .inclk0(clk_i),
    .c0(clk_o)
    .c0(clk_o)
);
);
 
 

powered by: WebSVN 2.1.0

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