2018-04-12 22:20:22 -04:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2015-03-22 13:30:10 -04:00
|
|
|
int step_chip(void);
|
2018-04-12 22:20:22 -04:00
|
|
|
//int CheckSerialIn(SerialT *serial);
|
2015-03-22 13:30:10 -04:00
|
|
|
void CheckCommand(void);
|
|
|
|
void putchx(int32_t val);
|
2018-04-12 22:20:22 -04:00
|
|
|
//void CheckSerialOut(SerialT *serial);
|
2015-03-22 13:30:10 -04:00
|
|
|
void spinsim_exit(int32_t exitcode);
|
|
|
|
|
2018-04-12 22:20:22 -04:00
|
|
|
#define WAIT_CNT 01
|
|
|
|
#define WAIT_CORDIC 02
|
|
|
|
#define WAIT_PIN 03
|
|
|
|
#define WAIT_HUB 16
|
|
|
|
#define WAIT_CACHE 17
|
|
|
|
#define WAIT_FLAG 18
|
2015-03-22 13:30:10 -04:00
|
|
|
|
2018-04-12 22:20:22 -04:00
|
|
|
#ifdef __MINGW32__
|
|
|
|
#define NEW_LINE "\n"
|
|
|
|
#else
|
|
|
|
#define NEW_LINE "\r\n"
|
|
|
|
#endif
|