Skip to content

Commit

Permalink
update source comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Jun 26, 2020
1 parent a3c08d5 commit 761e23e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/lhca.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ module lhca #(
parameter bit [WIDTH-1:0] DIAGONAL = WIDTH'(0)
) (
input logic clk,
// a source of true randomness, i.e. ring oscillators
// without it, the output will be pseudo-random,
// and LHCA acts as a scrambler

// A source of true randomness, makes the LHCA act as a scrambler.
// You can use ring oscillators for this when the oscillation
// frequency is significantly higher than the clock frequency.

// Without it, the output will be pseudo-random,
input logic [WIDTH-1:0] source,
output logic [WIDTH-1:0] state
);
Expand Down

0 comments on commit 761e23e

Please sign in to comment.