Skip to content

Commit

Permalink
Up-to-date files for RISC-V ISA Formal Verification.
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Gouedo <[email protected]>
  • Loading branch information
Pascal Gouedo committed Jun 26, 2024
1 parent 98695ef commit 052253b
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 119 deletions.
2 changes: 1 addition & 1 deletion scripts/riscv_isa_formal/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commonPath=../../common
commonPath=../../verif
PREPARE?=0
RTL?=../../cv32e40p/
GUI?=0
Expand Down
2 changes: 1 addition & 1 deletion scripts/riscv_isa_formal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RISC-V ISA Formal Verification methodology has been used with Siemens Questa Pro
- Makefile
- launch_command_example

### common
### verif
Contains all files to create assertions and to launch different tool apps on different configurations and using different modes.

> [!CAUTION]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set mode=DEF ; set mode_cmd="MODE=${mode}"
set mode=DPM ; set mode_cmd="MODE=${mode}"
set mode=DPF ; set mode_cmd="MODE=${mode}"

# Prepare the working directory (common files and design copy) or reuse existing one (no copy)
# Prepare the working directory (verif files and design copy) or reuse existing one (no copy)
set prepare=""
set prepare="PREPARE=1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ endfunction
`ifdef RESTRICT_REGS
// Restrict instruction decoding & register file verification to a subset of registers
restrict_regs_c: assume property (disable iff (~rst_n)
restrict_regs(execute.dec)
restrict_regs(my_dec)
`ifndef COMPLETENESS
`ifndef RESTRICT_REGISTER_INDEX
// && (reg_idx<4 || (MISA.C|Zca) && reg_idx inside {5'd8,5'd9})
Expand Down
17 changes: 17 additions & 0 deletions scripts/riscv_isa_formal/verif/cv32e40p/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2024 Siemens
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
#
# Licensed under the Solderpad Hardware License v 2.1 (the "License");
# you may not use this file except in compliance with the License, or,
# at your option, the Apache License version 2.0.
# You may obtain a copy of the License at
#
# https://solderpad.org/licenses/SHL-2.1/
#
# Unless required by applicable law or agreed to in writing, any work
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

github clone from https://github.com/openhwgroup/cv32e40p.git on the 24th of Jun 2024, tag cv32e40p_v1.8.0 is selected.
File renamed without changes.

Large diffs are not rendered by default.

File renamed without changes.

0 comments on commit 052253b

Please sign in to comment.