install act file and import via global import
This commit is contained in:
parent
3eaa5d147d
commit
3b1356a9c5
|
@ -1,6 +1,7 @@
|
|||
#-------------------------------------------------------------------------
|
||||
#************************************************************************
|
||||
#
|
||||
# Copyright (c) 2018 Rajit Manohar
|
||||
# Copyright 2022 Ole Richter - University of Groningen
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
|
@ -17,14 +18,16 @@
|
|||
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
#*************************************************************************
|
||||
|
||||
|
||||
TARGETLIBS=actsim_test_bench_lib.so
|
||||
TARGETCONF=actsim_test_bench_lib.conf
|
||||
TARGETACT=test_bench_lib.act
|
||||
TARGETACTSUBDIR=sim
|
||||
|
||||
SHOBJS=test_bench_lib.os
|
||||
|
||||
|
||||
SRCS= $(SHOBJS:.os=.c)
|
||||
|
||||
include $(ACT_HOME)/scripts/Makefile.std
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
|
||||
namespace sim{
|
||||
namespace testbench {
|
||||
namespace test_bench_lib {
|
||||
|
||||
function finit (int verbose) : int;
|
||||
function fsource_next(int id; int sim_step) : int;
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
_HiStOrY_V2_
|
||||
cycle\012
|
|
@ -23,9 +23,9 @@
|
|||
**************************************************************************
|
||||
*/
|
||||
|
||||
import "../../../act/test_bench_lib.act";
|
||||
import sim::test_bench_lib;
|
||||
import globals;
|
||||
open sim::testbench;
|
||||
open sim::test_bench_lib;
|
||||
|
||||
defproc test(){
|
||||
chan(int<5>) channel;
|
Loading…
Reference in New Issue