in my Vivado project for Cora Z7-07S I added a custom IP connected with AXI-Lite I/F to PS and so far I've been able to connect digital I/O to the IP after having defined the ports in vhdl code of the IP as in/out std_logic and then connecting them to ports created at the main level following the names reported in the costraint file.
In the picture above there is a screenshot of a part of my design. davide_hdlc_0 is my custom IP block, ck_io10 amd ck_io11 are Cora Z7 IOs and I've connected them to two IP inputs.
My question is now : how I can do the same for analog inputs, for example if I want to read single ended analog data from A0 ? I think I will have to uncomment the following lines in the xdc file
but after having done this how I can connect this input to my custom IP ? That is what kind of input port I have to create in my custom IP and how I can connect this port to the physical analog input source ?
Question
DavideDevoti
Hi,
in my Vivado project for Cora Z7-07S I added a custom IP connected with AXI-Lite I/F to PS and so far I've been able to connect digital I/O to the IP after having defined the ports in vhdl code of the IP as in/out std_logic and then connecting them to ports created at the main level following the names reported in the costraint file.
In the picture above there is a screenshot of a part of my design. davide_hdlc_0 is my custom IP block, ck_io10 amd ck_io11 are Cora Z7 IOs and I've connected them to two IP inputs.
My question is now : how I can do the same for analog inputs, for example if I want to read single ended analog data from A0 ? I think I will have to uncomment the following lines in the xdc file
set_property -dict { PACKAGE_PIN E17 IOSTANDARD LVCMOS33 } [get_ports { vaux1_p }]; #IO_L3P_T0_DQS_AD1P_35 Sch=ck_an_p[0]
set_property -dict { PACKAGE_PIN D18 IOSTANDARD LVCMOS33 } [get_ports { vaux1_n }]; #IO_L3N_T0_DQS_AD1N_35 Sch=ck_an_n[0]
but after having done this how I can connect this input to my custom IP ? That is what kind of input port I have to create in my custom IP and how I can connect this port to the physical analog input source ?
Thanks
Davide
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now