ucb-bar / chipyard

An Agile RISC-V SoC Design Framework with in-order cores, out-of-order cores, accelerators, and more
https://chipyard.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
1.67k stars 657 forks source link

chipyard.config.WithTileFrequency not working in 1.9.0 #1423

Closed noahgaertner closed 1 year ago

noahgaertner commented 1 year ago

Background Work

Chipyard Version and Hash

Release: 1.9.0 Hash: 7475bfb

OS Setup

Ex: Output of uname -a + lsb_release -a + printenv + conda list uname - a

Linux ece015.ece.local.cmu.edu 3.10.0-1160.83.1.el7.x86_64 #1 SMP Mon Dec 19 10:44:06 UTC 2022 x86_64 GNU/Linux

lsb_release -a

LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.9 (Maipo)
Release:    7.9
Codename:   Maipo

printenv (w/o pdk proprientary info)

MANPATH=/afs/ece.cmu.edu/usr/ngaertne/.nvm/versions/node/v19.6.0/share/man:/afs/club.cc.cmu.edu/contrib/rhel79/share/man::/opt/puppetlabs/puppet/share/man:/afs/ece.cmu.edu/support/synopsys/synopsys.release/T-Foundation/vcs/T-2022.06//doc/man:/syn/U-2022.12-SP2/doc/syn/man
XDG_SESSION_ID=5779
HOSTNAME=ece015.ece.local.cmu.edu
SELINUX_ROLE_REQUESTED=
TERM=xterm-256color
SHELL=/afs/ece.cmu.edu/usr/ngaertne/bin/zsh
HISTSIZE=1000
SSH_CLIENT=128.2.131.23 57514 22
SELINUX_USE_CURRENT_RANGE=
QTDIR=/usr/lib64/qt-3.3
OLDPWD=/afs/ece.cmu.edu/usr/ngaertne
QTINC=/usr/lib64/qt-3.3/include
SSH_TTY=/dev/pts/191
LC_ALL=en_US.UTF-8
QT_GRAPHICSSYSTEM_CHECKED=1
NO_PROXY=localhost,127.0.0.1,.cmu.edu,.cmu.local
http_proxy=http://proximus.ece.cmu.edu:3128/
USER=ngaertne
LD_LIBRARY_PATH=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/riscv-tools/lib:/afs/club.cc.cmu.edu/contrib/rhel79/lib:/afs/club.cc.cmu.edu/contrib/rhel79/lib64:
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
FTP_PROXY=http://proximus.ece.cmu.edu:3128/
ftp_proxy=http://proximus.ece.cmu.edu:3128/
MAIL=/var/spool/mail/ngaertne
PATH=/afs/ece.cmu.edu/support/cds/share/image/usr/cds/xcelium-22.03/tools.lnx86/bin:/afs/club.cc.cmu.edu/projects/stuco-open-eda/oss-cad-suite/bin:/afs/club.cc.cmu.edu/projects/stuco-open-eda/oss-cad-suite/py3bin:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/riscv-tools/bin:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/software/firemarshal:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/software/firemarshal:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/riscv-tools/bin:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/software/firemarshal:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/bin:/afs/ece.cmu.edu/usr/ngaertne/mambaforge/condabin:/afs/ece.cmu.edu/usr/ngaertne/.nvm/versions/node/v19.6.0/bin:/afs/ece/usr/ngaertne/.local/bin:/afs/ece/usr/ngaertne/bin/jdk-19.0.2+7/bin:/afs/ece.cmu.edu/usr/ngaertne/bin:/afs/ece.cmu.edu/usr/ngaertne/.local/share/zinit/polaris/bin:/afs/ece.cmu.edu/usr/ngaertne/.cargo/bin:/afs/club.cc.cmu.edu/contrib/rhel79/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/opt/dell/srvadmin/bin:/afs/club.cc.cmu.edu/contrib/misc/yosys-rhel79/bin:/afs/ece.cmu.edu/usr/ngaertne/bin:/afs/ece.cmu.edu/class/ece240/bin:/afs/ece.cmu.edu/support/synopsys/synopsys.release/T-Foundation/vcs/T-2022.06/bin:/syn/U-2022.12-SP2/bin:/afs/ece/support/altera/release/pro-19.3.0.222/quartus/bin:/afs/club.cc.cmu.edu/projects/stuco-open-eda/bin
PWD=/afs/ece.cmu.edu/usr/ngaertne
LANG=en_US.UTF-8
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
LOADEDMODULES=
KDEDIRS=/usr
SELINUX_LEVEL_REQUESTED=
HTTPS_PROXY=http://proximus.ece.cmu.edu:3128/
https_proxy=http://proximus.ece.cmu.edu:3128/
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
KRB5CCNAME=KEYRING:persistent:2671647:krb_ccache_1h0cp43
SHLVL=1
HOME=/afs/ece.cmu.edu/usr/ngaertne
no_proxy=localhost,127.0.0.1,.cmu.edu,.cmu.local
HTTP_PROXY=http://proximus.ece.cmu.edu:3128/
LOGNAME=ngaertne
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
XDG_DATA_DIRS=/afs/ece.cmu.edu/usr/ngaertne/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
SSH_CONNECTION=128.2.131.23 57514 172.19.138.17 22
MODULESHOME=/usr/share/Modules
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_RUNTIME_DIR=/run/user/2671647
DISPLAY=localhost:10.0
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
AKLOG=/usr/bin/aklog
BASH_FUNC_module()=() {  eval `/usr/bin/modulecmd bash $*`
}
P9K_TTY=old
_P9K_TTY=/dev/pts/191
ZPFX=/afs/ece.cmu.edu/usr/ngaertne/.local/share/zinit/polaris
ZSH_CACHE_DIR=/afs/ece.cmu.edu/usr/ngaertne/.cache/zinit
PMSPEC=0uUpiPsf
P9K_SSH=1
SSH_AUTH_SOCK=/tmp/ssh-zEoXA9CgLg5c/agent.23451
SSH_AGENT_PID=23452
SDKMAN_DIR=/afs/ece.cmu.edu/usr/ngaertne/.sdkman
NVM_DIR=/afs/ece.cmu.edu/usr/ngaertne/.nvm
NVM_CD_FLAGS=-q
NVM_BIN=/afs/ece.cmu.edu/usr/ngaertne/.nvm/versions/node/v19.6.0/bin
NVM_INC=/afs/ece.cmu.edu/usr/ngaertne/.nvm/versions/node/v19.6.0/include/node
SYNOPSYS_HOME=/afs/ece.cmu.edu/support/synopsys/synopsys.release/T-Foundation
LM_LICENSE_FILE=/afs/ece.cmu.edu/support/synopsys/license.dat:5281@altera-lic.ece.cmu.edu
VCS_HOME=/afs/ece.cmu.edu/support/synopsys/synopsys.release/T-Foundation/vcs/T-2022.06/
VCS_ARCH_OVERRIDE=linux
VCS_TARGET_ARCH=amd64
VCS_MODE_FLAG=64
VCS_LIC_EXPIRE_WARNING=0
SYN_DIR=/syn/U-2022.12-SP2
DC_HOME=/syn/U-2022.12-SP2/
QUARTUS_64BIT=1
ECE725_HOME=/afs/ece.cmu.edu/usr/ngaertne/725
CONDA_EXE=/afs/ece.cmu.edu/usr/ngaertne/mambaforge/bin/conda
_CE_M=
_CE_CONDA=
CONDA_PYTHON_EXE=/afs/ece.cmu.edu/usr/ngaertne/mambaforge/bin/python
CONDA_SHLVL=2
CONDA_PREFIX=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env
CONDA_DEFAULT_ENV=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env
CONDA_PROMPT_MODIFIER=(/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env)
CONDA_PREFIX_1=/afs/ece.cmu.edu/usr/ngaertne/mambaforge
CONDA_BACKUP_PATH=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/software/firemarshal:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/software/firemarshal:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/riscv-tools/bin:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/software/firemarshal:/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/bin:/afs/ece.cmu.edu/usr/ngaertne/mambaforge/condabin:/afs/ece.cmu.edu/usr/ngaertne/.nvm/versions/node/v19.6.0/bin:/afs/ece/usr/ngaertne/.local/bin:/afs/ece/usr/ngaertne/bin/jdk-19.0.2+7/bin:/afs/ece.cmu.edu/usr/ngaertne/bin:/afs/ece.cmu.edu/usr/ngaertne/.local/share/zinit/polaris/bin:/afs/ece.cmu.edu/usr/ngaertne/.cargo/bin:/afs/club.cc.cmu.edu/contrib/rhel79/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/opt/dell/srvadmin/bin:/afs/club.cc.cmu.edu/contrib/misc/yosys-rhel79/bin:/afs/ece.cmu.edu/usr/ngaertne/bin:/afs/ece.cmu.edu/class/ece240/bin:/afs/ece.cmu.edu/support/synopsys/synopsys.release/T-Foundation/vcs/T-2022.06/bin:/syn/U-2022.12-SP2/bin:/afs/ece/support/altera/release/pro-19.3.0.222/quartus/bin
CONDA_BACKUP_LD_LIBRARY_PATH=/afs/club.cc.cmu.edu/contrib/rhel79/lib:/afs/club.cc.cmu.edu/contrib/rhel79/lib64:
RISCV=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/riscv-tools
GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
GSETTINGS_SCHEMA_DIR=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/share/glib-2.0/schemas
XML_CATALOG_FILES=file:///afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/etc/xml/catalog file:///etc/xml/catalog
JAVA_HOME_CONDA_BACKUP=
JAVA_HOME=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/lib/jvm
JAVA_LD_LIBRARY_PATH_BACKUP=
JAVA_LD_LIBRARY_PATH=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/lib/jvm/lib/server
VIRTUAL_ENV=OSS CAD Suite
PS1=%K{blue}%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k
VERILATOR_ROOT=/afs/club.cc.cmu.edu/projects/stuco-open-eda/oss-cad-suite/share/verilator
GHDL_PREFIX=/afs/club.cc.cmu.edu/projects/stuco-open-eda/oss-cad-suite/lib/ghdl
SIM_DIR=/afs/ece.cmu.edu/support/cds/share/image/usr/cds/xcelium-22.03/tools.lnx86
_=/afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env/bin/printenv

