Author Topic: GAL16V8D in a hurry  (Read 3036 times)

0 Members and 1 Guest are viewing this topic.

Offline NivagSwerdnaTopic starter

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
GAL16V8D in a hurry
« on: April 21, 2020, 10:44:45 am »
Hi, 

I bought some "LATTICE DIP-20 GAL16V8D-15LP" on EBAY as although these are obsolete I thought they could work for a small piece of glue logic for a 5V retro project.

I just need a simple combinatorial design.... which s/w package should I use?  ispLever seems to be Lattice but is a monster.  Is there something leaner and meaner?

I have a TL866... will that work for programming these?  again which s/w would be best?

Thanks in advance
 

Offline NivagSwerdnaTopic starter

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: GAL16V8D in a hurry
« Reply #1 on: April 21, 2020, 11:15:09 am »
I found WinCUPL here... https://www.microchip.com/design-centers/fpgas-and-plds/splds-cplds/pld-design-resources  but it doesn't seem to have a definition for anything other than Atmel devices?  Where could I find a version that has 16V8D?
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: GAL16V8D in a hurry
« Reply #2 on: April 21, 2020, 11:24:07 am »
AFAIR, all 16V8's are the same for the logic design - the suffix is just for the speed and possibly programming algorithm variants, so using ATF16V8 in WinCupl will probably produce a compatible JEDEC file for GAL16V8
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: keitheevblog, NivagSwerdna

Offline NivagSwerdnaTopic starter

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: GAL16V8D in a hurry
« Reply #3 on: April 21, 2020, 12:51:15 pm »
I downloaded ispLEVER earlier and had a play over lunch...  The ABEL HDL doesn't seem too hard and there is an example which is pretty close to what I want... so I might go with the sledge hammer approach...

Code: [Select]
module decode
title 'memory decode'
 A15,A14,A13,A12,A11 pin;
 ROM1,IO,ROM2,ROM3, RAM pin istype 'com';
 H,L,X = 1,0,.X.;
 Address = [A15,A14,A13,A12, A11,X,X,X, X,X,X,X, X,X,X,X];
equations
 !RAM = (Address < ^h8000);
 !ROM1 = (Address >= ^h9000) & (Address < ^hE000);
 !ROM2 = (Address >= ^hE000) & (Address <= ^hE7FF);
 !IO = (Address >= ^hE800) & (Address <= ^hEFFF);
 !ROM3 = (Address >= ^hF000);
test_vectors
 (Address -> [ROM1,ROM2,ROM3,IO,RAM])
 ^h0000 -> [ H, H, H, H, L ];
 ^h4000 -> [ H, H, H, H, L ];
 ^h8000 -> [ H, H, H, H, H ];
 ^hC000 -> [ L, H, H, H, H ];
 ^hE000 -> [ H, L, H, H, H ];
 ^hE800 -> [ H, H, H, L, H ];
 ^hF000 -> [ H, H, L, H, H ];
 ^hF800 -> [ H, H, L, H, H ];
end

 

Offline up8051

  • Frequent Contributor
  • **
  • Posts: 288
  • Country: pl
Re: GAL16V8D in a hurry
« Reply #4 on: April 21, 2020, 08:38:11 pm »
You can use old PALASM
https://en.wikipedia.org/wiki/PALASM

For 16V8 chips select PALCE16V8.
 
The following users thanked this post: NivagSwerdna

Offline madires

  • Super Contributor
  • ***
  • Posts: 7764
  • Country: de
  • A qualified hobbyist ;)
Re: GAL16V8D in a hurry
« Reply #5 on: April 21, 2020, 09:16:34 pm »
Open Source: GALasm (https://github.com/daveho/GALasm)
 
The following users thanked this post: NivagSwerdna

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: GAL16V8D in a hurry
« Reply #6 on: April 21, 2020, 09:36:43 pm »
You can use old PALASM
https://en.wikipedia.org/wiki/PALASM

For 16V8 chips select PALCE16V8.
Unless PALASM changed a lot since I started using CUPL, there's a big difference between Palasm and CUPL - CUPL is much more high level and useful - from what I recall PALASM is only a step above manually creating fuse maps, whearas CUPL has logic reduction , buses and other high-level features
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: NivagSwerdna

Online oPossum

  • Super Contributor
  • ***
  • Posts: 1417
  • Country: us
  • Very dangerous - may attack at any time
Re: GAL16V8D in a hurry
« Reply #7 on: April 21, 2020, 09:39:10 pm »
I have been using ispLever for GALs so I can use VHDL. I prefer that over ABEL/CUPL/PALASM.
 
The following users thanked this post: NivagSwerdna

Offline marcopolo

  • Regular Contributor
  • *
  • Posts: 150
  • Country: fr
  • F4LIG
    • Retronik
Re: GAL16V8D in a hurry
« Reply #8 on: April 22, 2020, 01:45:02 pm »
Try EZ-ABEL  :D

https://www.eevblog.com/forum/fpga/looking-for-easy-abel-v4-x-documentation/

I just done a VGA Sync generator with it without any problem.

Marc
My Archives (68K, Old logic, SSB radio): marc.retronik.fr
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: gb
Re: GAL16V8D in a hurry
« Reply #9 on: April 26, 2020, 08:53:46 am »
My understanding is similar to mikeselectricstuff, WinCUPL can generate a JEDEC file that should work on devices other than ATMELs own. If you have a TL866 you can try it easily enough.

WinCUPL has a bit of a learning curve and some quirks to get used to.
 

Offline maithon

  • Newbie
  • Posts: 2
  • Country: cn
Re: GAL16V8D in a hurry
« Reply #10 on: May 15, 2020, 09:35:40 am »
I use abel to complie and simulate this gal16v8d in winxp dos mode.
 

Offline Picuino

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: 00
    • Picuino web
Re: GAL16V8D in a hurry
« Reply #11 on: May 15, 2020, 11:02:26 am »
If the glue logic is simple, you can use too a PIC microcontroller with CLCs (Configurable Logic Cells).
https://www.microchip.com/design-centers/8-bit/peripherals/core-independent/configurable-logic-cell
Simple and cheap devices like PIC16F15324 have 4 configurable logic cells very flexible.
With the Peripheral pin select function you can asign inputs and outputs to any Pin of the chip.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf