[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gnetlist -g drc2 and pintype



Hi Karl,

El dom, 26-09-2010 a las 11:33 +0200, Karl Hammar escribiÃ:
[snip]
> Checking pins without the 'pintype' attribute...
> 
> Checking type of pins connected to a net...
> WARNING: Pin(s) with pintype 'output': U2:9 
>         are connected by net 'unnamed_net61'
>         to pin(s) with pintype 'input/output': U1:30 
> WARNING: Pin(s) with pintype 'output': U2:7 
>         are connected by net 'unnamed_net55'
>         to pin(s) with pintype 'input/output': X1:9 
> WARNING: Pin(s) with pintype 'output': U3:3 
>         are connected by net 'Vcc'
>         to pin(s) with pintype 'input/output': Q8:A1 Q7:A1 Q6:A1 Q5:A1 
> ERROR: Pin(s) with pintype 'output': U3:3 
>         are connected by net 'Vcc'
>         to pin(s) with pintype 'power': U2:16 U1:6 U1:4 U1:18 
> WARNING: Pin(s) with pintype 'input/output': Q8:A1 Q7:A1 Q6:A1 Q5:A1 
>         are connected by net 'Vcc'
>         to pin(s) with pintype 'power': U2:16 U1:6 U1:4 U1:18 
> 
> Checking unconnected pins...
> ERROR: Unconnected pin U2:11
[snip]


> Type of pins
> 
> Why does it warn about
>  output       <--> input/output
>  input/output <--> pwr

Because drc2 can't check if an input/output pin is really an input or an
output (or even both, depending on the design). It gives you warnings
(not errors) about this, so you can check by your own.

It tries to catch errors like connecting an output to another output, or
an output to a power rail.

Drc2 is not perfect, and has limitations, but it's all we have by now.

> The "ERROR" is a lm7805's output (U3:3) connected to other pins of 
> type pwr. How do I make it accept that?

There is no concept like "pwr in" or "pwr out", so just giving it the
pwr pintype should be ok.

[snip]

> The "unconnected pins" can be left unconnected, how can I make it
> accept that?

If you connect them to a special nc (no connection) symbol, drc2 will
ignore them.

Best regards,

Carlos



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user