This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280039C: CLB tool generated diagram

Part Number: TMS320F280039C
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hi all,

I'd like to ask how to generate CLB diagram with straight lines shown in the following picture?

 The default setting is using curvy lines.

Thanks,

Hang.

  • Hello Hang,

    The default setting is using curvy lines.

    There is no setting available to the user to control the way the diagram is generated visually, the program optimizes it for space. What do you mean the default setting uses curvy lines? The lines should all be straight or at right angles.

  • Hi Omer,

    Well, my diagram looks like this:

    As you can see, there are curve lines connecting blocks. How to generate diagram like the previous photo?

    Thanks,

    Hang. 

  • Hello Hang,

    I was mistaken; the current diagram uses the curved paths, there is no setting to configure this from the user's perspective. You would need to modify the .dot template files that are in the backend of SysConfig. Let me know if this is an absolute necessity, I can tell you how to make this change. The lines used here are made to be the most direct path and keep the diagrams easier to read.

  • Hi Omer,

    My customer asked for this feature. If it's not too complicated, could you please show me how?

    Thanks,

    Hang.

  • If the customer just wants straight lines, then they can add "splines = false" to line 9 of the clb.dot.xdt file in C2000Ware_5_01_00_00\utilities\clb_tool\clb_syscfg\source\.meta\templates\dot. This will be straight lines without any bends.

    However, if the customer wants to try to have right-angles with their straight lines as shown in your initial post, unfortunately this is not a simple or quick fix. The customer will need to change the splines to be "splines = ortho", but also every connection type will have to be re-written as shown in this Stack Overflow post.

  • Thank you Omer, I'll convey that to the customer.