Questions tagged [tri-state-logic]

For the time being, tri-state-logic may refer to logic circuits with at least one output adding a third, "high impedance" state (Z) to the binary "low" (0) and "high" (1) states as well as other contexts adding a third alternative.

In logic circuit implementation, tri-state refers to outputs/buffers that add a third, high impedance state, often denoted Z, to the binary low and high states.
In specification/design, a truth table may show don't care entries in addition to 0 and 1, conventionally denoted by a ×. As an example, an adder for two binary coded decimal digits does not need a specific output value for one input 1011 (11), as that is not a valid BCD code.

29 questions
0
votes
1 answer

primefaces tristatecheckbox label left side

How do I place the itemLabel for the primefaces TriStateCheckbox on the left side of the checkbox instead of the default right position.
LStrike
  • 1,598
  • 4
  • 26
  • 58
0
votes
1 answer

bidirectional tri-state buffer

I'm working on a project in which I need a bidirectional tri-state buffer. I've developed a VHDL code based on my searches in this community and some other websites. But it doesn't work as it should. Below is the VHDL code. library ieee; use…
0
votes
3 answers

HTML troolean form element

What's the best way to simulate a troolean variable with an HTML form? Specifically, I've got a column that is to be sorted, so it can have three states: unsorted, ascending, and descending. I want to store the state in a form so it is recovered…
Ben
  • 54,723
  • 49
  • 178
  • 224
0
votes
1 answer

Verilog: tristates for synthesis, and difference between conditional and case?

How do I convert a tristate bus to 2-state logic for synthesis? I've made a little test module test1( inout tristate, output flattened); assign flattened = tristate ? 1 : 0; endmodule module test2( inout tristate, output reg flattened); …
jabozzo
  • 591
  • 1
  • 6
  • 17
0
votes
0 answers

tri state treeview check / uncheck / Indeterminate parent only

I am using a tri state treeview, I want to be able to check check a parent only without checking all or part of its children or giving it Indeterminate state. I used this function but it is not working properly private void…
IbrahimZ
  • 1
  • 1
0
votes
1 answer

near "when": syntax error in VHDL

I'm trying to write some code to simulate a circuit with two tri-state buffers and a pull-up resistor in VHDL. Below is my code: library ieee; use ieee.std_logic_1164.all; entity PullUpResistor is port ( A, S, B, T : IN std_logic; -- select one…
0
votes
1 answer

Indeterminate checkbox in ExtJS

Can we have indeterminate checkboxes in ExtJS as it's possible in native HTML? I mean something like: All I could find are a couple of outdated extensions, and forum posts suggest that this isn't (yet) possible without subclassing the standard…
GOTO 0
  • 42,323
  • 22
  • 125
  • 158
0
votes
1 answer

Tri-Stating SAI1_SDA for stm32439i-eval2

I am trying to tri-state the SAI1-SDA on my stm32439i-eval2 board in order to try and make my ov2640 camera work. To do this, I need to set bit 13 (address 0x300) to 1 on the wm8994 audio chip. I am struggling with this. If anyone could help me…
user3729617
  • 113
  • 1
  • 14
0
votes
1 answer

Determine selected tristate

I have a treeview that displays a hierarchy of objects of type Company. Company has (among others) a property Bool? Checked. I am using that value in the checkbox for each row. I would like the checkbox to (also) indicate if any childs has been…
David
  • 1,601
  • 3
  • 22
  • 33
0
votes
1 answer

JTree with tristate checkbox - selected parent in relation to children

How can I realize a JTree with tristate checkbox where selected parent select all children and in the reverse case deselected child parent checkbox became light gray color.
user781640
  • 31
  • 5
0
votes
1 answer

Why new while returning for overloaded operators for DBBool (TriState) implementation in C#

If you look for the DBBool implementation in C#, few overloaded operators (logical operators |, &, !) new while returning. I believe that is not necessary and a small waste of memory. DBBool is a struct and a copy is made when it's passed into a…
hIpPy
  • 4,649
  • 6
  • 51
  • 65
0
votes
1 answer

How do I get the tristate jquery plugin to check the hidden input?

I have been working for a client that is using the tristate jquery plugin and after a bunch of debugging I have found that the hidden input is not showing up:
-1
votes
1 answer

systemverilog : tri0 vs pulldown - is there any difference?

Is there meant to be any functional difference between making a wire "tri0" vs applying a "pulldown" component to the wire?
John Lonergan
  • 305
  • 3
  • 6
-1
votes
1 answer

Hiding Checkboxes with a Tri-State TreeView control

I have a project that I'm working on that has a TreeView Control in it. For everything underneath Level 1, those nodes are being used as a bookmark function, so we want a Tri-State CheckBox there. I found a control that I'm using here. However,…
krillgar
  • 12,596
  • 6
  • 50
  • 86
1
2