conda list

# packages in environment at /afs/ece.cmu.edu/usr/ngaertne/725/chipyard-1.9/.conda-env:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
_sysroot_linux-64_curr_repodata_hack 3                   h5bd9786_13    conda-forge
aiobotocore               2.4.2              pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.4           py310h1fa729e_0    conda-forge
aioitertools              0.11.0             pyhd8ed1ab_0    conda-forge
aiosignal                 1.3.1              pyhd8ed1ab_0    conda-forge
alabaster                 0.7.13             pyhd8ed1ab_0    conda-forge
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argcomplete               3.0.2              pyhd8ed1ab_0    conda-forge
asttokens                 2.2.1                    pypi_0    pypi
async-timeout             4.0.2              pyhd8ed1ab_0    conda-forge
atk-1.0                   2.38.0               hd4edc92_1    conda-forge
attrs                     22.2.0             pyh71513ae_0    conda-forge
autoconf                  2.71            pl5321h2b4cb7a_1    conda-forge
aws-sam-translator        1.55.0             pyhd8ed1ab_0    conda-forge
aws-xray-sdk              2.11.0             pyhd8ed1ab_0    conda-forge
awscli                    1.25.60         py310hff52083_0    conda-forge
azure-core                1.26.3             pyhd8ed1ab_0    conda-forge
azure-identity            1.12.0             pyhd8ed1ab_0    conda-forge
babel                     2.12.1             pyhd8ed1ab_1    conda-forge
bash                      5.1.16               hd863ed2_0    conda-forge
bash-completion           2.11                 ha770c72_1    conda-forge
bc                        1.07.1               h7f98852_0    conda-forge
bcrypt                    3.2.2           py310h5764c6d_1    conda-forge
binutils                  2.40                 hdd6e379_0    conda-forge
binutils_impl_linux-64    2.40                 hf600244_0    conda-forge
bison                     3.8                  h9c3ff4c_0    conda-forge
boto3                     1.24.59            pyhd8ed1ab_0    conda-forge
boto3-stubs               1.26.95            pyhd8ed1ab_0    conda-forge
botocore                  1.27.59            pyhd8ed1ab_0    conda-forge
botocore-stubs            1.29.95                  pypi_0    pypi
brotli                    1.0.9                h166bdaf_8    conda-forge
brotli-bin                1.0.9                h166bdaf_8    conda-forge
brotlipy                  0.7.0           py310h5764c6d_1005    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.12.7            ha878542_0    conda-forge
cachecontrol              0.12.11            pyhd8ed1ab_1    conda-forge
cachecontrol-with-filecache 0.12.11            pyhd8ed1ab_1    conda-forge
cachy                     0.3.0              pyhd8ed1ab_1    conda-forge
cairo                     1.16.0            ha61ee94_1014    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310h255011f_3    conda-forge
cfgv                      3.3.1              pyhd8ed1ab_0    conda-forge
cfn-lint                  0.75.1             pyhd8ed1ab_0    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
clang-format              15.0.7          default_had23c3d_1    conda-forge
clang-format-15           15.0.7          default_had23c3d_1    conda-forge
clang-tools               15.0.7          default_had23c3d_1    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
click-default-group       1.2.2              pyhd8ed1ab_1    conda-forge
clikit                    0.6.2              pyhd8ed1ab_2    conda-forge
cloudpickle               2.2.1              pyhd8ed1ab_0    conda-forge
cmake                     3.26.0               h077f3f9_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
conda                     22.11.1         py310hff52083_1    conda-forge
conda-gcc-specs           12.2.0              he6d4335_19    conda-forge
conda-lock                1.4.0              pyhd8ed1ab_2    conda-forge
conda-package-handling    2.0.2              pyh38be061_0    conda-forge
conda-package-streaming   0.7.0              pyhd8ed1ab_1    conda-forge
conda-standalone          22.11.1              ha770c72_0    conda-forge
conda-tree                1.1.0              pyhd8ed1ab_0    conda-forge
constructor               3.4.3              pyhe4f9e05_0    conda-forge
contourpy                 1.0.7           py310hdf3cbec_0    conda-forge
coreutils                 9.2                  h0b41bf4_0    conda-forge
crashtest                 0.4.1              pyhd8ed1ab_0    conda-forge
cryptography              39.0.2          py310h34c0648_0    conda-forge
ctags                     5.8               h14c3975_1000    conda-forge
curl                      7.88.1               hdc1c0ab_1    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
diffutils                 3.9                  h6c2ea63_0    conda-forge
distlib                   0.3.6              pyhd8ed1ab_0    conda-forge
docker-py                 6.0.0              pyhd8ed1ab_0    conda-forge
docutils                  0.15.2          py310hff52083_6    conda-forge
doit                      0.36.0             pyhd8ed1ab_0    conda-forge
dromajo                   1.0.0           0_h1234567_g6a6e34e    ucb-bar
dtc                       1.6.1                h166bdaf_2    conda-forge
ecdsa                     0.18.0             pyhd8ed1ab_1    conda-forge
elfutils                  0.187                h989201e_0    conda-forge
ensureconda               1.4.3              pyhd8ed1ab_0    conda-forge
exceptiongroup            1.1.1              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                h27087fc_0    conda-forge
expect                    5.45.4               h555a92e_0    conda-forge
fab-classic               1.19.2                   pypi_0    pypi
file                      5.39                 h753d276_1    conda-forge
filelock                  3.10.0             pyhd8ed1ab_0    conda-forge
findutils                 4.6.0             h166bdaf_1001    conda-forge
firtool                   1.30.0          0_h1234567_gdb40efbcd    ucb-bar
flask                     2.1.3              pyhd8ed1ab_0    conda-forge
flask_cors                3.0.10             pyhd3deb0d_0    conda-forge
flex                      2.6.4             h58526e2_1004    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.39.2          py310h1fa729e_0    conda-forge
freetype                  2.12.1               hca18f0e_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
frozenlist                1.3.3           py310h5764c6d_0    conda-forge
fsspec                    2023.3.0           pyhd8ed1ab_1    conda-forge
gcc                       12.2.0              h26027b1_11    conda-forge
gcc_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
gdk-pixbuf                2.42.10              h05c8ddd_0    conda-forge
gdspy                     1.4                      pypi_0    pypi
gengetopt                 2.23                 h9c3ff4c_0    conda-forge
gettext                   0.21.1               h27087fc_0    conda-forge
giflib                    5.2.1                h0b41bf4_3    conda-forge
git                       2.40.0          pl5321h693f4a3_0    conda-forge
gitdb                     4.0.10             pyhd8ed1ab_0    conda-forge
gitpython                 3.1.31             pyhd8ed1ab_0    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gmpy2                     2.1.2           py310h3ec546c_1    conda-forge
gnutls                    3.7.8                hf3e180e_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphql-core              3.2.3              pyhd8ed1ab_0    conda-forge
graphviz                  7.1.0                h2e5815a_0    conda-forge
gtk2                      2.24.33              h90689f9_2    conda-forge
gts                       0.7.6                h64030ff_2    conda-forge
gxx                       12.2.0              h26027b1_11    conda-forge
gxx_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
gzip                      1.12                 h166bdaf_0    conda-forge
hammer-vlsi               1.1.0                    pypi_0    pypi
harfbuzz                  6.0.0                h8e241bc_0    conda-forge
html5lib                  1.1                pyh9f0ad1d_0    conda-forge
humanfriendly             10.0            py310hff52083_4    conda-forge
icontract                 2.6.2                    pypi_0    pypi
icu                       70.1                 h27087fc_0    conda-forge
identify                  2.5.21             pyhd8ed1ab_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
imagesize                 1.4.1              pyhd8ed1ab_0    conda-forge
importlib-metadata        6.1.0              pyha770c72_0    conda-forge
importlib_metadata        6.1.0                hd8ed1ab_0    conda-forge
iniconfig                 2.0.0              pyhd8ed1ab_0    conda-forge
itsdangerous              2.1.2              pyhd8ed1ab_0    conda-forge
jaraco.classes            3.2.3              pyhd8ed1ab_0    conda-forge
jeepney                   0.8.0              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jmespath                  1.0.1              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h0b41bf4_3    conda-forge
jq                        1.6               h36c2ea0_1000    conda-forge
jschema-to-python         1.2.3              pyhd8ed1ab_0    conda-forge
jsondiff                  2.0.0              pyhd8ed1ab_0    conda-forge
jsonpatch                 1.32               pyhd8ed1ab_0    conda-forge
jsonpickle                2.2.0              pyhd8ed1ab_0    conda-forge
jsonpointer               2.0                        py_0    conda-forge
jsonschema                3.2.0              pyhd8ed1ab_3    conda-forge
junit-xml                 1.9                pyh9f0ad1d_0    conda-forge
kernel-headers_linux-64   3.10.0              h4a8ded7_13    conda-forge
keyring                   23.13.1         py310hff52083_0    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.4           py310hbf28c38_1    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lcms2                     2.15                 hfd0df8a_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libarchive                3.5.2                hada088e_3    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_8    conda-forge
libbrotlidec              1.0.9                h166bdaf_8    conda-forge
libbrotlienc              1.0.9                h166bdaf_8    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libclang                  15.0.7          default_had23c3d_1    conda-forge
libclang-cpp15            15.0.7          default_had23c3d_1    conda-forge
libclang13                15.0.7          default_h3e3d535_1    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   7.88.1               hdc1c0ab_1    conda-forge
libdeflate                1.17                 h0b41bf4_0    conda-forge
libdwarf                  0.0.0.20190110_28_ga81397fc4      h753d276_0    ucb-bar
libdwarf-dev              0.0.0.20190110_28_ga81397fc4      h753d276_0    ucb-bar
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libfdt                    1.6.1                h166bdaf_2    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     12.2.0              h3b97bd3_19    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgd                     2.3.3                h5aea950_4    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libglib                   2.74.1               h606061b_1    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
libidn2                   2.3.4                h166bdaf_0    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
libllvm15                 15.0.7               hadd5161_1    conda-forge
libmagic                  5.39                 h753d276_1    conda-forge
libmicrohttpd             0.9.76               h87ba234_0    conda-forge
libnghttp2                1.52.0               h61bc06f_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libprotobuf               3.21.12              h3eb15da_0    conda-forge
librsvg                   2.54.4               h7abd40a_0    conda-forge
libsanitizer              12.2.0              h46fd767_19    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               hf14f497_3    conda-forge
libstdcxx-devel_linux-64  12.2.0              h3b97bd3_19    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libtasn1                  4.19.0               h166bdaf_0    conda-forge
libtiff                   4.5.0                h6adf6a1_2    conda-forge
libtool                   2.4.7                h27087fc_0    conda-forge
libunistring              0.9.10               h7f98852_0    conda-forge
libusb1                   2.0.1              pyhd8ed1ab_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libuv                     1.44.2               h166bdaf_0    conda-forge
libwebp                   1.2.4                h1daa5a0_1    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.10.3               hca2bb57_4    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
livereload                2.6.3              pyh9f0ad1d_0    conda-forge
lockfile                  0.12.2                     py_1    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
lzop                      1.04                 h3753786_2    conda-forge
m4                        1.4.18            h516909a_1001    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
markupsafe                2.1.2           py310h1fa729e_0    conda-forge
matplotlib-base           3.7.1           py310he60537e_0    conda-forge
mock                      5.0.1                    pypi_0    pypi
more-itertools            9.1.0              pyhd8ed1ab_0    conda-forge
mosh                      1.4.0           pl5321h9ed9655_0    conda-forge
moto                      4.1.5              pyhd8ed1ab_0    conda-forge
mpc                       1.3.1                hfe3b2da_0    conda-forge
mpfr                      4.2.0                hb012696_0    conda-forge
msal                      1.21.0             pyhd8ed1ab_0    conda-forge
msal_extensions           1.0.0              pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.5           py310hdf3cbec_0    conda-forge
multidict                 6.0.4           py310h1fa729e_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mypy                      1.1.1           py310h1fa729e_0    conda-forge
mypy-boto3-s3             1.26.62            pyhd8ed1ab_0    conda-forge
mypy_boto3_ec2            1.26.91            pyhd8ed1ab_0    conda-forge
mypy_extensions           1.0.0              pyha770c72_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nettle                    3.8.1                hc379101_1    conda-forge
networkx                  2.8.8              pyhd8ed1ab_0    conda-forge
nodeenv                   1.7.0              pyhd8ed1ab_0    conda-forge
numpy                     1.24.2          py310h8deb116_0    conda-forge
oniguruma                 6.9.8                h166bdaf_0    conda-forge
open_pdks.sky130a         1.0.402_1_g12df12e 20230225_164303    litex-hub
openapi-schema-validator  0.2.3              pyhd8ed1ab_0    conda-forge
openapi-spec-validator    0.4.0              pyhd8ed1ab_1    conda-forge
openjdk                   17.0.3               h58dac75_5    conda-forge
openjpeg                  2.5.0                hfec8fc6_2    conda-forge
openssl                   3.1.0                h0b41bf4_0    conda-forge
p11-kit                   0.24.1               hc5aa10d_0    conda-forge
packaging                 23.0               pyhd8ed1ab_0    conda-forge
pandas                    1.5.3           py310h9b08913_0    conda-forge
pango                     1.50.14              hd33c08f_0    conda-forge
paramiko                  3.1.0              pyhd8ed1ab_0    conda-forge
paramiko-ng               2.8.10                   pypi_0    pypi
pastel                    0.2.1              pyhd8ed1ab_0    conda-forge
patch                     2.7.6             h7f98852_1002    conda-forge
pbr                       5.11.1             pyhd8ed1ab_0    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
perl                      5.32.1          2_h7f98852_perl5    conda-forge
pillow                    9.4.0           py310h023d228_1    conda-forge
pip                       23.0.1             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkginfo                   1.9.6              pyhd8ed1ab_0    conda-forge
platformdirs              3.1.1              pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0              pyhd8ed1ab_5    conda-forge
popt                      1.16              h0b475e3_2002    conda-forge
portalocker               2.7.0           py310hff52083_0    conda-forge
pre-commit                3.2.0              pyha770c72_0    conda-forge
psutil                    5.9.4           py310h5764c6d_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pycosat                   0.6.4           py310h5764c6d_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydantic                  1.10.6          py310h1fa729e_0    conda-forge
pygments                  2.14.0             pyhd8ed1ab_0    conda-forge
pyjwt                     2.6.0              pyhd8ed1ab_0    conda-forge
pylddwrap                 1.2.2                    pypi_0    pypi
pylev                     1.4.0              pyhd8ed1ab_0    conda-forge
pynacl                    1.5.0           py310h5764c6d_2    conda-forge
pyopenssl                 23.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyrsistent                0.19.3          py310h1fa729e_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
pytest                    7.2.2              pyhd8ed1ab_0    conda-forge
pytest-dependency         0.5.1              pyh9f0ad1d_0    conda-forge
pytest-mock               3.10.0             pyhd8ed1ab_0    conda-forge
python                    3.10.9          he550d4f_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-graphviz           0.20.1             pyh22cad53_0    conda-forge
python-jose               3.3.0              pyh6c4a22f_1    conda-forge
python_abi                3.10                    3_cp310    conda-forge
pytz                      2022.7.1           pyhd8ed1ab_0    conda-forge
pywin32-on-windows        0.1.0              pyh1179c8e_3    conda-forge
pyyaml                    6.0                      pypi_0    pypi
qemu                      5.0.0                hb15d774_0    ucb-bar
readline                  8.1.2                h0f457ee_0    conda-forge
requests                  2.28.2             pyhd8ed1ab_0    conda-forge
responses                 0.21.0             pyhd8ed1ab_0    conda-forge
rhash                     1.4.3                h166bdaf_0    conda-forge
riscv-tools               1.0.3           0_h1234567_ga1b1b14    ucb-bar
rsa                       4.7.2              pyh44b312d_0    conda-forge
rsync                     3.2.7                h70740c4_0    conda-forge
ruamel.yaml               0.17.21         py310h1fa729e_3    conda-forge
ruamel.yaml.clib          0.2.7           py310h1fa729e_1    conda-forge
ruamel_yaml               0.15.80         py310h5764c6d_1008    conda-forge
s3fs                      2023.3.0           pyhd8ed1ab_0    conda-forge
s3transfer                0.6.0              pyhd8ed1ab_0    conda-forge
sarif-om                  1.0.4              pyhd8ed1ab_0    conda-forge
sbt                       1.8.2                hd8ed1ab_0    conda-forge
screen                    4.8.0                he28a2e2_0    conda-forge
secretstorage             3.3.3           py310hff52083_1    conda-forge
sed                       4.8                  he412f7d_0    conda-forge
setuptools                67.6.0             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
sphinx                    5.1.1              pyhd8ed1ab_1    conda-forge
sphinx-autobuild          2021.3.14          pyhd8ed1ab_0    conda-forge
sphinx_rtd_theme          1.2.0              pyha770c72_0    conda-forge
sphinxcontrib-applehelp   1.0.4              pyhd8ed1ab_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.1              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jquery      4.1                pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_2    conda-forge
sqlite                    3.40.0               h4ff8645_0    conda-forge
sshpubkeys                3.3.1              pyhd8ed1ab_0    conda-forge
sty                       1.0.0              pyhd8ed1ab_0    conda-forge
sure                      2.0.1                    pypi_0    pypi
sysroot_linux-64          2.17                h4a8ded7_13    conda-forge
tar                       1.34                 hb2e2bae_1    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tomlkit                   0.11.6             pyha770c72_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tornado                   6.2             py310h5764c6d_1    conda-forge
tqdm                      4.65.0             pyhd8ed1ab_1    conda-forge
types-awscrt              0.16.13            pyhd8ed1ab_0    conda-forge
types-pytz                2022.7.1.2         pyhd8ed1ab_0    conda-forge
types-pyyaml              6.0.12.8           pyhd8ed1ab_0    conda-forge
types-requests            2.28.11.15         pyhd8ed1ab_0    conda-forge
types-s3transfer          0.6.0.post6              pypi_0    pypi
types-urllib3             1.26.25.8          pyhd8ed1ab_0    conda-forge
typing                    3.10.0.0           pyhd8ed1ab_0    conda-forge
typing-extensions         4.5.0                hd8ed1ab_0    conda-forge
typing_extensions         4.5.0              pyha770c72_0    conda-forge
tzdata                    2022g                h191b570_0    conda-forge
ukkonen                   1.0.1           py310hbf28c38_3    conda-forge
unicodedata2              15.0.0          py310h5764c6d_0    conda-forge
unzip                     6.0                  h7f98852_3    conda-forge
urllib3                   1.26.15            pyhd8ed1ab_0    conda-forge
verilator                 4.226                he0ac6c6_1    conda-forge
vim                       9.0.0814        py310pl5321hade1898_0    conda-forge
virtualenv                20.21.0            pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.5.1              pyhd8ed1ab_0    conda-forge
werkzeug                  2.1.2              pyhd8ed1ab_1    conda-forge
wget                      1.20.3               ha35d2d1_1    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
which                     2.21                 h516909a_0    conda-forge
wrapt                     1.15.0          py310h1fa729e_0    conda-forge
xmltodict                 0.13.0             pyhd8ed1ab_0    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.8.4                h0b41bf4_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxtst              1.2.3             h7f98852_1002    conda-forge
xorg-recordproto          1.14.2            h7f98852_1002    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xxhash                    0.8.0                h7f98852_3    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
yarl                      1.8.2           py310h5764c6d_0    conda-forge
zipp                      3.15.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstandard                 0.19.0          py310hdeb6495_1    conda-forge
zstd                      1.5.2                h3eb15da_6    conda-forge

