DRC enhancements: bug fixes

This commit is contained in:
Matthias Koefferlein 2023-05-28 23:02:16 +02:00
parent a582eabc22
commit 78dbabcde1
1 changed files with 2 additions and 19 deletions

View File

@ -32,9 +32,6 @@ module DRC
def finish(final)
# reimplement
end
def destroy
# reimplement
end
def layout
nil
end
@ -69,10 +66,6 @@ module DRC
end
end
def destroy
@layout._destroy
end
def layout
@layout
end
@ -118,10 +111,6 @@ module DRC
end
end
def destroy
@rdb._destroy
end
def rdb
@rdb
end
@ -1483,9 +1472,7 @@ module DRC
# finish what we got so far
_finish(false)
@def_output && @def_output.destroy
@def_output = nil
@def_output = _make_report(description, filename, cellname)
end
@ -1597,7 +1584,7 @@ module DRC
if ! @def_output
if @def_layout
# establish a new default output from the default layout on this occasion
@def_output = LayoutOutputChannel(self, @def_layout, cellname.to_s, nil)
@def_output = LayoutOutputChannel::new(self, @def_layout, cellname.to_s, nil)
end
else
@def_output.cellname = cellname.to_s
@ -1639,9 +1626,7 @@ module DRC
# finish what we got so far
_finish(false)
@def_output && @def_output.destroy
@def_output = nil
@def_output = _make_target(arg, cellname)
end
@ -2815,10 +2800,8 @@ CODE
ensure
@output_layers = []
@def_output && @def_output.destroy
@def_output = nil
if final
@other_outputs.each { |o| o.destroy }
@other_outputs = []
end
@show_l2ndb = nil
@ -3116,7 +3099,7 @@ CODE
channel = args.find { |a| a.is_a?(OutputChannel) }
if ! channel
if ! @def_output
@def_output = LayoutOutputChannel(self, self._output_layout, self._output_cell, nil)
@def_output = LayoutOutputChannel::new(self, self._output_layout, self._output_cell, nil)
end
channel = @def_output
end