cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
302 Views
Registered: ‎05-09-2019

System Generator for DSP : Gateway Out Type Propagation Error

Jump to solution

Can someone please help me understand why my System Generator type will not correctly propagate to the Simulink environment in this example?

All of the Matlab documentation about "to workspace" and the System Generator "gateway out" documentation suggest this example should work.

My ultimate goal is to save the fixed-point output from a System Generator model as the equivalent Simulink fixed-point type and save the time series to the workspace.

System Generator 2019.1 with Matlab Simulink 2018a.

 

0 Kudos
Reply
1 Solution

Accepted Solutions
ravidapu
Xilinx Employee
Xilinx Employee
164 Views
Registered: ‎12-14-2017

Hi Jake,

I do not see any usage of having Assert block in your design, it is only used for feedback loops to handle rate and type propagation of the signals. Please change your design as below and it will work, meaning enable the sample time period option on the sysgen constant block

 

ravidapu_0-1612774626313.png

 

Regards,

Raju A.

 

View solution in original post

0 Kudos
Reply
2 Replies
ravidapu
Xilinx Employee
Xilinx Employee
165 Views
Registered: ‎12-14-2017

Hi Jake,

I do not see any usage of having Assert block in your design, it is only used for feedback loops to handle rate and type propagation of the signals. Please change your design as below and it will work, meaning enable the sample time period option on the sysgen constant block

 

ravidapu_0-1612774626313.png

 

Regards,

Raju A.

 

View solution in original post

0 Kudos
Reply
102 Views
Registered: ‎05-09-2019

Thank you for answering this.  I will accept your solution.

0 Kudos
Reply