Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6316 closed defect (fixed)

The frontend used to obtain flat models in OMEdit is not set correctly

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: blocker Milestone: 1.17.0
Component: OMEdit Version: v1.17.0-dev
Keywords: Cc:

Description

After the NF was made the default, setting Tools | Options | Simulation | Enable old frontend for code generation no longer enforces the OF to be used for the Instantiate Model operation (i.e., getting the flat model). In order to get the OF used for that, it is now necessary to add "-d=nonewInst" to the Additional Translation Flags.

@adeas31, I guess you need to add that flag when calling Instantiate Model, rather than simply not adding newInst if Enable old frontend is checked.

Change History (3)

comment:1 by Adeel Asghar, 4 years ago

Resolution: fixed
Status: newclosed

comment:2 by Francesco Casella, 4 years ago

Thanks Adeel!

comment:3 by Adeel Asghar, 4 years ago

No problem. It was easy. Since the newInst is default now so I just need to reverse the logic. Let me know if you encounter any problem with this.

Note: See TracTickets for help on using tickets.