Close
0%
0%

4-Bit Full Hex Decoder

A breadboard friendly 4-bit full hex decode board based on GAL16V8 chip.

Similar projects worth following
Starting from
$4.95
prpplague has 19 orders / 1 reviews
Ships from Hurst, US
Unlike standard "BCD to 7-Seg" chips like the SN74LS247N which only display 0 to 9, and only decode, this board is designed to latch AND decode full 4-bit hex to 7-segment display. This means that in addition to 0 to 9, A to F are also displayed and the the output is latched using a dedicated clocked input pin. The GAL16V8 comes preflashed with the required code with source code available. The kit is packaged in a reusable plastic case as a through hole kit with all parts necessary for assembly.

gal-7seg.pld

Text file with CUPL code for GAL16V8. Use Amtel WinCUPL to compile.

pld - 504.00 bytes - 01/11/2019 at 02:57

Download

gal-7seg.pdf

PDF Schematic For GAL16V8 4-Bit Full Hex Decoder - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. CC-BY-NC 4.0, Copyright (C) 2018, David Anders. All Rights Reserved.

Adobe Portable Document Format - 14.42 kB - 01/11/2019 at 02:54

Preview
Download

Enjoy this project?

Share

Discussions

Linker3000 wrote 5 hours ago point

Here's an 8-bit version using a 16V8: https://github.com/linker3000/GALBinaryTo7Seg

  Are you sure? yes | no

PinheadBE wrote 4 days ago point

I run WinCUPL on Win7 and have several Runtime errors 372 (despite the fact I run it in WinXP compatibility mode) onb TABCTL32.OCX

Anyway, I can compile the file without errors.

I also have MiniPro and a TL866 to flash the GAL, but which file has to be flashed ?  I don't see an .HEX file...

thanks for any help

  Are you sure? yes | no

Ken Yap wrote 4 days ago point

Do you get a JEDEC file (.jed)?

  Are you sure? yes | no

PinheadBE wrote 4 days ago point

Yes, there is one

Is it that simple ?

Since I cannot change (even consult) the options of the compiler because of the TABCTL32.OCX error, I use the default options.

I will try to flash that file in the GAL.

Thanks, Ken !

  Are you sure? yes | no

Ken Yap wrote 4 days ago point

You know that often documentation for old programs are online? http://ww1.microchip.com/downloads/en/DeviceDoc/doc0737.pdf

  Are you sure? yes | no

PinheadBE wrote 4 days ago point

Yes indeed.  I overlooked that, sorry...

Thanks for the link

  Are you sure? yes | no

Ken Yap wrote 4 days ago point

An OCX file apparently contains forms for an application. Perhaps your installation is damaged. Maybe consider reinstalling WinCUPL, since it's a free program anyway.

  Are you sure? yes | no

Peter Ullrich wrote 01/17/2019 at 20:57 point

cool project! I made a similar GAL about 20 years ago to imitate the obsolete DM9368. http://pdf.datasheetcatalog.com/datasheet/fairchild/DM9368.pdf

  Are you sure? yes | no

matseng wrote 01/11/2019 at 16:31 point

I guess that ATF16V8B can be used as well?  Still in production and only costs $0.62 in 5K qty...

  Are you sure? yes | no

Dave's Dev Lab wrote 01/11/2019 at 21:10 point

The part I am using is actually the ATF16V8B. In the description I referenced it as a generic GAL part...

  Are you sure? yes | no

matseng wrote 01/11/2019 at 21:29 point

A Generic GAL you say? So that would be a "Generic Generic Array Logic" device then. That must be those newfangled G2AL that is all the rage nowadays ;-)

Joking aside, It's a nice project, too bad that there aren't enough outputs on the GAL to implement a ripple-blanking output on it as well for full awesomeness.

  Are you sure? yes | no

Ted Yapo wrote 01/12/2019 at 01:55 point

Cool project! What do you use to program the GALs? I haven't burned one in years - my ancient programmer needed Windows

@matseng don't diss leading zeros, man, unless you enjoy watching movies about agents code-named "7" :-)

Also, there used to be 22V10s with more outputs, not sure if any compatibles are still in production.

  Are you sure? yes | no

Dave's Dev Lab wrote 01/12/2019 at 04:42 point

@Ted Yapo - i'm using the TL866 series programmers. i've not been able to get them to program using the open source linux based tools, however the windows based software seems to work without an issue...

  Are you sure? yes | no

Dan Maloney wrote 01/11/2019 at 15:49 point

This looks interesting. I'd like to learn more about PLDs - would something like this be a good way to get started?

  Are you sure? yes | no

Dave's Dev Lab wrote 01/11/2019 at 21:16 point

The GAL16V8 parts are pretty limited, but good for replacing blocks of combined logic. The programming "language" for these is known as CUPL, which is a lot more cryptic and not as commonly used as VHDL or Verilog. I'd recommend looking into something with the Altera MAX700 series ( https://www.digikey.com/product-detail/en/intel/EPM7064SLC44-10N/544-2012-ND/1084676). I made a little dev board for that part a while back - https://hackaday.io/project/28167-digital-design-doohickey/log/70446-i-have-your-io

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates