def METHOD_NAME(engine, params):
    name = f'ckt_dig_5_{engine}'
    netlist = textwrap.dedent(f"""\
    .subckt dig22inv a o vccx vssx
    .ends
    .subckt dig22nand a b o vccx vssx
    .ends
    .subckt {name} p n nob vccx vssx
    xi0 p en pob vccx vssx dig22nand
    xi1 en p nob vccx vssx dig22nand
    xi2 nob nob vccx vssx dig22inv
    mn1 vssx pob vssx vssx n w=360e-9 m=1 nf=4
    mn2 vssx nob vssx vssx n w=360e-9 m=1 nf=4
    .ends {name}
    .END
    """)
    constraints = [
        {"constraint": "ConfigureCompiler", "auto_constraint": False, "merge_parallel_devices": False},
        {"constraint": "GroupBlocks", "instance_name": "xdig", "template_name": "dig", "instances": ["xi0", "xi1", "xi2"]},
        {"constraint": "Floorplan", "order": True, "regions": [
            ["xdig"],
            ["mn1", "mn2"]]},
        {"constraint": "Order", "direction": "left_to_right", "instances": ["mn1", "xdig"]}
    ]
    example = build_example(name, netlist, constraints)
    run_example(example, n=1, cleanup=CLEANUP, log_level="DEBUG", additional_args=params)