title: Can not use component in active -hdl 10
body: <p>I use <code>active-hdl 10</code> for compile and simulation a DFlipFlop structural.
  my code compiled successfully without any error or warning but when I simulate it,  my output have unknown value .(see picture)</p>
  
  <p><a href="https://i.stack.imgur.com/MvW0K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MvW0K.png" alt="enter image description here"></a><br>
  (click to enlarge)</p>
  
  <p>I compile and simulate this code in <code>xilinx</code> and <code>active-hdl 8</code> without any problem.</p>
  
  <p>D_FlipFlop code:</p>
  
  <pre><code>library IEEE;
  use IEEE.STD_LOGIC_1164.ALL;
  
  entity D_FlipFlop is
  Port ( D : in  STD_LOGIC;
         Clk : in  STD_LOGIC;
         Q : inout  STD_LOGIC);
  end D_FlipFlop;
  
  architecture Behavioral of D_FlipFlop is
  component DLach Port ( D : in  STD_LOGIC;
                            C : in  STD_LOGIC;
                            Q : inout  STD_LOGIC;
                            Qprim : inout  STD_LOGIC);                            
  
  end component;                                                
  Signal Y : STd_logic;
  Signal Clk_Not : Std_Logic;
  Signal out1 : Std_Logic;
  Signal out2 : Std_Logic;
  begin
  Clk_Not&lt;=not(clk);
  h1 : DLach port map(D=&gt;D,C=&gt;clk,Q=&gt;Y,Qprim=&gt;out1);
  h2 : DLach port map(Y,Clk_Not,Q,out2);
  end Behavioral;
  </code></pre>
  
  <p>Dlach code:</p>
  
  <pre><code>library IEEE;
  use IEEE.STD_LOGIC_1164.ALL;
  
  entity DLach is
  Port ( D : in  STD_LOGIC;
         C : in  STD_LOGIC;
         Q : inout  STD_LOGIC:= '0';
         Qprim : inout  STD_LOGIC:= '1');
  end DLach;
  
  architecture Behavioral of DLach is
  
  Signal first : Std_logic ;
  Signal second : Std_logic ;
  Signal D_not : Std_logic ;
  
  begin      
  
  D_Not &lt;= not(D);
  
  first &lt;= D Nand C;
  second &lt;= D_not nand C;
  
  Q &lt;= first nand Qprim;
  Qprim &lt;= second nand Q ;
  
  end Behavioral;
  </code></pre>
  
  <hr>
  
  <p>I research a lot but I cant find the answer.
  so I think this dosent work for who they use trial version of active -hdl.</p>