Giter VIP home page Giter VIP logo

Comments (4)

olofk avatar olofk commented on July 23, 2024

Have you seen the support for loading arbitrary tcl files by setting the file type to tclSource ? There's an example of how this is used for the ISE backend to set a TCL command that turns on a different HDL parser in this target with the use of apf27/options.tcl

Would that help in your case?

from edalize.

GCHQDeveloper560 avatar GCHQDeveloper560 commented on July 23, 2024

I believe I've seen that before and promptly forgot so thanks for the reminder! I think that will work for this case.

Unfortunately I'd already gotten ahead of myself! See GCHQDeveloper560/edalize@43a3620. The second commit adding this feature is probably not useful. However, the first commit (0728f4d) just converts the existing behaviour to a template. I put it out there in case you think it's a little cleaner than the TCL approach, but it probably just exchanges messy TCL for messy Jinja. I'm fine with taking the change or leaving it!

from edalize.

olofk avatar olofk commented on July 23, 2024

Have you had the chance to check if using tclSource helps with your case?

Regarding the TCL to jinja conversion I'm still undecided. I have not had a purely positive experience of converting to jinja so I'm kind of leaning towards keeping the TCL as is. But now I know where to find a patch if I was to change my mind

from edalize.

GCHQDeveloper560 avatar GCHQDeveloper560 commented on July 23, 2024

Using tclSource works for me, and I'm fine with leaving the TCL out of Jinja if that's your preference.

from edalize.

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.