Sunday, August 20, 2006

PySTDF Joins the OpenTech Network

PySTDF has been invited to join the OpenTech network, an open source EDA tools resource center and distribution CD-ROM! While I didn't initially consider PySTDF an EDA tool per se, there may be some crossover interest for academic projects and fabless startups that are producing silicon and need tools to characterize and test their material.

I plan to re-package PySTDF for distribution in the upcoming OpenTech CD-ROM release, and look forward to participation in the OpenTech community.

Thursday, August 17, 2006

Announcing STDF Explorer

So I've developed this simple but perhaps useful STDF browser GUI app... I ended up choosing wxPython, with BoaConstructor as an IDE. BoaConstructor was really weird for me to use at first, but it seems to be stable enough, and its growing on me.

STDF Explorer is a very basic STDF viewer. The left pane lists the sequence of STDF record types in the file, along with the file offset location of each record in hexadecimal. When you click on a record on the left, the right pane will display the contents of the record.

One of the cool features of the STDF explorer is that it can display contents immediately while continuing to load the rest of the file in the background. This was my first multithreaded GUI adventure (like I said, I have little GUI background) so it was fun to figure this part out.

In any case, keep your $3 a day for a good cup of coffee, and go download STDF Explorer 1.1.0. I encourage you to try it out with the biggest, baddest STDF files you have -- your testing will help me improve it.

Download: (4.7MB)

1. Unzip and run StdfExplorer.exe
2. Open an uncompressed STDF file
3. Explore!

Here's a screenshot of the STDF explorer in action:

Wednesday, August 09, 2006

PySTDF 1.0.0 released

I feel comfortable enough with the stability and structure of PySTDF to make an initial release. This release currently provides:
  • Modules for parsing, indexing and working with STDF data.
  • Several scripts that demonstrate how to use the modules to parse files and more. The stdf2atdf script is a good drop-in replacement for commercial STDF to ATDF converters.
As a library, I think its pretty darned useful for working with STDF data. As an application, "you ain't seen nothin' yet!".

Python 2.4 or greater is recommended.

Windows package:
UNIX package: pystdf-1.0.0.tar.gz

Installation is typical of most Python distutils-generated packages. Extract the archive, 'cd' into the extracted pystdf-1.0.0 directory, and do:

$ python install

(On UNIX, you might need superuser privileges to install, or specify a different installation prefix on the command line. Do 'python install --help' for assistance.)

Windows will install the stdf2atdf script somewhere like C:\Python24\Scripts. UNIX will put it in /usr/bin or /usr/local/bin (depending on Python's installation prefix).

Friday, August 04, 2006

In development: ATDF converter and STDF viewer

I am currently working on two applications which will be a part of the upcoming release of PySTDF: ATDF conversion and a simple GUI STDF explorer application.

I've already checked a simple STDF to ATDF converter into SVN (stdf2atdf). The only thing missing is that it doesn't properly format all the fields according to the ATDF spec. I don't think an ATDF to STDF converter will take much more work.

I have been more concerned with the graphical explorer app. I've never been much for GUI development, but I really want to pull one off for this project.

I would like to model the STDF data with a Tree Table, which is like a table with hierarchical and expandable/collapsable sections. Eventually, sections will be groupable by:
  • Test head and site number
  • Wafer, insertion count, and part count
  • Test number
  • Bin
  • Maybe something else
I think it's easy to do this as far as indexing the data (I'm more adept at the 'indexing the data' part) but I want a good GUI toolkit that is fast, easy to deploy, has few dependencies, and looks nice.

As far as GUI toolkits go, I've had experience with wxWidgets, GTK+, Windows Forms.NET, FLTK, and TkInter in the past. None of them were much fun to develop with.

I'm even considering a web-based AJAX front end served up from localhost and displayed in a browser component (IE on Windows, maybe Gecko on others). At least it would be more portable and reusable that way! And very skinnable with CSS. I think that's what Galaxy does for their UI, I played with it once and it had a bit of a webpage-like feel.

Tuesday, August 01, 2006

What can PySTDF do for you?

There are lots of features I could add to PySTDF, and applications I could build with it. I am primarily focused right now on developing a GUI browser to explore STDF data, because its something I've always wanted to do and never had the chance.

But I'd also like to keep a user perspective on the direction of development. What are you trying to do with STDF? What kind of tools would help you out?