PatternBuilder
Provides an easy way to collect to assemble a data to upload to a buffer as a collection of valid/invalid blocks
◆ __init__()
◆ __len__()
◆ append()
def append |
( |
|
self, |
|
|
|
block, |
|
|
|
gap = 0 , |
|
|
|
valid = True |
|
) |
| |
◆ appendat()
def appendat |
( |
|
self, |
|
|
|
block, |
|
|
|
offset, |
|
|
|
valid = True |
|
) |
| |
Append the block at offset
Args:
block: the block of words
offset: location where to attach
◆ aslist()
def aslist |
( |
|
self, |
|
|
|
minsize = 0 |
|
) |
| |
◆ insert()
def insert |
( |
|
self, |
|
|
|
block, |
|
|
|
offset = None , |
|
|
|
valid = True |
|
) |
| |
◆ _blocks
The documentation for this class was generated from the following file:
- ipbus_lib/boards/kc705/software/tests/src/python/mp7tools/buffers.py