Sha256: 5dc37d80b608ae709093484182228bf77d739444cf9943cd511db7ecea548bbf

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

#ifndef ORIGEN_HELPERS_INCLUDED
#define ORIGEN_HELPERS_INCLUDED

#include "mapi.hpp"
#include "rdi.hpp"
#include <string>

using namespace std;

namespace Origen {

string extractPinsFromGroup(const string&);
void synchronize(double = 1);
double calculateFrequency(const ARRAY_I&, double);
double calculatePeriod(const ARRAY_I&, double);
void overlaySubroutine(string, string, uint64_t, int);
void reverseOverlaySubroutine(string, string, uint64_t, int);
int numberOfOnes(uint32_t);
int numberOfZeros(uint32_t);
int64_t toInt (string, int = 0);
uint64_t toUInt (string, int = 0);
vector<string> split(const string&, char);
void split(const string&, char, vector<string>&);
string toHex (const uint64_t&);
string toStr (const uint64_t&);
void initializeSites();
void logParametricTest(string, int, double, LIMIT, string);
void logFunctionalTest(string, int, bool, string);
bool isPass(double, LIMIT);
string loStr(LIMIT);
string hiStr(LIMIT);
string upcase(string);
string lpad(string, int, char);
string rpad(string, int, char);
bool isEven(uint64_t);
bool isOdd(uint64_t);
LIMIT noLimits();
uint64_t flip(uint64_t, int);
string ltrim(string, const char * remove_chars = " \n\t\r\f\v");
string rtrim(string, const char * remove_chars = " \n\t\r\f\v");
string trim(string, const char * remove_chars = " \n\t\r\f\v");

}

#endif

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
origen_std_lib-0.10.1 stdlib/v93k/origen/origen/helpers.hpp
origen_std_lib-0.10.0 stdlib/v93k/origen/origen/helpers.hpp
origen_std_lib-0.9.0 stdlib/v93k/origen/origen/helpers.hpp
origen_std_lib-0.8.3 stdlib/v93k/origen/origen/helpers.hpp
origen_std_lib-0.8.2 stdlib/v93k/origen/origen/helpers.hpp