aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_step_ext.sail
blob: ad374cae9d286aa9128bb523efff305d9ba69783 (plain)
1
2
3
4
5
6
7
8
/* The default implementation of hooks for the step() and main() functions. */

function ext_init() -> unit = ()

function ext_fetch_hook(f : FetchResult) -> FetchResult = f

function ext_pre_step_hook()  -> unit = ()
function ext_post_step_hook() -> unit = ()