dromajo_ram: Fix IEEE compliance (#584)

According to IEEE 1800-2017 (9.2.2.4 Sequential logic always_ff procedure):

"Variables on the left-hand side of assignments within an always_ff procedure, including variables from the contents of a called function, shall not be written to by any other process."
Thus there is a proposal of changing always_ff with always because Mem_DP is driven by two processes: initial and always_ff what is forbidden.
This commit is contained in:
pawelkudlakaldec 2021-01-18 10:36:22 +01:00 committed by GitHub
parent d4605e3b0c
commit 540632a77a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ module dromajo_ram
end
end
always_ff @(posedge Clk_CI) begin
always @(posedge Clk_CI) begin
if(CSel_SI) begin
if(WrEn_SI) begin
if(BEn_SI[0]) Mem_DP[Addr_DI][7:0] <= WrData_DI[7:0];