New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
siliconcompiler._common.SiliconCompilerError: These final steps could not be reached: ['export'] #2059
Comments
You may need to set the SCPATH correctly: |
Hi, It seems I am unable to set the path. I tried the below combinations(where 'openroad' is my username). But end up with the same error.
I try to run
Below is my directory structure
Can you please guide me? Thank You. |
You need to install the required packages prior to running the program.
Also, I would recommend using ChatGPT for immediate resolution for error
messages.
It will be a slow and painful learning curve if your path to resolving
issues is posting issues on the developer’s repo. Thank me later
…On Thu, Oct 26, 2023 at 12:16 AM Vijaykumar ***@***.***> wrote:
Hi,
I am trying to run example demo heartbeat. I observed the following
results.
sc -target asic_demo -remote
and
import siliconcompiler
chip = siliconcompiler.Chip('heartbeat')
chip.load_target('freepdk45_demo')
chip.input('/content/siliconcompiler/examples/heartbeat/heartbeat.v')
chip.clock('clk', period=10)
chip.set('option','remote', True)
chip.run()
Above code succeeds
But
!python3 /content/siliconcompiler/examples/heartbeat/heartbeat.py
Fail with below logs
| INFO | /content/siliconcompiler/examples/heartbeat/heartbeat.v inferred as rtl/verilog
| INFO | /content/siliconcompiler/examples/heartbeat/heartbeat.sdc inferred as constraint/sdc
| WARNING | Environment variable $DISPLAY or $WAYLAND_DISPLAY not set
| WARNING | Setting ['option', 'nodisplay'] to True
| INFO | job0 | -- | - | Setting up node import0 with surelog/parse
| INFO | job0 | -- | - | Setting up node syn0 with yosys/syn_asic
| INFO | job0 | -- | - | Setting up node floorplan0 with openroad/floorplan
| INFO | job0 | -- | - | Setting up node place0 with openroad/place
| INFO | job0 | -- | - | Setting up node cts0 with openroad/cts
| INFO | job0 | -- | - | Setting up node route0 with openroad/route
| INFO | job0 | -- | - | Setting up node dfm0 with openroad/dfm
| INFO | job0 | -- | - | Setting up node export0 with klayout/export
| INFO | job0 | -- | - | Setting up node export1 with openroad/export
| INFO | job0 | -- | - | Checking manifest before running.
| INFO | job0 | import | 0 | Tool 'surelog' found with version '1.75' in directory '/usr/local/lib/python3.10/dist-packages/siliconcompiler/tools/surelog/bin'
| INFO | job0 | import | 0 | Running in /content/build/heartbeat/job0/import/0
| INFO | job0 | import | 0 | surelog -nocache +libext+.sv+.v -parse -nouhdm /content/siliconcompiler/examples/heartbeat/heartbeat.v -top heartbeat
| INFO | job0 | import | 0 | [INF:CM0023] Creating log file "/content/build/heartbeat/job0/import/0/slpp_all/surelog.log".
| INFO | job0 | import | 0 | [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO | job0 | import | 0 | [INF:CP0300] Compilation...
| INFO | job0 | import | 0 | [INF:CP0303] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Compile module ***@***.***".
| INFO | job0 | import | 0 | [INF:CP0302] Compile class ***@***.***".
| INFO | job0 | import | 0 | [INF:CP0302] Compile class ***@***.***".
| INFO | job0 | import | 0 | [INF:CP0302] Compile class ***@***.***".
| INFO | job0 | import | 0 | [INF:EL0526] Design Elaboration...
| INFO | job0 | import | 0 | [NTE:EL0503] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Top level module ***@***.***".
| INFO | job0 | import | 0 | [NTE:EL0508] Nb Top level modules: 1.
| INFO | job0 | import | 0 | [NTE:EL0509] Max instance depth: 1.
| INFO | job0 | import | 0 | [NTE:EL0510] Nb instances: 1.
| INFO | job0 | import | 0 | [NTE:EL0511] Nb leaf instances: 0.
| INFO | job0 | import | 0 | [INF:UH0706] Creating UHDM Model...
| INFO | job0 | import | 0 | [ FATAL] : 0
| INFO | job0 | import | 0 | [ SYNTAX] : 0
| INFO | job0 | import | 0 | [ ERROR] : 0
| INFO | job0 | import | 0 | [WARNING] : 1
| INFO | job0 | import | 0 | [ NOTE] : 5
| WARNING | job0 | import | 0 | 2: [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO | job0 | import | 0 | Finished task in 0.99s
| ERROR | job0 | syn | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/lib/NangateOpenCellLibrary_typical.lib in required file keypath ['library', 'nangate45', 'output', 'typical', 'nldm'].
| ERROR | job0 | syn | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/techmap/yosys/cells_adders.v in required file keypath ['library', 'nangate45', 'option', 'file', 'yosys_addermap'].
| ERROR | job0 | syn | 0 | Fatal error in check_manifest()! See previous errors.
| ERROR | job0 | syn | 0 | Halting step 'syn' index '0' due to errors.
Traceback (most recent call last):
File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 17, in <module>
main()
File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 11, in main
chip.run() # run compilation
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3999, in run
self._local_process(flow, status)
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3933, in _local_process
self._check_nodes_status(flow, status)
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3890, in _check_nodes_status
self.error(f'These final steps could not be reached: {list(unreachable_steps)}',
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 4803, in error
raise SiliconCompilerError(msg) from None
siliconcompiler._common.SiliconCompilerError: These final steps could not be reached: ['export']
I can see that PDKs are not resolved.
Please help me in this matter. Thank you in advance
—
Reply to this email directly, view it on GitHub
<#2059>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKP74R2BYASL3GU5AO6DA33YBIE5NAVCNFSM6AAAAAA6QTWBLWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DEOBWHA2DCNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I had the same problem as you but your whole path needs to be ("Siliconcompiler" 2 times in a row)
|
With the release of 0.17.0 the SCPATH has been deprecated and removed, which should avoid this problem all together. Right now the remote is not updated to handle requests from 0.17.0, but that should be happening soon |
Hi @vjkr , I am facing the same issue. Were you able to resolve this? |
@vjkr what version of siliconcompiler are you using? The nangate45 files it cannot find were moved a while ago. |
@gadfort I have installed the logik fpga toolchain via pip. Therefore, the siliconcompiler was installed as a prerequisite. Therefore, the version I have is 0.21.7 |
Try adding |
Could you try: |
The version incompatibility is not an issue (it will be fixed in the next release of logik). There is however a bug in the example.
To:
I'll fix that |
Thanks much @gadfort ! |
The examples are fixed in: #2373 |
Hi,
I am trying to run example demo heartbeat. I observed the following results.
Above code succeeds
But
Fail with below logs
I can see that PDKs are not resolved.
Please help me in this matter. Thank you in advance
The text was updated successfully, but these errors were encountered: