From 563446c477f5e905df905e0d30371a2c4d51d7a5 Mon Sep 17 00:00:00 2001 From: Alasdair Date: Tue, 12 Dec 2023 14:55:37 +0000 Subject: Update bitfield syntax Use newer bitfield syntax, which has been part of Sail for a while now. Should in theory be more efficient as it removes a level of indirection for bitfield accesses. It's also much more friendly to `sail -fmt`, which has no idea how to handle the old bitfield syntax. --- model/riscv_insts_cext.sail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/riscv_insts_cext.sail') diff --git a/model/riscv_insts_cext.sail b/model/riscv_insts_cext.sail index 8b9fa8f..83d0d88 100644 --- a/model/riscv_insts_cext.sail +++ b/model/riscv_insts_cext.sail @@ -71,7 +71,7 @@ /* ********************************************************************* */ /* This file specifies the compressed instructions in the 'C' extension. */ -/* These instructions are only legal if misa.C() is true. Instead of +/* These instructions are only legal if misa[C] is true. Instead of * checking this in every execute clause, we currently do the check in one place * in the fetch-execute logic. */ -- cgit v1.1