Skip to content

Commit

Permalink
Don't set a default value for clk rate
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Apr 26, 2020
1 parent 3c8ec50 commit 624cb32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/imx219.sv
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ov5647.sv
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/imx219_tb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 624cb32

Please sign in to comment.