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: scale issue in session #27

Merged
merged 4 commits into from
Nov 21, 2024
Merged

fix: scale issue in session #27

merged 4 commits into from
Nov 21, 2024

Conversation

imrishabh18
Copy link
Member

@imrishabh18 imrishabh18 commented Nov 21, 2024

  • adds unit test
  • adds debug utils
  • fix scaling issue

@@ -18,7 +18,8 @@ export function convertCircuitJsonToDsnSession(
const source_ports = su(circuitJson as any).source_port.list()
const nets = su(circuitJson as any).source_net.list()

const transformMmToDsnUnit = scale(1000)
// Only applies to the traces (components are not getting affected)
const transformMmToSesUnit = scale(10000)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the change needed

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GREAT WORK!!!!

@imrishabh18 imrishabh18 merged commit c9a2a34 into main Nov 21, 2024
3 checks passed
@imrishabh18 imrishabh18 deleted the fix/scale-issue-in-session branch November 21, 2024 18:34
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