install act file and import via global import

This commit is contained in:
Ole Richter 2022-11-01 16:53:05 +01:00
parent 3eaa5d147d
commit 3b1356a9c5
8 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,7 @@
#------------------------------------------------------------------------- #************************************************************************
# #
# Copyright (c) 2018 Rajit Manohar # Copyright (c) 2018 Rajit Manohar
# Copyright 2022 Ole Richter - University of Groningen
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License # modify it under the terms of the GNU General Public License
@ -17,14 +18,16 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, # Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA. # Boston, MA 02110-1301, USA.
# #
#------------------------------------------------------------------------- #*************************************************************************
TARGETLIBS=actsim_test_bench_lib.so TARGETLIBS=actsim_test_bench_lib.so
TARGETCONF=actsim_test_bench_lib.conf TARGETCONF=actsim_test_bench_lib.conf
TARGETACT=test_bench_lib.act
TARGETACTSUBDIR=sim
SHOBJS=test_bench_lib.os SHOBJS=test_bench_lib.os
SRCS= $(SHOBJS:.os=.c) SRCS= $(SHOBJS:.os=.c)
include $(ACT_HOME)/scripts/Makefile.std include $(ACT_HOME)/scripts/Makefile.std

View File

@ -25,7 +25,7 @@
namespace sim{ namespace sim{
namespace testbench { namespace test_bench_lib {
function finit (int verbose) : int; function finit (int verbose) : int;
function fsource_next(int id; int sim_step) : int; function fsource_next(int id; int sim_step) : int;

View File

@ -1,2 +0,0 @@
_HiStOrY_V2_
cycle\012

View File

@ -23,9 +23,9 @@
************************************************************************** **************************************************************************
*/ */
import "../../../act/test_bench_lib.act"; import sim::test_bench_lib;
import globals; import globals;
open sim::testbench; open sim::test_bench_lib;
defproc test(){ defproc test(){
chan(int<5>) channel; chan(int<5>) channel;