Skip to content

Commit

Permalink
added folder for verification IP
Browse files Browse the repository at this point in the history
  • Loading branch information
tojauch committed Dec 19, 2023
1 parent f8db1ce commit d90902a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions verification/run.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
read_verilog -golden -pragma_ignore {} -version sv2012 {RISCV_TOP.v}

set_elaborate_option -golden -call_threshold 100 -loop_iter_threshold 300 -x_optimism -verilog_parameter {} -verilog_library_search_order {} -noverilog_library_resolution_ieee_compliance -vhdl_generic {} -vhdl_assertion_report_prefix {onespin} -black_box {} -black_box_empty_modules -black_box_missing_modules -black_box_library {} -black_box_component {} -top {Verilog!work.top_MC}

elaborate -golden

set_compile_option -golden -black_box_instances { } -black_box { {DataMemory} {InstructionMemory} } -cut_signal {} -top {} -dontcare_handling sim -macro_iterations 4 -undriven_value sim -time_step macro -feedback_loop_latch {} -clock {} -no_clock {} -signal_domains {}

compile -golden

set_mode mv

#read_sva {YOUR_FILE.sva}

# @lang=tcl @ts=2
if {[get_mode] != "mv"} {
puts "This script needs to be called in MV mode."
puts "You can switch to MV mode after you have elaborated and compiled the design."
puts "Then, switch to MV mode and call this script again."
return
}
puts "The tool will now be set up so that only IPC checks are performed."
set_check_option -default
set_check_option -verbose -approver1_steps 1 -approver2_steps 0 -approver3_steps 0 -approver4_steps 0 -disprover1_steps 0 -prover1_steps 0 -prover2_steps 0
puts "(Done.)"

0 comments on commit d90902a

Please sign in to comment.