mirror of https://github.com/openXC7/prjxray.git
fuzzers: 007: fixup_timings: update docstrings
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
parent
9b04747da9
commit
37626d75e5
|
|
@ -5,20 +5,26 @@ import argparse
|
|||
|
||||
def fix_line(line, site, filetype):
|
||||
"""
|
||||
Squashes the entries for multilpe sites into one.
|
||||
Squashes the entries for multiple sites into one.
|
||||
This is required when entries are defined for a different
|
||||
site than they are reported.
|
||||
Such situation happend e.g.
|
||||
for BRAM_[LR]. All the entries are defined for RAMBFIFO36E1,
|
||||
while they are reported for RAMB18E1 or FIFO18E1
|
||||
|
||||
Args:
|
||||
line: raw dump file line
|
||||
site: site to which all the entries will be squashed
|
||||
filetype: entries type. One of [timings, pins, properties]
|
||||
Parameters
|
||||
----------
|
||||
line: str
|
||||
raw dump file line
|
||||
site: str
|
||||
site to which all the entries will be squashed
|
||||
filetype: str
|
||||
entries type. One of [timings, pins, properties]
|
||||
|
||||
Returns:
|
||||
newline: line with squashed entries
|
||||
Returns
|
||||
-------
|
||||
str
|
||||
line with squashed entries
|
||||
"""
|
||||
|
||||
assert filetype in [
|
||||
|
|
|
|||
Loading…
Reference in New Issue