4.4.1. Memory-Mapped Host Testbench Constructor
To create an mm_host<> object, add the following constructor in your code:
ihc::mm_host<int, … > mm(void* ptr, int size);
where the constructor parameters are as follows:
- ptr is the underlying pointer to the memory in the testbench
- size is the total size of the buffer in bytes
Did you find the information on this page useful?