Hi Ken,

Yes, I think I have reported this before, maybe there should be a FAQ list somewhere.

Just renaming SLX in OS (mv a.slx b.slx) will create all kinds of weird errors, the correct way to create a file with a different name is to save the project with a different name inside Simulink.

If I remember correctly, the root cause of this is that the .slx file contains the file name and is dependent on it. Yes, I cannot think any other software doing this and it is a very bad design choice IMHO.

Cheers,
Kaj

On 19.2.2025 0.30, Ken Semanov wrote:
Changing the file names of an SLX file can cause LUT errors during jasper compiles.  These errors are fatal and will drop the compile to command line in Matlab. The CASPER toolflow official documentation should mention this problem, if -- for no other reason --  CASPER doesn't have a mechanism to check whether the current SLX filename has been changed

These LUT errors occur in the later stages of implementation, during the "Logical Optimization" stages.    The blocks in the design which invoke the missing logic LUT error are random, and seem to be related to the order in which optimizer selects blocks for optimizing. For example,  if the offending block is removed, the LUT error will migrate to some other -- often unrelated -- block in a different portion of the overall design. If that new offending block is removed, the LUT error migrates to yet another block, and so on ad infinitum.

We might ask why this occurs.  A name-changed SLX survives completely through the synthesis stage of jasper compile, making the error unusually pernicious.



--
You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu <mailto:casper+unsubscr...@lists.berkeley.edu>. To view this discussion visit https://groups.google.com/a/ lists.berkeley.edu/d/msgid/ casper/54d66da9-896c-4fd1-888f-53f4f6e3e090n%40lists.berkeley.edu <https://groups.google.com/a/lists.berkeley.edu/d/msgid/ casper/54d66da9-896c-4fd1-888f-53f4f6e3e090n%40lists.berkeley.edu? utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/84ad5cf3-dd4f-4053-8f6c-b4e7792aefb6%40utu.fi.

Reply via email to