diff options
author | Nao Pross <naopross@thearcway.org> | 2017-03-17 16:19:01 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-03-17 16:19:01 +0100 |
commit | 8434120295aac533a05d274236b1506cc215705b (patch) | |
tree | be7784133ef8e30c2150323c779bec9049a7d723 /sw/pld/address_decoder.PLD | |
parent | updated todolist; doc: keyboard stuff (diff) | |
download | z80uPC-8434120295aac533a05d274236b1506cc215705b.tar.gz z80uPC-8434120295aac533a05d274236b1506cc215705b.zip |
hardware nearly finished
doc: added datasheets for
- GAL16V8
- MAX214
- MAX232
added script to build doc under windows with miktex
updated notes
hw: finished i/o devices and bus viewer
sw: created files for pld programming
Diffstat (limited to 'sw/pld/address_decoder.PLD')
-rw-r--r-- | sw/pld/address_decoder.PLD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sw/pld/address_decoder.PLD b/sw/pld/address_decoder.PLD new file mode 100644 index 0000000..1cc9e22 --- /dev/null +++ b/sw/pld/address_decoder.PLD @@ -0,0 +1,35 @@ +Name ADDRESS_DECODER ; +PartNo 00 ; +Date 17.03.2017 ; +Revision 01 ; +Designer Engineer ; +Company SAM Bellinzona ; +Assembly None ; +Location ; +Device g16v8a; + +/* *************** INPUT PINS *********************/ +PIN 2 = A8 ; +PIN 3 = A9 ; +PIN 4 = A10 ; +PIN 5 = A11 ; +PIN 6 = A12 ; +PIN 7 = A13 ; +PIN 8 = A14 ; +PIN 9 = A15 ; + +/* *************** OUTPUT PINS *********************/ +PIN 12 = CSROML ; +PIN 13 = CSROMH ; +PIN 14 = CSRAM ; +PIN 15 = CSUART ; +PIN 16 = CSCTC ; +PIN 17 = CSPIO ; + +CSRAM = !A15 ; +CSROML = !(!A15 & !A14 & !A13) ; +CSROMH = !(!A15 & !A14 & A13) ; +CSUART = !(!A15 & !A14 & A13 & !A12 & !A11 & !A10 & !A9 & !A8) ; +CSTIMER = !(!A15 & !A14 & A13 & !A12 & !A11 & !A10 & !A9 & A8) ; +CSCTC = !(!A15 & !A14 & A13 & !A12 & !A11 & !A10 & A9 & !A8) ; +CSPIO = !(!A15 & !A14 & A13 & !A12 & !A11 & !A10 & A9 & A8) ; |