• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. Length matching multi-device serial bus with chip selec...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 164
  • Views 15724
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Length matching multi-device serial bus with chip selects

pcbeng25
pcbeng25 over 14 years ago

I am trying to write routing rules for Allegro PCB Router v16.3 to match trace lengths for a serial bus (clk/data) with a chip select for each device on the chain.  The source FPGA devA needs to deliver a clock, data, and CS to each of 4 devices on the chain.  The clk and data lines go from devA -> dest1 -> dest2 -> dest3 -> dest4.  There are 4 chip selects which go directly from devA to each of the destinations.  Each CS line has to be length matched with the clk and data line segments from devA to its particular destination.  I have tried to make groups and group sets along with the match_group_length command, but it seems to match all the CS lines to the total routed length of the clock and data lines instead of the segments leading up to the destination.

 define (group uclk0 (fromto devA dest1))
define (group udat0 (fromto devA dest1))
define (group ucs0 (fromto devA dest1))
define (group_set uwire0 uclk0 udat0 ucs0)
circuit group_set uwire0 (match_group_length on (tolerance 0.05))
rule group_set uwire0 (patterns_allowed accordian)
rule group_set uwire0 (limit_way 7)

define (group uclk1 (fromto devA dest1) (fromto dest1 dest2))
define (group udat1 (fromto devA dest1) (fromto dest1 dest2))
define (group ucs1 (fromto devA dest2)))
define (group_set uwire1 uclk1 udat1 ucs1)
circuit group_set uwire1 (match_group_length on (tolerance 0.05))
rule group_set uwire1 (patterns_allowed accordian)
rule group_set uwire1 (limit_way 7)

 define (group uclk2 (fromto devA dest1) (fromto dest1 dest2) (fromto dest2 dest3))
define (group udat2 (fromto devA dest1) (fromto dest1 dest2) (fromto dest2 dest3))
define (group ucs2 (fromto devA dest3))
define (group_set uwire2 uclk2 udat2 ucs2)
circuit group_set uwire2 (match_group_length on (tolerance 0.05))
rule group_set uwire2 (patterns_allowed accordian)
rule group_set uwire2 (limit_way 7)

define (group uclk3 (fromto devA dest1) (fromto dest1 dest2) (fromto dest2 dest3) (fromto dest3 dest4))
define (group udat3 (fromto devA dest1) (fromto dest1 dest2) (fromto dest2 dest3) (fromto dest3 dest4))
define (group ucs3 (fromto devA dest4)))
define (group_set uwire3 uclk3 udat3 ucs3)
circuit group_set uwire3 (match_group_length on (tolerance 0.05))
rule group_set uwire3 (patterns_allowed accordian)
rule group_set uwire3 (limit_way 7)

 

These rules conflict though apparently because fromtos are shared between them.  Is there a way of doing this and achieving the desired result?

 

  • Cancel
Parents
  • lcanx2
    lcanx2 over 14 years ago

    When I define the match group settings you describe in the Constraint Manager of PCB Editor and send it over to the PCB Router I get the following format:

    define (group _REL_DELAY_FPGA_DEST1

    (fromto DEVA-C0 DEST1-14 (type soft))

    (fromto DEVA-D0 DEST1-21 (type soft))

    (fromto DEVA-CS0 DEST1-22 (type soft))

    )

    define (group _REL_DELAY_FPGA_DEST2

    (fromto DEVA-C1 DEST2-15 (type soft))

    (fromto DEVA-D1 DEST2-24 (type soft))

    (fromto DEVA-CS1 DEST2-52 (type soft))

    )

    define (group _REL_DELAY_FPGA_DEST3

    (fromto DEVA-C2 DEST3-17 (type soft))

    (fromto DEVA-D2 DEST3-28 (type soft))

    (fromto DEVA-CS2 DEST3-29 (type soft))

    )

    define (group _REL_DELAY_FPGA_DEST4

    (fromto DEVA-C3 DEST4-31 (type soft))

    (fromto DEVA-D3 DEST4-44 (type soft))

    (fromto DEVA-CS3 DEST4-20 (type soft))

    )

     

    Bill

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • lcanx2
    lcanx2 over 14 years ago

    When I define the match group settings you describe in the Constraint Manager of PCB Editor and send it over to the PCB Router I get the following format:

    define (group _REL_DELAY_FPGA_DEST1

    (fromto DEVA-C0 DEST1-14 (type soft))

    (fromto DEVA-D0 DEST1-21 (type soft))

    (fromto DEVA-CS0 DEST1-22 (type soft))

    )

    define (group _REL_DELAY_FPGA_DEST2

    (fromto DEVA-C1 DEST2-15 (type soft))

    (fromto DEVA-D1 DEST2-24 (type soft))

    (fromto DEVA-CS1 DEST2-52 (type soft))

    )

    define (group _REL_DELAY_FPGA_DEST3

    (fromto DEVA-C2 DEST3-17 (type soft))

    (fromto DEVA-D2 DEST3-28 (type soft))

    (fromto DEVA-CS2 DEST3-29 (type soft))

    )

    define (group _REL_DELAY_FPGA_DEST4

    (fromto DEVA-C3 DEST4-31 (type soft))

    (fromto DEVA-D3 DEST4-44 (type soft))

    (fromto DEVA-CS3 DEST4-20 (type soft))

    )

     

    Bill

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information