-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.)" |