Hammer fails on PAR while trying with vlsi turorial

44 views
Skip to first unread message

Arun Ravindran

unread,
May 17, 2024, 1:22:03 PMMay 17
to Chipyard
Hi


Here is the env changes i have


(/home/arun/chipyard/.conda-env) arun@arun-nuc:~/chipyard/vlsi$ git diff
diff --git a/vlsi/example-openroad.yml b/vlsi/example-openroad.yml
index 1f96d603..85d9e118 100644
--- a/vlsi/example-openroad.yml
+++ b/vlsi/example-openroad.yml
@@ -1,3 +1,10 @@
+synthesis.yosys.yosys_bin: /home/arun/.conda-yosys/bin/yosys
+par.openroad.openroad_bin: /home/arun/.conda-openroad/bin/openroad
+par.openroad.klayout_bin: /home/arun/.conda-klayout/bin/klayout  # binary that OpenROAD calls for final GDS writeout
+drc.klayout.klayout_bin: /home/arun/.conda-klayout/bin/klayout   # binary that runs for DRC step
+drc.magic.magic_bin: /home/arun/.conda-signoff/bin/magic
+lvs.netgen.netgen_bin: /home/arun/.conda-signoff/bin/netgen
+
 # Tool options. Replace with your tool plugin of choice.
 vlsi.core.build_system: make
 # Synthesis: Yosys
diff --git a/vlsi/example-sky130.yml b/vlsi/example-sky130.yml
index 1e3faf1c..1aa2990c 100644
--- a/vlsi/example-sky130.yml
+++ b/vlsi/example-sky130.yml
@@ -6,8 +6,8 @@ vlsi.core.max_threads: 12
 
 # Technology paths
 technology.sky130:
-  sky130A: "/path/to/sky130A"
-  sram22_sky130_macros: "/path/to/sram22_sky130_macros"
+  sky130A: "/home/arun/.conda-sky130/share/pdk/sky130A"
+  sram22_sky130_macros: "/home/arun/sram22_sky130_macros"
 
   # this key is OPTIONAL, no NDA files will be used if it does not point to a valid path
   sky130_nda: "/path/to/skywater-src-nda"
(/home/arun/chipyard/.conda-env) arun@arun-nuc:~/chipyard/vlsi$

Pretty much nothing but right paths to various tools.

But at  make par tutorial=sky130-openroad  there is a failure

[par] [Exec ...d/bin/openroad -no_init -log /...] create_clock clock_uncore_clock -name clock_uncore_clock -period 50.0
[par] [Exec ...d/bin/openroad -no_init -log /...] [ERROR STA-0489] pin 'clock_uncore_clock' not found.
[par] [Exec ...d/bin/openroad -no_init -log /...] Error: clock_constraints_fragment.sdc, 1 STA-0489
[par] ERROR: OpenROAD returned with a nonzero exit code: 1.
[par] To create a tar archive of the issue, set:
            par.openroad.create_archive_mode: latest_run
        in your YAML configs and re-run your par command
Traceback (most recent call last):
  File "/home/arun/chipyard/vlsi/./example-vlsi-sky130", line 63, in <module>
    ExampleDriver().main()
  File "/home/arun/.local/lib/python3.10/site-packages/hammer/vlsi/cli_driver.py", line 1725, in main
    sys.exit(self.run_main_parsed(vars(parser.parse_args(args))))
  File "/home/arun/.local/lib/python3.10/site-packages/hammer/vlsi/cli_driver.py", line 1630, in run_main_parsed
    output_config = action_func(driver, errors.append)  # type: Optional[dict]
  File "/home/arun/.local/lib/python3.10/site-packages/hammer/vlsi/cli_driver.py", line 612, in action
    success, output = driver.run_par(
  File "/home/arun/.local/lib/python3.10/site-packages/hammer/vlsi/driver.py", line 1202, in run_par
    run_succeeded = self.par_tool.run(hooks_to_use)
  File "/home/arun/.local/lib/python3.10/site-packages/hammer/vlsi/hammer_tool.py", line 118, in run
    return self.fill_outputs()
  File "/home/arun/.local/lib/python3.10/site-packages/hammer/par/openroad/__init__.py", line 284, in fill_outputs
    raise ValueError("Output GDS %s not found" % (self.output_gds_filename))
ValueError: Output GDS /home/arun/chipyard/vlsi/build-sky130-openroad/chipyard.harness.TestHarness.TinyRocketConfig-ChipTop/par-rundir/ChipTop.gds not found
make: *** [/home/arun/chipyard/vlsi/build-sky130-openroad/chipyard.harness.TestHarness.TinyRocketConfig-ChipTop/hammer.d:94: /home/arun/chipyard/vlsi/build-sky130-openroad/chipyard.harness.TestHarness.TinyRocketConfig-ChipTop/par-rundir/par-output-full.json] Error 1
(/home/arun/chipyard/.conda-env) arun@arun-nuc:~/chipyard/vlsi$


What is the issue here? I am using thr TinyRocketConfig as mentioned in the tutorial.

regards
Arun

Arun Ravindran

unread,
May 19, 2024, 6:05:51 AMMay 19
to Chipyard
Hi All,

Could any one help me on this?

regards
Arun

Arun Ravindran

unread,
May 23, 2024, 3:41:50 PMMay 23
to Chipyard
Hi all,

Any clue what is the issue?

I have tried on multiple machine (a fresh ubuntu install) but the tutorial as explained in the readthedocs doesn't work.

First issue is the clock_uncore_clock is undefined. As per some thread in the group the name should be clock_uncore.
With the clock name change the par failed at Detailed placement.

Did anyone get this working with TinyRocketConfig at all?

regards
Arun

David Byrd

unread,
Jun 10, 2024, 11:47:08 PMJun 10
to Chipyard
I ran into the same problem. Were you able to find a workaround? 
Reply all
Reply to author
Forward
0 new messages