Giter Site home page Giter Site logo

Comments (13)

dineshannayya avatar dineshannayya commented on August 15, 2024

I guess this may be due to openlane docker ..

  1. Can you pull my project openlane docker: riscduino/openlane:mpw5

docker pull riscduino/openlane:mpw5

  1. set the environmental variable
    export IMAGE_NAME=riscduino/openlane:mpw5
    export OPENLANE_IMAGE_NAME=riscduino/openlane:mpw5
    export OPENLANE_TAG=mpw5

  2. Run Make file

make user_project_wrapper

Note: In the latest git version i have moved docker from my name to project name .. i.e now
dineshannayya/dv_setup:mpw5 => riscduino/dv_setup:mpw5
dineshannayya/openlane:mpw5 => riscduino/openlane:mpw5

I will cross-check if there any specific issue in SPI simulation

from riscduino.

dineshannayya avatar dineshannayya commented on August 15, 2024

I have cross-check the spi simulation issue, look like one the .hex is not in git repo .. i have update it to git repo ..

You can update the repo .. this should resolve the simulation issue

from riscduino.

Sya0 avatar Sya0 commented on August 15, 2024

I do not get it. I still get this path error.
couldn't read file "/home/sukruuzun/caravel_user_project/caravel/openlane/user_project_wrapper_empty/fixed_wrapper_cfgs.tcl": no such file or directory.

My caravel example project (32 bit counter) openlane synthesis run flawless but this one gives me error about caravel. fixed_wrapper_cfgs.tcl script is under user_project_wrapper, not user_project_wrapper_empty. I thought, I do not suppose to change those directory paths.

from riscduino.

dineshannayya avatar dineshannayya commented on August 15, 2024

If are using MPW-5 caravel repo .. there is change in fixed_wrapper_cfgs.tcl file location

In MPW-4 : $::env(CARAVEL_ROOT)/openlane/user_project_wrapper_empty/fixed_wrapper_cfgs.tcl
in MPW-5: $::env(CARAVEL_ROOT)/openlane/user_project_wrapper/fixed_wrapper_cfgs.tcl

You need to locally change this file path based on your caravel repo ...

Note: As there is continuous update in caravel repo, My repo still uses MPW4 caravel repo.

from riscduino.

Sya0 avatar Sya0 commented on August 15, 2024

Yes, I use MPW-5 caravel repo. I do not want to make changes in caravel repo. Is there any other way, I made some changes Makefile but it does not work. Should I edit docker image ?

from riscduino.

Sya0 avatar Sya0 commented on August 15, 2024

I changed them locally, now I have this;

FileNotFoundError: [Errno 2] No such file or directory: '/project/openlane/user_project_wrapper/../../lef//qspim.lef'
[ERROR]: during executing: "/openlane/scripts/mergeLef.py -i /project/openlane/user_project_wrapper/runs/user_project_wrapper/tmp/merged_unpadded.lef /project/openlane/user_project_wrapper/../../lef//qspim.lef /project/openlane/user_project_wrapper/../../lef//pinmux.lef /project/openlane/user_project_wrapper/../../lef//wb_interconnect.lef /project/openlane/user_project_wrapper/../../lef//uart_i2cm_usb_spi.lef /project/openlane/user_project_wrapper/../../lef//wb_host.lef /project/openlane/user_project_wrapper/../../lef//yifive.lef /project/openlane/user_project_wrapper/../../lef//DFFRAM.lef -o /project/openlane/user_project_wrapper/runs/user_project_wrapper/tmp/merged_unpadded.lef |& tee >&@stdout"

Sorry to bother you but I am new to this, I stuck a lot.

from riscduino.

dineshannayya avatar dineshannayya commented on August 15, 2024

Default all the lef and gds files are compressed (.gz) in git repo.

You need to unzip the file in lef and gds folder by using below command
gzip -d *

OR If you using latest repo .. use below command in base folder
make unzip

from riscduino.

Sya0 avatar Sya0 commented on August 15, 2024

I think, I fix the version issue, no more path or version error. However, I have an error about pdn:

key "straps" not known in dictionary
[ERROR]: during executing openroad script /openlane/scripts/openroad/pdn.tcl
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child process exited abnormally

from riscduino.

dineshannayya avatar dineshannayya commented on August 15, 2024

Are you using riscduino/openlane:mpw5 OR efabless/openlane docker ?

I have done PDN hack in Openroad setup to get Power Straps only for vccd1/vssd1. Else in standard Openlane flow does power straps for all the power vccd1/vssd1/vccd2/vssd2/vdda1/vssa1/vdda2/vssa2
This should work with riscduino/openlane:mpw5 docker.

If you want to works with efabless/openlane docker .. Then you can mask below line in user_project_wrapper/Makefile
set ::env(PDN_CFG) $proj_dir/pdn_cfg.tcl

from riscduino.

Sya0 avatar Sya0 commented on August 15, 2024

Yes, I use efabless/openlane. Is there any possible disadvantage of doing that hack during tape-out?
Then you can mask below line in user_project_wrapper/Makefile by meaning that should I comment that line ?

from riscduino.

dineshannayya avatar dineshannayya commented on August 15, 2024

My Design uses only one set of power domain (vccd1/vssd1). Default openlane flow does power straps for all power domain vccd1/vssd1/vccd2/vssd2/vdda1/vssa1/vdda2/vssa2, even though design need one set of power hook up for hard-macro.
Due to these i need to keep more free space between each hard-macro to get all 8 vertical and horizontal power strip to get connected .. As my design has less free space between IP. I have hacked PDN script to excluded un-intended power straps generation, which helps me to keep only 2 vertical and horizontal power strip spacing between hard-ip.

Correction: You need to comment pdn_cfg.tcl in user_project_wrapper/config.tcl to get openlane flow to working ..
set ::env(PDN_CFG) $proj_dir/pdn_cfg.tcl

If openlane flow PDN connection breaks then you need to move around the macro location to get PDN to pass.

Note: I have asked Openroad team on alternative option to achieve this .. still no closure on this ..

from riscduino.

Sya0 avatar Sya0 commented on August 15, 2024

I passed lot of checks and synthesis including PDN but now I have this.

[ERROR]: during executing: "magic -noconsole -dnull -rcfile /home/sukruuzun/caravel_pdk/sky130A/libs.tech/magic/sky130A.magicrc /openlane/scripts/magic/gds_pointers.tcl </dev/null |& tee >&@stdout /project/openlane/user_project_wrapper/runs/user_project_wrapper/logs/finishing/20-gds_ptrs.log"                                                       
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child killed: kill signal

from riscduino.

dineshannayya avatar dineshannayya commented on August 15, 2024

@Sya0 I don't know if this issue related to latest openlane tools. you may need to get help from openlane team.

As you see some of the tool update breaks project .. periodically i check for working openlane docker and clone it to riscdino/openlane

from riscduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.