liteeth: pep8 (W292)
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 13 Apr 2015 08:58:45 +0000 (10:58 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 13 Apr 2015 08:58:45 +0000 (10:58 +0200)
misoclib/com/liteeth/test/etherbone_tb.py
misoclib/com/liteeth/test/model/arp.py
misoclib/com/liteeth/test/model/icmp.py
misoclib/com/liteeth/test/model/ip.py
misoclib/com/liteeth/test/model/udp.py
misoclib/com/liteeth/test/udp_tb.py

index 1a65c8e09614f847e3609654677abddf0569797c..cfb07dfb72b139a69f06cdd92dac19ac1ba233d3 100644 (file)
@@ -114,4 +114,4 @@ class TB(Module):
                 print("shift " + str(s) + " / length " + str(l) + " / errors " + str(e))
 
 if __name__ == "__main__":
-    run_simulation(TB(), ncycles=4096, vcd_name="my.vcd", keep_files=True)
\ No newline at end of file
+    run_simulation(TB(), ncycles=4096, vcd_name="my.vcd", keep_files=True)
index 97e2152491aad0de3e065db46989ad3602a4d778..22d61a1d9c85949ec95f3d4cfc7dc947936c5708 100644 (file)
@@ -152,4 +152,4 @@ if __name__ == "__main__":
     #print(packet)
     errors += verify_packet(packet, arp_reply_infos)
 
-    print("arp errors " + str(errors))
\ No newline at end of file
+    print("arp errors " + str(errors))
index e8125fd31e45c1e8af1c71fc8f44161e4cda0292..f55836288e2a2ea07a9f282b6f1c742586633a68 100644 (file)
@@ -102,4 +102,4 @@ if __name__ == "__main__":
     #print(packet)
     errors += verify_packet(packet, ping_request_infos)
 
-    print("icmp errors " + str(errors))
\ No newline at end of file
+    print("icmp errors " + str(errors))
index dec63391b3da5b9c99abbd65d408462cc8ada16a..825b4c083851ba6cc8c2bc478d88572c9b19000b 100644 (file)
@@ -150,4 +150,4 @@ if __name__ == "__main__":
     #print(packet)
     errors += verify_packet(packet, {})
 
-    print("ip errors " + str(errors))
\ No newline at end of file
+    print("ip errors " + str(errors))
index 58456eac98afc1304fc3217f96df62304f64dd47..7a82668f057e550d9b572d6483f19c4d5f5beee3 100644 (file)
@@ -117,4 +117,4 @@ if __name__ == "__main__":
         errors += 1
     errors += verify_packet(packet, udp_infos)
 
-    print("udp errors " + str(errors))
\ No newline at end of file
+    print("udp errors " + str(errors))
index 7130eb1081a19acb28b0d191312cd44c1f066085..c7e04c8fd30ae94ea85af0dbf0ce195cda73726c 100644 (file)
@@ -68,4 +68,4 @@ class TB(Module):
 if __name__ == "__main__":
     run_simulation(TB(8), ncycles=2048, vcd_name="my.vcd", keep_files=True)
     run_simulation(TB(16), ncycles=2048, vcd_name="my.vcd", keep_files=True)
-    run_simulation(TB(32), ncycles=2048, vcd_name="my.vcd", keep_files=True)
\ No newline at end of file
+    run_simulation(TB(32), ncycles=2048, vcd_name="my.vcd", keep_files=True)