Hi Xin, Can you confirm for me your toolflow setup?
Are you on ubuntu 16.04 or 18.04? Which versions of matlab and vivado are you using (2018a/2019.1)? Are you using the main casper-astro/mlib_devel or are you using the mlib_devel that is submoduled in the casper-astro/tutorials_devel repository? If you create a new model, and rebuild that part of the snap tutorial (not copying from the other model, but creating from the simulink library) do you get the same error? Cheers, Jonathon On Thu, 9 Sept 2021 at 09:42, Xin Cui <[email protected]> wrote: > Hello, > > I finished set up the tool flow, which seems to work properly. I can start > the environment by running 'startsg' without any errors. But I had errors > when I tried to simulate a SNAP tutorial -- snap_tut_intro.slx. Please see > the error message below: > > > > All the 3 errors are about the data width of the input data. The following > shows where the error happens: > > 1, The gateway_in in the yellow block of input a: > 2, the s function in the yellow block of input a, the same picture as > shown above. > > 3, the delay block in the sum_a_b output > > Except the first one, that I can see the output data from the gain_1 is > ufix64_En31, which I am not sure it is 32 bits or 64 bits, the rests are 32 > bits. So I am wondering if this mismatched data width from the environment > or not? Could it relate to my tool flow setup? Any suggestions that I can > try to narrow down this problem will be very helpful. > > Thanks in advance! > Xin > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/YQXPR0101MB138485E5451EC4818A24865CCAD59%40YQXPR0101MB1384.CANPRD01.PROD.OUTLOOK.COM > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/YQXPR0101MB138485E5451EC4818A24865CCAD59%40YQXPR0101MB1384.CANPRD01.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P-85j8cCtAWjN6CKfzbLXt6sZhHojwgfWnB9%3DrwG12Jsg%40mail.gmail.com.

