Im creating a system in SystemC (built on c++11) which will later become hardware and therefore i want to move a lot unnecessary calculation to the compiler.
I have a BIG MxN matrix (call it H), but most of the configurations of the code i only need the mxn top left part of the matrix (M>m, N>n) where #define n and #define m are given. Is it possible to "initialize" a matrix (call it h) in compile time so H does not need to be loaded in run time?
So to clarify, i want to able to easily change m & n and have the h matrix med generated in compile time.
Aucun commentaire:
Enregistrer un commentaire