aboutsummaryrefslogtreecommitdiff
path: root/tests/simple_mem/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple_mem/bus.c')
-rw-r--r--tests/simple_mem/bus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/simple_mem/bus.c b/tests/simple_mem/bus.c
index 9fa7a47..4a6be40 100644
--- a/tests/simple_mem/bus.c
+++ b/tests/simple_mem/bus.c
@@ -18,8 +18,7 @@ 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_bus, addr, size);
struct clock_domain *clk = create_clock_domain(NS(1));
clock_domain_add(clk, traffic_gen);