ipbus / ipbb

IPbus Builder Tool
GNU General Public License v3.0
12 stars 12 forks source link

Setting sim.library #165

Closed thesps closed 2 years ago

thesps commented 2 years ago

I found that setting @sim.library = 'xil_defaultlib' in the dep file has no effect, the default simulation library remains work.

I think the issue is that this line:

SimLibrary = lDepFileParser.settings.get('{_toolset}.library', 'work')

should rather be:

SimLibrary = lDepFileParser.settings.get(f'{_toolset}.library', 'work')

(missing f for f-string formatting).

alessandrothea commented 2 years ago

Ouch. Used to work, I wonder where I lost that f...

alessandrothea commented 2 years ago

Fixed in thea/bugfix_simlibrary, hopefully

thesps commented 2 years ago

I finally got around to trying out thea/bugfix_simlibrary, and it's fixed the issue, thanks!