Skip to content
This repository was archived by the owner on Aug 27, 2019. It is now read-only.

Commit

Permalink
SiriusG: fix size error
Browse files Browse the repository at this point in the history
  • Loading branch information
name1e5s committed Jul 29, 2019
1 parent 2758f73 commit ab348de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion memory.sv
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module memory(
always_comb begin : detect_write_size
if(mem_size == `SZ_BYTE)
data_size = 3'd0;
else if(mem_size = `SZ_HALF)
else if(mem_size == `SZ_HALF)
data_size = 3'd1;
else
data_size = 3'd2;
Expand Down
4 changes: 2 additions & 2 deletions mmu_data.sv
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module mmu_data(
input [31:0] daddr_psy,
input [31:0] wdata,
input daddr_type, // 0 as cacahe...
input [1:0] data_size_in,
output logic [1:0] data_size_out,
input [2:0] data_size_in,
output logic [2:0] data_size_out,

output logic data_ok,
output logic [31:0] data_data,
Expand Down

0 comments on commit ab348de

Please sign in to comment.