Skip to content

Commit 7181b26

Browse files
committed
switched comb to normal always as error sugested
1 parent 8ddd5c1 commit 7181b26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/user_peripherals/trng/TRNG_20RO7FF_PC.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module tqvp_TRNG_20RO7FF_PC #(
3636
integer i;
3737
integer j;
3838

39-
always_comb @(*) begin //Ring oscilators Construction logic
39+
always @(*) begin //Ring oscilators Construction logic
4040

4141
for (j = 0; j < N_RO; j = j + 1) begin
4242
for (i = 1; i <= SIZE_RO; i = i + 1) begin
@@ -52,7 +52,7 @@ module tqvp_TRNG_20RO7FF_PC #(
5252
end
5353
end
5454

55-
always_comb @(*) begin // xor logic
55+
always @(*) begin // xor logic
5656
xorA = oscillator_ring_Q[0] ^ oscillator_ring_Q[1];
5757
for (i = 2; i < N_RO; i = i + 1) begin
5858
xorA = xorA ^ oscillator_ring_Q[i];

0 commit comments

Comments
 (0)