GitHunt
ID

iDoka/asic-pinout-drawer-2016

Simple pin assignment generator for IC case

= ASIC Pinout Drawer
Dmitry Murzinov kakstattakim@gmail.com
v1.0, 15.06.2016
:doctype: article
:lang: en
:stem:
:grid: all
:align: center
:imagesdir: example
:homepage: http://idoka.ru

This is simple IC-case drawer with proper pin assignment

NOTE: Russian description available here: http://idoka.ru/php-asic-pinout-generator/

== Intro

Simplifying diagram to explanation tool works:

AsciiDoc    -->    CSV    -->      JSON       -->    SVG    -->      PNG
 table                          (optional)                        (optional)

== Dependencies

  • bash tool: grep, sed, make
  • PHP

==== Optional

== Features

== Usage

. Customize the IC case geometry by defining proper parameters ()
. Prepare table with IC pins definitions
. Run make

The first stage of conversion make json-container of pin description and might be useful for any custom purposes (input format for other tools).

In some cases you need to customize function DecidePinColour() in file DecidePinColour.php.

== Example

Click by link below for reveal step-by-step example of conversion from source doc to finish drawing:

https://github.com/iDoka/asic-pinout-drawer/blob/master/example/pinout.adoc[*AsciiDoc table*] or https://github.com/iDoka/asic-pinout-drawer/raw/master/example/pinout.adoc[AsciiDoc raw] -> https://github.com/iDoka/asic-pinout-drawer/raw/master/example/pinout.csv[CSV] -> https://github.com/iDoka/asic-pinout-drawer/raw/master/example/pinout.json[JSON] -> https://github.com/iDoka/asic-pinout-drawer/blob/master/example/pinout.svg[*SVG*] -> https://github.com/iDoka/asic-pinout-drawer/blob/master/example/pinout.png[PNG]

// .Example of result of tool works (SVG)
// image::/example/pinout.svg?raw=true[width=50%]

.Example of result of tool works (PNG)
image::/example/pinout.png?raw=true[]

CAUTION: Unfortunately Github don't support embed svg-image on README page. Do not yet?...

== ToDo

[options="readonly"]

  • Place the Partnumber on the top of chip
  • Add legend to output
  • Add local link to every pin name for easy navigate into final doc
  • Read config from JSON- or ini-file (prefferable)
  • Case with BGA-matrix supporting:
    ** [ ] basic functionality for drawer
    ** [ ] supporting list of absent pins
    ** [ ] geometry pin-coding in additional to color coding (see the Xilinx FPGA pinout Documentation as Reference)
  • Obvious idea for PHP-based tools: make this tool available as SaaS (online drawer)

== Useful link that helps me develop that tool

=== ASCIIDOC

=== sed

=== PHP

=== SVG

== Tag cloud

asciidoc, json, verilog, asic, pinout, hdl, svg, csv, automated publishing

Languages

PHP93.8%Makefile6.2%

Contributors

MIT License
Created June 15, 2016
Updated March 20, 2026