Hi all.
When I design my digital circuits these days, I have some "habbit" in terms of how I connect pins to the supply rails.
If something needs grounding, like the inputs of unused gates, I'll hook them straight to ground. If something needs to be pulled up, I hook it through a high value resistor (typically 100K, lower if there are rise time considerations) to the positive rail.
Now, there are circumstances where pulling up via a resistor is functionally necessary, e.g. active low signals where some kind of open collector/drain gate pulls them down, think CPU/uC reset et al.
But otherwise, is there any technical necessity to pulling something up via a resistor if it doesnt need to be pulled down? e.g. the preset of a D type flip flop (74HC74 for example) might be pulled up such that when it is reset the Q output is low by default? Unless theres a specific reason where that behaviour might need to be modified, is there any kind of necessity to use a resistor to pull it up? Usually I'll do away with pull ups when Im breadboarding, but include them in my final designs.
And a specific application I have right now which is making me question this is using a 74HC688 comparator to match a value on a Z80 address bus with a value entered via some DIP switches. Currently, and to satisfy my current habbit, I have the pins pulled up via resistors, and the DIP switch positions pull a pin to ground, but this means you have to enter a complementary value (switch off = pin high and vice versa). And now Im thinking .. why not pull them low via a resistor and use the DIP switch to pull the pins up to the positive rail...
I dont really even know how or why I have this habbit, and maybe there are 5 different oppinions if you ask 5 different people...
But on that note, I would be interested to hear others reasoning for pulling up via a resistor or not.
