Phil Does Tech
Phil Does Tech
  • Видео 5
  • Просмотров 56 781
#3 Ben Eater's 8 Bit Computer (SAP-1) in an FPGA: TCL
This is the third video in a series of videos on implementing Ben Eater's 8 Bit Computer in an FPGA.
Ben Eater's 8 Bit Computer is actually based on a computer called the SAP-1 from the book "Digital Computer Electronics" by Paul Malvino and Jerald Brown.
In this third video, I show how you can use Tcl (Tool Control Language) through Quartus Prime or Xilinx Vivado to interface with the 8-bit computer design.
Quartus Prime also supports Tk, so you can write your own GUI-based tools to interface with your design.
Once we have completed implementing the SAP-1/Ben Eater 8-bit computer architecture, we will expand this design with more memory, more CPU instructions, and we will even be creating ...
Просмотров: 2 783

Видео

#2 Ben Eater's 8 Bit Computer (SAP-1) in an FPGA: The ALU
Просмотров 4,1 тыс.2 года назад
This is the second video in a series of videos on implementing Ben Eater's 8 Bit Computer in an FPGA. Ben Eater's 8 Bit Computer is actually based on a computer called the SAP-1 from the book "Digital Computer Electronics" by Paul Malvino and Jerald Brown. In this second video, we will implement the Arithmetic Logic Unit or ALU module in a hardware definition language called Verilog. We can use...
#1 Ben Eater's 8 Bit Computer (SAP-1) in an FPGA: The Registers
Просмотров 19 тыс.2 года назад
This is the first video in a series of videos on implementing Ben Eater's 8 Bit Computer in an FPGA. Ben Eater's 8 Bit Computer is actually based on a computer called the SAP-1 from the book "Digital Computer Electronics" by Paul Malvino and Jerald Brown. I wanted to do a series of videos that present a practical introduction to FPGAs and I thought it might be interesting to build Ben Eater’s 8...
A Small General Purpose AF Power Amplifier (LM386 Replacement)
Просмотров 30 тыс.2 года назад
I needed an audio amplifier (AF amp) for a regenerative receiver that I am building. In 2015, Texas Instruments announced that they would discontinue the LM386 and the LM380. There are some alternate manufacturers, such as New Japan Radio Company and Unisonic Technologies, but New Japan Radio’s NJM386 is also marked as obsolete now. The LM386 was one of the most common amps used in DIY guitar p...
Opening Modem Batteries : Easy 18650s!
Просмотров 8152 года назад
This is the easiest and safest way I have found to open these modem batteries to recover the 18650 cells inside. I also show how to use heat shrink and positive terminal insulator rings to re-wrap the cells. The highest capacity cell was 2216 mAh. The modem batteries were purchased from JAG35.com. Items used in this video: Heat Shrink Tubing for 18650 cells: amzn.to/3nXWfw9 Red 18650 Insulator ...

Комментарии

  • @hughm2615
    @hughm2615 24 дня назад

    I would enjoy seeing the schematic for your regen .unfortunately i dont have much luck with them

  • @dazealex
    @dazealex 25 дней назад

    Can this run on the MiSTer FPGA DE10-Nano?

  • @buffplums
    @buffplums 26 дней назад

    I’ve never heard it call Manhattan style construction… but they always look interesting when built as long as they are built well and in so,e ways can be more pleasing than using traditional stripboard or veroboard. I always like designing a PCB although, can’t beat a PCB

  • @darronvanaria2952
    @darronvanaria2952 2 месяца назад

    I’ve seen a few “Let’s implement this CPU in an FPGA” series that end after 3-4 videos, unfinished. Was it a technical problem, like the complexity proved too much? Or did life get in the way? Genuinely interested- I’d like to start a similar project.

    • @philipacovington
      @philipacovington Месяц назад

      Very little interest. I could not justify spending so much time on this for so little interest.

    • @darronvanaria2952
      @darronvanaria2952 Месяц назад

      @@philipacovington that makes sense. I’m just starting in FPGAs but long term i’d love to implement a full computer; like a Commodore 64. I’m guessing it would take several FPGAs, one to drive the memory mapped graphics.

    • @bobhillier921
      @bobhillier921 26 дней назад

      Too bad. I just found this. It would have been an extraordinary adventure to complete this.

  • @L2.Lagrange
    @L2.Lagrange 6 месяцев назад

    Very interesting project

  • @The411
    @The411 7 месяцев назад

    I really like the look of that construction. what pcb material did you use for the positive bus bar? It looks a lot thinner than normal clad pcb.

  • @timmorgan3673
    @timmorgan3673 7 месяцев назад

    Most interesting - Thanks for putting it "out there" :)

  • @dazealex
    @dazealex 11 месяцев назад

    I bought nandland simplified FPGA. He has tutorials on his channel too. Haven't gotten into it yet because there I am on a Mac and there is no version of Ice. I applied for a personal license and havebn't gotten one yet in email -- maybe holidays.

  • @quasarpulsarspark
    @quasarpulsarspark Год назад

    Excellent video !!! Thank you for your work. It help really helped me understand better Verilog HDL and how to make a CPU.

  • @drivers99
    @drivers99 Год назад

    I built all of Ben Eater’s projects, and I’d love to learn an FPGA that doesn’t use Vivado so I’m going to love this. I even bought a copy of that Malvino book. Oh it appears you don’t answer questions and/or share the files you said you’d share, unfortunately. However! It appears we can just take screenshots after all.

  • @Ray-ej3jb
    @Ray-ej3jb Год назад

    Sweet Jesus! Talk about jumping in at the deep end!!! Slow down and explain things - certainly not beginner friendly

    • @skunkwerx9674
      @skunkwerx9674 4 месяца назад

      This isn’t for beginners …. Do first year CS undergrads build CPUs from scratch in HDL? I’ll give you a hint. No.

  • @ahirvasudev5343
    @ahirvasudev5343 Год назад

    Very nice explanation and very usefully and thanks for serving community

  • @singhpk99
    @singhpk99 Год назад

    tda2822M is used very often has 2 channels which can be bridged. If you want to do discrete transistor 8050 8550 is a great pair. also used a thermally compensated bias with a pot and a sense transistor. 3-5 ma bias is enough. Opamp is not needed at all. just 1 single transistor can drive it . May want to bootstrap load resistor for driver transistor.

  • @ДаудМухамеджанов

    sorry for a stupid question, but what is the purpose of R10?

    • @MikeinSoCal
      @MikeinSoCal Год назад

      R10 is in the circuit to provide a load on the output transistors at high frequencies. The reactance of C4 is high at audio frequencies, which essentially takes R10 out of the circuit. But at much higher frequencies, the reactance of C4 is reduced and R10 becomes an increasingly heavy load on the output. This helps prevent high frequency oscillation.

  • @bitshuffler
    @bitshuffler Год назад

    Fantastic! I've wanted to do this exact project t teach myself verilog. I am super limited with switches and indicators on my TinyFPGA Bx lattice board. Does anyone know if there's an equivalent to the in system sources and probes tool for the Ice storm tool chain? I'm using Ice studio. Can I use a tool from outside this toolchain?

  • @mustafaaljshamee6593
    @mustafaaljshamee6593 Год назад

    Hi there, I got an error at statement of 171 of " assign w_bus = (a_enable) ? SW[7:0] : 8'bZZZZZZZZ; " the problem was w_bus is assigning on multiple therefore I've make it as previous, in which change a_enable with a_latch, my question is that correct please ???

  • @mustafaaljshamee6593
    @mustafaaljshamee6593 Год назад

    The videos was very pleasant and I'm very enjoyed with you; please complete the SAP design to the end, and continue implementation of your 8-bit computer however we still waiting the upgrading to 16-bit computer, thanks in advance for your explain and interpretation . Kindly Regards Aljshamee

  • @alexanderquilty5705
    @alexanderquilty5705 Год назад

    I really hope you continue the series!

  • @cirobermudez
    @cirobermudez Год назад

    Excellent video, excellent explanation, I loved the way you explain how to program in verilog

  • @ctbram0627
    @ctbram0627 Год назад

    You don't share your files so, although I am happy for you that you can do this, I would rather learn how and be able to follow along or buy a kit or something. As is, this is just a waste of my time watching someone else do what I would like to but cannot because I am not given the source.

  • @ПашаПитецкий
    @ПашаПитецкий Год назад

    Це є великий клас

  • @Chris-hi2hn
    @Chris-hi2hn Год назад

    Using in and out ports does that result in using different resources in the fpga? Tri-state buffers for example. And are these limited in availability

  • @Chris-hi2hn
    @Chris-hi2hn Год назад

    It looks like you're calling these registers latches. what differentiates a latch from a flip flop?

  • @wolfgangbischoff1826
    @wolfgangbischoff1826 Год назад

    cool

  • @m1geo
    @m1geo Год назад

    Another 3 months from the last, and 10 months from the first, I really do hope this series continues.

  • @andrewstarks9433
    @andrewstarks9433 Год назад

    Very nice video. You go super duper fast, especially for someone with 0.0 knowledge of FPGAs. Not a complaint, just feedback.

  • @ctbram0627
    @ctbram0627 Год назад

    You mentioned you would make your verilog code available but I do not see any link. Could I please get a copy? I am trying to follow along and have a de2-70 so the code should be easily refactored. Possibly putting the quartus verilog files on a github site?

  • @ctbram0627
    @ctbram0627 Год назад

    Looking forward to following this. I have a de2-70 and a couple other fpga dev boards and want to get back into hdl programming. Can you please tell me the verilog extension you are using in vs code? If you also program in vhdl and could suggest a code extension for that it would be appreciated. Thanks

  • @Allenw154
    @Allenw154 Год назад

    For those opening these or the larger 2x2 version, there are really good tools for opening them. Two groove pliers, opened wide, and clamped near the bottom, will crack them open very easily. You can use a small pry bar flat curved end to pop them out of the case and I've also used an arrow staple puller. You can assembly line this job and achieve very large volume much quicker. I still hate the process of remove the spot welded strips. Flush cutters are the best so far, but it still sucks.

  • @MishaSvoiski
    @MishaSvoiski Год назад

    I think R6 and C2 are redundant. The output of the first stage is at the correct DC bias to connect directly to the second stage.

  • @m1geo
    @m1geo 2 года назад

    Back 6 months later... Hopeful that there would be more? 😢

    • @jdmaze1
      @jdmaze1 Год назад

      Yes, I am also looking forward to a completion of this series. I hope that Phil still does tech.... :)

    • @m1geo
      @m1geo Год назад

      @@jdmaze1 alas not! ☹️

  •  2 года назад

    I didn't know we got that kind of command line access in Vivado, thanks!

  • @elamericano
    @elamericano 2 года назад

    Tda2822. 8 pins IC. 2channel 2x1watt or. 1x3watt. Work from 3 to 18 volt. Cost. 3 US dollar. ..

  • @wlan04wlan04
    @wlan04wlan04 2 года назад

    Would it be possible to release the Quartus project files at GitHub or somewhere so that people can download and study it?

    • @ctbram0627
      @ctbram0627 Год назад

      I second that request

    • @dazealex
      @dazealex 8 месяцев назад

      I third that request!

  • @goofyrulez7914
    @goofyrulez7914 2 года назад

    I remember using a 741 as a simple amp some 50 years ago.

    • @ПашаПитецкий
      @ПашаПитецкий Год назад

      Привітання,як вам гарно жилося, років 50 назад у нас не було такого для дітей 10-15 років,бо не було такого різноманіття у радіо деталях, дякую вам,але я всерівно мав успіх

    • @edgeeffect
      @edgeeffect Год назад

      Back in the early 1980s the 741 was my first IC. I remember studying it's schematic and trying to work out how they got all those components into such a tiny plastic box.

    • @goofyrulez7914
      @goofyrulez7914 Год назад

      @@ПашаПитецкий- Yes, I had electronics as a kid but I was very poor and had to save up to buy anything so it was all very precious to me.

  • @goofyrulez7914
    @goofyrulez7914 2 года назад

    Very interesting video. Thank you. (I just subscribed.)

  • @danny_racho
    @danny_racho 2 года назад

    Hey! I am crazy interested in this and I got myself an Altera board to follow up. Sadly I noticed you haven't uploaded in a long time, so I hope you would continue with this series, as soon as you get the chance again! I am an Elec. Engineer and all about circuitry, MCUs and now thanks to you also FPGAs!

  • @acestudioscouk-Ace-G0ACE
    @acestudioscouk-Ace-G0ACE 2 года назад

    Thanks for the video, it didn't occur to me that the ubiquitous 386 would be put out to grass but it happens to us all in the end. Newbie question, what would be the nearest drop in replacement/alternative when a schematic calls for an LM 386?

  • @CornelisVermazen
    @CornelisVermazen 2 года назад

    Hi Phil, very good instructive video's, when are the next video's coming ?.

    • @m1geo
      @m1geo 2 года назад

      Looks like never? But I home I am wrong! 😑

  • @FoodCetera
    @FoodCetera 2 года назад

    awesome content!! please, keep it coming!!

  • @jogreeen
    @jogreeen 2 года назад

    thanks

  • @GrabbsRacing
    @GrabbsRacing 2 года назад

    Awesome videos! Thanks for posting these. I can't wait to see the rest, like naikrovek said, super dense stuff, I watched the first one about 5-6 times following along with a go-board and de0-nano. Probably gonna watch the part where you dive into the ALU on this one about 10 times lol Thanks again!

  • @m1geo
    @m1geo 2 года назад

    Are any more of these coming? I really hope so!

  • @m1geo
    @m1geo 2 года назад

    Super useful series! Subscribed for more of the same!

  • @sc0or
    @sc0or 2 года назад

    Buf634 saves everybody

  • @murrayhorn8817
    @murrayhorn8817 2 года назад

    One diode between the transistor bases halves the slewrate requirements.

  • @Sigmatechnica
    @Sigmatechnica 2 года назад

    Nice use of cad to design manhatten boards

  • @ssubaihi
    @ssubaihi 2 года назад

    Thank U for this video. By the way there is a lot of IC's which considered very good with less components as well as it has a wider operation voltage rang Such as TBA820m , TDA7052 , TDA2822 TDA7231 , TA7331 , TA7368 , CD7368 , LM4871 , FM8002a and the powerful TA7252AP

  • @naikrovek
    @naikrovek 2 года назад

    these vids are awesome. so dense and so complete. excellent stuff.

  • @duckythescientist
    @duckythescientist 2 года назад

    I don't think you need R9. Unless I'm missing something, I don't see it doing anything useful. I'm also worried that U1B is going to have stability problems. My quick suggestion would be to have a series resistor between its output and the bases of the transistors. (My gut says 47R to start.) I'd also add a small value capacitor as direct feedback from the output to the inverting input. It may be fine now, but I think you'll get oscillations if you use an opamp with a higher GBP. When using op-amps with output boost stages in the feedback loop, you need to keep the GPB of the op-amp lower than that of the boost stage. However, it's working for you, so my suggestions could be unnecessary. :D