URL
https://opencores.org/ocsvn/xulalx25soc/xulalx25soc/trunk
[/] [xulalx25soc/] [trunk/] [sw/] [ttybus.h] - Diff between revs 5 and 46
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 5 |
Rev 46 |
Line 80... |
Line 80... |
m_rdbuf = new char[RDBUFLN];
|
m_rdbuf = new char[RDBUFLN];
|
|
|
m_rdaddr = m_wraddr = 0;
|
m_rdaddr = m_wraddr = 0;
|
}
|
}
|
|
|
char charenc(const int sixbitval);
|
char charenc(const int sixbitval) const;
|
unsigned chardec(const char b);
|
unsigned chardec(const char b) const;
|
void encode(const int fbits, const BUSW v, char *buf);
|
void encode(const int fbits, const BUSW v, char *buf) const;
|
unsigned decodestr(const char *buf);
|
unsigned decodestr(const char *buf) const;
|
int decodehex(const char hx);
|
int decodehex(const char hx) const;
|
void bufalloc(int len);
|
void bufalloc(int len);
|
BUSW readword(void); // Reads a word value from the bus
|
BUSW readword(void); // Reads a word value from the bus
|
void readv(const BUSW a, const int inc, const int len, BUSW *buf);
|
void readv(const BUSW a, const int inc, const int len, BUSW *buf);
|
void writev(const BUSW a, const int p, const int len, const BUSW *buf);
|
void writev(const BUSW a, const int p, const int len, const BUSW *buf);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.