liteusb: pep8 (E201)

This commit is contained in:
Florent Kermarrec 2015-04-13 14:29:44 +02:00
parent 4974fd6bc9
commit ce0e818d66
2 changed files with 10 additions and 12 deletions

View File

@ -4,7 +4,7 @@ from migen.actorlib.fifo import *
from migen.flow.actor import EndpointDescription
user_layout = EndpointDescription(
[ ("dst", 8),
[("dst", 8),
("length", 4*8),
("error", 1),
("d", 8)
@ -12,9 +12,7 @@ user_layout = EndpointDescription(
packetized=True
)
phy_layout = [
("d", 8)
]
phy_layout = [("d", 8)]
class LiteUSBPipe:

View File

@ -43,7 +43,7 @@ class LiteUSBDepacketizer(Module):
preamble[i].eq(preamble[i-1])
)
fsm.act("WAIT_SOP",
If( (preamble[3] == 0x5A) &
If((preamble[3] == 0x5A) &
(preamble[2] == 0xA5) &
(preamble[1] == 0x5A) &
(preamble[0] == 0xA5) &