Forum Discussion
Altera_Forum
Honored Contributor
11 years agoOk this is the top entity. I instantiate this module like this:
g_upd_req_conn : FOR i IN 0 TO MAX_H_TILES - 1 GENERATE u_upd_req_conn : ENTITY work.upd_req_conn(beh) PORT MAP( rst_n => rst_n, clk => clk, ID => ??? ); END GENERATE g_upd_req_conn; I need to give an ID to each module equal to the variable i, like a constant input. Any ideas?