Other Setup

Ex: Prior steps taken / Documentation Followed / etc... skipped FireMarshal install b/c it resulted in a crash (also probably a bug, will file later)

Current Behavior

Config

class WithoutClockGating extends Config((site, here, up) => {
  case DebugModuleKey => up(DebugModuleKey, site).map(_.copy(clockGate = false))
  case ChipyardPRCIControlKey => up(ChipyardPRCIControlKey, site).copy(enableTileClockGating = false)
})
class IssueIllustrate extends Config(
  // slice con-figs
  new freechips.rocketchip.subsystem.WithNMedCores(2) ++             // two medium rocket-core
  new freechips.rocketchip.subsystem.WithInclusiveCache(nWays=4, capacityKB=32) ++                // cache params
  new freechips.rocketchip.subsystem.WithNBanks(2)++ //2 banks
  // NoC config
  new freechips.rocketchip.subsystem.WithCoherentBusTopology ++     // coherent bus
  new testchipip.WithSerialTLWidth(16) ++  //
  new testchipip.WithRingSystemBus ++ // Ring-topology system bus
    // freq/crossing config

  new chipyard.config.WithTileFrequency(750) ++ //val 500 1000 1000
  new chipyard.config.WithSystemBusFrequency(375) ++    // val 250 500 500
  new chipyard.config.WithMemoryBusFrequency(375) ++    // val 250 500 500
  new chipyard.config.WithPeripheryBusFrequency(375) ++ // val 250 500 500
  new chipyard.config.WithFrontBusFrequency(75) ++     // val 050 100  50
  new chipyard.config.WithSystemBusFrequencyAsDefault ++

  new chipyard.config.WithFbusToSbusCrossingType(AsynchronousCrossing()) ++
  new testchipip.WithAsynchronousSerialSlaveCrossing ++
  new freechips.rocketchip.subsystem.WithAsynchronousRocketTiles(
    AsynchronousCrossing().depth,
    AsynchronousCrossing().sourceSync) ++
  new WithoutClockGating() ++

  new testchipip.WithAXIMemOverSerialTL(
    new AXIMemOverSerialTLClockParams(Some(new AXIClockParams(clockFreqMHz = 75.0)))) ++
  new chipyard.harness.WithSimAXIMemOverSerialTL() ++ // add SimDRAM DRAM model for axi4 backing memory over the SerDes link, if axi4 mem is enabled
  new chipyard.config.WithSerialTLBackingMemory ++ // remove axi4 mem port in favor of SerialTL memory
    // default config
  new chipyard.config.AbstractConfig)

