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

New platform creates #75

Closed
zignig opened this issue Jun 2, 2019 · 1 comment
Closed

New platform creates #75

zignig opened this issue Jun 2, 2019 · 1 comment

Comments

@zignig
Copy link
Contributor

zignig commented Jun 2, 2019

When generating the platform, it creates signals with double underscores and ignores the resource

zignig@noid:/opt/FPGA/nmigen/examples$ python blinky.py
Warning: net 'clk3p3_0_io' does not exist in design, ignoring clock constraint

in build/top.il

  attribute \src "/usr/local/lib/python3.6/dist-packages/nmigen/build/res.py:137"
  wire width 1 input 0 \clk3p3_0_io

and then

  wire width 1 \clk3p3_0__i
  attribute \src "/usr/local/lib/python3.6/dist-packages/nmigen/hdl/rec.py:98"
  wire width 1 $next\clk3p3_0__i
  process $group_0
    assign $next\clk 1'0
    assign $next\clk \clk3p3_0__i
    sync init
    sync always
      update \clk $next\clk
  end
@whitequark
Copy link
Contributor

Duplicate of #71. Update nextpnr.

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

No branches or pull requests

2 participants