6502.org http://forum.6502.org/ |
|
VHDL 6551 ACIA? Seen it? http://forum.6502.org/viewtopic.php?f=10&t=6622 |
Page 1 of 1 |
Author: | Jmstein7 [ Sun May 30, 2021 4:23 pm ] |
Post subject: | VHDL 6551 ACIA? Seen it? |
Hi, all. Question: has anyone seen this core before? https://github.com/LIV2/VHDL-6551-ACIA I found it on github, but I can't seem to find anything about it or its author. Just curious. Jonathan |
Author: | BigEd [ Sun May 30, 2021 5:28 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
(LIV2 is a member here, if not a frequent poster: viewtopic.php?p=63845#p63845 ) |
Author: | Jmstein7 [ Sun May 30, 2021 5:52 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
BigEd wrote: Thanks again. Hopefully, I can contribute something useful here in the not-so-far future. |
Author: | LIV2 [ Sun May 30, 2021 8:09 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Hey! It's one of my first HDL projects and I'm cringing after looking at it... Pretty much does what it says on the tin - hardly tested beyond me playing around with a fpga clone of my SBC of the time. |
Author: | Jmstein7 [ Mon May 31, 2021 2:32 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Yet, at the same time, it is pretty much the only soft 6551 out there. And, as you said in the readme, it doesn't have the bug present in the physical '51. Pretty impressive! |
Author: | GARTHWILSON [ Mon May 31, 2021 6:43 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Jmstein7 wrote: Yet, at the same time, it is pretty much the only soft 6551 out there. And, as you said in the readme, it doesn't have the bug present in the physical '51. Pretty impressive! Bill Mensch (president of WDC) said that their W65C51 design simulated correctly in the industrial chip-design software they were using, but that there was a race condition the simulation software didn't catch. Regarding a different bug, the following is from my 6502-oriented RS-232 primer, nearly halfway down the page:
|
Author: | Jmstein7 [ Mon May 31, 2021 7:12 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
It would be great if more people worked on soft 65xx peripheral cores, like the VIA as well as the ACIA. There really is not a lot out there, yet there are a ton of 6502 and ‘c02 cores and projects. There are even some chips that could be resurrected, such as the CIA (which I hear was popular). Perhaps even some soft MMUs? If I could, I would. Oh, well - one day. |
Author: | BigDumbDinosaur [ Mon May 31, 2021 8:02 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Jmstein7 wrote: It would be great if more people worked on soft 65xx peripheral cores, like the VIA as well as the ACIA. There really is not a lot out there, yet there are a ton of 6502 and ‘c02 cores and projects. There are even some chips that could be resurrected, such as the CIA (which I hear was popular). Perhaps even some soft MMUs? If I could, I would. Oh, well - one day. The tricky part about soft-coring 65xx peripherals is faithfully reproducing the bugs many of them seem to have. In particular, the CIA has two: the timer-B IRQ bug and the TOD alarm clock bug. Then there is the shift register bug of the 65C22, the stuck TxD ready bit in the 65C51... |
Author: | Jmstein7 [ Mon May 31, 2021 10:25 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
BigDumbDinosaur wrote: Jmstein7 wrote: It would be great if more people worked on soft 65xx peripheral cores, like the VIA as well as the ACIA. There really is not a lot out there, yet there are a ton of 6502 and ‘c02 cores and projects. There are even some chips that could be resurrected, such as the CIA (which I hear was popular). Perhaps even some soft MMUs? If I could, I would. Oh, well - one day. The tricky part about soft-coring 65xx peripherals is faithfully reproducing the bugs many of them seem to have. In particular, the CIA has two: the timer-B IRQ bug and the TOD alarm clock bug. Then there is the shift register bug of the 65C22, the stuck TxD ready bit in the 65C51... It gives them character and charm? |
Author: | floobydust [ Tue Jun 01, 2021 12:11 am ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Jmstein7 wrote: BigDumbDinosaur wrote: Jmstein7 wrote: It would be great if more people worked on soft 65xx peripheral cores, like the VIA as well as the ACIA. There really is not a lot out there, yet there are a ton of 6502 and ‘c02 cores and projects. There are even some chips that could be resurrected, such as the CIA (which I hear was popular). Perhaps even some soft MMUs? If I could, I would. Oh, well - one day. The tricky part about soft-coring 65xx peripherals is faithfully reproducing the bugs many of them seem to have. In particular, the CIA has two: the timer-B IRQ bug and the TOD alarm clock bug. Then there is the shift register bug of the 65C22, the stuck TxD ready bit in the 65C51... It gives them character and charm? Hmmm, being the one who found the bug in the latest W65C51 (xmit bit stuck on), I can assure you there's no fun or charm. It was many hours of debugging with a scope and logic analyzer and buying 13+ chips from different vendors. All of that just to find out that they're defective and completely useless with EVERY piece of software written for a (working) 65(C)51. If you find it charming... well, there's a bug/defect for everyone I guess. |
Author: | BigDumbDinosaur [ Tue Jun 01, 2021 1:01 am ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
floobydust wrote: Jmstein7 wrote: BigDumbDinosaur wrote: Jmstein7 wrote: It would be great if more people worked on soft 65xx peripheral cores, like the VIA as well as the ACIA. There really is not a lot out there, yet there are a ton of 6502 and ‘c02 cores and projects. There are even some chips that could be resurrected, such as the CIA (which I hear was popular). Perhaps even some soft MMUs? If I could, I would. Oh, well - one day. The tricky part about soft-coring 65xx peripherals is faithfully reproducing the bugs many of them seem to have. In particular, the CIA has two: the timer-B IRQ bug and the TOD alarm clock bug. Then there is the shift register bug of the 65C22, the stuck TxD ready bit in the 65C51... It gives them character and charm? Hmmm, being the one who found the bug in the latest W65C51 (xmit bit stuck on), I can assure you there's no fun or charm. It was many hours of debugging with a scope and logic analyzer and buying 13+ chips from different vendors. All of that just to find out that they're defective and completely useless with EVERY piece of software written for a (working) 65(C)51. If you find it charming... well, there's a bug/defect for everyone I guess. ...which is why I started the topic about using the NXP UARTs. Speaking of bugs, we don't want to leave the 65C02 out in the cold, eh? Let's not forget the bug discovered when an indexed access is done with the base address lying on a page boundary. That does wonders for trying to set up MR0 in a 28L92. |
Author: | floobydust [ Tue Jun 01, 2021 2:01 am ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
BigDumbDinosaur wrote: floobydust wrote: Jmstein7 wrote: BigDumbDinosaur wrote: Jmstein7 wrote: It would be great if more people worked on soft 65xx peripheral cores, like the VIA as well as the ACIA. There really is not a lot out there, yet there are a ton of 6502 and ‘c02 cores and projects. There are even some chips that could be resurrected, such as the CIA (which I hear was popular). Perhaps even some soft MMUs? If I could, I would. Oh, well - one day. The tricky part about soft-coring 65xx peripherals is faithfully reproducing the bugs many of them seem to have. In particular, the CIA has two: the timer-B IRQ bug and the TOD alarm clock bug. Then there is the shift register bug of the 65C22, the stuck TxD ready bit in the 65C51... It gives them character and charm? Hmmm, being the one who found the bug in the latest W65C51 (xmit bit stuck on), I can assure you there's no fun or charm. It was many hours of debugging with a scope and logic analyzer and buying 13+ chips from different vendors. All of that just to find out that they're defective and completely useless with EVERY piece of software written for a (working) 65(C)51. If you find it charming... well, there's a bug/defect for everyone I guess. ...which is why I started the topic about using the NXP UARTs. Speaking of bugs, we don't want to leave the 65C02 out in the cold, eh? Let's not forget the bug discovered when an indexed access is done with the base address lying on a page boundary. That does wonders for trying to set up MR0 in a 28L92. Yup.. lived through that one when I wrote the BIOS for the NXP/Philips SCC2691 UART. At least the end result was worth the experience Then again... the posts on that dev cycle included the usual "culprits"... Jeff, Garth and you... IIRC. |
Author: | Jmstein7 [ Tue Jun 01, 2021 4:45 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Ah. Feels good to finally be a part of the conversation. -Jon |
Author: | Rob Finch [ Sun Jun 13, 2021 4:13 am ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Just thought I'd mention my 6551 uart core. It is verilog code, but many toolsets will accept either verilog or VHDL. While it is 32-bit it can function as 8-bit by using only the low order eight bits of the data bus. https://opencores.org/projects/uart6551 Geared towards 6551 compatibility in a 32-bit environment. I have code for a VIA too, but I have not posted it. |
Author: | Jmstein7 [ Sun Jun 13, 2021 1:34 pm ] |
Post subject: | Re: VHDL 6551 ACIA? Seen it? |
Rob Finch wrote: Just thought I'd mention my 6551 uart core. It is verilog code, but many toolsets will accept either verilog or VHDL. While it is 32-bit it can function as 8-bit by using only the low order eight bits of the data bus. https://opencores.org/projects/uart6551 Geared towards 6551 compatibility in a 32-bit environment. I have code for a VIA too, but I have not posted it. That's really cool. I'm going to try it out. And, I prefer verilog, too. Post the 6522 as well! -Jon |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |