From a1601a03d6c57b7a73fb7b0d78bdcbf883f371a5 Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Mon, 16 Nov 2015 15:55:56 -0500 Subject: [PATCH] pzsdr: added ad9361 clock out --- projects/pzsdr/ccbrk/system_top.v | 6 +++++- projects/pzsdr/ccfmc/system_top.v | 2 ++ projects/pzsdr/ccpci/system_top.v | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/projects/pzsdr/ccbrk/system_top.v b/projects/pzsdr/ccbrk/system_top.v index 4744152c4..585b2022d 100644 --- a/projects/pzsdr/ccbrk/system_top.v +++ b/projects/pzsdr/ccbrk/system_top.v @@ -82,6 +82,7 @@ module system_top ( enable, txnrx, + clk_out, gpio_clksel, gpio_resetb, @@ -150,6 +151,7 @@ module system_top ( output enable; output txnrx; + input clk_out; inout gpio_clksel; inout gpio_resetb; @@ -186,7 +188,9 @@ module system_top ( // assignments - assign gp_out = gp_out_s[87:0]; + assign gp_out[87:43] = gp_out_s[87:43]; + assign gp_out[42:42] = (gpio_o[61] == 1'b1) ? clk_out : gp_out_s[42:42]; + assign gp_out[41: 0] = gp_out_s[41: 0]; assign gp_in_s[95:93] = 3'd0; assign gp_in_s[92:92] = gp_in_1; diff --git a/projects/pzsdr/ccfmc/system_top.v b/projects/pzsdr/ccfmc/system_top.v index fe05977bd..7283406a5 100644 --- a/projects/pzsdr/ccfmc/system_top.v +++ b/projects/pzsdr/ccfmc/system_top.v @@ -141,6 +141,7 @@ module system_top ( enable, txnrx, + clk_out, gpio_rf0, gpio_rf1, @@ -262,6 +263,7 @@ module system_top ( output enable; output txnrx; + input clk_out; inout gpio_rf0; inout gpio_rf1; diff --git a/projects/pzsdr/ccpci/system_top.v b/projects/pzsdr/ccpci/system_top.v index c1d01840f..d3ebba2ff 100644 --- a/projects/pzsdr/ccpci/system_top.v +++ b/projects/pzsdr/ccpci/system_top.v @@ -82,6 +82,7 @@ module system_top ( enable, txnrx, + clk_out, gpio_clksel, gpio_resetb, @@ -150,6 +151,7 @@ module system_top ( output enable; output txnrx; + input clk_out; inout gpio_clksel; inout gpio_resetb;