Last active
October 26, 2022 09:51
-
-
Save tzechienchu/6cbdcb3a7c1b3a7ec079328f6518c14d to your computer and use it in GitHub Desktop.
ICE40 PLL Verilog
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
SB_PLL40_PAD #( | |
.FEEDBACK_PATH("SIMPLE"), | |
.PLLOUT_SELECT("GENCLK"), | |
.DIVR(4'b0000), | |
.DIVF(7'b1010100), | |
.DIVQ(3'b101), | |
.FILTER_RANGE(3'b001), | |
) SB_PLL40_CORE_inst ( | |
.RESETB(1'b1), | |
.BYPASS(1'b0), | |
.PACKAGEPIN(clk), | |
.PLLOUTCORE(clk_32mhz), | |
); | |
SB_PLL40_CORE #( | |
.FEEDBACK_PATH("SIMPLE"), | |
.PLLOUT_SELECT("GENCLK"), | |
.DIVR(4'b0000), | |
.DIVF(7'b0001111), | |
.DIVQ(3'b101), | |
.FILTER_RANGE(3'b100), | |
) SB_PLL40_CORE_inst ( | |
.RESETB(1'b1), | |
.BYPASS(1'b0), | |
.PLLOUTCORE(clk_24mhz), | |
.REFERENCECLK(clk_48mhz) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment