Closed Krym4s closed 2 months ago
Are you using master or the 5.0 release? Support for configurations was added after 5.0 was released.
Hello, we run this example on the master branch.
Code example was slightly changed.
You need to tell slang to use the configuration, so something like slang top.v --libmap=lib.map --top cfg
Thank you, everything is working now.
If several files have modules with similar names, slang cannot distinguish it and inline it in elaborated model. This problem is related to 33.6 chapter of LRM.
Example:
Module top in code above should find module adder in library aLib and different module adder in gateLib. Slang finds both module definition, but have problem with building elaborated model and throws an error.