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

Fix bug that missing 'macro_type' #64

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ZhuLinsen
Copy link

  • Reports error in FormatTranslators.py when running python test2.py:

    File "FormatTranslators.py", line 734, in ReadNetFile
    self.insts[inst_name].AddInputPin(MacroPin(pin_name, inst_name, offset[0], offset[1]), "MACRO")
    TypeError: init() missing 1 required positional argument: 'macro_type'

  • Fix: Adds Marco type parameter when calling MacroPin function.

  • The bug is similar to issue FormatTranslators #39.

    File "FormatTranslators.py", line 734, in ReadNetFile
    self.insts[inst_name].AddInputPin(MacroPin(pin_name, inst_name, offset[0], offset[1]), "MACRO")
    TypeError: __init__() missing 1 required positional argument: 'macro_type'

- Fix: Adds Marco type parameter when calling MacroPin function.

- The bug is similar to issue TILOS-AI-Institute#39.

Signed-off-by: mumu <[email protected]>
@KyleJeong
Copy link

I met same errors.. and fixed same as @ZhuLinsen did.

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

Successfully merging this pull request may close these issues.

2 participants