Commit b1e49966 authored by Rémi's avatar Rémi
Browse files

Add getters

parent 7f7a5796
name = "jIIR2AG"
uuid = "6c47329b-b4fa-45de-8436-c3dbac5ca469"
version = "0.1.2"
version = "0.1.3"
[deps]
AdderGraphs = "818587fb-0c22-4279-a2b9-8b16b5360b71"
......
function get_addergraph_a(iir2addergraphs::Iir2AdderGraphs)
return Iir2AdderGraphs.addergraph_a
end
function get_addergraph_b(iir2addergraphs::Iir2AdderGraphs)
return Iir2AdderGraphs.addergraph_b
end
function get_coefficients_a(iir2addergraphs::Iir2AdderGraphs)
return Iir2AdderGraphs.coefficients_a
end
function get_coefficients_b(iir2addergraphs::Iir2AdderGraphs)
return Iir2AdderGraphs.coefficients_b
end
function get_shift_a(iir2addergraphs::Iir2AdderGraphs)
return Iir2AdderGraphs.shifts[1]
end
function get_shift_b(iir2addergraphs::Iir2AdderGraphs)
return Iir2AdderGraphs.shifts[2]
end
......@@ -25,6 +25,7 @@ function Iir2AdderGraphs(
end
# Includes
include("iir2addergraphs.jl")
include("utils.jl")
include("addergraph.jl")
include("iir_ilp1.jl")
......@@ -41,5 +42,11 @@ export design_second_order_iir
export all_coefficients
export get_specifications
export isempty
export get_addergraph_a
export get_addergraph_b
export get_coefficients_a
export get_coefficients_b
export get_shift_a
export get_shift_b
end # module
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment