09-05-2023 06:31 PM
Hi everyone , i m preparing for my CLD exams. When i went through exam instructions, it is mentioned as no wire bending/ wire overlapping in programs. I tried to avoid wire bending in my practice programs but not able to do a program without bending wires or running overlapping wires in program(especially for shift registers). What i really want to know is any program can be done without wire bends or overlaps?Even for Bundle cluster , we need to bend wires since i/p and o/p locations are different. So kindly clarify my doubt since this wire bending is making me worried a bit for my exam preparation..
Solved! Go to Solution.
09-05-2023 07:59 PM
We all know wires have to bend sometimes. But, unnecessary wire bends and unnecessary wire crossings show a lack of style and make your code look anywhere between sloppy and unreadable. Any prospective CLD should code cleanly and know how to leave space for function / vi inputs and outputs and choose a good layout naturally.
09-06-2023 03:48 AM - edited 09-06-2023 03:51 AM
@Melchizedek24 wrote:
Hi everyone , i m preparing for my CLD exams. When i went through exam instructions, it is mentioned as no wire bending/ wire overlapping in programs. I tried to avoid wire bending in my practice programs but not able to do a program without bending wires or running overlapping wires in program(especially for shift registers). What i really want to know is any program can be done without wire bends or overlaps?Even for Bundle cluster , we need to bend wires since i/p and o/p locations are different. So kindly clarify my doubt since this wire bending is making me worried a bit for my exam preparation..
So just do your best to avoid them. I would think of it as "unnecessary" bends and crossings. I think if you go in with that mindset, you'll be okay.
09-06-2023 07:52 AM - edited 09-06-2023 07:54 AM
I'd avoid nodes overlapping wires though. At least in the CLD.
I gave up on routing my wires around structures, although I do have strict rules when wiring behind a structure (e.g. the wire should be straight).
Again: no nodes\structures overlapping wires (or nodes\structures) for the CLD.
09-06-2023 08:24 AM
I agree the 3rd one is the best. As to the others, the 1st is prettiest, but i loathe the hidden wire. The 2nd is clear, but not beautiful.
09-07-2023 03:08 AM - edited 09-07-2023 03:10 AM
@Yamaeda wrote:
I agree the 3rd one is the best. As to the others, the 1st is prettiest, but i loathe the hidden wire. The 2nd is clear, but not beautiful.
It gets worse if there are more shift registers. 1 gets uglier, 3 impossible (for instance if more than 1 wires are used n the structure.
I've been told JeffK uses a stacked sequence structure:
This might be the purest solution. To me it doesn't really add enough to do the extra work.
EDIT: I won't be surprised if you loose CLD points for using a SSS, even though it's usage here is appropriate.
09-07-2023 07:10 AM
Sometimes i wire through a case even if nothing happens just to keep the wires straight. ^^
09-07-2023 08:28 AM
@Yamaeda wrote:
Sometimes i wire through a case even if nothing happens just to keep the wires straight. ^^
If not used at all I'd wire behind it.
But if a property is read in the structure (from a class wire) I do often wire it through even though the output didn't change...
09-13-2023 01:04 PM
In the above mentioned example, innstead of 3 shift registers, can we club them into a songle cluster and pass down as a single line? would it look good if it is used as a cluster?
09-13-2023 01:07 PM
Thanks for the tip.