-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
AD7616: Add AXI ADC support #1477
Conversation
cfd86f8
to
365cdd3
Compare
library/axi_ad7616/axi_ad7616_pif.v
Outdated
@@ -67,7 +82,7 @@ module axi_ad7616_pif #( | |||
input rd_req, | |||
input wr_req, | |||
input [15:0] wr_data, | |||
output reg [15:0] rd_data, | |||
output reg [15:0] rd_data = 'ha1b2, |
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.
Remove / fix initialization
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.
Done.
library/axi_ad7616/axi_ad7616_pif.v
Outdated
@@ -96,10 +111,20 @@ module axi_ad7616_pif #( | |||
|
|||
reg rd_valid_d = 1'h0; | |||
|
|||
reg [ 4:0] channel_counter = 5'h0; |
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 spacing, separate reg from wire reclarations, initializations
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.
Done.
library/axi_ad7616/axi_ad7616_pif.v
Outdated
rd_req_edge_d <= rd_req_edge; | ||
end | ||
|
||
//channel_counter |
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.
irrelevant comment. delete or elaborate
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.
Removed.
library/axi_ad7616/axi_ad7616.v
Outdated
|
||
wire [255:0] adc_data_s; | ||
|
||
wire [ 7:0] adc_custom_control; |
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.
spacing cleanup
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.
Done.
library/axi_ad7616/axi_ad7616.v
Outdated
end | ||
endgenerate | ||
|
||
axi_ad7616_pif #( |
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
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.
Done.
library/axi_ad7616/axi_ad7616.v
Outdated
assign adc_data_1 = dma_data[14*16+15:14*16]; | ||
assign adc_data_0 = dma_data[15*16+15:15*16]; | ||
|
||
wire [31:0] adc_config_ctrl; |
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.
move declaration
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.
Done.
Update system_project.tcl with newer build parameter handling |
fix conflicts |
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.
remove 100MHz clock gen core and use PS clk (sys_clk) instead
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.
Done.
5711fcc
to
14394f4
Compare
1219f33
to
63b6c32
Compare
Made a squash for all three categories of files. |
63b6c32
to
a0f3023
Compare
Signed-off-by: Pop Ioan Daniel <[email protected]>
6710f8b
to
67a9226
Compare
67a9226
to
21be2c0
Compare
Signed-off-by: Pop Ioan Daniel <[email protected]>
21be2c0
to
75eb7bb
Compare
Signed-off-by: Pop Ioan Daniel <[email protected]>
75eb7bb
to
fb24929
Compare
PR Description
Add AXI ADC support to existing AD7616 PIF project.
Update AD7616 project to account for the changes (add CPACK core, fix DMA connections).
Update AXI_AD7616 and AD7616 (project) documentation and block diagrams
PR Type
PR Checklist