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 when generic circuit is set to Layout shape #1211

Open
kendfrey opened this issue Oct 6, 2023 · 0 comments
Open

Error when generic circuit is set to Layout shape #1211

kendfrey opened this issue Oct 6, 2023 · 0 comments
Labels

Comments

@kendfrey
Copy link

kendfrey commented Oct 6, 2023

Steps to reproduce

  • Create a generic circuit (see generic-layout-bug.zip)
  • Set the circuit's shape to Layout
  • Try to embed the circuit in another circuit

Expected behaviour

The component renders with the "layout" shape.

Actual behaviour

The component generates an error something like:

Shape generic-layout-bug.dig is missing
Error in the evaluation of the generic code of the circuit. Code this.Bits = args.bits;
Value 'bits' is not available in the struct!; line 1

image

@hneemann hneemann added the bug label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants