From e710d006ee7edbfa09126c60000b47f7cd65498a Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Thu, 28 Dec 2017 18:08:51 +0100 Subject: [PATCH] parallel: expand 'wordsize' description (bits vs cycles) Users may not know which unit the "wordsize" is supposed to get specified in. Especially when it's not a number of bits, but instead the number of bus cycles. Expand the description text accordingly. --- decoders/parallel/pd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index 1e0f4eb..0e81344 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -79,7 +79,8 @@ class Decoder(srd.Decoder): options = ( {'id': 'clock_edge', 'desc': 'Clock edge to sample on', 'default': 'rising', 'values': ('rising', 'falling')}, - {'id': 'wordsize', 'desc': 'Data wordsize', 'default': 0}, + {'id': 'wordsize', 'desc': 'Data wordsize (# bus cycles)', + 'default': 0}, {'id': 'endianness', 'desc': 'Data endianness', 'default': 'little', 'values': ('little', 'big')}, ) -- 2.30.2