Code Monkey home page Code Monkey logo

galparse's Introduction

PLDs

G540 programmer

ONLY WORKS IN XP

Set : Set Programming Operation Sequence, Remove Verify and Encrypt These settings are lost every startup!!!!!!!

The G540 PAL programmer uses a non-standard .JED format.

Read a PLD

Remeber: Set : Set Programming Operation Sequence

  • Click Read
  • File : Save (S)
  • Select JEDEC
  • Click OK

The read file is ok, the saved file is wrong. You have to manually read the bits.

g540jedec

Convert CUPL compiler .JED to G540 compatible format.

Arguments:

  • .JED from CUPL compiler
  • Output file (.JED format for G540)

CUPL Compiler

ONLY WORKS IN XP

Setup:

cuplsetup.bat

Compilation to .jed file:

cupl -j <.pld source file>

Conversion for G540 programmer (can be done in Windows 10):

python.exe g540jedec.py test.JED test_g540.JED

GAL22V10 parsing

gal22v10parse

Parse a .JED file and generate CUPL source file

Arguments:

  • .JED source
  • List of pin names separated by spaces in order of pins (skipping power pins 12,24). Prefix with ! to indicate active low
  • CUPL Name
  • CUPL revision
  • CUPL designer
  • CUPL company name
  • CUPL assembly
  • CUPL location

Example:

python.exe .\gal22v10parse.py test_g540.JED "p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23" test 1 "Chris Alfred" "Company Name" myboard U6

galparse's People

Stargazers

Arnim Läuger avatar Backwoods Bob avatar numbi avatar  avatar Stefan Reinauer avatar Michael Dreher avatar

Watchers

 avatar

Forkers

nospam2000

galparse's Issues

Support to decode gal16v8 jedec to pld

I already made a first attempt, trying to implement the whole specification for the gal16v8.
Except for the UES the implementation should be complete, but I only tested for combinatoric logic.

The device name shall be dependent on the mode (simple, complex, registered), but setting it in _build_macrocells() is probably too late.

Please see my branch https://github.com/nospam2000/galparse/tree/gal16v8
with the added files gal16v8.py and gal16v8parse.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.