aboutsummaryrefslogtreecommitdiff
path: root/i2c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-10-19 17:55:04 -0400
committerPaul Selkirk <paul@psgd.org>2015-10-19 17:55:04 -0400
commit3d96445bf19f3fd15b2ad9fe4cd7a08bad9c0e41 (patch)
treef16879437e301ff221f82047638afe4d44b71d41 /i2c
parent76774e17233eb7d2a3430317278c8932c8ccb2d7 (diff)
integrate Pavel's new clkmgr code
Diffstat (limited to 'i2c')
-rw-r--r--i2c/rtl/novena_i2c.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/i2c/rtl/novena_i2c.v b/i2c/rtl/novena_i2c.v
index d1833b2..c70f691 100644
--- a/i2c/rtl/novena_i2c.v
+++ b/i2c/rtl/novena_i2c.v
@@ -69,7 +69,12 @@ module novena_top
wire sys_clk;
wire sys_rst;
- novena_clkmgr clkmgr
+ novena_clkmgr #
+ (
+ .CLK_OUT_MUL (2), // 2..32
+ .CLK_OUT_DIV (2) // 1..32
+ )
+ clkmgr
(
.gclk_p(gclk_p_pin),
.gclk_n(gclk_n_pin),