#756

Поділитися
Вставка

КОМЕНТАРІ • 64

  • @JamesPearson
    @JamesPearson 2 роки тому +9

    Really excellent video, thank you. This is the first time in over 20 years I've used GALs and I had forgotten everything and I've no idea what software tools I used back then. Your video has got me back up and running with GALs and now is so much potential!!

  • @perseverance8
    @perseverance8 Рік тому +4

    Microchip currently produces the PAL ATF16v8 & ATF22V10 series of devices. The TL866II Plus will program ATF16V8BQL-15PU devices, I have yet to purchase or use any ATF22V10 devices. The ATF16V8BQL-15PU work great for address decoding, it can reduce complex decoding to one IC over half a dozen 74HC IC’s.

  • @stefanf.5439
    @stefanf.5439 2 місяці тому

    Thank you very much, your explanations helped me to understand most of the logic, functions and programming for gals. Greeting from germany , stay retro ;).

  • @electronicengineer
    @electronicengineer 3 роки тому +2

    These early PAL/GAL (Lattice) programmable gate arrays are from my heyday as a design engineer at Baker Electronics. I got out of electronic design just as things were beginning to use Altera and Xilinx FPGA/CPLDs. Nice walk down memory lane. Thank you for showing us sir. Fred

  • @TheOwlman
    @TheOwlman 3 роки тому +4

    Thanks for that, it took me right back to the early 80s :~D

  • @popandopulouspupkin4496
    @popandopulouspupkin4496 3 роки тому +7

    Microchip still produces that - ATF22V10, ATF16V8, you name it :)

    • @rolfw2336
      @rolfw2336 Рік тому

      Yes, but good luck getting them in the current shortage!

  • @colonelbarker
    @colonelbarker 2 роки тому +4

    Thanks for making this video, I really appreciate it. There don't seem to be a huge number of videos about these days talking about GALs. :D

  • @damouze
    @damouze 2 місяці тому

    At the demonstration of the Johnson counter I half expected it to turn backwards and that a montonic voice would say "By your command" or that it would shout out the name Michael :P
    Thanks for this informative video. I find WinCUPL a pain to work with, but fortunately I found some alternatives that may not be ideal, but that work for what I currently use these devices for.

  • @SteveJones172pilot
    @SteveJones172pilot 2 роки тому +2

    Great video - I have been wanting to experiment with GALs to do some address decoding on some homebrew 8 bit computers and had no idea where to start.. This was a great help!

    • @IMSAIGuy
      @IMSAIGuy  2 роки тому +1

      Glad I could help!

  • @nickcaruso
    @nickcaruso 3 роки тому

    Thank you! Now I am imagining self-modifying fabrics of these things. Someone must have tried this.

  • @jdmccorful
    @jdmccorful 3 роки тому

    All the info I should of know but didn't and still had to repair just understanding function. Definition of a "parts swapper", and still got paid. Thanks for the look.

  • @bayareapianist
    @bayareapianist Рік тому

    I took a course in early 90s which we would wire the gates/latches/FF using a Windows 3 GUI program. I think it was a part of Spice software. Then we learned about Verlog and VHDL to write code. Because I was an EE, I liked the wiring program. I remember it would take about 30min to complie several software.

  • @Dorff_Meister
    @Dorff_Meister 2 роки тому

    Fascinating. I have some GALs coming from China. I may give it a try when they arrive.

  • @k7iq
    @k7iq 3 роки тому

    I used to use PALs at one company in the mid-1980s or so. Fun ! CPLDs and Silegos today. I hope they keep making them>
    I didn't know anyone still made 22V10s ! Kinda expensive for that old of parts though

  • @NotMarkKnopfler
    @NotMarkKnopfler 3 роки тому

    Happy times spent with PALASM hunched over a programmer!

  • @pikaonyoutube2139
    @pikaonyoutube2139 Рік тому

    Glad u made this i have a few òf the gal18v10b ic thanks

  • @PowderMill
    @PowderMill 3 роки тому

    Thanks as always..

  • @stefanweilhartner4415
    @stefanweilhartner4415 4 місяці тому

    Microchip (Atmel) still makes 7.5ns fast CPLD like the ATF750C in 24 pin DIP or 28 pin PLCC that can handle 5V.
    at mouser, they are going for 7€ a piece.

  • @robinhodson9890
    @robinhodson9890 11 місяців тому

    Thanks: I was curious how GALs differed from PALs - so they basically added the option of flip-flops on the outputs, and the ability to loop outputs back as inputs.
    They're still just a big LUT (Look-Up Table) though, with the AND array forming a compact decoder, and the OR array as the table.
    An FPGA consists of many LUTs, all connected through a bus of sorts, with the inputs & outputs connected separately to the bus. Traditional wisdom holds that all LUTs marry with FFs (Flip-Flops), but I've found it more efficient to connect the FFs separately, and you can always have part of a LUT configured as a FF, by feeding it back to itself. (The simplest illustration of this, is configuring an OR gate into a LUT, then feeding the output back into one of the inputs. This is also a good test of how good your gates are, as power and data should be separate.)
    This has made me think though, if I can make some of my decoders compact, ie allowing a large number of inputs, where only a relatively-small combination of outputs needs to be valid: If this would save space over having a huge decoder. If the AND array replacing it had to be a similar size however, there would be no advantage - this is something I need to work through.

  • @clems6989
    @clems6989 2 роки тому

    Thanks again...

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR 3 роки тому

    Very handy if you want to build a hardware DES cypher module

  • @mikekaffetzakis
    @mikekaffetzakis 2 місяці тому

    Hello nice explaining on the gal pal architecture but on minute 23 you say that the pin one is reserved only for clock this is wrong pin one is the clock input but if you do not need clock you can program it as a an input

  • @markpitts5194
    @markpitts5194 Рік тому

    Great video. Do you have some where you keep your example code? I have just got the T48 programmer and some 22v10 for Christmas, and would like to 'work along' with you.

    • @markpitts5194
      @markpitts5194 Рік тому

      I have got the hang of this now, snap shotting the screen and printing them. I have now replicated what you have shown here, and done my own clock divider for my video project. Thanks again IMSAI. 🙂 Love your stuff.

  • @derekchristenson5711
    @derekchristenson5711 4 місяці тому

    Very interesting! I've programmed these with ".jed" files designed by others (when building projects that they designed), but I've never written the logic for one, myself. This makes it sound quite approachable. Really, it reminds me of all those truth tables I had to fill out and analyze in one of my very early classes for computer science.
    I didn't think that they were technically obsolete chips, though; doesn't some company produce the Lattice parts now, after buying Lattice? I'm pretty sure that I've bought new ones in the last few years from Mouser or Digi-Key. 🤔

  • @PauloDutra
    @PauloDutra 3 роки тому

    Yeah Today we Have FPGA's field programable gate arrays!

  • @gwc1410
    @gwc1410 3 роки тому

    What is the small PCB with the LEDs on it?
    Is it just a PCB with LEDs for use on a solderless breadboard?
    If you bought it somewhere, could you provid a link?

    • @IMSAIGuy
      @IMSAIGuy  3 роки тому +1

      It is my own design

  • @davidkain9046
    @davidkain9046 Рік тому

    thanks for the helpful video.
    Is it possible to copy the chip with protection?

  • @gullam_mustafa
    @gullam_mustafa 2 роки тому +1

    I am a BSCS student, i have studied about the introduction of GAL gate, can you upload the video on How to program & implement some SOP expression on GAL PLDs.❤
    Regards,

  • @computeraidedworld1148
    @computeraidedworld1148 3 роки тому

    I know this is off topic, but I was working on an old Tandy TRS-80 Model II, and the 12 volt line is at 9v with nothing connected
    What would cause a supply to drop voltage? I don't know many people I could ask.

    • @IMSAIGuy
      @IMSAIGuy  3 роки тому

      I would need to see the schematic

    • @computeraidedworld1148
      @computeraidedworld1148 3 роки тому

      @@IMSAIGuy obviously, help only if you want too, but the schematic is on page 117 of this manual github.com/pski/model2archive/blob/master/Hardware/Model_II_Technical_Reference_Manual.pdf

    • @IMSAIGuy
      @IMSAIGuy  3 роки тому +1

      @@computeraidedworld1148 OK, If I had to guess D5 or D6 is dead. it is only rectifying half and not full.

    • @IMSAIGuy
      @IMSAIGuy  3 роки тому +1

      D8 could be half way dead loading it down. or as usual one or more capacitors are dead and you just checked with a voltmeter and not a scope. I would put a scope on it and see if you have massive amounts of ripple. My bester guess is bad caps

    • @IMSAIGuy
      @IMSAIGuy  3 роки тому +2

      if you don't have a scope, measure the AC voltage, It should be 0, it should only have DC

  • @herbertsusmann986
    @herbertsusmann986 3 роки тому

    Interesting. I havent done this in probably 25 years. You didnt show the programming hardware. What programmer is it?

    • @IMSAIGuy
      @IMSAIGuy  3 роки тому

      in the description

  • @thorpejsf
    @thorpejsf Рік тому

    This is a great introduction, but -- and maybe I'm missing something here -- the schematic of the synchronous counter at 14:32 doesn't actually work, and doesn't match the logic that you wrote in WinCUPL (which can be seen at 26:22). The CUPL code does work (as you demonstrated!), but the schematic diagram can't possibly be what the compiler actually generates (not quibbling with the use of a higher-level language like CUPL here... but obviously the compiler is doing some real work since the 22V10 doesn't support XOR in the way that's being used in the code). Initial state is Q1=0, Q2=0, Q3=0. After the first clock pulse, Q1=1, Q2=0, Q3=0, and therefore FF2.D=1... so far so good... now, strobe the clock again and Q1=0, Q2=1, Q3=0. Now here's the problem: because Q1=0, FF2.D=0 (heck, /Q2=0, which also ensures that FF2.D=0). So, if you strobe the clock again, Q1 correctly becomes 1, but Q2 goes back to 0, and now on each clock pulse they just ping-pong.
    I haven't taken a look at the low-level fuse map that WinCUPL actually generates for the code in the example so I can't say what it actually puts into the device, but in addition to toggling a given bit if all of its trailing digits are 1, you also need to preserve a digit's 1 if any of its trailing bits are 0. The easiest way to do that is to just AND the digit with the inverse of each of its trailing digits individually, and then OR the whole thing together.
    Anyway, I just wanted to point this out in case anyone else is using something other than WinCUPL to write code for the device (there's a couple of open-source tools -- GALasm and Galette) that only exposes the sum-of-products that the GAL uses internally, they shouldn't just transcribe the schematic!

  • @zilog1
    @zilog1 2 роки тому

    Atmel still makes them. about $1 on mouser

  • @bit2shift
    @bit2shift 2 роки тому +1

    10:07 that's a D flip-flop, not a D latch.
    A "D latch" would have an "E" input for gating the "D" signal.
    You probably meant T flip-flop.

    • @IMSAIGuy
      @IMSAIGuy  2 роки тому

      www.electrical4u.com/d-flip-flop-or-d-latch/#:~:text=A%20D%20Flip%20Flop%20(also%20known,as%20a%20basic%20memory%20cell.

    • @bit2shift
      @bit2shift 2 роки тому

      ​@@IMSAIGuy that article is rather inconsistent. Please refer to corresponding Wikipedia article: en.wikipedia.org/wiki/Flip-flop_(electronics)#D_flip-flop
      A D flip-flop can be obtained with two gated D latches connected in series.

    • @IMSAIGuy
      @IMSAIGuy  2 роки тому

      @@bit2shift We always called them latches, gated latches is something else. the D input is latched on a positive clock edge.

    • @IMSAIGuy
      @IMSAIGuy  2 роки тому

      look at the 7475 datasheet

    • @bit2shift
      @bit2shift 2 роки тому

      ​@@IMSAIGuy 7475 has transparent latches (another name for gated D latch).
      The TI datasheet says: "Information present at a data (D) input is transferred to the Q output when the enable (C) is high and the Q output will follow the data input as long as the enable remains high."
      Now take a look at the 7474 datasheet.

  • @ZebraSucks
    @ZebraSucks Рік тому

    So "the AND:s over here..." Are you saying that all horizontal connections in the grid forms an AND gate? You are very unclear on HOW these AND gates are formed.

  • @stefano.a
    @stefano.a Рік тому

    at 10:08 : your definition of FLIP-FLOP is wrong. A flip-flop is simply a clocked latch or if you prefere, a single bit register. You have transformed a D-Flip Flop in a T-Flip flop.

    • @IMSAIGuy
      @IMSAIGuy  Рік тому +2

      I do call it a D type latch in the video also. the term flip flop is due to my old age. if you look at old TTL 7474 parts. the datasheet says they are D-type positive edge triggered flip-flops. people of my age learned that way. today it is more accurate to call them latches. the TTL 7475 is called a latch on its datasheet. So TI just taught us that way.

    • @stefano.a
      @stefano.a Рік тому

      @@IMSAIGuy the problem is the word "latch" used describing a flip-flop. A latch is a device that *don't have* the clock. Also the one you called a D- flip flop is a toggle flip flop (T-flip flop)

  • @Trainwreck144
    @Trainwreck144 3 роки тому +2

    The FPGA is sooo much easier. Forget the programming and just enter a graphic of the circuit using off the shelf parts. Connect 3 wires to the computer's serial port and Bob's your uncle.

    • @nychold
      @nychold Рік тому

      Not really. FPGA typically require external ROMs for programming on start-up, and rarely (if ever) run at 5V or even have 5V tolerant pins. So in addition to the FPGA, you need the external ROM and voltage level converters (either standard MOSFETs or TTL chips that can run at lower voltages.) A GAL runs native at 5V and requires no start up time at all, even if they are significantly more limited in functionality.

  • @daveturner5305
    @daveturner5305 3 роки тому +3

    I really wanted to enjoy and learn from this video. Sadly with your fingers mostly obscuring what you are pointing to and not understanding which things are things and which are not I was sadly frustrated. May I suggest that you watch your video with a critical eye and ear. Please take this as constructive criticism.