From 624cb32b0e771e81d9ef853527ab87a8050db726 Mon Sep 17 00:00:00 2001 From: Sameer Puri Date: Sat, 25 Apr 2020 23:01:52 -0400 Subject: [PATCH] Don't set a default value for clk rate --- src/imx219.sv | 2 +- src/ov5647.sv | 2 +- test/imx219_tb.sv | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imx219.sv b/src/imx219.sv index 1df3259..2a1d31f 100644 --- a/src/imx219.sv +++ b/src/imx219.sv @@ -1,5 +1,5 @@ module imx219 #( - parameter INPUT_CLK_RATE = 48000000, + parameter INPUT_CLK_RATE, parameter TARGET_SCL_RATE = 400000, // Some IMX219 modules have a different address, change this if yours does parameter ADDRESS = 8'h20 diff --git a/src/ov5647.sv b/src/ov5647.sv index da8d756..e88cbcb 100644 --- a/src/ov5647.sv +++ b/src/ov5647.sv @@ -1,5 +1,5 @@ module ov5647 #( - parameter INPUT_CLK_RATE = 48000000, + parameter INPUT_CLK_RATE, parameter TARGET_SCL_RATE = 400000, // Some ov5647 modules have a different address, change this if yours does parameter ADDRESS = 8'h6c diff --git a/test/imx219_tb.sv b/test/imx219_tb.sv index 5d56b1e..b7a7116 100644 --- a/test/imx219_tb.sv +++ b/test/imx219_tb.sv @@ -25,7 +25,7 @@ logic power_enable; logic model_err; logic nack_err; -imx219 imx219 ( +imx219 #(.INPUT_CLK_RATE(48000000)) imx219 ( .clk_in(clk_in), .scl(scl), .sda(sda),