这些页面描述如何生成代码同步或异步复位。
web (fullfile (docroot hdlcoder / ug / reset-and-clock-enable-settings.html))
异步
使用
异步
重置
逻辑。这
重置
逻辑的样本
重置
独立的时钟信号。
下面的过程,生成的
单位延迟
块,说明了使用
异步
重置
。当
重置
信号是断言,这个过程块执行
重置
,没有检查时钟事件。
Unit_Delay1_process:过程(时钟,
重置
)
开始
如果
重置
= ' 1 '
Unit_Delay1_out1 < =(别人= > ' 0 ');
ELSIF clk 'event clk = ' 1 '
如果clk_enable = ' 1 '
Unit_Delay1_out1 < =签署(x_in);
如果;
如果;
结束过程Unit_Delay1_process;
web (fullfile (docroot hdlcoder / ug / guidelines-for-clock-and-reset-signals.html))
web (fullfile (docroot hdlcoder / ug / check-for-global-reset-setting-for-xilinx-and-altera-devices.html))