Skip to content

Commit fd83fc3

Browse files
committed
Sync word details
1 parent 9c88170 commit fd83fc3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sim/ltc/top.v

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ module top(
3434
* 0x3A 1 Binary Group Flag 1 (External Sync Source Flag)
3535
* 0x3B 1 Polarity Correction Bit @ 25 FPS / Binary Group Flag 2 (BGF2)
3636
* 0x3C 4 User Field 8
37+
* 0x40 16 Sync Word (0011 1111 1111 1101, 0x3FFD)
3738
*/
3839

3940
parameter FPS = 25; // Frames per second
4041
parameter CLK = 25e6; // Clock frequency in Hz
4142

42-
reg [15:0] sync = 16'b0011111111111101; // SMPTE 12M Sync Word
43-
reg [79:0] frame;
43+
reg [15:0] sync = 16'b0011111111111101; // SMPTE 12M Sync Word (0x3FFD)
44+
reg [79:0] frame; // Complete LTC frame 80 bits long (0x50)
4445
reg out;
4546

4647
wire reset_n;

0 commit comments

Comments
 (0)