Hi,
thanks for all your answers and informations, i still have other question and this time about generics in vhdl, i wanna know if there is any possibility to make a constant in c as a generic map in vhdl code just to be able to modify it in ise or edk,
eg:
#define count 10
....
....
for (i=0;i<count;i++)
...
...
how can i make "count" constant as a generic in vhdl, what i must write in hardware prcess in C to make it generic in vhdl and preferably in projet_top. If there's other suggestions, it will be very welcome.
thanks again.
Abou generic map in vhdl code
Started by bizertino, May 11 2009 12:08 PM
1 reply to this topic
#1
Posted 11 May 2009 - 12:08 PM
#2
Posted 18 May 2009 - 03:29 PM
You can use the co_parameter object to cause generics to be generated. The values for these generics will be specified in the top-level file (*_top.vhd) when an Impulse C process that uses them is instantiated. See the attached example project.
Regards,
Ralph
Regards,
Ralph
Attached File(s)
-
multiple_params.zip (1.83K)
Number of downloads: 9
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












