Coder Social home page Coder Social logo

What is the file_type for SDF file about fusesoc HOT 2 OPEN

desorya avatar desorya commented on August 22, 2024
What is the file_type for SDF file

from fusesoc.

Comments (2)

olofk avatar olofk commented on August 22, 2024

The VCS backend doesn't have support for SDF files yet.

I'm not a VCS user myself, but perhaps I can suggest a workaround. If you set file_type : user and also copyto : .. This will copy the SDF file to your work directory. If there is also some command-line option for loading SDF files, you can put that in vcs_options.

Best would of course be to have SDF directly supported, but someone needs to implement that.

from fusesoc.

desorya avatar desorya commented on August 22, 2024

The function that VCS uses to load the sdf file is $sdf_annotate() which only accepts string literal as input. If we use relative path as input, a FileNotFound error will be triggered because the fusesoc collects the source files and copy and put them into a new folder basing on the orders of the core file, which will disrupt the relative positions of the files.
In this case, we have to either use absolute path or add sdf file(with .gz surfix) into .core file and create a proper reference. In many cases, using absolute path is not a good choice because the path will vary from user and needs to be modified frequently. Including the sdf file in the .core file and referencing it in the tb should be a better approach, but the question here is how should we achieve that?

from fusesoc.

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.