NCL Flow Detailed Example – Step 3
20/4/2014
CE-653 - Indicating Logic
24
}
Define new type for signal logic –
dual_rail_logic
type
dual_rail_logic
is
record
rail1 : std_logic ;
rail0 : std_logic ;
end
record;
}
Overload common operators/gates:
a.0
a.1
{0,1}
{0,1}
a
{0,1,N}
22
22
22
22
13
z.0
z.1
a.0
a.1
b.0
b.1
function
“nand”
th22 = two-input C-element
th13 = three-input OR
a.0
a.1
z.1
z.0
function
“not”