Results 1 to 2 of 2

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

  1. #1
    Join Date
    Dec 2016
    Posts
    3
    Rep Power
    1

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

    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.

  2. #2
    Join Date
    May 2013
    Posts
    80
    Rep Power
    1

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

    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

Similar Threads

  1. Replies: 0
    Last Post: December 21st, 2016, 10:14 PM
  2. Replies: 0
    Last Post: September 7th, 2013, 03:29 AM
  3. how to implement multi-register?
    By aorb in forum General Altera Discussion
    Replies: 4
    Last Post: September 11th, 2007, 02:54 AM
  4. Who can provide onther better method to implement
    By alex824 in forum Linux Forum
    Replies: 0
    Last Post: December 15th, 2005, 05:35 PM
  5. USB kernel config
    By clansdown in forum Linux Forum
    Replies: 12
    Last Post: April 1st, 2005, 06:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •