8b/10b tx/rx works
This commit is contained in:
parent
ee1d1bd0c2
commit
67e30fa91e
4 changed files with 126 additions and 10 deletions
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
def parse_size(s):
|
||||
if s is None:
|
||||
return s
|
||||
|
||||
s = s.lower()
|
||||
SUFFIXES = {'k': 1e3, 'm': 1e6, 'g': 1e9}
|
||||
if s[-1] in SUFFIXES:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue