发布网友 发布时间:2022-04-24 21:00
共1个回答
热心网友 时间:2023-10-11 01:27
他们的区别在代码写法上主要是敏感列表的区别,如下示例所示
异步清零:
always@(posedge clk or negedge rst )
begin
if(!rst) out <= 0;
else
begin
···································
····································
························
end
end
同步清零:
always@(posedge clk)
begin
if(!rst) out <= 0;
else
begin
···································
····································
························
end
end
他们在电路网表中的区别就很大了,主要区别表现在材料上。现在所用的同步或异步IP核,随着材料的进步,同步IP核还可以用,但异步往往就会出现问题,这是因为材料的不同所造成的延时不同。所以如果你所设计的东西涉及到知识产权问题时,建议使用同步设计。