Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
intro_example:template_deps [2025/05/07 18:25] – rajit | intro_example:template_deps [2025/05/07 18:26] (current) – rajit |
---|
} | } |
</code> | </code> |
The first template parameter ''N'' corresponds to the number of elements in the memory, and ''W'' corresponds to the bit-width of the data in the memory. The bit-width of the address channel ''addr'' is computed from ''N'' by a standard library function that is used to compute the smallest number of address bits needed to be able to hold the address values. | The first template parameter ''N'' corresponds to the number of elements in the memory, and ''W'' corresponds to the bit-width of the data in the memory. The bit-width of the address channel ''addr'' is computed from ''N'' by a standard library parameter function that is used to compute the smallest number of address bits needed to be able to hold the address values. |
| |
| |