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

Add oscillator to chipdb #97

Merged
merged 4 commits into from
Mar 31, 2022
Merged

Add oscillator to chipdb #97

merged 4 commits into from
Mar 31, 2022

Conversation

tpambor
Copy link
Contributor

@tpambor tpambor commented Mar 27, 2022

No description provided.

elif device == 'GW1NS-4':
bel.portmap['OSCEN'] = "D6"
elif device == 'GW1NZ-1':
bel.portmap['OSCEN'] = "A6"
Copy link
Member

Choose a reason for hiding this comment

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

maybe have a look if these portmaps are in the dat file. Would make it a lot more clean and portable.

Copy link
Contributor

Choose a reason for hiding this comment

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

I searched for 44 and 51 at same offset in NSR-4C and NZ-1 dat files and didn't found them. So it seems it is not in dat file.

elif device == 'GW1N-1':
bel = osc.setdefault(f"OSCH", Bel())
else:
raise Exception(f"Oscillator not yet supported on {device}")
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we could tell from the fse tables which type of oscillator the device has?

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.

3 participants