hoglet wrote:
Jmstein7 wrote:
hoglet wrote:
Jmstein7 wrote:
As expected, it doesn't work. So, have a go at it.
It's going to be hard to simulate this, because the ACIA is in VHDL rather than Verilog, and Icarus Verilog (my preferred simulator) is Verilog only.
it would need to be translated to Verilog, which is a somewhat manual process.
Was there a particular reason you picked that ACIA?
Dave
Two reasons: 1) it is one of the very few soft acias I could find out there, but 2) it's written by LIV2, whom I'm told is a trusted member here (I asked in an earlier thread about it), and he said it performs the basic functions, which is enough for our purposes, here, I think.
But, I'm not married to it. If you know of another (in Verilog), let's try it out.
-Jon
edit: now it "works" - well, kind of. I updated the constraints file, and the top file, so you can see the changes (in github). I'm now using an external serial device (pictured below), with the results, below...
PS Here is the logic analyzer read-out:
1111111111111100 10000101 fffc r 85
1111111111111101 11000001 fffd r c1
1100000110000101 11011000 c185 r d8
1100000110000110 01011000 c186 r 58
1100000110000110 01011000 c186 r 58
1100000110000111 00100000 c187 r 20
1100000110000111 00100000 c187 r 20
1100000110001000 11000001 c188 W c1
0000000110111110 10001001 01be W 89
0000000110111101 00000000 01bd r 00
1100000110001001 11000001 c189 r c1
1100000110001001 11000001 c189 r c1
1100000101011101 10101001 c15d r a9
1100000101011110 00010000 c15e r 10
1100000101011111 10001101 c15f r 8d
1100000101100000 00000011 c160 r 03
1100000101100001 00010000 c161 W 10
1000000000000011 00000000 8003 r 00
1100000101100010 10101001 c162 r a9
1100000101100011 11001001 c163 r c9
1100000101100100 10001101 c164 r 8d
1100000101100101 00000010 c165 r 02
1100000101100110 11001001 c166 W c9
1000000000000010 00000000 8002 r 00
1100000101100111 01100000 c167 r 60
1100000101101000 00011000 c168 r 18
0000000110111100 00000000 01bc r 00
0000000110111101 10001001 01bd r 89
0000000110111110 11000001 01be r c1
1100000101101001 10101101 c169 r ad
1100000110001010 10101001 c18a r a9
1100000110001011 00001101 c18b r 0d
1100000110001100 00100000 c18c r 20
1100000110001101 11000001 c18d W c1
0000000110111110 10001110 01be W 8e
0000000110111101 00000000 01bd r 00
1100000110001110 11000010 c18e r c2
1100000110001110 11000010 c18e r c2
1100001010100101 01001000 c2a5 r 48
1100001010100110 00101001 c2a6 r 29
1100001010100111 00001101 c2a7 W 0d
0000000110111100 00000000 01bc r 00
1100001010100111 01111111 c2a7 r 7f
1100001010101000 10001101 c2a8 r 8d
1100001010101001 00000000 c2a9 r 00
1100001010101010 00001101 c2aa W 0d
1000000000000000 00000000 8000 r 00
1100001010101011 00100000 c2ab r 20
1100001010101100 11000010 c2ac W c2
0000000110111011 10101101 01bb W ad
0000000110111010 00000000 01ba r 00
1100001010101101 11101111 c2ad r ef
1100001010101101 11101111 c2ad r ef
1110111100000000 11011010 ef00 r da
1110111100000001 01011010 ef01 r 5a
1110111100000010 00000000 ef02 W 00
0000000110111001 00000000 01b9 r 00
1110111100000010 10100000 ef02 r a0
1110111100000011 11000001 ef03 W c1
0000000110111000 00000000 01b8 r 00
1110111100000011 10001111 ef03 r 8f
1110111100000100 10100010 ef04 r a2
1110111100000101 00000101 ef05 r 05
1110111100000110 11001010 ef06 r ca
1110111100000111 11010000 ef07 r d0
1110111100000111 11010000 ef07 r d0
1110111100001000 11111101 ef08 r fd
1110111100001001 10001000 ef09 r 88
1110111100000110 11001010 ef06 r ca
1110111100000111 11010000 ef07 r d0
1110111100000111 11010000 ef07 r d0
1110111100001000 11111101 ef08 r fd
1110111100001001 10001000 ef09 r 88
1110111100000110 11001010 ef06 r ca
1110111100000111 11010000 ef07 r d0
1110111100000111 11010000 ef07 r d0
https://photos.google.com/share/AF1QipM1BPMjKumR_siFSWqlkTik-T303uN3s1Gt12JGhWNUjX1JeWQdzOpDRnCW4SYbyQ?key=MEEyV0kxR1JZT0xkVklickNfR19jZFRMZmxFOERn