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

Shaping time configuration #12

Open
artlbv opened this issue Sep 25, 2018 · 2 comments
Open

Shaping time configuration #12

artlbv opened this issue Sep 25, 2018 · 2 comments

Comments

@artlbv
Copy link
Member

artlbv commented Sep 25, 2018

Arnaud found that the shaping time of 35 [ns] does not change the default skiroc2cms config wheres the default should be 40. To be verified.

@artlbv
Copy link
Member Author

artlbv commented Sep 26, 2018

In here:

def set_lg_shaping_time(self,stime):
word=stime/5
for i in range(0,4):
bit=(word>>i)&1
self.bits[365-4+i]=bit
def set_hg_shaping_time(self,stime):
word=stime/5
for i in range(0,4):
bit=(word>>i)&1
self.bits[359-4+i]=bit

For LG: self.bits[365-4+i]=bit
For HG: self.bits[359-4+i]=bit

These positions are correct.

@artlbv
Copy link
Member Author

artlbv commented Sep 26, 2018

@asteencern found that the shaping time inversely ordered int the config, i.e. LSB to MSB and not vice versa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant