I have reviewed the top level code at https://github.com/parallella/oh and have a couple of questions. Thought I would start a new thread to capture any such discussions in the future, thus the simple subject line!
I was particularly interested in the emailbox part of the design and looked for a test to verify the operation of that. My question: is there a set of test.memh files that people have used to test out various parts of the design? The one published in github is for the burst transfers, perhaps there are others not yet published that might make up a design verification test run.
The top level elink verification script seems to have three main paths (test.memh data -> model_fifo -> elink_ref, test.memh data -> axi_fifo -> tx_emaxi -> axi_elink & loopback via emem2, test.memh data -> elink0 -> elink1 & return via emem). Only one of these paths returns dut_packet data to the top level.. not looked yet at the emesh_monitor.. the comments in emaxi tx_emaxi indicate that the txrr return data is not yet monitored. My question: is there a description (ie a paragraph or two) anywhere of the end goal for the tests for these three paths?
The simulation I ran seem to work quite well except that at about 2us into the simulation several of the signals go undefined that then results in things grinding to a halt... Seems to be caused because in erx_io the sampling is not correctly initialized...rx_sample is never zero'ed in reset.. could be fixed by using erx_io_reset to clear the rx_sample... but this type of thing must have been part of the original elink.. so perhaps I have this wrong. Oh! Too many questions I know!
Peter.