Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

problem with add_to_collection

https://www.alteraforum.com/forum/attachment.php?attachmentid=[ATTACH]4338 [/ATTACH]I try to create big collection that all have multicycles:mad:

simple add_to_collection works

set col_4_div [add_to_collection [get_fanouts $item1] $fanouts2]

but try to add another one in

set col_4_div [add_to_collection $col_4_div $fanouts8]

or even

set col_41_div [add_to_collection [add_to_collection [get_fanouts $item1] $fanouts2] $fanouts4]

generate error

*********************************

Error: Missing required positional arguments: <collection_obj_2>

---------------------------------------------------------------------------

Usage: add_to_collection [-h | -help] [-long_help] <collection_obj_1> <collection_obj_2>

-h | -help: Short help

-long_help: Long help with examples and possible return values

<collection_obj_1>: First object collection

<collection_obj_2>: Second object collection

---------------------------------------------------------------------------

while executing

"add_to_collection [add_to_collection [get_fanouts $item1] $fanouts2] $fanouts4"

invoked from within

"set col_41_div [add_to_collection [add_to_collection [get_fanouts $item1] $fanouts2] $fanouts4]"

(file "fpga620_rx_equ_top.sdc" line 42)
No RepliesBe the first to reply