I am running through the Creating a Custom IP core using the IP Integrator tutorial using Vivado 2017.2 and have run into a number of problems as follows.
In section 4.1)
Adding the the line,
parameter integer PWM_COUNTER_MAX = 1024,
Causes Vivado to mark the line with the warning, Warning: syntax error near "Integer".
Question
FarmerJo
Hi,
I am running through the Creating a Custom IP core using the IP Integrator tutorial using Vivado 2017.2 and have run into a number of problems as follows.
In section 4.1)
Adding the the line,
Causes Vivado to mark the line with the warning, Warning: syntax error near "Integer".
In section 4.2)
Adding the lines,
output wire PWM0,
output wire PWM1,
output wire PWM2,
output wire PWM3,
Causes Vivado to mark the first line with the warning, Warning: syntax error near "wire".
In section 4.3)
Adding the line,
reg [15:0] counter = 0;
Causes Vivado to mark the first line with the warning, Warning: syntax error near "15".
Adding the remainder of this section causes a number of errors reporting that has not been declared.
I have attached the VHDL file that I am working on.
Any ideas why I am getting these issues?
Forgive me as my VHDL is not very good at the moment and the issues I am having are probably only minor.
Regards
FarmerJo
my_pwm_core_v1_0_S00_AXI.vhd
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.