Forum Discussion
ghanko
New Contributor
3 years agoThe issue is that qmegawiz command returns with status 1 which means "Cancel", so the tcl interprets the result as the user had clicked "Cancel" instead of "Finish". As a dirty hack I changed the following line
if { $status != 0 } {
to
if { $status != 0 && $status != 1} {
in ~/intelfpga_lite/20.1/ip/altera/sopc_builder_ip/altera_avalon_mega_common/sopc_mwizc.tcl
and it works. The "Cancel" button doesn't work after this of course but it's a far smaller issue.
gregh3285
New Contributor
3 years agoGood hack, @ghanko! There are a couple instances of the line you mention in the file you mention. The diff on the file is below. I applied the patch and got past the problem that others are seeing:
[gregh@Autolycus altera_avalon_mega_common]$ diff sopc_mwizc.tcl sopc_mwizc.tcl-orig 1050c1050 < if { $status != 0 && $status != 1} { --- > if { $status != 0} {