From 3eaa5d147d494fc389c8b3045b741b82391b1b48 Mon Sep 17 00:00:00 2001 From: Michele Date: Tue, 1 Nov 2022 12:22:21 +0100 Subject: [PATCH] Now helloworld has everything to work --- test/examples/helloworld/.actsim_history | 2 ++ test/examples/helloworld/README.md | 4 ++++ test/examples/{ => helloworld}/check_0.csv | 0 test/examples/{ => helloworld}/control.csv | 0 test/examples/{ => helloworld}/helloworld.act | 4 ++-- test/examples/{ => helloworld}/source_0.csv | 0 6 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 test/examples/helloworld/.actsim_history create mode 100644 test/examples/helloworld/README.md rename test/examples/{ => helloworld}/check_0.csv (100%) rename test/examples/{ => helloworld}/control.csv (100%) rename test/examples/{ => helloworld}/helloworld.act (96%) rename test/examples/{ => helloworld}/source_0.csv (100%) diff --git a/test/examples/helloworld/.actsim_history b/test/examples/helloworld/.actsim_history new file mode 100644 index 0000000..2bb451d --- /dev/null +++ b/test/examples/helloworld/.actsim_history @@ -0,0 +1,2 @@ +_HiStOrY_V2_ +cycle\012 diff --git a/test/examples/helloworld/README.md b/test/examples/helloworld/README.md new file mode 100644 index 0000000..0111d0b --- /dev/null +++ b/test/examples/helloworld/README.md @@ -0,0 +1,4 @@ +To simulate the code run: +``` +actsim -cnf=../../../act/actsim_test_bench_lib.conf helloworld.act test +``` diff --git a/test/examples/check_0.csv b/test/examples/helloworld/check_0.csv similarity index 100% rename from test/examples/check_0.csv rename to test/examples/helloworld/check_0.csv diff --git a/test/examples/control.csv b/test/examples/helloworld/control.csv similarity index 100% rename from test/examples/control.csv rename to test/examples/helloworld/control.csv diff --git a/test/examples/helloworld.act b/test/examples/helloworld/helloworld.act similarity index 96% rename from test/examples/helloworld.act rename to test/examples/helloworld/helloworld.act index 1c41327..4c07792 100644 --- a/test/examples/helloworld.act +++ b/test/examples/helloworld/helloworld.act @@ -23,7 +23,7 @@ ************************************************************************** */ -import "../../act/test_bench_lib.act"; +import "../../../act/test_bench_lib.act"; import globals; open sim::testbench; @@ -33,4 +33,4 @@ defproc test(){ channel_source<5,0> source(.out=channel,.sim_step=control.sim_step_source[0],.done=control.done_source[0]); channel_checker_in_order<5,0> sink(.in=channel,.sim_step=control.sim_step_checker[0],.done=control.done_checker[0]); -} \ No newline at end of file +} diff --git a/test/examples/source_0.csv b/test/examples/helloworld/source_0.csv similarity index 100% rename from test/examples/source_0.csv rename to test/examples/helloworld/source_0.csv