ΣSigmaStudio Ask AI Русский Log in

Taming sloppy schematics

SigmaDSP & SigmaStudio KJBob Oct 7, 2012 00:00 5 replies Original on forum ↗
Subscribe
KJBob Question
Oct 7, 2012 00:00

As a project grows ad-hoc, it tends toward an unholy mess. It seems the sovereign remedy is to take a deep breath and redraw the project with the same stuff but this time with hindsight, following standard schematic rules:

Have everything (except feedback) flow from left to right. Place sources and inputs along the left edge, outputs on the right edge.

Make compact functional sections holding their complex stuff within, leaving simple connections without. You can easily put these in hierarchy boards if desired, yet the result is cleaner even if you don't.

Use net (alias) names extensively. They help the most when redrawing the project (simply replacing wires in a spaghetti-wired project may only yield sparser spaghetti).

Use aliases for oft-repeated DC sources (such as zero "grounds"). DC sources are bulky and may clutter your project. They also consume two instructions apiece -- this surprised me as I had assumed they were like "byte_constant" directives needing only parameter RAM. When "Ran out of MIPS" is imminent, every little bit helps.

For example, here's two "aerial views" of a SigmaDSP project -- before, and after, a much-needed redraw (click anywhere on the photo to see it all) :

Neat projects, like well-structured C code, are easier to troubleshoot, modify, and maintain. By all means please share any of your favorite "cleanup" ideas with a comment on this thread.

mips

redraw

dc_source

sloppy

cleaner

clean

schematic

ground

alias

neat

cleanup

Show More

4380.ba9c4dd02387d2a4a7613d9bedf94a07.jpg
4380.ba9c4dd02387d2a4a7613d9bedf94a07.jpg
4380.ba9c4dd02387d2a4a7613d9bedf94a07.jpg-827x631.jpg
4380.ba9c4dd02387d2a4a7613d9bedf94a07.jpg-827x631.jpg
ADIApproved Reply
Oct 8, 2012 00:00

Thanks for sharing, Bob. If possible, could you share a slightly larger version of the graphic so it's easier to see? Unfortunately the resolution on the original is a bit too small to clearly see what's going on.

Thanks!

Brett

KJBob Reply
Oct 9, 2012 00:00

Brett.

I was able to make it a bit larger, hope it's clear enough now.

Bob

ADIApproved Reply
Oct 9, 2012 00:00

Thanks very much, Bob.

KJBob Reply
Jun 10, 2013 00:00

One caution -- aliases may not always work properly in v3.9 Beta, see

https://ez.analog.com/thread/21556

KJBob Reply
Jul 20, 2013 00:00

The alias problem was fixed with SigmaStudio 3.9.2