Has any work been done on the formal verification of RISC-V machine / assembly language code? I am running into cases where I'd like to prove that machine code cannot access certain registers and whatnot.
Thanks
Has any work been done on the formal verification of RISC-V machine / assembly language code? I am running into cases where I'd like to prove that machine code cannot access certain registers and whatnot.
Thanks
Negative. That’s for formal verification of a hardware implementation. I’m looking to see if a formal tool exists that takes as its inputs
and the tool would prove whether the properties / assertions are true or provide counter-examples.
While it’s true that this could possibly be accomplished with a specific RISC-V implementation in RTL and formal HW tools, I don’t need cycle accuracy. In addition I’d like to not wait hours / days for a result.
From: Tommy Murphy <tommy_...@hotmail.com>
Sent: Tuesday, February 9, 2021 3:31 PM
To: RISC-V SW Dev <sw-...@groups.riscv.org>; Steven Bellock <sbel...@nvidia.com>
Subject: Re: [sw-dev] Formal Verification of Machine / Assembly Language
|
External email: Use caution opening links or attachments |
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/LNXP123MB3675516F818C945279C805E3F98E9%40LNXP123MB3675.GBRP123.PROD.OUTLOOK.COM.
Negative. That’s for formal verification of a hardware implementation. I’m looking to see if a formal tool exists that takes as its inputs
- RISC-V machine code (.hex, .s19)
- Properties / assertions written against the code