-
Notifications
You must be signed in to change notification settings - Fork 22
cn0577_adaq2387x: Add testbench #241
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
base: main
Are you sure you want to change the base?
Conversation
|
To be tested with analogdevicesinc/hdl#1870 |
8138e90 to
8979778
Compare
8979778 to
d7b9d72
Compare
a72fa8b to
4bad4c0
Compare
4bad4c0 to
e8aaf6e
Compare
af9bb89 to
3041862
Compare
3041862 to
c5eca49
Compare
|
To be used with the HDL main branch. |
|
Converting the testbench to draft since the cn0577 HDL reference design will be updated here: analogdevicesinc/hdl#1919 This will cause the testbench to fail because of the following modification:
Solution:
|
Resolved in 176ab82 |
Signed-off-by: Stanca Pop <[email protected]>
Signed-off-by: Stanca Pop <[email protected]>
Signed-off-by: Stanca Pop <[email protected]>
a5b8a38 to
621d181
Compare
Signed-off-by: Stanca Pop <[email protected]>
Signed-off-by: Stanca Pop <[email protected]>
Signed-off-by: Stanca Pop <[email protected]>
| delete_bd_objs [get_bd_nets sys_200m_clk] | ||
|
|
||
| ad_disconnect sys_200m_clk axi_ltc2387/delay_clk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build fails in this current state, the sys_200m_clk net cannot be disconnected since it has been deleted prior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please specify the variable names on function calls, similar to method instantiations when connecting the signals.
.<variable>(<value/variable>)
IstvanZsSzekely
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation related change request.
| transfer_cnt = 0; | ||
| forever begin | ||
| @(posedge cnv); | ||
| if (transfer_status) begin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix indentation.
| dco_p <= #(DCO_DELAY * 1ns) dco_init; | ||
| dco_n <= #(DCO_DELAY * 1ns) ~dco_init; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix indentation
| dco_p <= #(DCO_DELAY * 1ns) dco_init; | ||
| dco_n <= #(DCO_DELAY * 1ns) ~dco_init; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation
| //ltc2387_common_api.sanity_test(); | ||
| dmac_api_inst.sanity_test(); | ||
| pwm_gen_api_inst.sanity_test(); | ||
| `INFO(("Sanity Tests Done"), ADI_VERBOSITY_LOW); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation
| bit [31:0] config_wr_SIMPLE = 'h0; // write request sent result | ||
| bit [31:0] config_SIMPLE = 'h0; // channel static data setup | ||
|
|
||
| task data_acquisition_test(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation
Signed-off-by: Stanca Pop <[email protected]>
Signed-off-by: Stanca Pop <[email protected]>
PR Description
Add testbench support for cn0577 & adaq2387x.
PR Type
PR Checklist