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

Implement %{ }% #41

Closed
rachitnigam opened this issue Dec 3, 2018 · 3 comments
Closed

Implement %{ }% #41

rachitnigam opened this issue Dec 3, 2018 · 3 comments
Assignees

Comments

@rachitnigam
Copy link
Member

%{ stmts }% allows the program to recover the capabilities for arrays and imply that a sequence of statements are executed on a different clock cycle. Implementing this for now requires changing the capability checking and type checker.

This program is valid:

%{ a[i] := c[i] + 1 }%
%{ b[i] := 2 * a[i] }%
@rachitnigam rachitnigam self-assigned this Dec 3, 2018
rachitnigam added a commit that referenced this issue Jan 31, 2019
rachitnigam added a commit that referenced this issue Jan 31, 2019
@rachitnigam rachitnigam mentioned this issue Jan 31, 2019
9 tasks
@rachitnigam
Copy link
Member Author

Subsumed by #51

rachitnigam added a commit that referenced this issue Feb 6, 2019
@sa2257
Copy link
Collaborator

sa2257 commented Mar 2, 2019

Hi, unsure in which issue I should request this clarification.

I presume this is the initial discussion on the serial operator ---

Is the serial operator intended to sequence memory operations into different clock cycles?

It's not the same notion of sequencing between the combine operator scopes I presume?

let x = 1;
let y = x;

This doesn't need sequencing with ---, does it?

@rachitnigam
Copy link
Member Author

rachitnigam commented Mar 2, 2019

Yes. Both of them are local variables so we don’t consume any banks in reads or writes.

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

No branches or pull requests

2 participants