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

No support for clock gating #48

Open
kunalg123 opened this issue Nov 12, 2019 · 4 comments
Open

No support for clock gating #48

kunalg123 opened this issue Nov 12, 2019 · 4 comments
Assignees

Comments

@kunalg123
Copy link

openmsp430.tar.gz

Hi
I kept entire flow constant, except that I am using a new design, just to test the flow. Attaching design above.

Actually, I downloaded this design from opencores.org, modified omsp_clock_gate.v to point to CLKGATETST_X1 and ran make commands

It works well till CTS, but "make route" gives below error:
ERROR: pin 17760/CK is connected to more than one net
make: *** [results/nangate45/openMSP430/route.guide] Error 255

Can you please take a look?

The goal here was to review how does it infer and place clock gates. Since yosys was not able to infer clock gates, I did the above modification (while I also requested reddit yosys to help on how to infer clock gates)

Thanks

@tajayi
Copy link
Contributor

tajayi commented Nov 13, 2019

Hi @kunalg123,
Unfortunately, the current version of our CTS tool has a few limitations. It only supports a single clock net that must be driven directly by a top level port (i.e. no clock gates, or buffers in between)

@kunalg123
Copy link
Author

I see
Should I keep this issue open to track clock gating?

@tajayi
Copy link
Contributor

tajayi commented Nov 13, 2019

Actually let's keep this open pending when we publish the a "Known Isssues" or Limitations document that explicitly mentions this

@tspyrou
Copy link
Contributor

tspyrou commented Nov 25, 2019

We are also working on a new version of CTS. I would like to see it tried on this example when it is ready.

@tajayi tajayi changed the title Trying new design on nangate45, routing fails No support for clock gating Dec 2, 2019
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

4 participants