From 3b1aec0c7784e79f017def99207ac1baae4a31a0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 13:44:01 +0100 Subject: [PATCH] add comment --- riscv/sv.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/riscv/sv.cc b/riscv/sv.cc index 3116ebb..f5b049c 100644 --- a/riscv/sv.cc +++ b/riscv/sv.cc @@ -20,6 +20,9 @@ uint8_t maxelwidth(uint8_t wid1, uint8_t wid2) return std::max(wid1, wid2); } +/* convenience routines to map from compact 8-bit to 16-bit format, + * for use in new VBLOCK format + */ void sv_regmap_8to16(union sv_reg_csr_entry8 const& r8, union sv_reg_csr_entry &r16) { -- 2.30.2