results in

  buildTopClockGenerator Frequency Summary
  Input Reference Frequency: 375.0 MHz
  Output clock subsystem_sbus_0, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)
  Output clock subsystem_sbus_1, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)
  Output clock subsystem_pbus_0, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)
  Output clock subsystem_fbus_0, requested: 75.0 MHz, actual: 75.0 MHz (division of 5)
  Output clock subsystem_mbus_0, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)
  Output clock subsystem_cbus_0, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)
  Output clock implicit_clock, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)

harnessDividerOnlyClockGenerator Frequency Summary
  Input Reference Frequency: 375.0 MHz
  Output clock mem_over_serial_tl_clock, requested: 75.0 MHz, actual: 75.0 MHz (division of 5)
  Output clock buildtop_reference_clock, requested: 375.0 MHz, actual: 375.0 MHz (division of 1)

Expected Behavior

Tile Frequency should be 750MHz, and Input Reference Clock should also be 750MHz.

Other Information

No response

noahgaertner commented 1 year ago

It doesn't appear to be a config bug, the same behavior exists in MulticlockRocketConfig - also have confirmed it does not exist in 1.8.1, so we're rolling back to that release for our chip, but I can help debug/isolate the issue if neccesary.

jerryz123 commented 1 year ago

Reorder the WithAsynchonousRocketTiles above the WithNMedCores in your config

jerryz123 commented 1 year ago

For context, the WithXRocketTiles now modifies a local parameter for the tile, rather than global parameters, so those fragments must be added after tiles params are added

jerryz123 commented 1 year ago

FYI those reported frequencies are only used by the fake "clock approximator" divideronlyclockgenerator used for RTL sim/FireSim. They otherwise have no bearing on the physical implementation of the chip, in which you'll need to integrate a PLL or a clock receiver.

1427 resolves this issue, and also provides a demo ChipLikeRocketConfig to show how a tapeout-ready config might appear.

noahgaertner commented 1 year ago

issue fixed by reordering config.