Text File

Awhuxlb.182 net.ucds utcsrgv!utzoo!decvax!duke!chico!harpo!whuxlb!nrf Tue Mar 2 21:48:02 1982 UCDS assembly drawing program 6 5 4 3 2 1 The following is the 'layout' program used by my UCDS makefile. it combines chip name, chip type, and location to form a readable graphic assembly drawing. positions are not shown for small sockets. SIPs are not supported. I have found it to be much more useful than the output provided by 'place -p'

if [ $# != 3 ] then echo 'syntax: '"$0"' circuit.m circuit.wb place.w' exit 1 fi awk ' BEGIN { OFS="\t" } $1 == ".c" { split($2,array,";") printf "%d\t%s\n",$3,array[1] }' name.num awk ' BEGIN { OFS="\t" } $1 == ".s" { npins = substr($3,4,length($3)-3) next; } $1 == ".sb" { split($3,array,"/") printf "%d\t%d\t%d-%d\n",$2,npins,array[2]/10,array[1]/10 }' locations sort -u -t' ' +0 -1 locations > s1 sort -u -t' ' +0 -1 name.num | join -t' ' -j 1 -o 1.2 2.2 2.3 - s1 | sort -u -t' ' +0 -1 > j1 rm -f s1 locations name.num # format of j1 file, tab separated: # Chip name \t socket size \t location (y-x) awk ' BEGIN { OFS="\t"} $1 == ".c" { print $2,$3 } ' $1 | sort -u -t' ' +0 -1 | # contains chip name \t chip type join -t' ' -j 1 -o 2.1 1.2 2.2 2.3 - j1 rm -f j1 # format of output file: # chip name \t chip type \t socket size \t location (y-x)

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.