wolfson 发表于 2012-11-29 22:05:43

一个语句,如何理解。

always @(posedge clk)
   begin : bc_proc   if (rst == 1'b 1)
//sync reset
      begin
      bit_ctr <= 3'b 000;       
      end
   else
      begin
      if (tx_start == 1'b 1)
         begin
         bit_ctr <= ssel;       
         end
      else if (shift_clk == 1'b 1 )
         begin
         bit_ctr <= bit_ctr - 1'b 1;       
         end
      end
   end


上面语句中的:bc_proc   (红色字体显示的)是什么语句,怎么理解?

liushui_fei 发表于 2012-11-30 14:45:03

是块名字吧
页: [1]
查看完整版本: 一个语句,如何理解。