Exemplo n.º 1
0
            public override IEnumerable <TAVerb> DoNothing()
            {
                if (_wrEnI != null)
                {
                    // Memory used as RAM

                    yield return(Verb(ETVMode.Locked,
                                      _wrEnI.Stick(StdLogic._0),
                                      _addrI.Stick(StdLogicVector.DCs(_addrBits)),
                                      _dataInI.Stick(StdLogicVector.DCs(_dataBits))));
                }
                else
                {
                    // Memory used as ROM

                    yield return(Verb(ETVMode.Locked,
                                      _addrI.Stick(StdLogicVector.DCs(_addrBits))));
                }
            }
Exemplo n.º 2
0
 public override IEnumerable <TAVerb> DoNothing()
 {
     if (_wrEnI == null)
     {
         yield return(Verb(ETVMode.Locked));
     }
     else
     {
         yield return(Verb(ETVMode.Locked,
                           _wrEnI.Stick(StdLogic._0),
                           _dataInI.Stick(StdLogicVector.DCs(_dataBits))));
     }
 }
Exemplo n.º 3
0
 public override IEnumerable <TAVerb> DoNothing()
 {
     yield return(Verb(ETVMode.Locked,
                       _enI.Stick <StdLogic>('0'),
                       _slvSignalI.Stick <StdLogicVector>(StdLogicVector.DCs(_dataWidth))));
 }