Skip to content

Commit

Permalink
reset oserdese2 on load
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Mar 2, 2021
1 parent 6f3ecb7 commit 6198647
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/serializer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ module serializer
logic [9:0] tmds_internal_plus_clock [NUM_CHANNELS:0];
assign tmds_internal_plus_clock = '{10'b0000011111, tmds_internal[2], tmds_internal[1], tmds_internal[0]};
logic [1:0] cascade [NUM_CHANNELS:0];

logic reset = 1'b1;
always @(posedge clk_pixel)
begin
reset <= 1'b0;
end
genvar i;
generate
for (i = 0; i <= NUM_CHANNELS; i++)
Expand Down Expand Up @@ -53,7 +59,7 @@ module serializer
.TCE(1'b0),
.OCE(1'b1),
.TBYTEIN(1'b0),
.RST(1'b0),
.RST(reset),
.SHIFTIN1(cascade[i][0]),
.SHIFTIN2(cascade[i][1]),
.T1(1'b0),
Expand Down Expand Up @@ -90,7 +96,7 @@ module serializer
.TCE(1'b0),
.OCE(1'b1),
.TBYTEIN(1'b0),
.RST(1'b0),
.RST(reset),
.SHIFTIN1(1'b0),
.SHIFTIN2(1'b0),
.T1(1'b0),
Expand Down

0 comments on commit 6198647

Please sign in to comment.