-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Jeremy Herbert <jeremy.006@gmail.com>
- Loading branch information
1 parent
713d67e
commit 569a0f4
Showing
3 changed files
with
87 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
library ieee ; | ||
use ieee.std_logic_1164.all; | ||
|
||
package components is | ||
|
||
-- Yosys wrapper components | ||
|
||
component EHXPLLL | ||
generic | ||
( | ||
CLKI_DIV : integer := 1; | ||
CLKFB_DIV : integer := 1; | ||
CLKOP_DIV : integer := 8; | ||
CLKOS_DIV : integer := 8; | ||
CLKOS2_DIV : integer := 8; | ||
CLKOS3_DIV : integer := 8; | ||
CLKOP_ENABLE : string := "ENABLED"; | ||
CLKOS_ENABLE : string := "DISABLED"; | ||
CLKOS2_ENABLE : string := "DISABLED"; | ||
CLKOS3_ENABLE : string := "DISABLED"; | ||
CLKOP_CPHASE : integer := 0; | ||
CLKOS_CPHASE : integer := 0; | ||
CLKOS2_CPHASE : integer := 0; | ||
CLKOS3_CPHASE : integer := 0; | ||
CLKOP_FPHASE : integer := 0; | ||
CLKOS_FPHASE : integer := 0; | ||
CLKOS2_FPHASE : integer := 0; | ||
CLKOS3_FPHASE : integer := 0; | ||
FEEDBK_PATH : string := "CLKOP"; | ||
CLKOP_TRIM_POL : string := "RISING"; | ||
CLKOP_TRIM_DELAY : integer := 0; | ||
CLKOS_TRIM_POL : string := "RISING"; | ||
CLKOS_TRIM_DELAY : integer := 0; | ||
OUTDIVIDER_MUXA : string := "DIVA"; | ||
OUTDIVIDER_MUXB : string := "DIVB"; | ||
OUTDIVIDER_MUXC : string := "DIVC"; | ||
OUTDIVIDER_MUXD : string := "DIVD"; | ||
PLL_LOCK_MODE : integer := 0; | ||
PLL_LOCK_DELAY : integer := 200; | ||
STDBY_ENABLE : string := "DISABLED"; | ||
REFIN_RESET : string := "DISABLED"; | ||
SYNC_ENABLE : string := "DISABLED"; | ||
INT_LOCK_STICKY : string := "ENABLED"; | ||
DPHASE_SOURCE : string := "DISABLED"; | ||
PLLRST_ENA : string := "DISABLED"; | ||
INTFB_WAKE : string := "DISABLED" | ||
); | ||
port | ||
( | ||
CLKI : IN std_logic := 'X'; | ||
CLKFB : IN std_logic := 'X'; | ||
RST : IN std_logic := 'X'; | ||
STDBY : IN std_logic := 'X'; | ||
PLLWAKESYNC : IN std_logic := 'X'; | ||
PHASESEL1 : IN std_logic := 'X'; | ||
PHASESEL0 : IN std_logic := 'X'; | ||
PHASEDIR : IN std_logic := 'X'; | ||
PHASESTEP : IN std_logic := 'X'; | ||
PHASELOADREG : IN std_logic := 'X'; | ||
ENCLKOP : IN std_logic := 'X'; | ||
ENCLKOS : IN std_logic := 'X'; | ||
ENCLKOS2 : IN std_logic := 'X'; | ||
ENCLKOS3 : IN std_logic := 'X'; | ||
CLKOP : OUT std_logic := 'X'; | ||
CLKOS : OUT std_logic := 'X'; | ||
CLKOS2 : OUT std_logic := 'X'; | ||
CLKOS3 : OUT std_logic := 'X'; | ||
LOCK : OUT std_logic := 'X'; | ||
INTLOCK : OUT std_logic := 'X'; | ||
REFCLK : OUT std_logic := 'X'; | ||
CLKINTFB : OUT std_logic := 'X' | ||
); | ||
end component; | ||
|
||
end package; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters