sail-riscv icon indicating copy to clipboard operation
sail-riscv copied to clipboard

Redundant F vs Zfinx encoding

Open jrtc27 opened this issue 2 years ago • 0 comments

Currently we have both sys_enable_fdext and sys_enable_zfinx, and assert the nonsense fourth combination of F+Zfinx isn't the case in: https://github.com/riscv/sail-riscv/blob/085cfcd3fc3be92aaa86b4caabf9d248eae5f83e/model/riscv_sys_control.sail#L562-L563

It might be cleaner to instead have this as a true tristate with no redundant encoding.

jrtc27 avatar Jun 28 '22 11:06 jrtc27