Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        commitlog-requ...@lists.openmoko.org

You can reach the person managing the list at
        commitlog-ow...@lists.openmoko.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r4978 - in trunk/gta02-core: . scripts (wer...@docs.openmoko.org)
   2. r4979 - trunk/gta02-core (wer...@docs.openmoko.org)
--- Begin Message ---
Author: werner
Date: 2009-05-13 18:17:31 +0200 (Wed, 13 May 2009)
New Revision: 4978

Added:
   trunk/gta02-core/scripts/
   trunk/gta02-core/scripts/all-sheets-ps
   trunk/gta02-core/scripts/expand-pintype
Log:
expand-pintype: adds a text field with the pin type to each pin.

all-sheets-ps: uses psmerge to concatenate the Postscript files (generated
  with the "Plot" function) of all the sheets of the gta02-core schematics.



Added: trunk/gta02-core/scripts/all-sheets-ps
===================================================================
--- trunk/gta02-core/scripts/all-sheets-ps                              (rev 0)
+++ trunk/gta02-core/scripts/all-sheets-ps      2009-05-13 16:17:31 UTC (rev 
4978)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+B=gta02-core
+
+OUT=$B-all
+SHEETS="$B $B-CPU $B-PMU $B-MEMORY $B-AUDIO $B-IO"
+
+psmerge -o$OUT.ps `for n in $SHEETS; do echo $n.ps; done`


Property changes on: trunk/gta02-core/scripts/all-sheets-ps
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/gta02-core/scripts/expand-pintype
===================================================================
--- trunk/gta02-core/scripts/expand-pintype                             (rev 0)
+++ trunk/gta02-core/scripts/expand-pintype     2009-05-13 16:17:31 UTC (rev 
4978)
@@ -0,0 +1,76 @@
+#!/usr/bin/perl
+#
+# expand-pintype
+#
+# usage:
+#
+# expand-pintype input.lib
+# expand-pintype input.lib output.lib
+#
+
+
+$GAP = 50;             # gap between pin and type, in mil
+$CHAR_WIDTH = 66;      # default character width, in mil
+$NAME_WIDTH = 15;      # name field width in ASCII mode, in characters
+
+
+%map = (
+    "I" => "Input",
+    "O" => "Output",
+    "B" => "BiDi",
+    "T" => "3-state",
+    "P" => "Passive",
+    "U" => "Unspec",
+    "W" => "Pwr In",
+    "w" => "Pwr Out",
+    "C" => "OC",
+    "E" => "OE",
+);
+
+if (@ARGV < 2) {
+    $out = 0;
+} elsif (@ARGV == 2) {
+    $file = pop @ARGV;
+    $out = 1;
+    open(FILE, ">$file") || die "$file: $!";
+} else {
+    print STDERR "usage: expand-pintype input.lib [output.lib]\n";
+    exit(1);
+}
+
+while (<>) {
+    if ($out) {
+       # make name differ so that KiCad's cache doesn't get confused
+       s/^DEF\s+/$&X/;
+       s/^F1\s+"+/$&X/;
+       print FILE || die;
+    }
+    next unless /^X/;
+    @a = split(/\s+/);
+    ($name, $pin, $x, $y, $dir, $unit, $pt) = @a[1, 2, 3, 4, 6, 9, 11];
+    $type = $map{$pt};
+    $type = "???" unless defined $type;
+    if ($out) {
+       $off = $GAP+(length $type)*$CHAR_WIDTH/2;
+       if ($dir eq "U") {
+           ($a, $y) = (90, $y-$off);
+       } elsif ($dir eq "D") {
+           ($a, $y) = (90, $y+$off);
+       } elsif ($dir eq "R") {
+           ($a, $x) = (0, $x-$off);
+       } else {
+           ($a, $x) = (0, $x+$off);
+       } 
+       $type =~ y/ /~/;
+       print FILE sprintf("T %d %d %d 60 0 %d 0 %s Normal 0\n",
+         $a*10, $x, $y, $unit, $type);
+    } else {
+       $s = "$name ($pin)";
+       $f = $NAME_WIDTH-length $s;
+       $f = "-" x ($f > 0 ? $f : 0);
+       print "$s $f $type\n";
+    }
+}
+if ($out) {
+    close FILE || die;
+}


Property changes on: trunk/gta02-core/scripts/expand-pintype
___________________________________________________________________
Name: svn:executable
   + *




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-05-13 18:19:57 +0200 (Wed, 13 May 2009)
New Revision: 4979

Added:
   trunk/gta02-core/audio.sch
   trunk/gta02-core/cpu.sch
   trunk/gta02-core/gta02-core.pro
   trunk/gta02-core/gta02-core.sch
   trunk/gta02-core/io.sch
   trunk/gta02-core/memory.sch
   trunk/gta02-core/pmu.sch
Log:
First set of schematics, for now just to have everything in a single file
for easier review. We'll need to rearrange things later.

