Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions src/drt/src/io/GuideProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,8 @@ bool GuideProcessor::isValidGuideLayerNum(odb::dbGuide* db_guide,
const bool one_gcell_guide
= getDesign()->getTopBlock()->getGCellIdx(guide_rect.ll())
== getDesign()->getTopBlock()->getGCellIdx(guide_rect.ur());
if (!one_gcell_guide) {
// TODO: uncomment this when GRT issue is solved
// error = true; // not a valid via access guide
if (!one_gcell_guide && router_cfg_->DBPROCESSNODE != "ISPD") {
error = true; // not a valid via access guide
}
}
// else I don't know how many gcells the guide spans
Expand Down Expand Up @@ -1265,19 +1264,26 @@ void GuideProcessor::genGuides_split(
is_horizontal,
rects);
auto prev_idx_it = curr_idx_it++;
const bool via_only
= (layer_num < router_cfg_->BOTTOM_ROUTING_LAYER
&& router_cfg_->DBPROCESSNODE != "ISPD")
|| (via_access_only
&& layer_num <= router_cfg_->VIA_ACCESS_LAYERNUM);
Comment thread
osamahammad21 marked this conversation as resolved.
Outdated
while (curr_idx_it != split_indices.end()) {
split::addSplitRect(track_idx,
*curr_idx_it,
*curr_idx_it,
layer_num,
is_horizontal,
rects);
split::addSplitRect(track_idx,
*prev_idx_it,
*curr_idx_it,
layer_num,
is_horizontal,
rects);
if (!via_only) {
split::addSplitRect(track_idx,
*prev_idx_it,
*curr_idx_it,
layer_num,
is_horizontal,
rects);
}
prev_idx_it = curr_idx_it++;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/drt/test/ispd18_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
output_drc=drc_file,
output_maze=maze_file,
output_guide_coverage=guide_coverage_file,
db_process_node="ISPD",
verbose=0,
)

Expand Down
1 change: 1 addition & 0 deletions src/drt/test/ispd18_sample.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ read_guides testcase/ispd18_sample/ispd18_sample.input.guide
detailed_route -output_drc [make_result_file ispd18_sample.output.drc.rpt] \
-output_maze [make_result_file ispd18_sample.output.maze.log] \
-output_guide_coverage [make_result_file ispd18_sample.coverage.csv] \
-db_process_node ISPD \
-verbose 0

set def_file [make_result_file ispd18_sample.def]
Expand Down
2 changes: 2 additions & 0 deletions src/drt/test/ispd18_sample_incr.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ read_guides testcase/ispd18_sample/ispd18_sample.input.guide
detailed_route -output_drc [make_result_file ispd18_sample.output.drc.rpt] \
-output_maze [make_result_file ispd18_sample.output.maze.log] \
-output_guide_coverage [make_result_file ispd18_sample.coverage.csv] \
-db_process_node ISPD \
-verbose 0
set net [[ord::get_db_block] findNet "net1231"]
odb::dbWire_destroy [$net getWire]
detailed_route -output_drc [make_result_file ispd18_sample.output.drc.rpt] \
-output_maze [make_result_file ispd18_sample.output.maze.log] \
-output_guide_coverage [make_result_file ispd18_sample.coverage.csv] \
-db_process_node ISPD \
-verbose 0
set def_file [make_result_file ispd18_sample.def]
write_def $def_file
Expand Down
1 change: 1 addition & 0 deletions src/drt/test/run-ispd.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def gen_files(work_dir, ispd_year, design, drv_min, drv_max):
read_guides {bench_dir}/{design}/{design}.input.guide
detailed_route -output_maze {design_dir}/{design}.output.maze.log \\
-output_drc {design_dir}/{design}.output.drc.rpt \\
-db_process_node ISPD \\
-verbose {verbose}
write_def {design_dir}/{design}.output.def
set drv_count [detailed_route_num_drvs]
Expand Down
1 change: 1 addition & 0 deletions src/drt/test/single_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
output_drc=drc_file,
output_maze=maze_file,
verbose=0,
db_process_node="ISPD",
single_step_dr=True,
)

Expand Down
1 change: 1 addition & 0 deletions src/drt/test/single_step.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ read_guides testcase/ispd18_sample/ispd18_sample.input.guide
detailed_route -output_drc [make_result_file single_step.output.drc.rpt] \
-output_maze [make_result_file single_step.output.maze.log] \
-verbose 0 \
-db_process_node ISPD \
-single_step_dr

drt::step_dr 7 0 3 8 0 8 0.95 1 true
Expand Down
Loading