set dram_clk_freq to None
[ls2.git] / hyperram_model / runhyperramsim.sh
1 #!/bin/bash
2 # https://ftp.libre-soc.org/Infineon-Verilog_Model_for_HyperBus_interface-SimulationModels-v03_00-EN.zip
3 set -e
4
5 LIB_DIR=./s27kl0641/model
6
7 # string together the icarus verilog files and start runnin
8 iverilog -I${LIB_DIR} -Wall -g2012 -s hbc_tb -o hypersim \
9 hbc_tb.v \
10 hbc_wrapper.v \
11 hbc_io.v \
12 hbc.v \
13 ${LIB_DIR}/s27kl0641.v
14 vvp -n hypersim -fst-speed