Skip to content

Commit

Permalink
Added comment on practice
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipstanleymarbell committed May 17, 2020
1 parent d96216c commit 0944c51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions verilog/data_mem.v
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ module data_mem (clk, addr, write_data, memwrite, memread, sign_mask, read_data,

/*
* Block memory registers
*
* (Bad practice: The constant for the size should be a `define).
*/
reg [31:0] data_block[0:1023];

Expand Down

0 comments on commit 0944c51

Please sign in to comment.