I'm trying to understand some code which was extracted from a .JED image for a Data I/O EPROM programmer.
I ran the JED code through MAME's JEDUTIL and got this..
E:\mame>jedutil -view c:\Users\NivagSwerdna\Desktop\U13_V27.JED PAL16R4
Inputs:
2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19
Outputs:
13 (Combinatorial, Output feedback output, Active low)
14 (Registered, Output feedback registered, Active low)
15 (Registered, Output feedback registered, Active low)
16 (Registered, Output feedback registered, Active low)
17 (Registered, Output feedback registered, Active low)
18 (Combinatorial, Output feedback output, Active low)
19 (Combinatorial, Output feedback output, Active low)
Equations:
/o13 =
o13.oe = vcc
/rf14 := /i3 & /rf14 +
/i4 & /rf14 +
i5 & /rf14 +
i6 & /rf14 +
i3 & i4 & /i5 & /i6 & i9
rf14.oe = OE
/rf15 := /i3 & /rf15 +
/i4 & /rf15 +
i5 & /rf15 +
i6 & /rf15 +
i3 & i4 & /i5 & /i6 & /i8
rf15.oe = OE
/rf16 := /i3 & /rf16 +
/i4 & /rf16 +
i5 & /rf16 +
i6 & /rf16 +
i3 & i4 & /i5 & /i6 & i7
rf16.oe = OE
/rf17 :=
rf17.oe = OE
/o18 = /i2 & /rf14
o18.oe = vcc
/o19 = /i2 & rf14
o19.oe = vcc
E:\mame>
One thing I would like to understand is what would be the state of the outputs on start-up given from the datasheet "All flip-flops power-up to a logic LOW for predictable
system initialization. "
For those playing along at home... pin 7, 8, 9 and 12 are connected to the databus d0, d1, d2, d3. pins 3, 4, 5, and 6 are connected to the address bus A13, A14, A15 and RnW, pin 1 is a clock nV02 determining when the bus is valid.
So here are my newbie questions...
Why /rf14 ? Why not rf14? In fact everything on the LHS seems to be not-ed?
I think the purpose is a 3 bit register that is addressed on a Write (i6=0) and A13=1, A14=1 and A15=0... i.e. to address 6xxx or 7xxx. The register is subsequent used to provide address decoding to pins 15, 16, and 17 with a CS for one of two ROMs coming from pins 18 and 19. 18 and 19 are mutually exclusive and based on 14.
So at startup the "All flip-flops power-up to a logic LOW"... so that would make the flip-flop at 14 LOW? so it should be low... but /rf14? does that actually make pin14 output HI?
Device is PAL16R4