• 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. Logic Design
  3. Outputting a synthesized file in reverse order

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 62
  • Views 13127
  • Members are here 0
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

Outputting a synthesized file in reverse order

Ankur S
Ankur S over 13 years ago

 Hi,

 I wanted to write the output of a synthesized verilog file in reverse order. Here is an example. If rtl compiler (RC) generates the following:

module .. (..) ;

// list of wires

...

// gate-level netlist (let's say there are only three gates)

 AND2_X1 (...);

OR2_X1 (...) ;

INV_X1 (...);

endmodule

 

What I would like to see is as follows:

 

module .. (..) ;

// list of wires

...

// gate-level netlist (netlist is reversed)

INV_X1 (...); 

OR2_X1 (...) ;

 AND2_X1 (...);

 endmodule

Is there a command in RC that reverses the order in which netlist is written. I want to do this because it was observed that inputs of upper gates are outputs of lower gates. I need to use this netlist in C++ code and there, with the orginial ordering, I would get incorrect output. I can ofcourse do some scripting but that's cumbersome. Is there a clean way in RC?

Thanks

Ankur

  • Cancel

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