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 support for the kintex/virtex high performance banks #2046

Merged
merged 13 commits into from
Nov 24, 2022

Conversation

hansfbaier
Copy link
Collaborator

Signed-off-by: Hans Baier hansfbaier@gmail.com

@hansfbaier hansfbaier force-pushed the k7-iob18 branch 2 times, most recently from fa4a422 to b5ba99e Compare November 11, 2022 21:54
@hansfbaier
Copy link
Collaborator Author

@kgugala @mkurc-ant Any ideas why the kintex job was aborted?

@pgielda
Copy link

pgielda commented Nov 12, 2022

I am guessing 6h timeout?

@hansfbaier hansfbaier force-pushed the k7-iob18 branch 2 times, most recently from 35b196d to fe28004 Compare November 14, 2022 03:14
@hansfbaier
Copy link
Collaborator Author

hansfbaier commented Nov 14, 2022

@pgielda @mithro @kgugala Unfortunately it seems that kintex7 really needs that much time. I tried reducing the ROI, but then 025-bram-config fails complaining it has not enough BRAM instances in the ROI. What should I do now?

@pgielda
Copy link

pgielda commented Nov 14, 2022

FYI @tmichalak

@tmichalak
Copy link
Contributor

@hansfbaier the default timeout for a job, before GitHub cancels it, is 360 minutes, which is exactly what seems to happen here.
You can change that using timeout-minutes per job or step - in your case using that in the run tests step should solve the problem.

@kgugala
Copy link
Contributor

kgugala commented Nov 14, 2022

hmm, looks like the timeout setting was ignored?

@tmichalak
Copy link
Contributor

Looks to me that the timeout-minutes was added to the 'Build' step while the step that times out is the run test step. @hansfbaier

@hansfbaier
Copy link
Collaborator Author

@kgugala @tmichalak Yes I added it to the wrong step. Thanks!

@hansfbaier
Copy link
Collaborator Author

@tmichalak Now I have it on 'Run Tests' but unfortunately it did not work.

@hansfbaier
Copy link
Collaborator Author

Looks like we have reached a hard limit on GitHub here
image
To have a job running more than 6 hours, we would need to have a self hosted agent, see
https://stackoverflow.com/questions/68187987/github-actions-job-timeout

@hansfbaier hansfbaier force-pushed the k7-iob18 branch 2 times, most recently from aa56b16 to 776e749 Compare November 15, 2022 11:31
@kgugala
Copy link
Contributor

kgugala commented Nov 15, 2022

@hansfbaier the CI here is run in custom runners

@kgugala
Copy link
Contributor

kgugala commented Nov 15, 2022

timeout seems to be working. Kintex job is now running for 7h

@hansfbaier
Copy link
Collaborator Author

@kgugala Great! Moving the timeout configuration into the parent element did the trick!

@hansfbaier
Copy link
Collaborator Author

@kgugala It looks like some of the other series tests are flickering. Race condition?

@kgugala
Copy link
Contributor

kgugala commented Nov 16, 2022

there might be some instabilities - in general fuzzers, by nature, random so sometimes we hit a case where the flow fails unexpectedly

@hansfbaier
Copy link
Collaborator Author

hansfbaier commented Nov 17, 2022

Ah, the 037-iob18-pips fuzzer does not terminate, the todo's do not vanish:

RIOI.IOI_ODELAY0_CLKIN.IOI_OCLK_0
RIOI.IOI_ODELAY1_CLKIN.IOI_OCLK_1
RIOI.RIOI_O0.RIOI_ODELAY0_DATAOUT
RIOI.RIOI_O0.RIOI_OLOGIC0_OQ
RIOI.RIOI_O1.RIOI_ODELAY1_DATAOUT
RIOI.RIOI_O1.RIOI_OLOGIC1_OQ

These are the unsolved TODOs so far.
I probably need to understand if they are necessary.
Any thoughts?

@hansfbaier
Copy link
Collaborator Author

Great! All the fuzzers ran successfully now, only checkdb still reports collisions. Got to figure those out.

