Giter VIP home page Giter VIP logo

circuit_reliability_framework's Introduction

README

Circuit Reliability Frameowrk version 3.3.4 12/05/2017 https://github.com/fgr1986/circuit_reliability_framework

Fernando García Redondo [email protected]


#Full changelog in changelog.md file.


#To do list Milestone 4.x

#Major

  • To do: Latex/Html export
  • ¿TO DO? Regex for large components (ports)
  • Instance. Nodes instead absolute nodes
  • Weighted Nodes

##Minor

  • If (obj) delete obj (test if the object exist before the deletion)
  • New conditional parsing scheme: REGEX:
    • if () statement
    • if () { statements }
    • if () statement elseif () statement
    • if () { statements } elseif () statement
    • if () { statements } elseif () { statementd }
    • if () { statements } else { statementd }
    • if () { statements } elseif () { statements } else {statements}
    • if () { statements } elseif () { statements } else statement
    • if () { statements } else { statementd }
  • New model parsing scheme: Group of models:
// A
model model_name model_type {
1:  type= params
...
}

// B
model model_name model_type
{
1:  type= params
...
}

// C
model model_name model_type params

Installation

In order to install Spectre Handler Library in your system, the binary should be copied to your computer. Additionally, if you want to develop your program using this libraries, some headers files should be placed and referenced. You can perform the installation by typing

	# some privileges may be needed
	sh installation.sh

To make use of this library, you need to include the required headers in your code as in the following example

#include "experiment_environment.hpp"

And reference them during compilation

# Compyling time :D
g++ -std=c++11 -Wall -O3 -I/usr/include/circuit_reliability -c -o main.o main.cpp
# Linking time :D
g++ myObj1.o myObj2.o ... main.o -o myBin [ other dynamic libraries -L/usr/lib ... ] -L/usr/lib/circuit_reliability [other libraries -lboost_thread ... ] -lcircuit_reliability

The complete list of headers/documentation is placed after installation in

/usr/include/circuit_reliability

In order to make use of the library, while running a program, the library binary location should be placed in the system path. More specifically, in the LD_LIBRARY_PATH variable.The following code can be used placed, for example, in .bashrc file

###########################
# Circuit Reliability Lib #
###########################

# spectre handler library path in system
LIB_PATH_CIRCUIT_RELIABILITY_DIRECTORY=/usr/lib/circuit_reliability
# add it to LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LIB_PATH_CIRCUIT_RELIABILITY_DIRECTORY:$LD_LIBRARY_PATH

Requirements

##Ubuntu 16.04 or 14.04 64bits

  • Tested with g++ (gcc<4.9 must set GCC_OLD definition)
  • GnuPlot (version > 4.6)
  • pdflatex
  • texlive-latex-extra, texlive-formats-extra, texlive-lang-english, texlive-publishers and texlive-generic-extra packages
  • Boost libraries (v1.54)
    • lboost_thread
    • lboost_property_tree
    • lboost_regex
    • lboost_lambda
    • lboost_string
    • lboost_filesystem
    • lboost_system
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install gnuplot
sudo apt-get install libboost-all-dev
sudo apt-get install texlive-latex-extra texlive-formats-extra texlive-lang-english texlive-publishers texlive-generic-extra texlive-bibtex-extra texlive-pictures  texlive-latex-base  texlive-latex-extra


#XML conf files sintax Specified in conf_files folder Readme.md. Required xml configuration files:

  • Technology XML conf file
  • Cadence XML conf file
  • Radiation XML conf file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.