Skip to content

Commit

Permalink
Corrected mis-leading variable name.
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Gouedo <[email protected]>
  • Loading branch information
Pascal Gouedo committed Mar 21, 2024
1 parent 8407734 commit 0d56c56
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions scripts/slec/synopsys/lec.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ set pulp_cfg $::env(pulp_cfg)
set fpu_cfg $::env(fpu_cfg)
set zfinx_cfg $::env(zfinx_cfg)

set top_impl_name cv32e40p_core_COREV_PULP${pulp_cfg}_FPU${fpu_cfg}_ZFINX${zfinx_cfg}
set core_impl_name cv32e40p_core_COREV_PULP${pulp_cfg}_FPU${fpu_cfg}_ZFINX${zfinx_cfg}

if {"$version" == "v1"} {
set golden_parameter_list "PULP_XPULP = 0, FPU = 0, PULP_ZFINX = 0"
set top_ref_name cv32e40p_core_PULP_XPULP0_FPU0_PULP_ZFINX0
set core_ref_name cv32e40p_core_PULP_XPULP0_FPU0_PULP_ZFINX0
} else {
set golden_parameter_list "COREV_PULP = $pulp_cfg, FPU = $fpu_cfg, ZFINX = $zfinx_cfg"
set top_ref_name $top_impl_name
set core_ref_name $core_impl_name
}

read_sverilog -container r -libname WORK -12 -f golden.src
Expand All @@ -41,14 +41,14 @@ set_top i:/WORK/$top_module -parameter "COREV_PULP = $pulp_cfg, FPU = $fpu_cfg,
match > $summary_log.match.rpt

if {"$top_module" == "cv32e40p_core"} {
set_dont_verify_point -type port r:/WORK/$top_ref_name/apu_req_o
set_dont_verify_point -type port r:/WORK/$top_ref_name/apu_operands_o*
set_dont_verify_point -type port r:/WORK/$top_ref_name/apu_op_o*
set_dont_verify_point -type port r:/WORK/$top_ref_name/apu_flags_o*
set_dont_verify_point -type port i:/WORK/$top_impl_name/apu_req_o
set_dont_verify_point -type port i:/WORK/$top_impl_name/apu_operands_o*
set_dont_verify_point -type port i:/WORK/$top_impl_name/apu_op_o*
set_dont_verify_point -type port i:/WORK/$top_impl_name/apu_flags_o*
set_dont_verify_point -type port r:/WORK/$core_ref_name/apu_req_o
set_dont_verify_point -type port r:/WORK/$core_ref_name/apu_operands_o*
set_dont_verify_point -type port r:/WORK/$core_ref_name/apu_op_o*
set_dont_verify_point -type port r:/WORK/$core_ref_name/apu_flags_o*
set_dont_verify_point -type port i:/WORK/$core_impl_name/apu_req_o
set_dont_verify_point -type port i:/WORK/$core_impl_name/apu_operands_o*
set_dont_verify_point -type port i:/WORK/$core_impl_name/apu_op_o*
set_dont_verify_point -type port i:/WORK/$core_impl_name/apu_flags_o*
}

verify > $summary_log
Expand Down

0 comments on commit 0d56c56

Please sign in to comment.