Skip to content

Commit

Permalink
odb: Alter some test data to create a case where pin name != net name
Browse files Browse the repository at this point in the history
Without the previous patch fixing CDL output the tests
dump_netlists / dump_netlists_withfill and the output CDL is invalid.

With the path applied, the internal net name is ignored and the pin
name is used instead.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
  • Loading branch information
smunaut committed Nov 23, 2024
1 parent 82b83bb commit 415f007
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/odb/test/data/gcd/gcd.def
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ PINS 54 ;
- resp_msg[2] + NET resp_msg[2] + DIRECTION OUTPUT + USE SIGNAL + FIXED ( 145790 140 ) N + LAYER metal6 ( -140 -140 ) ( 140 140 ) ;
- resp_msg[1] + NET resp_msg[1] + DIRECTION OUTPUT + USE SIGNAL + FIXED ( 140 147980 ) N + LAYER metal5 ( -140 -140 ) ( 140 140 ) ;
- resp_msg[0] + NET resp_msg[0] + DIRECTION OUTPUT + USE SIGNAL + FIXED ( 174910 140 ) N + LAYER metal6 ( -140 -140 ) ( 140 140 ) ;
- resp_rdy + NET resp_rdy + DIRECTION INPUT + USE SIGNAL + FIXED ( 200120 178220 ) N + LAYER metal5 ( -140 -140 ) ( 140 140 ) ;
- resp_val + NET resp_val + DIRECTION OUTPUT + USE SIGNAL + FIXED ( 140 31500 ) N + LAYER metal5 ( -140 -140 ) ( 140 140 ) ;
- resp_rdy + NET resp_rdy_i + DIRECTION INPUT + USE SIGNAL + FIXED ( 200120 178220 ) N + LAYER metal5 ( -140 -140 ) ( 140 140 ) ;
- resp_val + NET resp_val_i + DIRECTION OUTPUT + USE SIGNAL + FIXED ( 140 31500 ) N + LAYER metal5 ( -140 -140 ) ( 140 140 ) ;
END PINS
SPECIALNETS 2 ;
- VDD ( * VDD ) + USE POWER
Expand Down Expand Up @@ -1028,8 +1028,8 @@ NETS 385 ;
- resp_msg[2] ( PIN resp_msg[2] ) ( _422_ ZN ) ( _423_ A2 ) + USE SIGNAL ;
- resp_msg[1] ( PIN resp_msg[1] ) ( _416_ Z ) ( _417_ A2 ) + USE SIGNAL ;
- resp_msg[0] ( PIN resp_msg[0] ) ( _299_ Z ) ( _396_ A2 ) ( _401_ A2 ) + USE SIGNAL ;
- resp_rdy ( PIN resp_rdy ) ( _312_ A2 ) ( _321_ A3 ) + USE SIGNAL ;
- resp_val ( PIN resp_val ) ( _298_ ZN ) ( _312_ A1 ) ( _321_ A1 ) + USE SIGNAL ;
- resp_rdy_i ( PIN resp_rdy ) ( _312_ A2 ) ( _321_ A3 ) + USE SIGNAL ;
- resp_val_i ( PIN resp_val ) ( _298_ ZN ) ( _312_ A1 ) ( _321_ A1 ) + USE SIGNAL ;
- _000_ ( _324_ ZN ) ( _576_ D ) + USE SIGNAL ;
- _001_ ( _314_ ZN ) ( _577_ D ) + USE SIGNAL ;
- _002_ ( _320_ ZN ) ( _578_ D ) + USE SIGNAL ;
Expand Down

0 comments on commit 415f007

Please sign in to comment.