packages feed

clash-vhdl-0.6.8: primitives/CLaSH.Driver.TopWrapper.json

[ { "BlackBox" :
    { "name"      : "CLaSH.TopWrapper.syncReset"
    , "templateD" :
"-- reset ~RESULT is asynchronously asserted, but synchronously de-asserted
~GENSYM[resetSync][0] : block
  signal ~GENSYM[r1][1] : ~TYP[0];
  signal ~GENSYM[r2][2] : ~TYP[0];
begin
  process(~CLKO,~ARG[0])
  begin
    if ~ARG[0] = '0' then
      ~SYM[1] <= '0';
      ~SYM[2] <= '0';
    elsif rising_edge(~CLKO) then
      ~SYM[1] <= '1';
      ~SYM[2] <= ~SYM[1];
    end if;
  end process;

  ~RESULT <= ~SYM[2];
end block;"
    }
  }
]