Altera_Forum
Honored Contributor
15 years agoThe problem is about how to control the circuit of New component of SOPC Builder
First, Thanks everyone's help.
I used the tool of new component of SOPC builder to combine mycircuit, the figure is my setting of interface. My problem is how to control the data of pwm_hall. May I control the signal of pwm_hall_period, pwm_hall_data and hall_n_to_pre. For example could I write a function to assign the data? Like this "IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE, a)" Does anyone can help me? In my problem, Should I define anything in my pwm_hall.h?? if I should define that i said, How to define that does anyone can tell me?? Thank you very much.