Dear All,
As my question is very basic, I am using XADC IP catalog in block design. after converting into wrapper my code is mentioned below, I am getting correct value, but I am not sure how can I use my values further in program, I want to control the led's with different values of Analog, Thanks.
Question
Engr_Shan
Dear All,
As my question is very basic, I am using XADC IP catalog in block design. after converting into wrapper my code is mentioned below, I am getting correct value, but I am not sure how can I use my values further in program, I want to control the led's with different values of Analog, Thanks.
module Apr_13_1_wrapper
(Vaux14_v_n,
Vaux14_v_p,
Vaux7_v_n,
Vaux7_v_p,
Vp_Vn_v_n,
Vp_Vn_v_p,
alarm_out,
ot_out);
input Vaux14_v_n;
input Vaux14_v_p;
input Vaux7_v_n;
input Vaux7_v_p;
input Vp_Vn_v_n;
input Vp_Vn_v_p;
output alarm_out;
output ot_out;
wire Vaux14_v_n;
wire Vaux14_v_p;
wire Vaux7_v_n;
wire Vaux7_v_p;
wire Vp_Vn_v_n;
wire Vp_Vn_v_p;
wire alarm_out;
wire ot_out;
Apr_13_1 Apr_13_1_i
(.Vaux14_v_n(Vaux14_v_n),
.Vaux14_v_p(Vaux14_v_p),
.Vaux7_v_n(Vaux7_v_n),
.Vaux7_v_p(Vaux7_v_p),
.Vp_Vn_v_n(Vp_Vn_v_n),
.Vp_Vn_v_p(Vp_Vn_v_p),
.alarm_out(alarm_out),
.ot_out(ot_out));
endmodule
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.