Note that this uses the expanded symbols, not the regular ones.



Added: trunk/gta02-core/audio.sch
===================================================================
--- trunk/gta02-core/audio.sch                          (rev 0)
+++ trunk/gta02-core/audio.sch  2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,25 @@
+EESchema Schematic File Version 2  date Wed May 13 12:34:15 2009
+LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,s3c2442,gta02-core-expanded
+EELAYER 24  0
+EELAYER END
+$Descr A4 11700 8267
+Sheet 3 6
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L XWM8753L U?
+U 1 1 4A0AE84C
+P 5450 4350
+F 0 "U?" H 5050 4350 60  0000 C CNN
+F 1 "XWM8753L" H 5850 4350 60  0000 C CNN
+       1    5450 4350
+       1    0    0    -1  
+$EndComp
+$EndSCHEMATC

Added: trunk/gta02-core/cpu.sch
===================================================================
--- trunk/gta02-core/cpu.sch                            (rev 0)
+++ trunk/gta02-core/cpu.sch    2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,34 @@
+EESchema Schematic File Version 2  date Wed May 13 12:34:15 2009
+LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,s3c2442,gta02-core-expanded
+EELAYER 24  0
+EELAYER END
+$Descr A4 11700 8267
+Sheet 6 6
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L XAAT1275 U?
+U 1 1 4A0AE7FA
+P 8950 4250
+F 0 "U?" H 8950 4250 60  0000 C CNN
+F 1 "XAAT1275" H 8950 4050 60  0000 C CNN
+       1    8950 4250
+       1    0    0    -1  
+$EndComp
+$Comp
+L XSC32442 U?
+U 3 1 4A0AE7C7
+P 3800 3600
+F 0 "U?" H 3800 3500 50  0000 C CNN
+F 1 "XSC32442" H 3800 3700 50  0000 C CNN
+       3    3800 3600
+       1    0    0    -1  
+$EndComp
+$EndSCHEMATC

Added: trunk/gta02-core/gta02-core.pro
===================================================================
--- trunk/gta02-core/gta02-core.pro                             (rev 0)
+++ trunk/gta02-core/gta02-core.pro     2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,117 @@
+update=Wed May 13 12:22:01 2009
+version=1
+last_client=eeschema
+[pcbnew]
+version=1
+PadDrlX=320
+PadDimH=600
+PadDimV=600
+PadForm=1
+PadMask=14745599
+ViaDiam=450
+ViaDril=250
+Isol=60
+Countlayer=2
+Lpiste=170
+RouteTo=15
+RouteBo=0
+TypeVia=3
+Segm45=1
+Racc45=1
+Unite=0
+SegFill=1
+SegAffG=0
+NewAffG=1
+PadFill=1
+PadAffG=1
+PadSNum=1
+ModAffC=0
+ModAffT=0
+PcbAffT=0
+SgPcb45=1
+TxtPcbV=800
+TxtPcbH=600
+TxtModV=600
+TxtModH=600
+TxtModW=120
+HPGLnum=1
+HPGdiam=15
+HPGLSpd=20
+HPGLrec=2
+HPGLorg=0
+GERBmin=15
+VEgarde=100
+DrawLar=150
+EdgeLar=150
+TxtLar=120
+MSegLar=150
+ForPlot=1
+WpenSer=10
+UserGrX=0,01
+UserGrY=0,01
+UserGrU=1
+DivGrPc=1
+TimeOut=600
+MaxLnkS=3
+ShowRat=0
+ShowMRa=1
+[pcbnew/libraries]
+LibDir=
+LibName1=connect
+LibName2=discret
+LibName3=pin_array
+LibName4=divers
+LibName5=led
+[general]
+version=1
+[cvpcb]
+version=1
+NetIExt=.net
+[cvpcb/libraries]
+EquName1=devcms
+[common]
+NetDir=
+[eeschema]
+version=1
+LibDir=
+NetFmt=1
+HPGLSpd=20
+HPGLDm=15
+HPGLNum=1
+offX_A4=0
+offY_A4=0
+offX_A3=0
+offY_A3=0
+offX_A2=0
+offY_A2=0
+offX_A1=0
+offY_A1=0
+offX_A0=0
+offY_A0=0
+offX_A=0
+offY_A=0
+offX_B=0
+offY_B=0
+offX_C=0
+offY_C=0
+offX_D=0
+offY_D=0
+offX_E=0
+offY_E=0
+RptD_X=0
+RptD_Y=100
+RptLab=1
+SimCmd=
+UseNetN=0
+LabSize=60
+[eeschema/libraries]
+LibName1=power
+LibName2=device
+LibName3=conn
+LibName4=components/aat1275
+LibName5=components/k4m51323pe
+LibName6=components/lis302dl
+LibName7=components/pcf50633-04-n3
+LibName8=components/wm8753l
+LibName9=components/s3c2442
+LibName10=components/gta02-core-expanded

