Commit f076a4d5 authored by rmrf's avatar rmrf
Browse files

Update gitignore

parent 09d6f7e1
./paths.sh
# Created by https://www.gitignore.io/api/cpp
# Edit at https://www.gitignore.io/?templates=cpp
#!! ERROR: cpp is undefined. Use list command to see defined gitignore types !!#
# End of https://www.gitignore.io/api/cpp
# Created by https://www.gitignore.io/api/vim
# Edit at https://www.gitignore.io/?templates=vim
### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
# End of https://www.gitignore.io/api/vim
# Created by https://www.gitignore.io/api/emacs
# Edit at https://www.gitignore.io/?templates=emacs
### Emacs ###
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Org-mode
.org-id-locations
*_archive
# flymake-mode
*_flymake.*
# eshell files
/eshell/history
/eshell/lastdir
# elpa packages
/elpa/
# reftex files
*.rel
# AUCTeX auto folder
/auto/
# cask packages
.cask/
dist/
# Flycheck
flycheck_*.el
# server auth directory
/server/
# projectiles files
.projectile
# directory configuration
.dir-locals.el
# network security
/network-security.data
# End of https://www.gitignore.io/api/emacs
# Created by https://www.gitignore.io/api/git
# Edit at https://www.gitignore.io/?templates=git
### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
*.orig
# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt
# End of https://www.gitignore.io/api/git
# Created by https://www.gitignore.io/api/cmake
# Edit at https://www.gitignore.io/?templates=cmake
### CMake ###
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
### CMake Patch ###
# External projects
*-prefix/
# End of https://www.gitignore.io/api/cmake
......@@ -28,10 +28,10 @@ LDFLAGS = -L$(SYSTEMC_LIB_DIR) -lsystemc -lm
TESTS = .
SRCS = $(wildcard $(TESTS)/*.cpp)
OBJS=$(SRCS:.cpp=.o)
TARGETS = $(SRCS:.cpp=.x)
TARGETS = $(SRCS:.cpp=)
$(TARGETS) : $(OBJS)
$(LIBTOOL) --mode=link --tag=CXX g++ -o $@ $(OBJS) $(LDFLAGS)
$(LIBTOOL) --mode=link --tag=CXX g++ -o $@ $@.o $(LDFLAGS)
.cpp.o:
$(LIBTOOL) --mode=compile g++ -c $(FLAGS) $<
......
#include "systemc.h"
SC_MODULE( test ){
sc_in<int> in;
sc_out<int> out;
sc_signal<int> test_signal;
void entry_function_1() {
while(true) {
// do nothing
}
}
void entry_function_2() {
while(true) {
// do nothing
}
}
SC_CTOR( test ) {
SC_THREAD(entry_function_1);
SC_THREAD(entry_function_2);
}
};
int sc_main(int argc, char *argv[]) {
sc_signal<int> sig1;
test test_instance("testing");
test_instance.in(sig1);
test_instance.out(sig1);
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment