Skip to content

Instantly share code, notes, and snippets.

@Xiretza
Xiretza / run.sh
Last active January 11, 2021 12:34
memory init
#!/usr/bin/env bash
# ./run.sh 12 - works
# ./run.sh 13 - needs --max-stack-alloc=
# ./run.sh 17 - needs ulimit -s
# ./run.sh 18 - doesn't work at all at ulimit -s 15000 (maximum)
set -eu
bits=$1

Yosys memory redesign draft

All port and parameter names are subject to change, they have been chosen to be as descriptive as possible for demonstration purposes.

$mem

Unable to represent more than the most basic memory constructs. Removed.

$meminit