Skip to content

Commit

Permalink
Fix Python example
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav1 committed Jan 31, 2023
1 parent c9e843b commit 07bb5d9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions example/demo_python/axi_dma_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ def main():
default=10,
help='Pause between packets, default 10'
)
parser.add_argument('-b', '--blk_len',
type=int,
default=8,
help='LFSR block length / words per beat, default 8'
)
parser.add_argument('-d', '--dev_path',
type=str,
help='Path to xdma device nodes'
Expand Down Expand Up @@ -151,7 +146,7 @@ def main():
print('Starting TrafficGen')
traffic_gen.start(args.nr_pkts, args.pkt_len, args.pkt_pause)

checker = LfsrChecker(args.blk_len)
checker = LfsrChecker(consts.LFSR_BYTES_PER_BEAT // 2) # 2 bytes per word
words_total = 0

while True:
Expand Down

0 comments on commit 07bb5d9

Please sign in to comment.