Skip to content

Commit

Permalink
storing a dummy main.drc and renaming database file
Browse files Browse the repository at this point in the history
  • Loading branch information
RehabSayed-G committed Aug 8, 2023
1 parent 24de1d5 commit 73e3f73
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rules/klayout/macros/gf180mcu_drc.lydrc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ gds_name = layout_path.split()[1].to_s.split(".")[0]
out_dir = "#{run_dir}/macros/run_drc_main"

if Dir.exist?out_dir
`rm -r #{out_dir}`
`rm #{out_dir}/drc_run*.log`
end

## create options passed to run_drc.py
Expand Down Expand Up @@ -106,8 +106,11 @@ end

## include run files

$report = "antenna.lyrdb"
#%include ../drc/rule_decks/antenna.drc
$report = "density.lyrdb"
#%include ../drc/rule_decks/density.drc
$report = "main.lyrdb"
#%include run_drc_main/main.drc


Expand Down
16 changes: 16 additions & 0 deletions rules/klayout/macros/run_drc_main/main.drc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
################################################################################################
# Copyright 2023 GlobalFoundries PDK Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################################

0 comments on commit 73e3f73

Please sign in to comment.