From 2787cf2abc0187679e87d3735ca3e64c2a1a91c8 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 16 Mar 2019 18:46:01 +0100 Subject: decoders: Various cosmetic/consistency/typo fixes. --- decoders/counter/__init__.py | 6 +++--- decoders/counter/pd.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'decoders/counter') diff --git a/decoders/counter/__init__.py b/decoders/counter/__init__.py index e731311..505148d 100644 --- a/decoders/counter/__init__.py +++ b/decoders/counter/__init__.py @@ -18,11 +18,11 @@ ## ''' -This PD is a simple counter. +This decoder is a simple edge counter. It can count rising and/or falling edges, provides an optional reset -signal. It can also divide the count to e.g. count the numger of -fixed length words (where a word corresponds to e.g. 9 clock edges). +signal. It can also divide the count to e.g. count the number of +fixed-length words (where a word corresponds to e.g. 9 clock edges). ''' from .pd import Decoder diff --git a/decoders/counter/pd.py b/decoders/counter/pd.py index 93ec105..f1134bd 100644 --- a/decoders/counter/pd.py +++ b/decoders/counter/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): id = 'counter' name = 'Counter' longname = 'Edge counter' - desc = 'Count number of edges.' + desc = 'Count the number of edges in a signal.' license = 'gplv2+' inputs = ['logic'] outputs = [] -- cgit v1.2.3-70-g09d2