diff --git a/dffram.py b/dffram.py index 19d69a9..06b4738 100755 --- a/dffram.py +++ b/dffram.py @@ -456,6 +456,9 @@ def openlane_harden( default=False, help="Open the last def in Klayout. (Default: False)", ) +@click.option( + "-H", "--min-height", default=0.0, type=float, help="Die Area Height in microns" +) def flow( frm, to, @@ -469,11 +472,11 @@ def flow( variant, klayout, output_dir, + min_height, ): global build_folder global last_def global pdk, scl - if variant == "DEFAULT": variant = None @@ -597,6 +600,8 @@ def placement(in_width, in_height): dimensions=dimensions_file, ) width, height = map(lambda x: float(x), open(dimensions_file).read().split("x")) + if height < min_height: + height = min_height floorplan( design, synth_info,