-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Does this lib support to parser a module nestedly? #121
Comments
The tool read hdl source file and fill a structure available to user. Surlog has such feature. |
You mean such job need to be done by users themselves using this lib? And the lib hasn't such feature now? And what is the meaning of surlog? |
https://github.com/alainmarcel/Surelog , they do have elaboration partially implemented, in hdlConvertor the elaboration is possible, but users do have to implement it themself, I do have some elaboration engine but I would like to tune it up a little bit before someone else relying on it. I do have several tasks which I do have to do first however. |
I am not sure what do you mean, yes instances in modules are parsed, but they are instances and original module is a different. The module is object accessible by name in top name scope. Maybe try to explain what you are trying to do. |
Your previous understanding is right. I would like to know whether I could use your lib to elaborate a design, not just parser a module. |
Tricky thing about elaboration is that in most of the cases is required only to evaluate some expressions. However in order to do a full elaboration we need to implement all build-in functions, special properties, atributes, casts and datatypes.On top of that all the usual compiler stuff like dead code elimination, loop unroling and many others. I mean the complete solution is full blown compiler, but in most of the cases simple script would do. |
If only elaborating a RTL design, is it much easier than what you said above? |
I think if this lib is gonna support elaborate, it would need to be modified in somewhere, for example, class HdlComponentInst perhaps needs to link its module definition. |
The name symbol (HdlValueId) does support that
|
I hope the question was answered, let's have only issue #96 to talk about elaboration. |
OK, if I have any question about elaboration, I will follow this issue. |
Hi Nic,
I have got this lib working after your help. But now I have a further question: does it support to parser a module nestedly until it reaches the deepest level of this module?
The text was updated successfully, but these errors were encountered: