Skip to content

CONVERSION ERROR #966

Open
Open
@Fuhj-better

Description

@Fuhj-better

Hello,
Is this syntax not supported?
Here is the code:

              integer i;
line 239   for (i = 0; i < N; i = i + 1)
          	if (i == 0)
				{co[i],sum[i]} = half_adder(a[i],b[i]);
			else
				{co[i],sum[i]} = full_adder(a[i],b[i],co[i-1]);

And here is the error message:

line 239: unknown identifier i
CONVERSION ERROR

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions