Skip to content

Commit

Permalink
Lower smoltcp_client resource usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lmbollen committed Dec 16, 2024
1 parent 58d9a2f commit a3d4839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bittide-instances/src/Bittide/Instances/Pnr/Ethernet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ vexRiscGmii SNat sysClk sysRst rxClk rxRst txClk txRst fwd =
:> 0b1001
:> Nil
)
(Undefined @(256 * 1024))
(Undefined @(64 * 1024))
(Undefined @(DivRU (256 * 1024) 4))
(Undefined @(DivRU (64 * 1024) 4))

vexRiscEthernet ::
Clock Basic125B ->
Expand Down
4 changes: 2 additions & 2 deletions firmware-binaries/examples/smoltcp_client/memory.x
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ SPDX-License-Identifier: CC0-1.0

MEMORY
{
IMEM : ORIGIN = 0x80000000, LENGTH = 1024K
DMEM : ORIGIN = 0x10000000, LENGTH = 256K
IMEM : ORIGIN = 0x80000000, LENGTH = 256K
DMEM : ORIGIN = 0x10000000, LENGTH = 64K
}

REGION_ALIAS("REGION_TEXT", IMEM);
Expand Down

0 comments on commit a3d4839

Please sign in to comment.