Convert.ToAndOr
Back to table
/*
Logic-Function-Analysis
Convert.ToAndOr
[AndOr g]=Convert.ToAndOr(LogicFunction f);
f : a logic function
g : a logic function in the AndOr form.
Convert the first sub logic function to the AndOr form
*/
//-------------------------------------------------------------------
// examples
[table]=TruthTable()
{
2'b00 => 4'b1000;
2'b01 => 4'b0100;
2'b10 => 4'b0010;
2'b11 => 4'b0001;
}
[glist]=Convert.ToAndOr(table);
Print(table,glist);
//-------------------------------------------------------------------
// result
Advanced PermuteLogicFunction Analysis IsCovering IsInverse IsLinearFunction IsParityFunction IsUnateFunction And binary() AbsoluteExpression MinValue binary AddXorTerm Count Load logicvardef() logicvardef long() Minus Nor MantissaToPositiveDecimal ShortestInputsForDistinguishTwoStates Assign HuffmanMealy GetPositiveLogicFunction RandomGenerate ComputeFunctionOrder Normalization Zero
Rapua tenei Paetukutuku :
The website is simply translated by using the Google Translate. Please inform us if you find the wrong/funny/weird translation.