summaryrefslogtreecommitdiff
path: root/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'rtl')
-rw-r--r--rtl/core/regs/file.sv2
-rw-r--r--rtl/top/hps_sdram_test.sv2
2 files changed, 2 insertions, 2 deletions
diff --git a/rtl/core/regs/file.sv b/rtl/core/regs/file.sv
index 22f7ccf..a296f5e 100644
--- a/rtl/core/regs/file.sv
+++ b/rtl/core/regs/file.sv
@@ -14,7 +14,7 @@ module core_reg_file
// Ver comentario en uarch.sv
word file[30];
- always @(negedge clk) begin
+ always_ff @(posedge clk) begin
if(wr_enable)
file[wr_index] <= wr_value;
diff --git a/rtl/top/hps_sdram_test.sv b/rtl/top/hps_sdram_test.sv
index dbab472..28d6175 100644
--- a/rtl/top/hps_sdram_test.sv
+++ b/rtl/top/hps_sdram_test.sv
@@ -60,7 +60,7 @@ module hps_sdram_test
assign data_wr[7:0] = out;
assign write = dir;
- always @(posedge clk_clk) unique case(state)
+ always_ff @(posedge clk_clk) unique case(state)
IDLE: begin
state <= RELEASE;