• 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. Digital Implementation
  3. Transmission_Gate(TGX1) LIB Generation using Encounter Library...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 91
  • Views 470
  • 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

Transmission_Gate(TGX1) LIB Generation using Encounter Library Characterizer ELC Problem

Hatkar
Hatkar over 12 years ago

My TGX1 is Tristate Gate and Not Bidirectional Tristate Gate, Gate file Generated is as follows

DESIGN ( TGX1 );
    //    =================
    //     PORT DEFINITION
    //    =================
        INPUT NG ( NG );
        INPUT PG ( PG );
        INOUT D ( D );
        INOUT S ( S );
        SUPPLY0 GND ( GND );
        SUPPLY1 VDD ( VDD );
        -COMPLEMENTARY ( NG, PG );
    //    ===========
    //     INSTANCES
    //    ===========
        CMOSX ( S, D, NG, PG );
    END_OF_DESIGN;

CMOS is a Tristate Gate and CMOSX is Bidirectional Tristate Gate.
CMOSX has to be replaced with Primitive or Tirstate Gates according to ECL User Guide  

After Replacing  CMOSX, Gate File is as follows

DESIGN ( TGX1 );
    //    =================
    //     PORT DEFINITION
    //    =================
        INPUT NG ( NG );
        INPUT PG ( PG );
        INPUT D ( D );
        OUTPUT S ( S, NG, PG );
        SUPPLY0 GND ( GND );
        SUPPLY1 VDD ( VDD );
        -COMPLEMENTARY ( NG, PG );
    //    ===========
    //     INSTANCES
    //    ===========
        CMOS ( S, D, NG, PG );   
    END_OF_DESIGN;

Generated 8 vectors, Total Simulation Passed 8 (100.00%), generated *.alf, *.lib and *.v file successfully.

*.v verilog file generated is as follows
     module TGX1 (D, NG, PG, S);
            input    D, NG, PG;
            output    S;
            bufif1 (S, D, NG);
     endmodule

I think instead of BUFIF1 (S, D, NG) it should infer CMOS ( S, D, NG, PG).

Please let me know whether whether my above verilog file is correct for TGX1,

if not suggest me any alternative to replace the Bidirectional Switch CMOSX in Gate File, so that generated verilog code will have CMOS Tristate Gate and the code will be as follows

module TGX1 (D, NG, PG, S);
            input    D, NG, PG;
            output    S;
           
cmos ( S, D, NG, PG);
     endmodule
   

Thanks

  • 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