OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librlink/] [RlinkCommandList.hpp] - Diff between revs 25 and 27

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 25 Rev 27
Line 1... Line 1...
// $Id: RlinkCommandList.hpp 576 2014-08-02 12:24:28Z mueller $
// $Id: RlinkCommandList.hpp 606 2014-11-24 07:08:51Z mueller $
//
//
// Copyright 2011-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2011-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
//
// This program is free software; you may redistribute and/or modify it under
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
// the terms of the GNU General Public License as published by the Free
Line 11... Line 11...
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for complete details.
// for complete details.
// 
// 
// Revision History: 
// Revision History: 
// Date         Rev Version  Comment
// Date         Rev Version  Comment
 
// 2014-11-23   606   1.2    new rlink v4 iface
// 2014-08-02   576   1.1    rename LastExpect->SetLastExpect
// 2014-08-02   576   1.1    rename LastExpect->SetLastExpect
// 2013-05-06   495   1.0.1  add RlinkContext to Print() args; drop oper<<()
// 2013-05-06   495   1.0.1  add RlinkContext to Print() args; drop oper<<()
// 2011-03-05   366   1.0    Initial version
// 2011-03-05   366   1.0    Initial version
// 2011-01-09   354   0.1    First draft
// 2011-01-09   354   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
 
 
/*!
/*!
  \file
  \file
  \version $Id: RlinkCommandList.hpp 576 2014-08-02 12:24:28Z mueller $
  \version $Id: RlinkCommandList.hpp 606 2014-11-24 07:08:51Z mueller $
  \brief   Declaration of class RlinkCommandList.
  \brief   Declaration of class RlinkCommandList.
*/
*/
 
 
#ifndef included_Retro_RlinkCommandList
#ifndef included_Retro_RlinkCommandList
#define included_Retro_RlinkCommandList 1
#define included_Retro_RlinkCommandList 1
Line 55... Line 56...
      size_t        AddRblk(uint16_t addr, size_t size);
      size_t        AddRblk(uint16_t addr, size_t size);
      size_t        AddRblk(uint16_t addr, uint16_t* block, size_t size);
      size_t        AddRblk(uint16_t addr, uint16_t* block, size_t size);
      size_t        AddWreg(uint16_t addr, uint16_t data);
      size_t        AddWreg(uint16_t addr, uint16_t data);
      size_t        AddWblk(uint16_t addr, std::vector<uint16_t> block);
      size_t        AddWblk(uint16_t addr, std::vector<uint16_t> block);
      size_t        AddWblk(uint16_t addr, const uint16_t* block, size_t size);
      size_t        AddWblk(uint16_t addr, const uint16_t* block, size_t size);
      size_t        AddStat();
      size_t        AddLabo();
      size_t        AddAttn();
      size_t        AddAttn();
      size_t        AddInit(uint16_t addr, uint16_t data);
      size_t        AddInit(uint16_t addr, uint16_t data);
 
 
      void          LastVolatile();         // deprecated !!
 
      void          SetLastExpect(RlinkCommandExpect* exp);
      void          SetLastExpect(RlinkCommandExpect* exp);
 
 
 
      void          ClearLaboIndex();
 
      void          SetLaboIndex(int ind);
 
      int           LaboIndex() const;
 
      bool          LaboActive() const;
 
 
      void          Clear();
      void          Clear();
      size_t        Size() const;
      size_t        Size() const;
 
 
      void          Print(std::ostream& os, const RlinkContext& cntx,
      void          Print(std::ostream& os, const RlinkContext& cntx,
                          const RlinkAddrMap* pamap=0, size_t abase=16,
                          const RlinkAddrMap* pamap=0, size_t abase=16,
Line 77... Line 82...
      RlinkCommand& operator[](size_t ind);
      RlinkCommand& operator[](size_t ind);
      const RlinkCommand& operator[](size_t ind) const;
      const RlinkCommand& operator[](size_t ind) const;
 
 
    protected:
    protected:
      std::vector<RlinkCommand*> fList;     //!< vector of commands 
      std::vector<RlinkCommand*> fList;     //!< vector of commands 
 
      int           fLaboIndex;             //!< index of active labo (-1 if no)
  };
  };
 
 
} // end namespace Retro
} // end namespace Retro
 
 
#include "RlinkCommandList.ipp"
#include "RlinkCommandList.ipp"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.