-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from Bo-Yuan-Huang/v1.0.0
V1.0.0
- Loading branch information
Showing
136 changed files
with
1,208 additions
and
1,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ branches: | |
only: | ||
- master | ||
- travis | ||
- pre-release | ||
- coverity_scan | ||
|
||
git: | ||
depth: 1 | ||
|
@@ -12,6 +12,11 @@ sudo: required | |
|
||
language: cpp | ||
|
||
env: | ||
global: | ||
- secure: "RwHto3MzZ2KTsGK2LiCKCxdN/xzuWiCTO+2+zhfPjVujGMx84QdMHC5fRu94VoJ5PdZ5QHwoWy3jqQ0f2PJE7oRQe28w/ENY32yDl/ziRjY1U6k4p2pcfgYQtsyyof60mL+yG6Yzz4hlJ74uQ+arhdvyAYYvliyvUiHkLgp4XvJhmsqpogkL89pERAeZ32Xg22ajzXZD5tcWQ7CbCDVKOE0KrwktU3UG08VxMmgfjKG+rU1MKj5R8rXtwZrMzqEAzosTEK0miZYJcgO0pVStCeAC2UAZllEpWXaR2EW5plb/hXRmFjRSlWflasGzJ7VB6mZ95w4xm2DICKYgcrwPWgiMnwoEByrJBh0M7xBzU1MTFmbiqB5wSSsWfVA7zv+SLmD4mCww4HKxAkE2cDJ3MOAvK8bp1vCULBCMMmbVFNGQgBprZKoxUlpQLNn+y9C6pQoaCej9/KVdkyiSQ8SM2vXDoS4/CGnoeaOAoNpu5mkPmDk7RRjIPjdS7by9xycYXAoUVVty/EZideCrYswe1KvH87GK6Fd91XITHuhuc/Aw4Jg0zXjxx6dcHbjZKuYN5MgNMx4IWK+lNiKPyLGO1/AnFG1UP+CpOC6QE8XZNhcnvn3q4r6c+v/QbeoEE7O/XOXqJDSEumJ5b2psBuoktl52azKgUqMtDzuTWjv6BvY=" | ||
|
||
|
||
cache: | ||
directories: | ||
- $HOME/_cache | ||
|
@@ -26,16 +31,20 @@ matrix: | |
- gem install coveralls-lcov | ||
before_script: | ||
- mkdir -p $TRAVIS_BUILD_DIR/build | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/clean-coverage.sh $TRAVIS_BUILD_DIR/build | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/clean-coverage.sh $TRAVIS_BUILD_DIR/build | ||
script: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/build.sh $TRAVIS_BUILD_DIR | ||
after_success: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/submit-coverage.sh $TRAVIS_BUILD_DIR/build | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/submit-coverage.sh $TRAVIS_BUILD_DIR/build | ||
|
||
- name: "linux-clang" | ||
os: linux | ||
dist: xenial | ||
compiler: clang | ||
before_install: | ||
- export LD_LIBRARY_PATH=/usr/local/clang/lib:$LD_LIBRARY_PATH | ||
script: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/build.sh $TRAVIS_BUILD_DIR | ||
|
||
- name: "gcc49" | ||
os: linux | ||
|
@@ -55,13 +64,45 @@ matrix: | |
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" | ||
before_install: | ||
- eval "${MATRIX_EVAL}" | ||
script: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/build.sh $TRAVIS_BUILD_DIR | ||
|
||
- name: "osx" | ||
os: osx | ||
before_install: | ||
- brew install bison | ||
- export PATH="/usr/local/opt/bison/bin:$PATH" | ||
- export LDFLAGS="-L/usr/local/opt/bison/lib" | ||
script: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/build-osx.sh $TRAVIS_BUILD_DIR | ||
|
||
- name: "coverity" | ||
os: linux | ||
dist: xenial | ||
compiler: gcc | ||
addons: | ||
coverity_scan: | ||
project: | ||
name: "Bo-Yuan-Huang/ILAng" | ||
description: "A modeling and verification platform for SoCs" | ||
notification_email: [email protected] | ||
build_command_prepend: "cd $TRAVIS_BUILD_DIR && mkdir -p build && cd build && cmake .. -DILANG_BUILD_TEST=OFF -DCMAKE_PREFIX_PATH=$TRAVIS_BUILD_DIR/local -DILANG_COVERITY=ON" | ||
build_command: "make" | ||
branch_pattern: coverity_scan | ||
apt: | ||
update: true | ||
packages: | ||
- flex | ||
- bison | ||
- libboost-all-dev | ||
- z3 | ||
- libz3-dev | ||
before_install: | ||
- echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- | ||
before_script: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/install-externs.sh $TRAVIS_BUILD_DIR | ||
script: | ||
- source $TRAVIS_BUILD_DIR/scripts/travis/build-static.sh $TRAVIS_BUILD_DIR | ||
|
||
addons: | ||
apt: | ||
|
@@ -82,15 +123,5 @@ addons: | |
- boost-python | ||
- z3 | ||
|
||
script: | ||
- cd $TRAVIS_BUILD_DIR | ||
- mkdir -p build | ||
- cd build | ||
- cmake .. -DILANG_BUILD_COV=ON -DCMAKE_BUILD_TYPE=Debug | ||
- make -j$(nproc) | ||
- sudo make install | ||
- make run_test | ||
- ctest -R ExampleCMakeBuild | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tmpl-synth
updated
from af2bf6 to 06bab9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/// \file | ||
/// The header for checking the equivalence of two ILAs. | ||
|
||
#ifndef ILANG_ILA_HANDLER_EQ_CHECK_H__ | ||
#define ILANG_ILA_HANDLER_EQ_CHECK_H__ | ||
|
||
#include <ilang/ilang++.h> | ||
|
||
/// \namespace ilang | ||
namespace ilang { | ||
|
||
/// \brief Check if two ILAs have an exact same architecture, i.e., at the | ||
/// highest level of hierarchy. | ||
/// \param[in] a first ILA. | ||
/// \param[in] b second ILA. | ||
/// \param[in] update check update if true. | ||
bool CheckEqSameArch(const Ila& a, const Ila& b, bool update = true); | ||
|
||
/// \brief Check if two ILAs have an exact same micro-architecture. That is, | ||
/// they have a same architecture at every level in the hierarchy. | ||
/// \param[in] a first ILA. | ||
/// \param[in] b second ILA. | ||
/// \param[in] update check update if true. | ||
bool CheckEqSameMicroArch(const Ila& a, const Ila& b, bool update = true); | ||
|
||
}; // namespace ilang | ||
|
||
#endif // ILANG_ILA_HANDLER_EQ_CHECK_H__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.