OpenCores
URL https://opencores.org/ocsvn/connect-6/connect-6/trunk

Subversion Repositories connect-6

[/] [connect-6/] [trunk/] [XILINX/] [BUILD_SCC/] [synth_src/] [util.h] - Blame information for rev 17

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 sumanta.ch
/*  util.cpp
2
    June 9, 2011
3
    Some helper functions.
4
 
5
    Much of the code below is borrowed from Alastair Smith's program
6
    from the 2010 FPT Othello competition
7
 
8
    By Kevin Nam
9
*/
10
 
11
#ifndef _UTILS_H
12
#define _UTILS_H
13
 
14
using namespace std;
15
 
16
#include <stdio.h>
17
#include <iostream>
18
#include <stdlib.h>
19
#include <math.h>
20
#include <string>
21
#include <unistd.h>
22
#include <fcntl.h>
23
#include <errno.h>
24
#include <termios.h>
25
//#include "commondefs.h"
26
 
27
/*********************** Portable random number generators *******************/
28
 
29
void setup_port(int fd);
30
int select_com_port(int argc, char **argv);
31
char select_AI_colour (int argc, char **argv);
32
int char_to_int (char c);
33
void wait(double seconds);
34
#endif

powered by: WebSVN 2.1.0

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