Skip to content

HDLConverter - Project Issue in parsing assign statement #198

@nitinhariharan

Description

@nitinhariharan

I'm working on a project using the HDLConverter , and so far, it has worked well. However, I'm facing an issue with the following statement:

Statement:

always_comb complex_signal.ready = complex_module.signal_ready;
Given Output:

{
"class": "HdlStmProcess",
"body": {
"class": "HdlOp",
"fn": "ASSIGN",
"ops": [
"complex_signal",
{
"class": "HdlOp",
"fn": "DOT",
"ops": [
"complex_module",
"signal_ready"
]
}
]
},
"labels": [],
"trigger_constrain": "COMB"
}
Error: The DOT operation for complex_signal is missing. The complex_signal.ready should be included in the DOT operation.

Expected Output:

{
"class": "HdlStmProcess",
"body": {
"class": "HdlOp",
"fn": "ASSIGN",
"ops": [
{
"class": "HdlOp",
"fn": "DOT",
"ops": [
"complex_signal",
"ready"
]
},
{
"class": "HdlOp",
"fn": "DOT",
"ops": [
"complex_module",
"signal_ready"
]
}
]
},
"labels": [],
"trigger_constrain": "COMB"
}
Could you please look into this and fix it? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions