【正文】
。 green = light(1 downto 0)。 yellow = light(3 downto 2) and (flash_1Hz amp。 light: r(10)y(10)g(10) light = 010010 when (state=r0g1) else 011000 when (state=r0y1) else 100001 when (state=g0r1) else 100100 when (state=y0r1) else 110000。 end if。 end case。039。 when others = state=r0g1。b01。b00。b10。 state=y0r1。 else recount=39。 state=r0g1。) then recount=39。) then if (next_state = 39。 and ena_1Hz=39。 when y0r1 = now state: green0 on red1 on if (a_m=39。b00。b01。b10。 state=g0r1。 else recount=39。 state=y0r1。) then recount=39。) then if (next_state = 39。 and ena_1Hz=39。 when g0r1 = now state: green0 on red1 on if (a_m=39。 state=r0y1。 else recount=39。 state=g0r1。) then recount=39。) then if (next_state = 39。 and clk_1Hz=39。 when r0y1 = now state: red0 on yellow1 flash if (a_m=39。