ibex/examples/sim
Greg Chadwick bec84ca2b1 Add core_sleep_o to ibex interface
Signals the core is totally idle (WFI with no outstanding memory
transactions).  Fixes #258
2019-09-06 08:44:48 +01:00
..
rtl Example for Ibex tracer usage 2019-07-11 13:25:18 +01:00
tb Add core_sleep_o to ibex interface 2019-09-06 08:44:48 +01:00
README.md Rework how tracer is instantiated and called 2019-07-23 19:45:48 +01:00
top_tracing_sim.core Updates to the sim timescale option 2019-07-29 16:00:35 +01:00

Example: Ibex with enabled instruction tracing for simulation

Overview

This examples shows the usage of the module ibex_core_tracing which forwards all port signals to the ibex_core and a subset of signals to ibex_tracer. The tracer will create a file with a stream of executed instructions.

Prerequisites

For this example, modelsim must be available and the following environment variable must point to the path of installation:

export MODEL_TECH=/path/to/modelsim/bin

Usage

Run the following command in the top level directory.

fusesoc --cores-root=. run --target=sim lowrisc:ibex:top_tracing_sim

The trace output can be found in build/lowrisc_ibex_top_tracing_sim_0.1/sim-modelsim/trace_core_00_0.log.