mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 00:48:40 -08:00
lfsr: Remove debug prints
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -100,7 +100,6 @@ def scramble_pcie_gen3(data, state=0x1efedc, poly=0x524042):
|
|||||||
b = b | (1 << i)
|
b = b | (1 << i)
|
||||||
else:
|
else:
|
||||||
state = state >> 1
|
state = state >> 1
|
||||||
print(hex(state), hex(b))
|
|
||||||
data_out.append(b ^ d)
|
data_out.append(b ^ d)
|
||||||
return data_out
|
return data_out
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ def scramble_pcie_gen3(data, state=0x1efedc, poly=0x524042):
|
|||||||
b = b | (1 << i)
|
b = b | (1 << i)
|
||||||
else:
|
else:
|
||||||
state = state >> 1
|
state = state >> 1
|
||||||
print(hex(state), hex(b))
|
|
||||||
data_out.append(b ^ d)
|
data_out.append(b ^ d)
|
||||||
return data_out
|
return data_out
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user