Forum Discussion
Altera_Forum
Honored Contributor
8 years agoC++ template in memory-mapped master
#include <iostream># include <stdio.h># include <stdlib.h># include "HLS/hls.h" using namespace std; using namespace ihc; typedef mm_master<unsigned int, dwidth<32>, awidth<64>, as...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Hello, If you want to understand what the general objective of templates use is. https://www.tutorialspoint.com/cplusplus/cpp_templates.htm Best Regards, Johi. --- Quote End --- Thanks Johi for the reply...Actually my question is only regarding to the usage of of C++ template specific to this code. I am aware of C++ template concept but somehow struggling to understand the reason of C++ template usage in this code..... :)