# Buffer
Keywords: stratus

Subsections

- Name
- Synopsys
- Description
- Example
- See Also

##
Buffer

### Name

Buffer - Easy way to instantiate a buffer

### Synopsys

    netOut <= netIn.Buffer()

### Description

This method is a method of net. The net which this method is applied to is the input net of the buffer. The method returns a net : the output net.
Note that it is possible to change the generator instanciated with the `SetBuff` method.

### Example

    class essai ( Model ) :

      def Interface ( self ) :
        self.A = SignalIn  ( "a", 4 )

        self.S = SignalOut ( "s", 4 )

        self.Vdd = VddIn  ( "vdd" )
        self.Vss = VssIn  ( "vss" )

      def Netlist ( self ) :

        self.S <= self.A.Buffer()

### See Also

Introduction Netlist Instanciation of a multiplexor Instanciation of a shifter Instanciation of a register Instanciation of constants Boolean operations Arithmetical operations Comparison operations