Previous journal: | Next journal: |
---|---|
0131-2023-08-24.md | 0133-2023-08-26.md |
-
To do bulk runs of tests described in 0131 I created the script
harden_test.sh
. -
I ran it and it tries to do the 8 different OpenLane hardening runs (currently the last 4 fail due to the yosys-abc bug). On my laptop it completes within about 46 minutes, writing
stats.md
which can be rendered as Markdown. Here are the stats from the design as it currently stands:91bc0e5
: harden_test.sh: Restore backed-up files4x2:1 8x2:1 4x2:2 8x2:2 4x2:3 8x2:3 4x2:4 8x2:4 cells_pre_abc 18,675 18,675 18,675 18,675 18,478 18,478 18,675 18,675 TotalCells 20,968 35,823 20,933 35,903 0 0 -1 -1 suggested_mhz 25.00 25.00 40.80 40.67 47.62 47.62 47.62 47.62 logic_cells 8,054 7,990 8,046 8,021 0 0 0 0 utilisation_% 51.99 25.80 51.99 25.80 0.00 0.00 0.00 0.00 wire_length_um 265,305 246,408 265,320 246,738 0 0 0 0
- Do the proposed changes from yesterday and measure them.
- Report issues to Matt and Uri -- target clock 25MHz instead of 50MHz; and SYNTH_STRATEGY=4 -- and propose a way to override these via
info.yaml
in future.
Add this to ~/.bashrc
:
# Function to set Gnome terminal title. For more info, see:
# https://unix.stackexchange.com/a/186167
function set-title() {
if [[ -z "$ORIG" ]]; then
ORIG=$PS1
fi
TITLE="\[\e]2;$*\a\]"
PS1=${ORIG}${TITLE}
}
Use it like this:
set-title This is my tab title
Note that the $*
part automatically merges all args into 1 string.
NEXT: Figure out how to make a new-pwd handler or prompt (PS1) extension that does this automatically, optionally using one of: (a) relative path; (b) path suffix; (c) repo name/branch; (d) a mapping file of some kind; (e) a per-project/dir file e.g. first heading yanked from README.
Use this example as a guide:
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1="[\t] \u@\h \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ "