Buffer - Easy way to instantiate a buffer
netOut <= netIn.Buffer()
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.
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()
Introduction Netlist Instanciation of a multiplexor Instanciation of a shifter Instanciation of a register Instanciation of constants Boolean operations Arithmetical operations Comparison operations