mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-11 23:43:15 +00:00
We had many copies of the VHPI marshalling/unmarshalling code. Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
12 lines
273 B
C
12 lines
273 B
C
#include <stdint.h>
|
|
|
|
#define vhpi0 2 /* forcing 0 */
|
|
#define vhpi1 3 /* forcing 1 */
|
|
|
|
char *from_string(void *__p);
|
|
|
|
uint64_t from_std_logic_vector(unsigned char *p, unsigned long len);
|
|
|
|
void to_std_logic_vector(unsigned long val, unsigned char *p,
|
|
unsigned long len);
|