blob: b8c82b7423bb6948b184e18f6ed3914de5441851 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*=======================================================================================*/
/* This Sail RISC-V architecture model, comprising all files and */
/* directories except where otherwise noted is subject the BSD */
/* two-clause license in the LICENSE file. */
/* */
/* SPDX-License-Identifier: BSD-2-Clause */
/*=======================================================================================*/
/* 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 = ()
|