860 lines
36 KiB
VHDL
860 lines
36 KiB
VHDL
-- Automatically generated VHDL-93
|
|
library IEEE;
|
|
use IEEE.STD_LOGIC_1164.ALL;
|
|
use IEEE.NUMERIC_STD.ALL;
|
|
use IEEE.MATH_REAL.ALL;
|
|
use std.textio.all;
|
|
use work.all;
|
|
use work.Prop1_testBench_types.all;
|
|
use testBench_slv2string_FD7FE0FDE5409B5E.all;
|
|
|
|
entity testBench is
|
|
port(result : out boolean);
|
|
end;
|
|
|
|
architecture structural of testBench is
|
|
signal \c$ds_app_arg\ : Prop1_testBench_types.index_13;
|
|
signal \c$ds_app_arg_0\ : boolean;
|
|
signal s : Prop1_testBench_types.index_13 := to_unsigned(0,4);
|
|
-- prop1.hs:34:5-7
|
|
signal \Prop1.testBench_clk\ : Prop1_testBench_types.clk_System;
|
|
signal z : Prop1_testBench_types.index_29;
|
|
signal result_1 : Prop1_testBench_types.index_15;
|
|
signal \c$ds_app_arg_1\ : boolean;
|
|
signal \c$result_rec\ : boolean;
|
|
signal s_0 : Prop1_testBench_types.index_15 := to_unsigned(0,4);
|
|
signal f2 : boolean;
|
|
signal \f'\ : boolean := false;
|
|
-- prop1.hs:8:1-43
|
|
signal \c$ds_app_arg_2\ : Prop1_testBench_types.array_of_signed_2(0 to 0) := Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2));
|
|
signal result_2 : boolean;
|
|
signal \c$case_alt\ : signed(1 downto 0);
|
|
signal \c$case_alt_0\ : signed(1 downto 0);
|
|
signal \c$case_alt_1\ : signed(1 downto 0);
|
|
signal \c$case_alt_2\ : signed(1 downto 0);
|
|
signal \c$case_alt_3\ : signed(1 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal fm1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal fm2 : unsigned(4 downto 0);
|
|
signal \c$app_arg\ : boolean;
|
|
-- Queue.hs:20:1-12
|
|
signal tm1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tm2 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal mm1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal mm2 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal ff1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal ff2 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tt1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tt2 : unsigned(4 downto 0);
|
|
signal \c$app_arg_0\ : signed(1 downto 0);
|
|
signal result_3 : Prop1_testBench_types.Tup2;
|
|
-- prop1.hs:12:1-124
|
|
signal \c$ds_app_arg_3\ : Prop1_testBench_types.Tup3 := ( Tup3_sel0_unsigned => to_unsigned(0,1)
|
|
, Tup3_sel1_Tup10_0 => ( Tup10_sel0_unsigned_0 => to_unsigned(0,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(0,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(31,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(31,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) )
|
|
, Tup3_sel2_Tup10_1 => ( Tup10_sel0_unsigned_0 => to_unsigned(31,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(31,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(0,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(0,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) ) );
|
|
signal result_4 : Prop1_testBench_types.Tup10;
|
|
signal result_5 : Prop1_testBench_types.Tup2_0;
|
|
-- ProcessingElement.hs:9:1-777
|
|
signal opcode : unsigned(0 downto 0);
|
|
-- ProcessingElement.hs:9:1-777
|
|
signal ds4 : Prop1_testBench_types.Tup10;
|
|
-- prop1.hs:8:1-43
|
|
signal \c$ds_app_arg_4\ : Prop1_testBench_types.array_of_signed_2(0 to 0) := Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2));
|
|
signal result_6 : boolean;
|
|
signal \c$case_alt_4\ : signed(1 downto 0);
|
|
signal \c$case_alt_5\ : signed(1 downto 0);
|
|
signal \c$case_alt_6\ : signed(1 downto 0);
|
|
signal \c$case_alt_7\ : signed(1 downto 0);
|
|
signal \c$case_alt_8\ : signed(1 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal fm1_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal fm2_0 : unsigned(4 downto 0);
|
|
signal \c$app_arg_1\ : boolean;
|
|
-- Queue.hs:20:1-12
|
|
signal tm1_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tm2_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal mm1_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal mm2_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal ff1_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal ff2_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tt1_0 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tt2_0 : unsigned(4 downto 0);
|
|
signal \c$app_arg_2\ : signed(1 downto 0);
|
|
signal result_7 : Prop1_testBench_types.Tup2;
|
|
-- prop1.hs:14:1-125
|
|
signal \c$ds_app_arg_5\ : Prop1_testBench_types.Tup3 := ( Tup3_sel0_unsigned => to_unsigned(1,1)
|
|
, Tup3_sel1_Tup10_0 => ( Tup10_sel0_unsigned_0 => to_unsigned(31,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(31,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(0,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(0,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) )
|
|
, Tup3_sel2_Tup10_1 => ( Tup10_sel0_unsigned_0 => to_unsigned(0,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(0,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(31,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(31,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) ) );
|
|
signal result_8 : Prop1_testBench_types.Tup10;
|
|
signal result_9 : Prop1_testBench_types.Tup2_0;
|
|
-- ProcessingElement.hs:9:1-777
|
|
signal opcode_0 : unsigned(0 downto 0);
|
|
-- ProcessingElement.hs:9:1-777
|
|
signal ds4_0 : Prop1_testBench_types.Tup10;
|
|
-- prop1.hs:8:1-43
|
|
signal \c$ds_app_arg_6\ : Prop1_testBench_types.array_of_signed_2(0 to 0) := Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2));
|
|
signal result_10 : boolean;
|
|
signal \c$case_alt_9\ : signed(1 downto 0);
|
|
signal \c$case_alt_10\ : signed(1 downto 0);
|
|
signal \c$case_alt_11\ : signed(1 downto 0);
|
|
signal \c$case_alt_12\ : signed(1 downto 0);
|
|
signal \c$case_alt_13\ : signed(1 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal fm1_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal fm2_1 : unsigned(4 downto 0);
|
|
signal \c$app_arg_3\ : boolean;
|
|
-- Queue.hs:20:1-12
|
|
signal tm1_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tm2_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal mm1_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal mm2_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal ff1_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal ff2_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tt1_1 : unsigned(4 downto 0);
|
|
-- Queue.hs:20:1-12
|
|
signal tt2_1 : unsigned(4 downto 0);
|
|
signal \c$app_arg_4\ : signed(1 downto 0);
|
|
signal result_11 : Prop1_testBench_types.Tup2;
|
|
-- prop1.hs:14:1-125
|
|
signal \c$ds_app_arg_7\ : Prop1_testBench_types.Tup3 := ( Tup3_sel0_unsigned => to_unsigned(1,1)
|
|
, Tup3_sel1_Tup10_0 => ( Tup10_sel0_unsigned_0 => to_unsigned(31,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(31,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(0,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(0,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) )
|
|
, Tup3_sel2_Tup10_1 => ( Tup10_sel0_unsigned_0 => to_unsigned(0,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(0,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(31,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(31,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) ) );
|
|
signal result_12 : Prop1_testBench_types.Tup10;
|
|
signal result_13 : Prop1_testBench_types.Tup2_0;
|
|
-- ProcessingElement.hs:9:1-777
|
|
signal opcode_1 : unsigned(0 downto 0);
|
|
-- ProcessingElement.hs:9:1-777
|
|
signal ds4_1 : Prop1_testBench_types.Tup10;
|
|
signal \c$ds_app_arg_8\ : Prop1_testBench_types.index_13;
|
|
signal \c$ds_app_arg_9\ : boolean;
|
|
signal s_1 : Prop1_testBench_types.index_13 := to_unsigned(0,4);
|
|
-- prop1.hs:27:1-9
|
|
signal \c$Prop1.testBench_app_arg\ : Prop1_testBench_types.rst_System;
|
|
signal \c$ds_app_arg_selection_res\ : boolean;
|
|
signal \c$vec\ : Prop1_testBench_types.array_of_boolean(0 to 12);
|
|
signal result_selection_res : boolean;
|
|
signal \c$vec_0\ : Prop1_testBench_types.array_of_boolean(0 to 14);
|
|
signal \c$case_alt_selection_res\ : boolean;
|
|
signal \c$case_alt_selection_res_0\ : boolean;
|
|
signal \c$case_alt_selection_res_1\ : boolean;
|
|
signal \c$case_alt_selection_res_2\ : boolean;
|
|
signal \c$case_alt_selection_res_3\ : boolean;
|
|
signal \c$vec_1\ : Prop1_testBench_types.array_of_signed_2(0 to 1);
|
|
signal \c$case_alt_sel_alt_9\ : Prop1_testBench_types.Tup2_1;
|
|
signal \c$vec_2\ : Prop1_testBench_types.array_of_signed_2(0 to 1);
|
|
signal \c$app_arg_7\ : Prop1_testBench_types.Tup2_1;
|
|
signal ds4_selection_res : boolean;
|
|
signal \c$case_alt_selection_res_4\ : boolean;
|
|
signal \c$case_alt_selection_res_5\ : boolean;
|
|
signal \c$case_alt_selection_res_6\ : boolean;
|
|
signal \c$case_alt_selection_res_7\ : boolean;
|
|
signal \c$case_alt_selection_res_8\ : boolean;
|
|
signal \c$vec_3\ : Prop1_testBench_types.array_of_signed_2(0 to 1);
|
|
signal \c$case_alt_sel_alt_21\ : Prop1_testBench_types.Tup2_1;
|
|
signal \c$vec_4\ : Prop1_testBench_types.array_of_signed_2(0 to 1);
|
|
signal \c$app_arg_1_2\ : Prop1_testBench_types.Tup2_1;
|
|
signal ds4_selection_res_0 : boolean;
|
|
signal \c$case_alt_selection_res_9\ : boolean;
|
|
signal \c$case_alt_selection_res_10\ : boolean;
|
|
signal \c$case_alt_selection_res_11\ : boolean;
|
|
signal \c$case_alt_selection_res_12\ : boolean;
|
|
signal \c$case_alt_selection_res_13\ : boolean;
|
|
signal \c$vec_5\ : Prop1_testBench_types.array_of_signed_2(0 to 1);
|
|
signal \c$case_alt_sel_alt_33\ : Prop1_testBench_types.Tup2_1;
|
|
signal \c$vec_6\ : Prop1_testBench_types.array_of_signed_2(0 to 1);
|
|
signal \c$app_arg_3_5\ : Prop1_testBench_types.Tup2_1;
|
|
signal ds4_selection_res_1 : boolean;
|
|
signal \c$ds_app_arg_selection_res_0\ : boolean;
|
|
signal \c$vec_7\ : Prop1_testBench_types.array_of_boolean(0 to 12);
|
|
|
|
begin
|
|
\c$ds_app_arg_selection_res\ <= s < to_unsigned(12,4);
|
|
|
|
\c$ds_app_arg\ <= s + to_unsigned(1,4) when \c$ds_app_arg_selection_res\ else
|
|
s;
|
|
|
|
\c$vec\ <= Prop1_testBench_types.array_of_boolean'( false
|
|
, false
|
|
, true
|
|
, false
|
|
, false
|
|
, true
|
|
, false
|
|
, false
|
|
, true
|
|
, true
|
|
, true
|
|
, true
|
|
, false );
|
|
|
|
-- index begin
|
|
indexVec : block
|
|
signal vec_index : integer range 0 to 13-1;
|
|
begin
|
|
vec_index <= to_integer((signed(std_logic_vector(resize(s,64)))))
|
|
-- pragma translate_off
|
|
mod 13
|
|
-- pragma translate_on
|
|
;
|
|
\c$ds_app_arg_0\ <= \c$vec\(vec_index);
|
|
end block;
|
|
-- index end
|
|
|
|
-- register begin
|
|
s_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
s <= to_unsigned(0,4);
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
s <= \c$ds_app_arg\;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
-- tbClockGen begin
|
|
-- pragma translate_off
|
|
clkGen : process is
|
|
constant half_periodH : time := 10000000 fs / 2;
|
|
constant half_periodL : time := 10000000 fs - half_periodH;
|
|
begin
|
|
\Prop1.testBench_clk\ <= '0';
|
|
wait for 10000 ps;
|
|
while (not \c$result_rec\) loop
|
|
\Prop1.testBench_clk\ <= not \Prop1.testBench_clk\;
|
|
wait for half_periodH;
|
|
\Prop1.testBench_clk\ <= not \Prop1.testBench_clk\;
|
|
wait for half_periodL;
|
|
end loop;
|
|
wait;
|
|
end process;
|
|
-- pragma translate_on
|
|
-- tbClockGen end
|
|
|
|
z <= resize(s_0,5) + resize(to_unsigned(1,4),5);
|
|
|
|
result_selection_res <= z > to_unsigned(14,5);
|
|
|
|
result_1 <= to_unsigned(14,4) when result_selection_res else
|
|
resize(z,4);
|
|
|
|
\c$vec_0\ <= Prop1_testBench_types.array_of_boolean'( false
|
|
, false
|
|
, true
|
|
, true
|
|
, false
|
|
, true
|
|
, true
|
|
, false
|
|
, true
|
|
, true
|
|
, false
|
|
, false
|
|
, false
|
|
, false
|
|
, true );
|
|
|
|
-- index begin
|
|
indexVec_0 : block
|
|
signal vec_index_0 : integer range 0 to 15-1;
|
|
begin
|
|
vec_index_0 <= to_integer((signed(std_logic_vector(resize(s_0,64)))))
|
|
-- pragma translate_off
|
|
mod 15
|
|
-- pragma translate_on
|
|
;
|
|
\c$ds_app_arg_1\ <= \c$vec_0\(vec_index_0);
|
|
end block;
|
|
-- index end
|
|
|
|
\c$result_rec\ <= \f'\ when \f'\ else
|
|
f2;
|
|
|
|
-- register begin
|
|
s_0_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
s_0 <= to_unsigned(0,4);
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
s_0 <= result_1;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
-- assert begin
|
|
r_assert : block
|
|
-- pragma translate_off
|
|
signal actual : boolean;
|
|
signal expected : boolean;
|
|
-- pragma translate_on
|
|
begin
|
|
-- pragma translate_off
|
|
actual <= result_2;
|
|
expected <= \c$ds_app_arg_1\;
|
|
process(\Prop1.testBench_clk\) is
|
|
begin
|
|
if (rising_edge(\Prop1.testBench_clk\)) then
|
|
assert (toSLV(actual) = toSLV(expected)) report (("outputVerifier") & ", expected: " & testBench_slv2string_FD7FE0FDE5409B5E.slv2string(toSLV(expected)) & ", actual: " & testBench_slv2string_FD7FE0FDE5409B5E.slv2string(toSLV(actual))) severity error;
|
|
end if;
|
|
end process;
|
|
-- pragma translate_on
|
|
f2 <= \f'\;
|
|
end block;
|
|
-- assert end
|
|
|
|
-- register begin
|
|
f_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\f'\ <= false;
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\f'\ <= (s_0 = to_unsigned(14,4));
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
-- register begin
|
|
cds_app_arg_2_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\c$ds_app_arg_2\ <= Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2));
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\c$ds_app_arg_2\ <= result_3.Tup2_sel0_array_of_signed_2;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
result_2 <= result_3.Tup2_sel1_boolean;
|
|
|
|
\c$case_alt_selection_res\ <= (to_unsigned(0,5) <= tt2) and (to_unsigned(0,5) >= tt1);
|
|
|
|
\c$case_alt\ <= to_signed(1,2) when \c$case_alt_selection_res\ else
|
|
\c$case_alt_0\;
|
|
|
|
\c$case_alt_selection_res_0\ <= (to_unsigned(0,5) <= ff2) and (to_unsigned(0,5) >= ff1);
|
|
|
|
\c$case_alt_0\ <= to_signed(-1,2) when \c$case_alt_selection_res_0\ else
|
|
\c$case_alt_1\;
|
|
|
|
\c$case_alt_selection_res_1\ <= (to_unsigned(0,5) <= mm2) and (to_unsigned(0,5) >= mm1);
|
|
|
|
\c$case_alt_1\ <= to_signed(0,2) when \c$case_alt_selection_res_1\ else
|
|
\c$case_alt_2\;
|
|
|
|
\c$case_alt_selection_res_2\ <= (to_unsigned(0,5) <= tm2) and ((to_unsigned(0,5) >= tm1) and \c$app_arg\);
|
|
|
|
\c$case_alt_2\ <= to_signed(1,2) when \c$case_alt_selection_res_2\ else
|
|
\c$case_alt_3\;
|
|
|
|
\c$case_alt_selection_res_3\ <= (to_unsigned(0,5) <= fm2) and ((to_unsigned(0,5) >= fm1) and \c$app_arg\);
|
|
|
|
\c$vec_1\ <= (Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2))) & Prop1_testBench_types.array_of_signed_2'(\c$ds_app_arg_2\)));
|
|
|
|
\c$case_alt_sel_alt_9\ <= (\c$vec_1\(0 to 1-1),\c$vec_1\(1 to \c$vec_1\'high));
|
|
|
|
\c$case_alt_3\ <= to_signed(-1,2) when \c$case_alt_selection_res_3\ else
|
|
\c$case_alt_sel_alt_9\.Tup2_1_sel0_array_of_signed_2_0(0);
|
|
|
|
fm1 <= result_4.Tup10_sel8_unsigned_8;
|
|
|
|
fm2 <= result_4.Tup10_sel9_unsigned_9;
|
|
|
|
\c$vec_2\ <= (Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2))) & Prop1_testBench_types.array_of_signed_2'(\c$ds_app_arg_2\)));
|
|
|
|
\c$app_arg_7\ <= (\c$vec_2\(0 to 1-1),\c$vec_2\(1 to \c$vec_2\'high));
|
|
|
|
\c$app_arg\ <= \c$app_arg_7\.Tup2_1_sel0_array_of_signed_2_0(0) = to_signed(0,2);
|
|
|
|
tm1 <= result_4.Tup10_sel6_unsigned_6;
|
|
|
|
tm2 <= result_4.Tup10_sel7_unsigned_7;
|
|
|
|
mm1 <= result_4.Tup10_sel4_unsigned_4;
|
|
|
|
mm2 <= result_4.Tup10_sel5_unsigned_5;
|
|
|
|
ff1 <= result_4.Tup10_sel2_unsigned_2;
|
|
|
|
ff2 <= result_4.Tup10_sel3_unsigned_3;
|
|
|
|
tt1 <= result_4.Tup10_sel0_unsigned_0;
|
|
|
|
tt2 <= result_4.Tup10_sel1_unsigned_1;
|
|
|
|
-- index begin
|
|
indexVec_1 : block
|
|
signal vec_index_1 : integer range 0 to 1-1;
|
|
begin
|
|
vec_index_1 <= to_integer(to_signed(0,64))
|
|
-- pragma translate_off
|
|
mod 1
|
|
-- pragma translate_on
|
|
;
|
|
\c$app_arg_0\ <= \c$ds_app_arg_2\(vec_index_1);
|
|
end block;
|
|
-- index end
|
|
|
|
result_3 <= ( Tup2_sel0_array_of_signed_2 => Prop1_testBench_types.array_of_signed_2'(0 => \c$case_alt\)
|
|
, Tup2_sel1_boolean => \c$app_arg_0\ = to_signed(1,2) );
|
|
|
|
-- register begin
|
|
cds_app_arg_3_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\c$ds_app_arg_3\ <= ( Tup3_sel0_unsigned => to_unsigned(0,1)
|
|
, Tup3_sel1_Tup10_0 => ( Tup10_sel0_unsigned_0 => to_unsigned(0,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(0,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(31,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(31,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) )
|
|
, Tup3_sel2_Tup10_1 => ( Tup10_sel0_unsigned_0 => to_unsigned(31,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(31,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(0,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(0,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) ) );
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\c$ds_app_arg_3\ <= result_5.Tup2_0_sel0_Tup3;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
result_4 <= result_5.Tup2_0_sel1_Tup10;
|
|
|
|
result_5 <= ( Tup2_0_sel0_Tup3 => \c$ds_app_arg_3\
|
|
, Tup2_0_sel1_Tup10 => ( Tup10_sel0_unsigned_0 => ds4.Tup10_sel0_unsigned_0
|
|
, Tup10_sel1_unsigned_1 => ds4.Tup10_sel1_unsigned_1
|
|
, Tup10_sel2_unsigned_2 => ds4.Tup10_sel2_unsigned_2
|
|
, Tup10_sel3_unsigned_3 => ds4.Tup10_sel3_unsigned_3
|
|
, Tup10_sel4_unsigned_4 => ds4.Tup10_sel4_unsigned_4
|
|
, Tup10_sel5_unsigned_5 => ds4.Tup10_sel5_unsigned_5
|
|
, Tup10_sel6_unsigned_6 => ds4.Tup10_sel6_unsigned_6
|
|
, Tup10_sel7_unsigned_7 => ds4.Tup10_sel7_unsigned_7
|
|
, Tup10_sel8_unsigned_8 => ds4.Tup10_sel8_unsigned_8
|
|
, Tup10_sel9_unsigned_9 => ds4.Tup10_sel9_unsigned_9 ) );
|
|
|
|
opcode <= \c$ds_app_arg_3\.Tup3_sel0_unsigned;
|
|
|
|
ds4_selection_res <= ((opcode = to_unsigned(0,1)) and (result_10 or result_6)) or ((opcode = to_unsigned(1,1)) and result_10);
|
|
|
|
ds4 <= \c$ds_app_arg_3\.Tup3_sel1_Tup10_0 when ds4_selection_res else
|
|
\c$ds_app_arg_3\.Tup3_sel2_Tup10_1;
|
|
|
|
-- register begin
|
|
cds_app_arg_4_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\c$ds_app_arg_4\ <= Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2));
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\c$ds_app_arg_4\ <= result_7.Tup2_sel0_array_of_signed_2;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
result_6 <= result_7.Tup2_sel1_boolean;
|
|
|
|
\c$case_alt_selection_res_4\ <= (to_unsigned(0,5) <= tt2_0) and (to_unsigned(0,5) >= tt1_0);
|
|
|
|
\c$case_alt_4\ <= to_signed(1,2) when \c$case_alt_selection_res_4\ else
|
|
\c$case_alt_5\;
|
|
|
|
\c$case_alt_selection_res_5\ <= (to_unsigned(0,5) <= ff2_0) and (to_unsigned(0,5) >= ff1_0);
|
|
|
|
\c$case_alt_5\ <= to_signed(-1,2) when \c$case_alt_selection_res_5\ else
|
|
\c$case_alt_6\;
|
|
|
|
\c$case_alt_selection_res_6\ <= (to_unsigned(0,5) <= mm2_0) and (to_unsigned(0,5) >= mm1_0);
|
|
|
|
\c$case_alt_6\ <= to_signed(0,2) when \c$case_alt_selection_res_6\ else
|
|
\c$case_alt_7\;
|
|
|
|
\c$case_alt_selection_res_7\ <= (to_unsigned(0,5) <= tm2_0) and ((to_unsigned(0,5) >= tm1_0) and \c$app_arg_1\);
|
|
|
|
\c$case_alt_7\ <= to_signed(1,2) when \c$case_alt_selection_res_7\ else
|
|
\c$case_alt_8\;
|
|
|
|
\c$case_alt_selection_res_8\ <= (to_unsigned(0,5) <= fm2_0) and ((to_unsigned(0,5) >= fm1_0) and \c$app_arg_1\);
|
|
|
|
\c$vec_3\ <= (Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2))) & Prop1_testBench_types.array_of_signed_2'(\c$ds_app_arg_4\)));
|
|
|
|
\c$case_alt_sel_alt_21\ <= (\c$vec_3\(0 to 1-1),\c$vec_3\(1 to \c$vec_3\'high));
|
|
|
|
\c$case_alt_8\ <= to_signed(-1,2) when \c$case_alt_selection_res_8\ else
|
|
\c$case_alt_sel_alt_21\.Tup2_1_sel0_array_of_signed_2_0(0);
|
|
|
|
fm1_0 <= result_8.Tup10_sel8_unsigned_8;
|
|
|
|
fm2_0 <= result_8.Tup10_sel9_unsigned_9;
|
|
|
|
\c$vec_4\ <= (Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2))) & Prop1_testBench_types.array_of_signed_2'(\c$ds_app_arg_4\)));
|
|
|
|
\c$app_arg_1_2\ <= (\c$vec_4\(0 to 1-1),\c$vec_4\(1 to \c$vec_4\'high));
|
|
|
|
\c$app_arg_1\ <= \c$app_arg_1_2\.Tup2_1_sel0_array_of_signed_2_0(0) = to_signed(0,2);
|
|
|
|
tm1_0 <= result_8.Tup10_sel6_unsigned_6;
|
|
|
|
tm2_0 <= result_8.Tup10_sel7_unsigned_7;
|
|
|
|
mm1_0 <= result_8.Tup10_sel4_unsigned_4;
|
|
|
|
mm2_0 <= result_8.Tup10_sel5_unsigned_5;
|
|
|
|
ff1_0 <= result_8.Tup10_sel2_unsigned_2;
|
|
|
|
ff2_0 <= result_8.Tup10_sel3_unsigned_3;
|
|
|
|
tt1_0 <= result_8.Tup10_sel0_unsigned_0;
|
|
|
|
tt2_0 <= result_8.Tup10_sel1_unsigned_1;
|
|
|
|
-- index begin
|
|
indexVec_2 : block
|
|
signal vec_index_2 : integer range 0 to 1-1;
|
|
begin
|
|
vec_index_2 <= to_integer(to_signed(0,64))
|
|
-- pragma translate_off
|
|
mod 1
|
|
-- pragma translate_on
|
|
;
|
|
\c$app_arg_2\ <= \c$ds_app_arg_4\(vec_index_2);
|
|
end block;
|
|
-- index end
|
|
|
|
result_7 <= ( Tup2_sel0_array_of_signed_2 => Prop1_testBench_types.array_of_signed_2'(0 => \c$case_alt_4\)
|
|
, Tup2_sel1_boolean => \c$app_arg_2\ = to_signed(1,2) );
|
|
|
|
-- register begin
|
|
cds_app_arg_5_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\c$ds_app_arg_5\ <= ( Tup3_sel0_unsigned => to_unsigned(1,1)
|
|
, Tup3_sel1_Tup10_0 => ( Tup10_sel0_unsigned_0 => to_unsigned(31,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(31,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(0,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(0,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) )
|
|
, Tup3_sel2_Tup10_1 => ( Tup10_sel0_unsigned_0 => to_unsigned(0,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(0,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(31,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(31,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) ) );
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\c$ds_app_arg_5\ <= result_9.Tup2_0_sel0_Tup3;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
result_8 <= result_9.Tup2_0_sel1_Tup10;
|
|
|
|
result_9 <= ( Tup2_0_sel0_Tup3 => \c$ds_app_arg_5\
|
|
, Tup2_0_sel1_Tup10 => ( Tup10_sel0_unsigned_0 => ds4_0.Tup10_sel0_unsigned_0
|
|
, Tup10_sel1_unsigned_1 => ds4_0.Tup10_sel1_unsigned_1
|
|
, Tup10_sel2_unsigned_2 => ds4_0.Tup10_sel2_unsigned_2
|
|
, Tup10_sel3_unsigned_3 => ds4_0.Tup10_sel3_unsigned_3
|
|
, Tup10_sel4_unsigned_4 => ds4_0.Tup10_sel4_unsigned_4
|
|
, Tup10_sel5_unsigned_5 => ds4_0.Tup10_sel5_unsigned_5
|
|
, Tup10_sel6_unsigned_6 => ds4_0.Tup10_sel6_unsigned_6
|
|
, Tup10_sel7_unsigned_7 => ds4_0.Tup10_sel7_unsigned_7
|
|
, Tup10_sel8_unsigned_8 => ds4_0.Tup10_sel8_unsigned_8
|
|
, Tup10_sel9_unsigned_9 => ds4_0.Tup10_sel9_unsigned_9 ) );
|
|
|
|
opcode_0 <= \c$ds_app_arg_5\.Tup3_sel0_unsigned;
|
|
|
|
ds4_selection_res_0 <= ((opcode_0 = to_unsigned(0,1)) and (\c$ds_app_arg_9\ or \c$ds_app_arg_9\)) or ((opcode_0 = to_unsigned(1,1)) and \c$ds_app_arg_9\);
|
|
|
|
ds4_0 <= \c$ds_app_arg_5\.Tup3_sel1_Tup10_0 when ds4_selection_res_0 else
|
|
\c$ds_app_arg_5\.Tup3_sel2_Tup10_1;
|
|
|
|
-- register begin
|
|
cds_app_arg_6_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\c$ds_app_arg_6\ <= Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2));
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\c$ds_app_arg_6\ <= result_11.Tup2_sel0_array_of_signed_2;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
result_10 <= result_11.Tup2_sel1_boolean;
|
|
|
|
\c$case_alt_selection_res_9\ <= (to_unsigned(0,5) <= tt2_1) and (to_unsigned(0,5) >= tt1_1);
|
|
|
|
\c$case_alt_9\ <= to_signed(1,2) when \c$case_alt_selection_res_9\ else
|
|
\c$case_alt_10\;
|
|
|
|
\c$case_alt_selection_res_10\ <= (to_unsigned(0,5) <= ff2_1) and (to_unsigned(0,5) >= ff1_1);
|
|
|
|
\c$case_alt_10\ <= to_signed(-1,2) when \c$case_alt_selection_res_10\ else
|
|
\c$case_alt_11\;
|
|
|
|
\c$case_alt_selection_res_11\ <= (to_unsigned(0,5) <= mm2_1) and (to_unsigned(0,5) >= mm1_1);
|
|
|
|
\c$case_alt_11\ <= to_signed(0,2) when \c$case_alt_selection_res_11\ else
|
|
\c$case_alt_12\;
|
|
|
|
\c$case_alt_selection_res_12\ <= (to_unsigned(0,5) <= tm2_1) and ((to_unsigned(0,5) >= tm1_1) and \c$app_arg_3\);
|
|
|
|
\c$case_alt_12\ <= to_signed(1,2) when \c$case_alt_selection_res_12\ else
|
|
\c$case_alt_13\;
|
|
|
|
\c$case_alt_selection_res_13\ <= (to_unsigned(0,5) <= fm2_1) and ((to_unsigned(0,5) >= fm1_1) and \c$app_arg_3\);
|
|
|
|
\c$vec_5\ <= (Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2))) & Prop1_testBench_types.array_of_signed_2'(\c$ds_app_arg_6\)));
|
|
|
|
\c$case_alt_sel_alt_33\ <= (\c$vec_5\(0 to 1-1),\c$vec_5\(1 to \c$vec_5\'high));
|
|
|
|
\c$case_alt_13\ <= to_signed(-1,2) when \c$case_alt_selection_res_13\ else
|
|
\c$case_alt_sel_alt_33\.Tup2_1_sel0_array_of_signed_2_0(0);
|
|
|
|
fm1_1 <= result_12.Tup10_sel8_unsigned_8;
|
|
|
|
fm2_1 <= result_12.Tup10_sel9_unsigned_9;
|
|
|
|
\c$vec_6\ <= (Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(Prop1_testBench_types.array_of_signed_2'(0 => to_signed(0,2))) & Prop1_testBench_types.array_of_signed_2'(\c$ds_app_arg_6\)));
|
|
|
|
\c$app_arg_3_5\ <= (\c$vec_6\(0 to 1-1),\c$vec_6\(1 to \c$vec_6\'high));
|
|
|
|
\c$app_arg_3\ <= \c$app_arg_3_5\.Tup2_1_sel0_array_of_signed_2_0(0) = to_signed(0,2);
|
|
|
|
tm1_1 <= result_12.Tup10_sel6_unsigned_6;
|
|
|
|
tm2_1 <= result_12.Tup10_sel7_unsigned_7;
|
|
|
|
mm1_1 <= result_12.Tup10_sel4_unsigned_4;
|
|
|
|
mm2_1 <= result_12.Tup10_sel5_unsigned_5;
|
|
|
|
ff1_1 <= result_12.Tup10_sel2_unsigned_2;
|
|
|
|
ff2_1 <= result_12.Tup10_sel3_unsigned_3;
|
|
|
|
tt1_1 <= result_12.Tup10_sel0_unsigned_0;
|
|
|
|
tt2_1 <= result_12.Tup10_sel1_unsigned_1;
|
|
|
|
-- index begin
|
|
indexVec_3 : block
|
|
signal vec_index_3 : integer range 0 to 1-1;
|
|
begin
|
|
vec_index_3 <= to_integer(to_signed(0,64))
|
|
-- pragma translate_off
|
|
mod 1
|
|
-- pragma translate_on
|
|
;
|
|
\c$app_arg_4\ <= \c$ds_app_arg_6\(vec_index_3);
|
|
end block;
|
|
-- index end
|
|
|
|
result_11 <= ( Tup2_sel0_array_of_signed_2 => Prop1_testBench_types.array_of_signed_2'(0 => \c$case_alt_9\)
|
|
, Tup2_sel1_boolean => \c$app_arg_4\ = to_signed(1,2) );
|
|
|
|
-- register begin
|
|
cds_app_arg_7_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
\c$ds_app_arg_7\ <= ( Tup3_sel0_unsigned => to_unsigned(1,1)
|
|
, Tup3_sel1_Tup10_0 => ( Tup10_sel0_unsigned_0 => to_unsigned(31,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(31,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(0,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(0,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) )
|
|
, Tup3_sel2_Tup10_1 => ( Tup10_sel0_unsigned_0 => to_unsigned(0,5)
|
|
, Tup10_sel1_unsigned_1 => to_unsigned(0,5)
|
|
, Tup10_sel2_unsigned_2 => to_unsigned(31,5)
|
|
, Tup10_sel3_unsigned_3 => to_unsigned(31,5)
|
|
, Tup10_sel4_unsigned_4 => to_unsigned(31,5)
|
|
, Tup10_sel5_unsigned_5 => to_unsigned(31,5)
|
|
, Tup10_sel6_unsigned_6 => to_unsigned(31,5)
|
|
, Tup10_sel7_unsigned_7 => to_unsigned(31,5)
|
|
, Tup10_sel8_unsigned_8 => to_unsigned(31,5)
|
|
, Tup10_sel9_unsigned_9 => to_unsigned(31,5) ) );
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
\c$ds_app_arg_7\ <= result_13.Tup2_0_sel0_Tup3;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
result_12 <= result_13.Tup2_0_sel1_Tup10;
|
|
|
|
result_13 <= ( Tup2_0_sel0_Tup3 => \c$ds_app_arg_7\
|
|
, Tup2_0_sel1_Tup10 => ( Tup10_sel0_unsigned_0 => ds4_1.Tup10_sel0_unsigned_0
|
|
, Tup10_sel1_unsigned_1 => ds4_1.Tup10_sel1_unsigned_1
|
|
, Tup10_sel2_unsigned_2 => ds4_1.Tup10_sel2_unsigned_2
|
|
, Tup10_sel3_unsigned_3 => ds4_1.Tup10_sel3_unsigned_3
|
|
, Tup10_sel4_unsigned_4 => ds4_1.Tup10_sel4_unsigned_4
|
|
, Tup10_sel5_unsigned_5 => ds4_1.Tup10_sel5_unsigned_5
|
|
, Tup10_sel6_unsigned_6 => ds4_1.Tup10_sel6_unsigned_6
|
|
, Tup10_sel7_unsigned_7 => ds4_1.Tup10_sel7_unsigned_7
|
|
, Tup10_sel8_unsigned_8 => ds4_1.Tup10_sel8_unsigned_8
|
|
, Tup10_sel9_unsigned_9 => ds4_1.Tup10_sel9_unsigned_9 ) );
|
|
|
|
opcode_1 <= \c$ds_app_arg_7\.Tup3_sel0_unsigned;
|
|
|
|
ds4_selection_res_1 <= ((opcode_1 = to_unsigned(0,1)) and (\c$ds_app_arg_0\ or \c$ds_app_arg_0\)) or ((opcode_1 = to_unsigned(1,1)) and \c$ds_app_arg_0\);
|
|
|
|
ds4_1 <= \c$ds_app_arg_7\.Tup3_sel1_Tup10_0 when ds4_selection_res_1 else
|
|
\c$ds_app_arg_7\.Tup3_sel2_Tup10_1;
|
|
|
|
\c$ds_app_arg_selection_res_0\ <= s_1 < to_unsigned(12,4);
|
|
|
|
\c$ds_app_arg_8\ <= s_1 + to_unsigned(1,4) when \c$ds_app_arg_selection_res_0\ else
|
|
s_1;
|
|
|
|
\c$vec_7\ <= Prop1_testBench_types.array_of_boolean'( true
|
|
, true
|
|
, true
|
|
, true
|
|
, true
|
|
, true
|
|
, false
|
|
, false
|
|
, true
|
|
, true
|
|
, true
|
|
, true
|
|
, false );
|
|
|
|
-- index begin
|
|
indexVec_4 : block
|
|
signal vec_index_4 : integer range 0 to 13-1;
|
|
begin
|
|
vec_index_4 <= to_integer((signed(std_logic_vector(resize(s_1,64)))))
|
|
-- pragma translate_off
|
|
mod 13
|
|
-- pragma translate_on
|
|
;
|
|
\c$ds_app_arg_9\ <= \c$vec_7\(vec_index_4);
|
|
end block;
|
|
-- index end
|
|
|
|
-- register begin
|
|
s_1_register : process(\Prop1.testBench_clk\,\c$Prop1.testBench_app_arg\)
|
|
begin
|
|
if \c$Prop1.testBench_app_arg\ = '1' then
|
|
s_1 <= to_unsigned(0,4);
|
|
elsif rising_edge(\Prop1.testBench_clk\) then
|
|
s_1 <= \c$ds_app_arg_8\;
|
|
end if;
|
|
end process;
|
|
-- register end
|
|
|
|
-- resetGen begin
|
|
resetGen : block
|
|
constant reset_delay : time := 10000 ps - 1 ps + (integer'(1) * 10000 ps);
|
|
begin
|
|
-- pragma translate_off
|
|
\c$Prop1.testBench_app_arg\
|
|
<= '1',
|
|
'0' after reset_delay;
|
|
-- pragma translate_on
|
|
end block;
|
|
-- resetGen end
|
|
|
|
result <= \c$result_rec\;
|
|
|
|
|
|
end;
|
|
|