URL
https://opencores.org/ocsvn/qspiflash/qspiflash/trunk
[/] [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);
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.