| ??? 11/13/06 10:32 Modified: 11/13/06 10:37 Read: times |
#127870 - Schematics vs. HDL Responding to: ???'s previous message |
The schematic vs. HDL discussion is interesting to me because parallels a similar situation that I've run into when writing software. While I can read and write C with the best of them, it's far more difficult for me to comprehend a piece of complicated logic in textual form, like this:
START Wake up
REPEAT
IF Hungry?\No\Yes
IF Any new 8052.com mes- sages?\Yes\No
WHILE For each message\More\Done
Read it
IF Have an inane question?\Yes\No
Post a reply
ENDIF
ENDWHILE
ELSE
Start a five minute timer
REPEAT
Do something useful
UNTIL Has timer expired?\Yes\No
IF Tired from all that work?\Yes\No
Take a nap
ENDIF
ENDIF
ELSE
Eat a handful of M&Ms
ENDIF
UNTIL Bedtime?\Yes\No
END Go back to bed
than if it's presented in a graphical form, like this:
![]() As Richard hints, maybe this an age thing, but I don't think so. I think that some people are just wired such that pictures make more sense to them. In any case, to indulge my own preference, I have a program that generates the graphical representation from the pseudocode, as shown above, and guarantees that the two are equivalent. This setup gives several benefits:
-- Russ |




