Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
caesr-pub
systemc-clang
Commits
f076a4d5
Commit
f076a4d5
authored
Jul 30, 2019
by
rmrf
Browse files
Update gitignore
parent
09d6f7e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
132 additions
and
33 deletions
+132
-33
.gitignore
.gitignore
+130
-0
Makefile.systemc
Makefile.systemc
+2
-2
tests/t000-basic-module.cpp
tests/t000-basic-module.cpp
+0
-31
No files found.
.gitignore
View file @
f076a4d5
./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
Makefile.systemc
View file @
f076a4d5
...
...
@@ -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)
$<
...
...
tests/t000-basic-module.cpp
deleted
100644 → 0
View file @
09d6f7e1
#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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment