aboutsummaryrefslogtreecommitdiff
path: root/tests/simple_mem/bus.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-05-01 22:18:32 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-05-01 22:18:32 +0300
commit79f67d5ca820b663e9e5682aaaad07118fdbfad8 (patch)
treea6f8b61c4ffbd2b5ce973dd7d9f1d6ddb3f58d8c /tests/simple_mem/bus.c
parentd133cc70b125efc1d6c992cb49ce1bca41cf580e (diff)
downloadgran-79f67d5ca820b663e9e5682aaaad07118fdbfad8.tar.gz
gran-79f67d5ca820b663e9e5682aaaad07118fdbfad8.zip
update license stuff
Diffstat (limited to 'tests/simple_mem/bus.c')
-rw-r--r--tests/simple_mem/bus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/simple_mem/bus.c b/tests/simple_mem/bus.c
index 67fb53b..9fa7a47 100644
--- a/tests/simple_mem/bus.c
+++ b/tests/simple_mem/bus.c
@@ -1,3 +1,6 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+/* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
+
#include <assert.h>
#include <gran/root.h>
@@ -15,7 +18,8 @@ int main()
struct component *simple_bus = create_simple_bus();
simple_bus_add(simple_bus, simple_mem, addr, size);
- struct component *traffic_gen = create_traffic_gen(simple_mem, addr, size);
+ struct component *traffic_gen = create_traffic_gen(simple_mem, addr,
+ size);
struct clock_domain *clk = create_clock_domain(NS(1));
clock_domain_add(clk, traffic_gen);