- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to make VHDL code function be called by c code if edit demo web server?
if there is a matrix calculation library that would like to be done in VHDL how this library be called in c code if add this function in demonstration in web server assume this function is a + b how to pass parameters a and b from c code to VHDL to calculate and return result to c code moreover, how faster using this way?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd recommend to create a custom SOPC component with an Avalon memory mapped slave interface to provide registers the CPU can write the input values to and read the results from. You should be able to find a tutorial with a CRC calculation component on the Altera web site to show you how this can be done.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page