Programmable Logic II: Program a CPLD from start to finish.

Поделиться
HTML-код
  • Опубликовано: 24 авг 2024
  • Read the accompanying article: hackaday.com/20...
    Explore and program a Complex Programmable Logic Device. This Includes both a quick PCB layout tip and sample Verilog.

Комментарии • 28

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

    Thank you, it is great to see the big picture.

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

    Thank you very much you taught me a lot about cplds will help with my projects

  • @FurEngel
    @FurEngel 5 лет назад +1

    I recently switched from the MAX V 570Z (TSOP144), same as in the video, to the much superior Lattice MACHO2. For nearly the same price, you get more IO, 9KB of block ram, and hardened I2C and SPI. My performance is nearly 50x greater.

  • @slap_my_hand
    @slap_my_hand 7 лет назад +2

    is there a way to program a standalone CPLD without spending 500€ on a programmer?

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

    How did you loose your finger?

  • @boliussa
    @boliussa 5 лет назад +1

    Does a CPLD have its own processor? Does a CPLD operate even before the BIOS/UEFI?

    • @prathamkalgutkar7538
      @prathamkalgutkar7538 3 года назад

      CPLD is Basically Hardware which you can Program however you want. Instead of Using ICs, Gates and Wires just Program it instead. And yes You can Program or Emulate a CPU in CPLD but FPGAs are better for that and few do come along with CPU Cores. Idk BIOS stuff tho

  • @fys4287
    @fys4287 8 лет назад +14

    "I type much slower since I lost my finger." - I'm sorry, what?

    • @TheRealMentat001
      @TheRealMentat001 7 лет назад +7

      He fell off a ladder, hooked his wedding ring on a nail, and tore the flesh from his ring finger.

    • @woowooNeedsFaith
      @woowooNeedsFaith 3 года назад

      @@TheRealMentat001 That's yet one other reason not to get married...

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

      @@TheRealMentat001 is he OK now?

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

    What do you think about AMD and Xylinx merging and will AMD Ryzen use FPGA accelerators?

  • @knki_95
    @knki_95 6 лет назад +1

    Bill could you please recommend an fpga to begin learning them ? I'm thinking spartan 6 lx16, but usb blaster is expensive. Any other way to flash a xilinx ?

    • @fosatech
      @fosatech 6 лет назад

      Check this out, it's reaaaaly cheap: www.ebay.com/itm/Altera-FPGA-CPLD-programmer-USB-Blaster-compatible-LC-MAXII-EPM240-Dev-Board/222518023586?hash=item33cf1b95a2%3Am%3AmPES43HZf3xmdUWX-9ACVkA&var=521365773294

  • @MrSp0ck
    @MrSp0ck 10 лет назад

    Nice introdution. The only missing thing is basic verilog syntax. And how n parameter translates to blinking time ?

    • @electronash
      @electronash 10 лет назад +3

      The n parameter is used to denote how many bits is used for the counter register.
      So, where he has...
      output reg [n:0] count;
      When the parameter = 63, the above will actually be "seen" at compile time like this...
      output reg [63:0] count;
      This means that the register "count" will have 64 bits total (bit 63 down to bit 0).
      Bil then chose to route arbitrary bits of the count register directly to the LEDs on the board using the graphical block diagram.
      The "count" register in this example is clocked at 50MHz, and the count value increments on every rising edge of the main input clock (hence the "posedge" statement in the always block).
      If you visualize how binary counting works, each bit of the counter toggles half as slow as the first one.
      So...
      bit "0" of the count register will toggle at 25MHz.
      bit "1" of the count register will toggle at 12.5MHz.
      bit "2" of the count register will toggle at 6.25MHz.
      ..and so on.
      You can see that you need quite a few bits to slow down the output signal enough so you can actually see them toggling on the LED(s). ;)

    • @electronash
      @electronash 10 лет назад +1

      (this may not be 100% correct, but this is to the best of my knowledge)...
      In the always block, the statements below it will be evaluated every time the terms in the so-called "sensitivity list" are true.
      The only thing in the sensitivity list in this example is the @(posedge clk).
      This means that the count = count + 1 part will happen every time we see a rising edge of the clk input.
      If you have only one statement after the always block, you don't need the "begin" and "end" words.
      But, if you have more than one thing to evaluate on every rising edge of the clk, you could do this...
      always @(posedge clk) begin
      count = count + 1;
      state = state + 1;
      end
      (we don't actually have a "state" register yet, but you get the idea). :)

    • @electronash
      @electronash 10 лет назад

      Marcin Jurczuk btw, from the sort of videos you've watched, and your subs, I'm guessing your question was rhetorical, but thought I'd post some of my ramblings anyway in case somebody else wanted to know. lol

  • @JOLARS386
    @JOLARS386 4 года назад

    Anyone can share how to program an ALTER MAX2 EPM1270F256C5N?

  • @danielmamaghani
    @danielmamaghani 3 года назад

    Thank you

  • @zachz96
    @zachz96 7 лет назад

    Could you use a CPLD or FPGA and that universal active filter to emulate a SID chip?

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

      yes, as long as it fits into the C64, and you have an adapter that has the right pins. You'd propably have to use a logic converter, as most modern FPGAs / CPLDs use 3.3v logic, but most older systems (6502, Z80, 8086 etc) used 5v

  • @Novalmauge
    @Novalmauge 10 лет назад +1

    Keep hacking!

  • @arihasan3423
    @arihasan3423 7 лет назад +1

    Why so serious? Lets put a smile on that face!!

  • @ugetridofit
    @ugetridofit 6 лет назад +6

    Thanks for the video, but why in the world do you think we need to see your face all the time covering up the video?

  • @PauloConstantino167
    @PauloConstantino167 7 лет назад +4

    This guy gives me the impression he is talking to someone or something other than the youtube audience. Weird.