blarney-lang/blarney

NameBits question

Closed this issue · 2 comments

ret commented

Q: I was hoping to use the NamBits example to influence signal names to simplify debugging .vcd files. Unfortunately, the "AAA" and "BBB" strings used in the example do not show up in the top.v file.

Is this intentional? Is there maybe an option I need to enable to influence the signal naming via hints.

Hi @ret,

This is not intentional indeed, as the desired behaviour is the one you'd expect :). We are aware of this not currently being in a working state and are looking into it. There is a separate branch to handle names and try to infer good ones automatically, which is where most ongoing work on naming is happening. Hopefully, we'll converge on a stable, working solution soon.

Thank you for your comment!

Hi again @ret,

For what it is worth, I forgot to mention this last time, but we find using display gets us quite a long way when it comes to debugging. Maybe this approach can be of some help to you on top of using .vcd?
In any case, commit 86ffc6c should help you out (it should let things behave the way they should as far as names are concerned).
As previously mentioned, we hope to provide some more features relating to naming eventually, so keep an eye out, maybe useful things will pop up.

I'll close the issue now. Do reopen it if you think we've missed something relevant there.
Thanks again!