diff options
| author | Prashanth Mundkur | 2018-06-11 16:15:14 -0700 |
|---|---|---|
| committer | Prashanth Mundkur | 2018-06-11 16:15:14 -0700 |
| commit | ce3a0880a46b3ed59a0e875173bbc9a0899892eb (patch) | |
| tree | 123f2e816dedbdb8d04bdfd7f731d43e78a8720f /riscv/riscv_sys.sail | |
| parent | be54131898dcf13b9f10da55bd3175d84ff99ae4 (diff) | |
Use riscv platform insns_per_tick to tick the clock.
Diffstat (limited to 'riscv/riscv_sys.sail')
| -rw-r--r-- | riscv/riscv_sys.sail | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/riscv/riscv_sys.sail b/riscv/riscv_sys.sail index 9373701c..c42ee806 100644 --- a/riscv/riscv_sys.sail +++ b/riscv/riscv_sys.sail @@ -869,10 +869,6 @@ function init_sys() -> unit = { minstret_written = false; } -function tick_clock() -> unit = { - mcycle = mcycle + 1 -} - /* memory access exceptions, defined here for use by the platform model. */ union MemoryOpResult ('a : Type) = { |
