This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPICE model

Other Parts Discussed in Thread: SN74AC04

Hi . I´m working with SN74AC04 inverter. Do you hace a SPICE model for it ? or at least the PSPICE ?

 Thanks

    Sebastián

 

  •  

    Sebastian,

    Currently we only have an IBIS model for this part http://focus.ti.com/docs/prod/folders/print/sn74ac04.html#simulationmodels. We do not have the spice model. What level of accuracy are you looking for and what features are you looking for? If you are looking for just the basic inverter functionality, you can probably use a simple PSPICE statement like:

     

    E1    Y 0 VALUE { IF(V(IN) > 0.5, 0, 1) }

     

    This statement basically compared V(IN) to a threshold of 0.5V and if it us greater, assigns 0V to node Y (which is the output of the inverter), else it assigns 1V to node Y. You can modify this statement to match your thresholds and output voltage levels. If you are interested in rise/fall times, you can add RC filters to the output Y.

    Best regards,

     

    Nikhil

     

  • Hi Nikhil. Thanks for your answer. But I´m working in a design where is  very important to simulate the current consuption of this IC. Is there any way ?

      Thanks

         Sebastián

     

  • Sebastian,

     

    You can probably use something like the subcircuit shown below. This adds a Current source from VDD to VSS to simulate the current consumption (please put in the exact current consumption value instead of 1u that I have shown). If you have different modes of operation in the IC which require different current consumptions, then you will have to use an Analog Behavioral block with IF-THEN-ELSE statements.

     

    .SUBCKT INV IN Y VDD VSS

    E1    Y 0 VALUE { IF(V(IN) > 0.5, V(VSS), V(VDD)) }

    I1 VDD VSS 1u

    .ENDS INV

     

    Best regards,

    Nikhil