Commit 300d0574 authored by Rémi's avatar Rémi
Browse files

Update with new DesignSolution name (Iir2AdderGraphs)

parent ad2499dc
name = "jIIR2HW"
uuid = "ee98337f-4be3-44f0-b07d-46c492e5c1bd"
version = "0.1.0"
version = "0.1.1"
[deps]
AdderGraphs = "818587fb-0c22-4279-a2b9-8b16b5360b71"
......@@ -9,6 +9,6 @@ jIIR2AG = "6c47329b-b4fa-45de-8436-c3dbac5ca469"
jMCM = "1093c137-b6a1-4724-88ca-aaf1fbfbca0a"
[compat]
AdderGraphs = "~0.1"
AdderGraphs = "~0.2"
jIIR2AG = "~0.1"
jMCM = "~0.1"
......@@ -43,7 +43,7 @@ end
Generate and run a FloPoCo command that produces a VHDL file
"""
function write_vhdl(filename::String, solution::DesignSolution, args...; kwargs...)
function write_vhdl(filename::String, solution::Iir2AdderGraphs, args...; kwargs...)
run_flopoco(get_flopoco_cmd(filename, solution.addergraph_a, solution.addergraph_b, solution.shifts[1], solution.shifts[2], args...; kwargs...))
return nothing
end
......
function wcpg(solution::DesignSolution)::Float64
function wcpg(solution::Iir2AdderGraphs)::Float64
W = zeros(1)
wcpg_success = 0
if !isempty(Libc.find_library("libwcpg"))
......@@ -24,7 +24,7 @@ function wcpg(solution::DesignSolution)::Float64
end
function wcpg_eps(solution::DesignSolution)::Float64
function wcpg_eps(solution::Iir2AdderGraphs)::Float64
W = zeros(1)
wcpg_success = 0
if !isempty(Libc.find_library("libwcpg"))
......
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