| 1 |
/** |
| 2 |
* PLL configuration |
| 3 |
* |
| 4 |
* This Verilog module was generated automatically |
| 5 |
* using the icepll tool from the IceStorm project. |
| 6 |
* Use at your own risk. |
| 7 |
* |
| 8 |
* Given input frequency: 100.000 MHz |
| 9 |
* Requested output frequency: 16.000 MHz |
| 10 |
* Achieved output frequency: 16.016 MHz |
| 11 |
*/ |
| 12 |
|
| 13 |
module pll( |
| 14 |
input clock_in, |
| 15 |
output clock_out, |
| 16 |
output locked |
| 17 |
); |
| 18 |
|
| 19 |
SB_PLL40_CORE #( |
| 20 |
.FEEDBACK_PATH("SIMPLE"), |
| 21 |
.DIVR(4'b0011), // DIVR = 3 |
| 22 |
.DIVF(7'b0101000), // DIVF = 40 |
| 23 |
.DIVQ(3'b110), // DIVQ = 6 |
| 24 |
.FILTER_RANGE(3'b010) // FILTER_RANGE = 2 |
| 25 |
) uut ( |
| 26 |
.LOCK(locked), |
| 27 |
.RESETB(1'b1), |
| 28 |
.BYPASS(1'b0), |
| 29 |
.REFERENCECLK(clock_in), |
| 30 |
.PLLOUTCORE(clock_out) |
| 31 |
); |
| 32 |
|
| 33 |
endmodule |