Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attribute points #340

Merged
merged 5 commits into from
Jan 4, 2021
Merged

Add attribute points #340

merged 5 commits into from
Jan 4, 2021

Conversation

rachitnigam
Copy link
Contributor

@rachitnigam rachitnigam commented Jan 4, 2021

Add attribute points for components, cell declarations, and port definitions:

import "primitives/core.futil";
component main<"static"=1>(@stable(1) @go_port(1) in: 32) -> (@stable(0) out: 32) {
  cells {
    @precious(1) out = prim std_reg(32);
    le = prim std_le(32);
  }
  wires {
    group cond<"stable"=1> {
      cond[done] = 1'd1;
    }
  }
  control {
  }
}

Fixes #311.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attributes everywhere
1 participant