Skip to content

Commit

Permalink
Merge branch 'master' into qflow-1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RTimothyEdwards committed Aug 28, 2021
2 parents 7148c77 + a2d468e commit a8d0ae3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.96
1.4.97
2 changes: 1 addition & 1 deletion scripts/magic_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ set subv=`echo $version | cut -d. -f3`

if ( !(-r $techfile)) then
if (`echo $techfile | cut -c1` != "/") then
set techfile ${techdir}/${techfile}
set techfile=${techdir}/${techfile}
endif
endif
if (-r $techfile) then
Expand Down
2 changes: 1 addition & 1 deletion scripts/magic_drc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ endif

if ( !(-r $techfile)) then
if (`echo $techfile | cut -c1` != "/") then
set techfile ${techdir}/${techfile}
set techfile=${techdir}/${techfile}
endif
endif
if (-r $techfile) then
Expand Down
2 changes: 1 addition & 1 deletion scripts/magic_gds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ set subv=`echo $version | cut -d. -f3`

if ( !(-r $techfile)) then
if (`echo $techfile | cut -c1` != "/") then
set techfile ${techdir}/${techfile}
set techfile=${techdir}/${techfile}
endif
endif
if (-r $techfile) then
Expand Down
2 changes: 1 addition & 1 deletion scripts/magic_view.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ set dispfile="${layoutdir}/load_${rootname}.tcl"
# absolute path.
if ( !(-r $techfile)) then
if (`echo $techfile | cut -c1` != "/") then
set techfile ${techdir}/${techfile}
set techfile=${techdir}/${techfile}
endif
endif

Expand Down
10 changes: 5 additions & 5 deletions scripts/netgen_lvs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (-f project_vars.sh) then
endif

if (! ${?lvs_options} ) then
set lvs_options = ${options}
set lvs_options=${options}
endif

if (!($?logdir)) then
Expand All @@ -64,7 +64,7 @@ echo "Qflow LVS logfile created on $date" > ${synthlog}
if ( ! -f ${lastlog} ) then
echo "Warning: No migration logfile found."
else
set errcond = `tail -1 ${lastlog} | grep "error condition" | wc -l`
set errcond=`tail -1 ${lastlog} | grep "error condition" | wc -l`
if ( ${errcond} == 1 ) then
echo "Synthesis flow stopped on error condition. LVS comparison"
echo "will not proceed until error condition is cleared."
Expand Down Expand Up @@ -156,7 +156,7 @@ ${bindir}/netgen ${lvs_options} -batch lvs "${rootname}.spice ${rootname}" \
"${synthdir}/${rootname}.spc ${rootname}" ${setup_script} ${outfile} \
-json -blackbox |& tee -a ${synthlog}

set errcond = $status
set errcond=$status
if ( ${errcond} != 0 ) then
echo "netgen failed with exit status ${errcond}" |& tee -a ${synthlog}
echo "Premature exit." |& tee -a ${synthlog}
Expand All @@ -183,7 +183,7 @@ echo "Running count_lvs.py"
echo "${scriptdir}/count_lvs.py" |& tee -a ${synthlog}
${scriptdir}/count_lvs.py |& tee -a ${synthlog}

set err_total = `tail -1 ${synthlog} | cut -d' ' -f4`
set err_total=`tail -1 ${synthlog} | cut -d' ' -f4`
if ( ${err_total} > 0 ) then
echo "Design fails LVS with ${err_total} errors." |& tee -a ${synthlog}
echo "See lvs.log and comp.out for error details." |& tee -a ${synthlog}
Expand All @@ -195,7 +195,7 @@ endif
# Done!
#------------------------------------------------------------

set endtime = `date`
set endtime=`date`
echo "LVS checking script ended on $endtime" >> $synthlog

exit 0

0 comments on commit a8d0ae3

Please sign in to comment.