Thanks rstofer, I really appreciate the well-thought-out answer, and you managed to answer a lot of other questions I had also!
> Short answer: Digilent Analog Discovery 2Ok, I have heard of this during my research. I kinda thought it was a bit 'pro', but I'll start putting the money aside. I'll look for Dave's review.
> For that 8 bit Ben Eater CPU, you can single step the clock and there are a bazillion LEDs, a logic analyzer isn't required nor is a scope.Ahh, very interesting... I did wonder about that... I wasn't sure if the led's would be enough. I was completely blown away by:
https://monster6502.com/ which is one of the reasons behind my interest. I wasn't sure if there were times I would find reading the LEDs annoyingly slow compared to looking at a bit pattern of high/lows on some sort of scope/analyser. It's sound from your reply like the LEDs will be enough. Cool.
>That ARM project is going to be quite a leap, I would suggest you Google for 'lc-3' (not the newer 'lc-3b') and implement the core in your Arty. Given that Xilinx Vivado has an Internal Logic Analyzer, there isn't much need for an external unit.Ahh, I read somewhere the Vivado has an analyzer that can be put into the 'logic fabric' (if that's the right term) but couldn't see any examples yet on youtube. I'm sure that being the case, it will be more than enough for the near future.
I googled LC-3 and if it's this one (
https://en.wikipedia.org/wiki/LC-3) then it does look really interesting. I'm very happy to follow along the path set out for students by the experts

The fact that it can be targetted by a C compiler is a big bonus, I kind of resigned myself to using (at best) assembly for almost all of the coding, if not simple machine code! I think I'll look into this as an intermediate between the Ben Eater 8-bit and the ARM book
Also, I know the ARM project is quite a leap, however I did the first couple of years of electronic engineering at uni where we went into how all the bits of an 8086 motherboard was put together (although we didn't go into the CPU itself). Later when I changed to software I did a reasonable amount of assembly programming, and later direct machine code entry into embedded Motorola 68000 cpus, something I did actually use now and then in the first couple of years out of uni, so i'm feeling fairly hopeful i'll have enough context and motivation to be able to follow the book. I've been playing with Verilog and VHDL (a few hours) and it's really fun (I prefer VHDL, reminds me of the Ada/Modula2 code I did at the start of my career!). I've also got some other arm dev boards and i've been working my way through some Udemy courses on writing linux drivers for embedded systems, so choosing the ARM version of that book vs the MIPS version should hopefully give me some additional insight on working with ARMs as a nice side effect.
> That said, the Arty wouldn't be my first choice because it doesn't have gadgets like a host of switches, buttons, LEDs and 7-Segment Display. I prefer the Nexys 4 DDR board but I'll concede, it is a lot more expensive. Anyway, the LC-3 project comes with an assembler and C compiler so it's fairly useful.I played with the arduino over the last year, and I've kind got the leds and switches out of my system for now... playing with the 555 timers, etc. Having said that, I know I am trying to go from toddling along to entering a marathon, so I am expecting it to involve some tumbles along the way. I may end up stepping back and spending more time with the basics. I did grab some pmods for the board, such as a vga, ps2, and audio jacks. I figure I'll do the usual vga-adapter in fpga examples along the way, and they'll be useful with the retro computing stuff, even if i need a dev board with a bigger fpga chip, as long as I get one that supports pmods.
>Unless you are really into doing retro chip stuff, I would even consider writing the VHDL for that Ben Eater 8 bit CPU and stuffing it into the Arty.Ahh... that's an *excellent* idea! I don't know why that didn't occur to me, that's the perfect intro to VHDL, rather than jumping straight into the ARM book. Thanks!
>Many universities are using the LC-3 project for one of their computer architecture courses. Everything you need is on the Internet from multiple sources. There is also a textbook "Introduction to Computing Systems" Second Edition by Patt and Patel. This is a truly great project!Okay, I've found a copy on amazon, ordered. Thanks!
>The prevailing low $ scope is the Rigol DS1054Z - details all over this site. The newer version from Siglent like the SDS1102X-E or, better, the SDS1104X-E are reasonably priced. I have the Rigol and am thinking about the SDS1204X-E at some point.Ok, I saw that mentioned in similar-ish posts from a while back, I just wasn't sure if that applied to my mainly digital-only interests, I'll take this as the definitive answer.
>Bus decoding is a nice feature on a scope as long as the amount of data is limited. Some scopes only decode what you can see on the screen so you are limited to, perhaps, a single transaction with limited data.
>Logic analyzers are used for decoding long streams of data but this is a massive time sink. What are you going to do with a million clocked events? You need to think about how to get to the answer before retirement kicks in. One way is to pick a trigger, even if you have to gin one up in logic, so that you start recording at exactly the right clock cycle.Ahh, I had exactly these concerns. I saw some demo where someone was putting in the exact sequence to trigger the start of a capture, and this has to be the only way to make sense of it right? Interesting that it's possible to gin one up in logic? By that do you mean adding some logic in the actual FPGA that watches and waits for the right pattern on the internal bus then starts logging it out? Makes sense, but I hadn't thought of that. Seems like a pretty powerful technique. I assume these kinds of tricks and tips i'll find in the student manuals or these kinds of forums? I do have a couple of people around me at work with FPGA knowledge (by luck!), but that might change if I move on elsewhere.
>For the LC-3 project, there are less than 64 states and I would be working on only a small subset (one instruction) so debugging with LEDs and 7-Segment Displays is easy. Even when I did a much larger project with the help of an external logic analyzer, I partitioned the problem in such a way that a single 32 channel Logic Analyzer was adequate. I wouldn't want a LA with much less than 32 channels and it would absolutely need a state clock input.Hmm, I can't visualise exactly what you mean here. Is this because you were working with 32 bit wide data paths? I expect to be with 8 bit wide ones for a while yet, does that mean I shouldn't bother with a LA with only 8 channels because I won't really need it for the simpler experiments, and when I get to the point I need it I should get a 32 channel one?
>At Opencores.Org, you will find a T80 core which is a very faithful implementation of the Z80. I have used it as a basis for running CP/M 2.0 and as a CPU for PacMan (which is where I first ran across it). It should fit easily in that Arty board. The question is whether the board has enough IO when it comes time to add a Compact Flash device for the disk memory (CP/M). The original Spartan 3 Starter Board had plenty! Alas, these boards are gone. You could use an SD card and there are plenty of cores for doing this. I have always thought that SD cards are a PITA. The Compact Flash looks like a set of addressable registers.
> On the issue of using the AD2, the logic analyzer portion is 5v tolerant. This is a big deal if you plan to use old TTL chips with modern 3.3V gadgets.
> Four channels is helpful when decoding SPI because there are 4 signals. Other than that, I got by with 2 channels for decades and I only bought the DSO because I wanted to see how they worked. My old Tektronix 485 350 MHz 2 channel scope was more than adequate.Interesting, I'll store these tips away for later access, thanks
Building a PacMan is a pretty cool project! I remember those arcade games (and arcades for that matter!). If being able to build something like that doesn't get my daughter interested in engineering, probably nothing will!
> Dave isn't a big fan of MSO scopes, he has a video on this. I have never had one so what do I know? Well, I know I haven't needed one...Thats a really good tip, because that was one of the big questions I had. People on these forums seem to have both opinions, but if it's possible to work without them for years, then it must be a luxury right? Hmm, now you mention it I seem to recall someone pointing out they used to be niche products, so that fits with your experience, good to know.
Thanks man, that's a lot of really helpful information! Particularly thanks for the point in the LC-3 direction, I'll definitely chase that up.
Cheers!