VHDL
counter <= (0 => '1',
4 => '1',
others => '0') // signal赋值
rising_edge(clk) //检测上升沿函数
counter <= (0 => '1',
4 => '1',
others => '0') // signal赋值
rising_edge(clk) //检测上升沿函数