Skip to content

Commit

Permalink
Merge pull request #1014 from pascalgouedo/dev_dd_pgo_riscv_formal
Browse files Browse the repository at this point in the history
Up-to-date files for RISC-V ISA Formal Verification.
  • Loading branch information
pascalgouedo authored Jun 28, 2024
2 parents 98695ef + 6993959 commit 8f24b1d
Show file tree
Hide file tree
Showing 13 changed files with 71 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
5 changes: 4 additions & 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 All @@ -39,6 +39,9 @@ Contains all files to create assertions and to launch different tool apps on dif
## How to launch a run

> [!CAUTION]
> Siemens Questa Processor 2024.2 and above must be used.
- Locally clone cv32e40p github repository or make a symbolic link to an existing repo.
- launch following command:<br>
make GUI=1 APP=PRC CONF=XP MODE=DEF NAME=v1_8_0 VERBOSE=1 PREPARE=1 all >&! run_gui-PRC-cfg_XP-mode_DEF-v1_8_0.log
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 8f24b1d

Please sign in to comment.