mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 15:08:39 +00:00
Replace old 'reg_clk' name by more generic 'clk'
The reason is that the template will always assume that the bus signals and the registers are synchronous. Designers should implement possible synchronization logic outside of this block.
This commit is contained in:
parent
61cd1fbfe3
commit
fea0019aa8
@ -67,8 +67,7 @@ module_declaration:
|
|||||||
<<UNINDENT>>
|
<<UNINDENT>>
|
||||||
(
|
(
|
||||||
<<INDENT>>
|
<<INDENT>>
|
||||||
// Clock & Resets
|
// Resets
|
||||||
input reg_clk,
|
|
||||||
{resets}
|
{resets}
|
||||||
|
|
||||||
// Inputs
|
// Inputs
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
sense_list_rst:
|
sense_list_rst:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
always_ff @(posedge reg_clk or {rst_edge} {rst_name})
|
always_ff @(posedge clk or {rst_edge} {rst_name})
|
||||||
sense_list_no_rst:
|
sense_list_no_rst:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
always_ff @(posedge reg_clk)
|
always_ff @(posedge clk)
|
||||||
rst_field_assign:
|
rst_field_assign:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
if ({rst_negl}{rst_name})
|
if ({rst_negl}{rst_name})
|
||||||
|
Loading…
Reference in New Issue
Block a user