| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 1 | -- |
| 2 | -- Copyright (C) 2015-2016 secunet Security Networks AG |
| 3 | -- |
| 4 | -- This program is free software; you can redistribute it and/or modify |
| 5 | -- it under the terms of the GNU General Public License as published by |
| 6 | -- the Free Software Foundation; version 2 of the License. |
| 7 | -- |
| 8 | -- This program is distributed in the hope that it will be useful, |
| 9 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | -- GNU General Public License for more details. |
| 12 | -- |
| 13 | |
| 14 | private package HW.GFX.GMA.PLLs.WRPLL |
| 15 | is |
| 16 | |
| 17 | type Value_Array is array (WRPLLs) of Word32; |
| 18 | Register_Value : constant Value_Array := Value_Array' |
| 19 | (WRPLL0 => 4 * 2 ** 29, WRPLL1 => 5 * 2 ** 29); |
| 20 | |
| 21 | procedure On |
| 22 | (PLL : in WRPLLs; |
| 23 | Target_Clock : in Frequency_Type; |
| 24 | Success : out Boolean); |
| 25 | |
| 26 | procedure Off (PLL : WRPLLs); |
| 27 | |
| 28 | end HW.GFX.GMA.PLLs.WRPLL; |