diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-05-12 22:21:39 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-05-12 23:35:15 +0200 |
commit | 52e8d8b7548f7fdc2fe56bc133fe60b8147fb3b8 (patch) | |
tree | 4268445b4db637631f60021577ff0a9beb95e584 /decoders/parallel/pd.py | |
parent | 426325ea2b66658b8062525db78a9b50d79ce507 (diff) | |
download | libsigrokdecode-52e8d8b7548f7fdc2fe56bc133fe60b8147fb3b8.tar.gz libsigrokdecode-52e8d8b7548f7fdc2fe56bc133fe60b8147fb3b8.zip |
mcs48: add reset method, make A12 optional, unassorted adjustment
Add the reset() method which recently has become essential. Make the A12
"memory bank" address line optional. Use more Python idioms. Update
comments.
The control signals had to move, to avoid gaps between D7 and A8 as well
as between A11 and A12 in the GUI decoder properties dialog. With
dynamic assignment in the UI and with named references in the CLI this
shall not harm. Unmodified automated tests still pass.
The logic is prepared to handle data, address, and "bank" pin groups at
arbitrary locations, A[11:8] and D[7:0] need not be adjacent any longer.
Support for more than one memory bank pin is prepared, but the number of
bank pins needs to get determined at the start of decode(), when this
feature is to get added in the future.
Diffstat (limited to 'decoders/parallel/pd.py')
0 files changed, 0 insertions, 0 deletions