Added: trunk/gta02-core/gta02-core.sch
===================================================================
--- trunk/gta02-core/gta02-core.sch                             (rev 0)
+++ trunk/gta02-core/gta02-core.sch     2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,46 @@
+EESchema Schematic File Version 2  date Wed May 13 12:34:15 2009
+LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,s3c2442,gta02-core-expanded
+EELAYER 24  0
+EELAYER END
+$Descr A4 11700 8267
+Sheet 1 6
+Title "GTA02-CORE"
+Date "12 may 2009"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Sheet
+S 8800 3450 2000 1150
+U 4A0AE69D
+F0 "MEMORY" 60
+F1 "memory.sch" 60
+$EndSheet
+$Sheet
+S 2400 4400 2350 1550
+U 4A0AE60B
+F0 "AUDIO" 60
+F1 "audio.sch" 60
+$EndSheet
+$Sheet
+S 5850 4400 2150 1550
+U 4A0AE5F3
+F0 "IO" 60
+F1 "io.sch" 60
+$EndSheet
+$Sheet
+S 5700 2050 1700 1150
+U 4A0AE5D4
+F0 "PMU" 60
+F1 "pmu.sch" 60
+$EndSheet
+$Sheet
+S 2350 1850 2150 1400
+U 4A0AE5B6
+F0 "CPU" 60
+F1 "cpu.sch" 60
+$EndSheet
+$EndSCHEMATC

Added: trunk/gta02-core/io.sch
===================================================================
--- trunk/gta02-core/io.sch                             (rev 0)
+++ trunk/gta02-core/io.sch     2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,34 @@
+EESchema Schematic File Version 2  date Wed May 13 12:34:15 2009
+LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,s3c2442,gta02-core-expanded
+EELAYER 24  0
+EELAYER END
+$Descr A4 11700 8267
+Sheet 4 6
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L XSC32442 U?
+U 1 1 4A0AE864
+P 4200 3850
+F 0 "U?" H 4200 3750 50  0000 C CNN
+F 1 "XSC32442" H 4200 3950 50  0000 C CNN
+       1    4200 3850
+       1    0    0    -1  
+$EndComp
+$Comp
+L XLIS302DL U?
+U 1 1 4A0AE85F
+P 9250 4250
+F 0 "U?" H 8550 4750 60  0000 L CNN
+F 1 "XLIS302DL" H 8550 3750 60  0000 L CNN
+       1    9250 4250
+       1    0    0    -1  
+$EndComp
+$EndSCHEMATC

Added: trunk/gta02-core/memory.sch
===================================================================
--- trunk/gta02-core/memory.sch                         (rev 0)
+++ trunk/gta02-core/memory.sch 2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,34 @@
+EESchema Schematic File Version 2  date Wed May 13 12:34:15 2009
+LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,s3c2442,gta02-core-expanded
+EELAYER 24  0
+EELAYER END
+$Descr A4 11700 8267
+Sheet 2 6
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L SC32442 U?
+U 2 1 4A0AE6D5
+P 3600 4000
+F 0 "U?" H 3600 3900 50  0000 C CNN
+F 1 "SC32442" H 3600 4100 50  0000 C CNN
+       2    3600 4000
+       1    0    0    -1  
+$EndComp
+$Comp
+L XK4M51323PE U?
+U 1 1 4A0AE6C3
+P 8750 3950
+F 0 "U?" H 8750 4000 60  0000 C CNN
+F 1 "XK4M51323PE" H 8800 3000 60  0000 C CNN
+       1    8750 3950
+       1    0    0    -1  
+$EndComp
+$EndSCHEMATC

Added: trunk/gta02-core/pmu.sch
===================================================================
--- trunk/gta02-core/pmu.sch                            (rev 0)
+++ trunk/gta02-core/pmu.sch    2009-05-13 16:19:57 UTC (rev 4979)
@@ -0,0 +1,34 @@
+EESchema Schematic File Version 2  date Wed May 13 12:34:15 2009
+LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,s3c2442,gta02-core-expanded
+EELAYER 24  0
+EELAYER END
+$Descr A4 11700 8267
+Sheet 5 6
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L XSC32442 U?
+U 4 1 4A0AE816
+P 7950 3800
+F 0 "U?" H 7950 3700 50  0000 C CNN
+F 1 "XSC32442" H 7950 3900 50  0000 C CNN
+       4    7950 3800
+       1    0    0    -1  
+$EndComp
+$Comp
+L XPCF50633/04/N3 U?
+U 1 1 4A0AE666
+P 2600 3950
+F 0 "U?" H 2600 3950 60  0000 C CNN
+F 1 "XPCF50633/04/N3" H 2600 2950 60  0000 C CNN
+       1    2600 3950
+       1    0    0    -1  
+$EndComp
+$EndSCHEMATC




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to