Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17246 Discussions

qsys - make connections based on parameters

Altera_Forum
Honored Contributor II
986 Views

Hi 

 

I wanted to connect or disconnect 2 endpoints in qsys based on a Instance Parameter but I'm not sure this is possible. 

Under the Instance Parameters tab I added a parameter "MAKE_CONNECTION" and gave it a default value of 1. 

In the Instance Script I have the following code 

 

proc compose {} { set make_conn if {$make_conn == "1"} { add_connection block1.out block2.in } }  

 

However when I try to generate this I get an error - 

invalid command name "add_connection
0 Kudos
0 Replies
Reply