Skip to content

Commit cea8b0e

Browse files
authored
Merge pull request #2803 from The-OpenROAD-Project-staging/synth-check
synth: Add check for unmapped cells; fix ihp-sg13g2
2 parents 72eb255 + 4dd3543 commit cea8b0e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

flow/platforms/ihp-sg13g2/cells_latch.v

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ module $_DLATCH_P_(input E, input D, output Q);
66
);
77
endmodule
88

9+
module $_DLATCH_N_(input E, input D, output Q);
10+
sg13g2_dllrq_1 _TECHMAP_REPLACE_ (
11+
.D(D),
12+
.GATE_N(E),
13+
.RESET_B(1'b1),
14+
.Q(Q)
15+
);
16+
endmodule

flow/scripts/synth.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ tee -o $::env(REPORTS_DIR)/synth_check.txt check
100100

101101
tee -o $::env(REPORTS_DIR)/synth_stat.txt stat {*}$stat_libs
102102

103+
# check the design is composed exclusively of target cells, and check for other problems
104+
check -assert -mapped
105+
103106
# Write synthesized design
104107
write_verilog -noexpr -nohex -nodec $::env(RESULTS_DIR)/1_1_yosys.v
105108
# One day a more sophisticated synthesis will write out a modified

0 commit comments

Comments
 (0)