@hansfbaier hansfbaier force-pushed the k7-iob18 branch 2 times, most recently from 63ecbb5 to ecdac01 Compare November 21, 2022 20:53
@hansfbaier
Copy link
Collaborator Author

hansfbaier commented Nov 22, 2022

@tmichalak Kintex is green!! Artix and Spartan seem to have their usual flickers. The changes should have no effect whatsoever on those, since I only changed the bitfilters in the iob18 fuzzers, which only run for Kintex.

I also tested the IO banks with this blinky: https://github.com/kintex-chatter/demo-projects/tree/main/blinky-stlv7325

VID_20221122_110518.mp4

The blinky uses a differential clock input, a single ended button and LED and two differential LEDs, all connected to the high performance banks.

@hansfbaier hansfbaier changed the title WIP add support for the kintex high performance banks add support for the kintex high performance banks Nov 22, 2022
@hansfbaier
Copy link
Collaborator Author

My newly commited conditional in a Makefile might fail for non kintex. Will look into it tomorrow. Will be a trivial fix. Kintex is redy for review nevertheless.

@hansfbaier
Copy link
Collaborator Author

hansfbaier commented Nov 23, 2022

Another Makefile needs the same adjustment. Also, fuzzers/036-iob18-ologic/bits.dbf and fuzzers/035a-iob18-idelay/bits.dbf I have just copy and pasted. Should this be empty by default? Is the fileformat documented somewhere?

@tmichalak
Copy link
Contributor

@hansfbaier the .dbf is for zero groups filtering and it can be empty by default. You can find a short documentation for this format here

Copy link
Contributor

@tmichalak tmichalak left a comment

Choose a reason for hiding this comment

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

Please update the date in the license headers in the new files you're adding e.g. 2017-2022

fuzzers/030-iob18/README.md Show resolved Hide resolved
@tmichalak
Copy link
Contributor

@hansfbaier CI is indeed green. Just had a two small comments. Other than that LGTM.

@hansfbaier
Copy link
Collaborator Author

@tmichalak Thank you, will tidy up tomorrow!

Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
…e where it fails

Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
…nnot solve (yet)

Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
…al to Kintex

Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
…/bits.dbf

Signed-off-by: Hans Baier <hansfbaier@gmail.com>
@hansfbaier
Copy link
Collaborator Author

@tmichalak I applied your review notes and rebased to master. Concerning the .dbf files I removed/adjusted the parts which are obviously not applicaple, but kept the rest of the bits, because in the fuzzer results it looks like the same frame range is used and thus I suspect by default that the changes are valid, especially as some of the io logic fuzzers gave identical results to the high range bank fuzzers so that I actually deleted them and just copied their bits over.

@hansfbaier
Copy link
Collaborator Author

hansfbaier commented Nov 24, 2022

@tmichalak It is green again. Except Artix, but that seems to be that flickering timeout in the fuzzer 065b-gtp-common-pips again

2022-11-23T22:21:04.8795880Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: + '[' -f /root/prjxray/prjxray/fuzzers/065b-gtp-common-pips/build_xc7a200tffg1156-1/todo/timeout ']'
2022-11-23T22:21:04.8796540Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: + echo 'ERROR: timeout'
2022-11-23T22:21:04.8797097Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: + exit 1
2022-11-23T22:21:04.8797705Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: make[2]: *** [../pip_loop.mk:68: run] Error 1
2022-11-23T22:21:04.8798403Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: 
2022-11-23T22:21:04.8799154Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: --------------------------------------------------------------------------
2022-11-23T22:21:04.8799847Z 22:21:04 | 2022-11-23T22:21:04 - xc7a200tffg1156-1/065b-gtp-common-pips      - 1h56m: !Failed! @ 2022-11-23T22:21:04.581598 with exit code: 2

Is there an issue for that fuzzer?

@hansfbaier hansfbaier changed the title add support for the kintex high performance banks add support for the kintex/virtex high performance banks Nov 24, 2022
@tmichalak tmichalak merged commit 86e0942 into f4pga:master Nov 24, 2022
@tmichalak
Copy link
Contributor

@hansfbaier nice work. Thanks a lot !

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.

4 participants