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

Subversion Repositories qspiflash

[/] [qspiflash/] [trunk/] [bench/] [cpp/] [qspiflashsim.h] - Diff between revs 8 and 9

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

Rev 8 Rev 9
Line 70... Line 70...
                        m_count, m_config, m_mode_byte, m_creg;
                        m_count, m_config, m_mode_byte, m_creg;
        bool            m_quad_mode, m_debug;
        bool            m_quad_mode, m_debug;
 
 
public:
public:
        QSPIFLASHSIM(void);
        QSPIFLASHSIM(void);
        void    load(const char *fname);
        void    load(const char *fname) { load(0, fname); }
 
        void    load(const unsigned addr, const char *fname);
        void    debug(const bool dbg) { m_debug = dbg; }
        void    debug(const bool dbg) { m_debug = dbg; }
        bool    debug(void) const { return m_debug; }
        bool    debug(void) const { return m_debug; }
        int     operator()(const int csn, const int sck, const int dat);
        int     operator()(const int csn, const int sck, const int dat);
};
};
 
 

powered by: WebSVN 2.1.0

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