Jump to content


Photo

DSN Import - pinswap supported?


  • Please log in to reply
5 replies to this topic

#1 Joe Gamma

Joe Gamma

    Newbie

  • Validating
  • Pip
  • 8 posts
  • LocationSan Jose, CA, USA

Posted 08 December 2011 - 11:43 AM

One more queston: the pinswap feature works for definitions in FST files, how about DSN?
(To quote the Version 10 Spec:)


<part_pin_descriptor>::=
(pin <pin_id> <pin_type> <gate_id>
<gate_swap_code> <gate_pin_id> <gate_pin_swap_code>
[<subgate_id> <subgate_swap_code> <subgate_pin_id>]

<gate_pin_swap_code>::= <integer>
Pins that belong to the same subgate, or to the same gate if the gate contains no subgates,
and that have the same <gate_pin_swap_code> are swappable.


If this is supported in the DSN import parser, I will be ready to roll.
(Otherwise, I need to change Eagle ULP from DSN export to FST export... :wacko:)
Thanks!

#2 Elena F

Elena F

    Administrator

  • Administrators
  • 34 posts

Posted 08 December 2011 - 01:41 PM

Do you have a specific example of it not working, or you're simply curious?

As far as I know it is supported in DSN import parser.

#3 Joe Gamma

Joe Gamma

    Newbie

  • Validating
  • Pip
  • 8 posts
  • LocationSan Jose, CA, USA

Posted 08 December 2011 - 07:04 PM

That is good news: I just wanted to check before work today:
instead of redesign of Eagle ULP for FST export, I will add
the pinswap feature to Eagle ULP for DSN export. Thank you!

#4 Joe Gamma

Joe Gamma

    Newbie

  • Validating
  • Pip
  • 8 posts
  • LocationSan Jose, CA, USA

Posted 08 December 2011 - 11:00 PM

The pin swap import from DSN works!
In manual editor, the equivalent pins are marked, and the nets swap.


... now: can the autorouter do swap and ECO?
Before autorouting:
In Design Properties, Autorouter Settings ->Autorouting options,
Using Functional Equivalence, I selected 'Swap pins on a component',
but it didn't do any swaps: some are obvious swaps of nets on end of connector.

In DSN:
#      |------------------------------------------------------------------|
#      |       PIN          |                  GATE                       |
#      |------------------------------------------------------------------|
#      |    Physical | Pin  |    Gate    | Gate |       Gate       | Pin  |
#      |      Pin    | Type |    Name    | Swap |       Pin        | Swap |
#      |      Name   |      |            | Code |       Name       | Code |
#      |-------------|------|------------|------|------------------|------|
   (pin 3               5    77             3    C                    2 )
   (pin 2               5    77             3    B                    2 )
   (pin 1               5    77             3    A                    2 ))

Then, in Component Properties after import and selecting the part:

Name   Net    Pad      Pad equivalent  Gate  Gate equivalent
1      NET1   PADC52   2               1     3
2      NET2   PADC52   2               1     3
3      NET2   PADC52   2               1     3



Maybe interesting too, when "Gate Name" is 'GX' in the DSN,
the 'Gate' value in Component Properties is '0'.

Thanks again!

#5 Elena F

Elena F

    Administrator

  • Administrators
  • 34 posts

Posted 09 December 2011 - 12:38 PM

... now: can the autorouter do swap and ECO?
Before autorouting:
In Design Properties, Autorouter Settings ->Autorouting options,
Using Functional Equivalence, I selected 'Swap pins on a component',
but it didn't do any swaps: some are obvious swaps of nets on end of connector.

In DSN:

#      |------------------------------------------------------------------|
#      |       PIN          |                  GATE                       |
#      |------------------------------------------------------------------|
#      |    Physical | Pin  |    Gate    | Gate |       Gate       | Pin  |
#      |      Pin    | Type |    Name    | Swap |       Pin        | Swap |
#      |      Name   |      |            | Code |       Name       | Code |
#      |-------------|------|------------|------|------------------|------|
   (pin 3               5    77             3    C                    2 )
   (pin 2               5    77             3    B                    2 )
   (pin 1               5    77             3    A                    2 ))

Then, in Component Properties after import and selecting the part:

Name   Net    Pad      Pad equivalent  Gate  Gate equivalent
1      NET1   PADC52   2               1     3
2      NET2   PADC52   2               1     3
3      NET2   PADC52   2               1     3



Maybe interesting too, when "Gate Name" is 'GX' in the DSN,
the 'Gate' value in Component Properties is '0'.



Could you, please, send this project so that we can work on it together and find a possible issue to solve?

#6 Livinostk

Livinostk

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 November 2014 - 07:03 AM

logo.png
юрист онлайн донецк
юридическая консультация онлайн в минске
онлайн юрист бесплатно круглосуточно
юридическая консультация онлайн online

юридическая консультация онлайн сразу
юрист онлайн скайп
юридическая консультация онлайн медицина

юрист онлайн бесплатно нижний новгород
юрист онлайн консультант
юрист онлайн украина бесплатно
онлайн юрид услуги





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users