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

Should the version numbers in the CoreList be the same as the version registers? #104

Open
JohnHay opened this issue Nov 18, 2023 · 3 comments
Assignees

Comments

@JohnHay
Copy link

JohnHay commented Nov 18, 2023

Should the version number in the CoreList match the number in the Version register of that core? There are some that are different.

timecard0: CoreList 0x10000, register 0x10001, TC SMA Selector Inst0 Slave1
timecard0: CoreList  0x10000, register 0x10001, TC SMA Selector Inst0 Slave2
timecard0: CoreList  0x20001, register 0x20002, TC ToD Slave

I looks like TodSlave.vhd has a different version number (0x20003) from the above 2 ToD version numbers:

constant TodSlaveMajorVersion_Con               : std_logic_vector(7 downto 0) := std_logic_vector(to_unsigned(0, 8));
constant TodSlaveMinorVersion_Con               : std_logic_vector(7 downto 0) := std_logic_vector(to_unsigned(2, 8));
constant TodSlaveBuildVersion_Con               : std_logic_vector(15 downto 0) := std_logic_vector(to_unsigned(3, 16));
@thschaub
Copy link
Collaborator

Yes, that's the idea but at the moment it's manual work and therefore the potential high to miss the update in the CoreList as well.
It's fixed in a903680

@thschaub thschaub self-assigned this Nov 21, 2023
@JohnHay
Copy link
Author

JohnHay commented Nov 21, 2023

Thank you. :-)

Currently my driver compare them in the attach routine and print a message to the console if there is a difference.

@JohnHay
Copy link
Author

JohnHay commented Nov 23, 2023

I have now loaded the version 9 LitePcie firmware and still see a version mismatch on the SMA Selector. It is not an issue for me, so you do not have to bring out a new version just for that. I just thought I'll mention it for when you next bring out a new version:

timecard0: CoreList 0x10000, register 0x10001, TC SMA Selector Inst0 Slave1
timecard0: CoreList 0x10000, register 0x10001, TC SMA Selector Inst0 Slave2

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

No branches or pull requests

2 participants