Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16602 Discussions

Is there a method that I can implement a config register in my kernel?

Altera_Forum
Honored Contributor II
1,058 Views

Is there a method that I can implement a config register in my kernel?  

So I can change its value when the kernel task is running and my kernel can do some thing according to this config register.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
315 Views

Hi, 

 

I'm not sure what is the best way to do it without stalling the pipeline and/or not continuously reading from global memory and thus eat up your bandwidth, but I have a suggestion for you. 

 

You could add a second kernel aside your first which simply communicates with the second via an Altera channel or an OpenCL pipe. You launch this kernel from the host when you want the change to happen, which sends a signal to your first kernel. 

 

How does that sound? 

 

Carl
0 Kudos
Reply