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 Rewrite Rule construction from a peak simulation function (which uses multiple PEs) #4

Open
rdaly525 opened this issue Mar 13, 2019 · 1 comment

Comments

@rdaly525
Copy link
Owner

rdaly525 commented Mar 13, 2019

It would be great to specify something like the following as a Rewrite rule (or library function)

def FMA(a : Data, b : Data, c : Data):
   x = PE(Inst.Mul,a,b)
   y = PE(Inst.Add,x,c)
   return y
@rdaly525
Copy link
Owner Author

@leonardt, I think this should be possible using your RTL generation capabilities? I would want the output to be an FMA module that instantiates 2 PE's configured appropriately (Inst.Mul, and Inst.Add).

Do you think something like this is possible?

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

1 participant