Skip to content

Commit

Permalink
Change default DANA config to 2PE, 512KiB Cache
Browse files Browse the repository at this point in the history
This updates the default DANA configuration to use parameters that are
both suitable for small MNIST networks and that will barely fit on a
Zedboard.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
  • Loading branch information
seldridge committed Aug 23, 2017
1 parent 95bccb2 commit 6966dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/dana/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ class DefaultHardwareConfig extends Config ( topDefinitions = {
// Field widths
case NnidWidth => 16
// Processing Element Table
case PeTableNumEntries => 1
case PeTableNumEntries => 2
case PeCooldownWidth => 8
// Configuration Cache
case CacheNumEntries => 2
case CacheSizeBytes => 32 * 1024 // KiB
case CacheSizeBytes => 512 * 1024 // KiB
case CacheNumBlocks => divUp(divUp((site(CacheSizeBytes) * 8),
site(DanaDataBits)), site(ElementsPerBlock))
case CacheInit => Nil
Expand Down

0 comments on commit 6966dd5

Please sign in to comment.