Skip to content

Error messages found with the new generic circuit feature #628

Answered by hneemann
lhcwha asked this question in Q&A
Discussion options

You must be logged in to vote
  1. If you want to add a custom component, you have to use the name including the ".dig": addComponent("My-ADD.dig",10,10);
  2. The generic code section of custom components cannot change the component itself. Maybe I should add this, but it doesn't seem necessary. Moreover, it would cause problems because the code executed could overwrite itself. Instead, this section is used to create the parameterization of the embedded circuit itself.
    If an embedded circuit needs parameters (which should always be the case since otherwise a generic circuit would have no sense), they are defined here.
    For example, if the parameter "args.bitWidth" is used in a generic circuit, it can be defined in the embeddin…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lhcwha
Comment options

Answer selected by hneemann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants