URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 20 |
Rev 52 |
Line 43... |
Line 43... |
//
|
//
|
// Clock Division selection
|
// Clock Division selection
|
//
|
//
|
//`define NO_CLOCK_DIVISION
|
//`define NO_CLOCK_DIVISION
|
//`define GENERIC_CLOCK_DIVISION
|
//`define GENERIC_CLOCK_DIVISION
|
`define FPGA_CLOCK_DIVISION //Altera ALTPLL is not implemented, didn't find the code for its verilog instantiation
|
`define FPGA_CLOCK_DIVISION // Altera ALTPLL is yet implemented in Verilog and will be used with this option
|
//if you selected altera and this, the GENERIC_CLOCK_DIVISION will be automatically taken
|
|
|
|
//
|
//
|
// Define division
|
// Define division
|
//
|
//
|
`define CLOCK_DIVISOR 5 //in case of GENERIC_CLOCK_DIVISION the real value will be rounded down to an even value
|
`define CLOCK_DIVISOR 4 //in case of GENERIC_CLOCK_DIVISION the real value will be rounded down to an even value
|
//in FPGA case, check minsoc_clock_manager for allowed divisors
|
//in FPGA case, check minsoc_clock_manager for allowed divisors
|
//DO NOT USE CLOCK_DIVISOR = 1 COMMENT THE CLOCK DIVISION SELECTION INSTEAD
|
//DO NOT USE CLOCK_DIVISOR = 1 COMMENT THE CLOCK DIVISION SELECTION INSTEAD
|
|
|
//
|
//
|
|
// Define multiply
|
|
//
|
|
`define CLOCK_MULTIPLIER 2 // In case of FPGA_CLOCK_DIVISION for Altera FPGAs, ALTPLL Megafunction will be used
|
|
// and this will need a clock multiply factor.
|
|
|
|
//
|
// Reset polarity
|
// Reset polarity
|
//
|
//
|
//`define NEGATIVE_RESET //rstn
|
//`define NEGATIVE_RESET //rstn
|
`define POSITIVE_RESET //rst
|
`define POSITIVE_RESET //rst
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.