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

ERROR: Unable to place cell: no Bels remaining of type 'MMCME2_ADV_MMCME2_ADV' #27

Open
MJoergen opened this issue Jan 2, 2021 · 2 comments

Comments

@MJoergen
Copy link

MJoergen commented Jan 2, 2021

I run the command

/home/mike/git/daveshah1/nextpnr-xilinx/nextpnr-xilinx --chipdb /home/mike/git/daveshah1/nextpnr-xilinx/xilinx/xc7a100t.bin --xdc src/queens_top.xdc --json queens.json --write queens_routed.json --fasm queens.fasm

but the command fails quickly with the error:

ERROR: Unable to place cell 'i_clk_wiz_0.u0.mmcm_adv_inst', no Bels remaining of type 'MMCME2_ADV_MMCME2_ADV'

I've used the Clocking Wizard in Vivado to generate a VHDL file that instantiates the MMCME2_ADV.

In the json file I see the instantiation as:

        "i_clk_wiz_0.u0.mmcm_adv_inst": {
          "hide_name": 0,
          "type": "MMCME2_ADV",
          "parameters": {

and the instance itself is declared as:

    "MMCME2_ADV": {
      "attributes": {
        "blackbox": "00000000000000000000000000000001",
        "src": "/usr/local/bin/../share/yosys/xilinx/cells_xtra.v:7933.1-8027.10"
      },

I've attached the json file.

queens.json.gz

@daveshah1
Copy link
Collaborator

Back when I was working on nextpnr-xilinx, prjxray only supported the PLL and not the MMCM. I don't know whether that is still true but it's how things are currently.

@MJoergen
Copy link
Author

MJoergen commented Jan 2, 2021

Ok, thanks for the reply.

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