From 55be71dcc3d3cec00157eacb4811567777526904 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Mon, 24 May 2021 10:05:34 +0200 Subject: [PATCH] [CSR] added time and timeh csr codes --- riscemu/priv/CSR.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/riscemu/priv/CSR.py b/riscemu/priv/CSR.py index 35e7277..c14ba6f 100644 --- a/riscemu/priv/CSR.py +++ b/riscemu/priv/CSR.py @@ -52,6 +52,8 @@ class CSR: 'marchid': 0xF12, 'mimpid': 0xF13, 'mhartid': 0xF14, + 'time': 0xc01, + 'timeh': 0xc81, } """ Translation for named registers