aboutsummaryrefslogtreecommitdiff
path: root/eim/rtl
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 /eim/rtl
parent76774e17233eb7d2a3430317278c8932c8ccb2d7 (diff)
integrate Pavel's new clkmgr code
Diffstat (limited to 'eim/rtl')
-rw-r--r--eim/rtl/novena_eim.v17
1 files changed, 11 insertions, 6 deletions
diff --git a/eim/rtl/novena_eim.v b/eim/rtl/novena_eim.v
index 0d8c8d0..2de6cba 100644
--- a/eim/rtl/novena_eim.v
+++ b/eim/rtl/novena_eim.v
@@ -78,15 +78,20 @@ module novena_top
wire sys_rst;
wire eim_bclk_buf;
- novena_clkmgr clkmgr
+ novena_clkmgr #
(
- .gclk_p(gclk_p_pin),
- .gclk_n(gclk_n_pin),
+ .CLK_OUT_MUL (2), // 2..32
+ .CLK_OUT_DIV (2) // 1..32
+ )
+ clkmgr
+ (
+ .gclk_p (gclk_p_pin),
+ .gclk_n (gclk_n_pin),
- .reset_mcu_b(reset_mcu_b_pin),
+ .reset_mcu_b (reset_mcu_b_pin),
- .sys_clk(sys_clk),
- .sys_rst(sys_rst)
+ .sys_clk (sys_clk),
+ .sys_rst (sys_rst)
);