Git Product home page Git Product logo

Comments (24)

mguthaus avatar mguthaus commented on July 21, 2024

Thanks, we are aware of this issue and it will be fixed in an upcoming release very soon.

We have separated the data bus into separate din and dout ports so the OEb is no longer necessary but was not removed from the verilog.

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Excellent, thank you! So I'll simply remove this OEb port from my verilog.

Another issue is related. Yosys fails to parse the liberty output in current format:
pin(DOUT0[63:0]){ ... }

My workaround is to remove brackets [63:0] and leave pin (DOUT0) {...}. Please remove this from your scripts as well

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Thank you. Waiting forward working with your next release. Any contributions required ?

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

@mguthaus Yosys parses the *.lib files if you remove bus widths from pin descriptions :
pin(DOUT0[63:0]){ ... } -> pin(DOUT0){ ... }

I also made a verilog wrapper for your memories to match lib files. I was able to synthesize it with an updated lib file in Yosys.

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Pls leave your comment here too: https://www.reddit.com/r/yosys/comments/a4ovm6/liberty_syntax_support/

I'm working with Tim now. No problems in qflow with that. I don't have access to commercial tools, so pls check on your own or give me access to your tools for test purposes.

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

I confirm that updated *.lib file works seamlessly with opensta. Synthesized, checked.
Please, follow my feedback and remove bus width in the next release.

Here's my wrapper for your SRAM. Feel free to update your verilog output as well

Thank you!

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

I synthesized your SRAM with my verilog wrapper and run the opensta script to obtain timing report. I used OSU035 with a 10ns clock, which yielded in a 9.86ns slack. Do you want to get my scripts ?

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

If you think it is the Yosys issue, pls feel free to open a RFC for this in the Yosys repo. If you want to double check my scripts, let me know. I'll share

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Pls check here

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Any follow up questions? Should I close this issue ?

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Happy New Year! Any news?

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

tetra12 avatar tetra12 commented on July 21, 2024

Sounds great. Let me know if I can contribute in this project. I can do testing, validation, integration and verification, since I use your stuff in my commercial project.

If you have an idea, let me know

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

I finally got to trying this out in Library Compiler and it fails without these bus notations.

Reading '/home/mrg/OpenRAMLibrary/deliverables/freepdk45/2019-02-21/sram_8b_512_1rw_freepdk45/sram_8b_512_1rw_freepdk45_TT_1p0V_25C.lib' ...
Error: Line 96, Cell 'sram_8b_512_1rw_freepdk45', bus 'DIN0', Invalid bus syntax is detected in 'DIN0'. (LBDB-176)
Error: Line 135, Cell 'sram_8b_512_1rw_freepdk45', bus 'DOUT0', Invalid bus syntax is detected in 'DOUT0'. (LBDB-176)
Error: Line 169, Cell 'sram_8b_512_1rw_freepdk45', bus 'ADDR0', Invalid bus syntax is detected in 'ADDR0'. (LBDB-176)

Unfortunately, I will need to add them back and we should fix Yosys.

from openram.

mguthaus avatar mguthaus commented on July 21, 2024

This issue was coincidentally opened 4 hours ago for Yosys:
YosysHQ/yosys#825

from openram.

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.