Skip to content

Commit bb99860

Browse files
committed
Update ltc.v
1 parent 0853aed commit bb99860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sim/ltc/ltc.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module ltc(
4141
// Module Parameters
4242
parameter CLK_FREQ; // System Clock Frequency (Hz)
4343
parameter LTC_FPS; // Frames per second
44+
localparam FRAME_LEN = 80; // LTC Frame Length
4445

4546
// Registers
4647
reg [15:0] sync = 16'h3FFD; // SMPTE 12M Sync Word
@@ -53,7 +54,7 @@ module ltc(
5354
wire clk_ltc;
5455
clk_div #(
5556
CLK_FREQ,
56-
LTC_FPS * 80 * 2
57+
LTC_FPS * FRAME_LEN * 2
5758
)
5859
clk_div_ltc(
5960
.reset_n(reset_n),

0 commit comments

Comments
 (0)