I don't know adequate PAL simulator under Linux, at Windows only Proteus looks good, but i need it for testing ATF16V8B that i have. It looks like implement this with jed files as firmware will be easier than any MCU.
Yes, that was a rought idea without the clocked registers.Feedback from function is not needed, feedback from buffers does all the things.
And I need to testing mostly SPLD in registered mode, where each output may be registered or not dependent on fuses.
Would be simpler circuit, but you need to write a program for that ATmega...PS: And place ATmega instead of function component, registers and buffers may be easier way
To use an Atmega you should write a program that:
And place ATmega instead of function component, registers and buffers may be easier way
And I can send jedec directly to that ATmega over UART...
%SIGNAL
PIN 16 = A
PIN 15 = B
PIN 14 = C
PIN 13 = D
PIN 12 = E
PIN 18 = F
PIN 17 = G
PIN 8 = I0
PIN 2 = I1
PIN 3 = I2
PIN 7 = I3
%END
%FIELD
FIELD INPUT = I3,I2,I1,I0
FIELD OUTPUT = A,B,C,D,E,F,G
%END
%EQUATION
A =>
I0 & !I1 & I2 & I3
# I0 & !I1 & !I2 & !I3
# !I0 & !I1 & I2 & !I3
# I0 & I1 & !I2 & I3
B =>
!I0 & !I1 & I2 & I3
# I0 & !I1 & I2 & !I3
# !I0 & I1 & I2
# I0 & I1 & I3
C =>
I0 & I1 & I2 & I3
# !I0 & I1 & !I2 & !I3
# !I0 & I2 & I3
D =>
!I0 & I1 & !I2 & I3
# I0 & !I1 & !I2
# !I0 & !I1 & I2 & !I3
# I0 & I1 & I2
E =>
I0 & !I1 & !I2 & I3
# I0 & !I2 & !I3
# !I1 & I2 & !I3
# I0 & I1 & I2 & !I3
F =>
I0 & !I1 & I2 & I3
# I0 & !I2 & !I3
# !I0 & I1 & !I2 & !I3
# I0 & I1 & I2 & !I3
G =>
!I1 & !I2 & !I3
# !I0 & !I1 & I2 & I3
# I0 & I1 & I2 & !I3
%END
Can you write a javascript program that does that?I can use recieved fuse map only instead converting jedec to functions,
...
Bitwise operations might to do all the things.
B C D E F G H I J GND
K NC NC NC Z Y X W A VCC
W = A * B * C
/X = D * E
Y = F + G
Z = H * I + J * K
Nice.
I like assembler and uC more than JavaScript, I prefer made simple program for ATmega. Jedec files contain almost same information as galasm files.
Similar topics
Permissions in this forum:
You cannot reply to topics in this forum