#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cstdarg>
#include <map>
#include <vector>
#include <exception>
#include <stdexcept>
#include <time.h>
Go to the source code of this file.
|
#define | const__p const_s_p |
|
#define | dull unsigned long long |
|
#define | max_bits 1024 |
|
#define | max_depth 32 |
|
#define | max_temp_sig 64 |
|
#define | mdull (0xffffffffffffffffULL) |
|
#define | mull (0xffffffffUL) |
|
#define | repeat(a) for (int __rep_counter__ = 0; __rep_counter__ < a; __rep_counter__++) |
|
#define | Sdisplay(cl,...) Sfwrite(stdout_sig, (string)cl + "\n", ##__VA_ARGS__) |
|
#define | sdull 64 |
|
#define | Sfdisplay(fd, cl,...) Sfwrite(fd, (string)cl + "\n", ##__VA_ARGS__) |
|
#define | Stime clock() |
|
#define | sull 32 |
|
#define | Swrite(cl,...) Sfwrite(stdout_sig, cl, ##__VA_ARGS__) |
|
#define | temp_i_mask (max_temp_sig - 1) |
|
#define | ull unsigned int |
|
|
void | beginalways () |
|
unsigned int | const_ (size_t sz, unsigned int val) |
|
signal_ & | const_l (size_t sz, size_t count,...) |
|
signal_ & | const_l_p (size_t sz, size_t count,...) |
|
signal_ & | const_s (size_t sz, unsigned long long val) |
|
signal_ & | const_s_p (size_t sz, unsigned long long val) |
|
void | endalways () |
|
void | Sfclose (signal_ &fd) |
|
int | Sfeof (signal_ &fd) |
|
int | Sfgets (signal_ &line, signal_ &fd) |
|
signal_ | Sfopen (string fname, string mode="w") |
|
void | Sfwrite (signal_ &fd, string format,...) |
|
void | sim_lib_init () |
|
void | Sreadmemh (string fname, signal_ &dest, size_t adr=0) |
|
int | Ssscanf (signal_ &line, string format,...) |
|
#define dull unsigned long long |
#define mdull (0xffffffffffffffffULL) |
#define mull (0xffffffffUL) |
#define repeat |
( |
|
a | ) |
for (int __rep_counter__ = 0; __rep_counter__ < a; __rep_counter__++) |
#define Sdisplay |
( |
|
cl, |
|
|
|
... |
|
) |
| Sfwrite(stdout_sig, (string)cl + "\n", ##__VA_ARGS__) |
#define Sfdisplay |
( |
|
fd, |
|
|
|
cl, |
|
|
|
... |
|
) |
| Sfwrite(fd, (string)cl + "\n", ##__VA_ARGS__) |
#define Swrite |
( |
|
cl, |
|
|
|
... |
|
) |
| Sfwrite(stdout_sig, cl, ##__VA_ARGS__) |
unsigned int const_ |
( |
size_t |
sz, |
|
|
unsigned int |
val |
|
) |
| |
signal_ & const_l |
( |
size_t |
sz, |
|
|
size_t |
count, |
|
|
|
... |
|
) |
| |
signal_& const_l_p |
( |
size_t |
sz, |
|
|
size_t |
count, |
|
|
|
... |
|
) |
| |
signal_& const_s |
( |
size_t |
sz, |
|
|
unsigned long long |
val |
|
) |
| |
signal_& const_s_p |
( |
size_t |
sz, |
|
|
unsigned long long |
val |
|
) |
| |
signal_ Sfopen |
( |
string |
fname, |
|
|
string |
mode = "w" |
|
) |
| |
void Sfwrite |
( |
signal_ & |
fd, |
|
|
string |
format, |
|
|
|
... |
|
) |
| |
void Sreadmemh |
( |
string |
fname, |
|
|
signal_ & |
dest, |
|
|
size_t |
adr = 0 |
|
) |
| |
int Ssscanf |
( |
signal_ & |
line, |
|
|
string |
format, |
|
|
|
... |
|
) |
| |