../src/lowrisc_constants_top_pkg_0/rtl/top_pkg.sv Cov: 100%

   1: // Copyright lowRISC contributors.
   2: // Licensed under the Apache License, Version 2.0, see LICENSE for details.
   3: // SPDX-License-Identifier: Apache-2.0
   4: //
   5: 
   6: package top_pkg;
   7: 
   8: localparam int TL_AW=32;
   9: localparam int TL_DW=32;    // = TL_DBW * 8; TL_DBW must be a power-of-two
  10: localparam int TL_AIW=8;    // a_source, d_source
  11: localparam int TL_DIW=1;    // d_sink
  12: localparam int TL_DUW=16;   // d_user
  13: localparam int TL_DBW=(TL_DW>>3);
  14: localparam int TL_SZW=$clog2($clog2(TL_DBW)+1);
  15: localparam int FLASH_BANKS=2;
  16: localparam int FLASH_PAGES_PER_BANK=256;
  17: localparam int FLASH_WORDS_PER_PAGE=256;
  18: localparam int FLASH_BYTES_PER_WORD=4;
  19: 
  20: endpackage
  21: