Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi,
Can you elaborate on why have you not been able to use the method described in the Altera example? I think it explains exactly how to do this. The only trick is that: 1) You need to use registers as starting points for the get_fanins and get_fanouts functions 2) You need to be able to figure out the proper wildcard to find these registers inside your QSys block, which does mean you do have to do some small number of hard-coding. Just use the RTL Viewer to see if you can figure out a patent in the form of "*myqsys*<some_input/output_register name>" I haven't looked at the ZIP as it looks larger that I can analyze, but I can say that your example is probably wrong. You may need to add input and output registers to your mux, so you can try to wildcard and find those registers in the [get_fanins] command. Your SDC more or less do something like foreach name { *myqsys*a* *myqsys*b* } { foreach_in_collection fanin_id [get_fanin $name] { set top_level_input_name [get_node_info -name $fanin_id] } } Hope this helps