summaryrefslogtreecommitdiffstats
path: root/sw/pld/ADDRESS_DECODER.sim
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-03-17 16:19:01 +0100
committerNao Pross <naopross@thearcway.org>2017-03-17 16:19:01 +0100
commit8434120295aac533a05d274236b1506cc215705b (patch)
treebe7784133ef8e30c2150323c779bec9049a7d723 /sw/pld/ADDRESS_DECODER.sim
parentupdated todolist; doc: keyboard stuff (diff)
downloadz80uPC-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.sim')
-rw-r--r--sw/pld/ADDRESS_DECODER.sim50
1 files changed, 50 insertions, 0 deletions
diff --git a/sw/pld/ADDRESS_DECODER.sim b/sw/pld/ADDRESS_DECODER.sim
new file mode 100644
index 0000000..05661c0
--- /dev/null
+++ b/sw/pld/ADDRESS_DECODER.sim
@@ -0,0 +1,50 @@
+%SIGNAL
+PIN 2 = A8
+PIN 3 = A9
+PIN 4 = A10
+PIN 5 = A11
+PIN 6 = A12
+PIN 7 = A13
+PIN 8 = A14
+PIN 9 = A15
+PIN 16 = CSCTC
+PIN 17 = CSPIO
+PIN 14 = CSRAM
+PIN 13 = CSROMH
+PIN 12 = CSROML
+PIN 15 = CSUART
+%END
+
+%FIELD
+%END
+
+%EQUATION
+CSCTC =>
+ !A8 & A9 & !A10 & !A11 & !A12 & A13 & !A14 & !A15
+
+CSPIO =>
+ A8 & A9 & !A10 & !A11 & !A12 & A13 & !A14 & !A15
+
+CSRAM =>
+ !A15
+
+CSROMH =>
+ A13 & !A14 & !A15
+
+CSROML =>
+ !A13 & !A14 & !A15
+
+CSTIMER =>
+ A15
+ # A14
+ # !A13
+ # A12
+ # A11
+ # A10
+ # A9
+ # !A8
+
+CSUART =>
+ !A8 & !A9 & !A10 & !A11 & !A12 & A13 & !A14 & !A15
+
+%END