-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'thresh' when running run.py for fred_basic #51
Comments
Hi @harshgondaliya, could you please try running the
source tools/settings.sh
# Build Vivado core IP modules
cd $SUME_FOLDER/lib/hw/xilinx/cores/tcam_v1_1_0/ && make update && make
cd $SUME_FOLDER/lib/hw/xilinx/cores/cam_v1_1_0/ && make update && make
cd $SUME_SDNET/sw/sume && make
cd $SUME_FOLDER && make
# Build sume_riffa driver
make -C $DRIVER_FOLDER all
make -C $DRIVER_FOLDER install
modprobe sume_riffa
# Generate verilog code and API/CLI tools
make -C $P4_PROJECT_DIR
# Run SDNet simulation
cd $P4_PROJECT_DIR/nf_sume_sdnet_ip/SimpleSumeSwitch
./vivado_sim.bash
# Generate the scripts for NetFPGA SUME simulation
make -C $P4_PROJECT_DIR config_writes
make -C $P4_PROJECT_DIR install_sdnet
make -C $NF_DESIGN_DIR/test/sim_switch_default
# Run NetFPGA simulation
cd $SUME_FOLDER
./tools/scripts/nf_test.py sim --major switch --minor default |
Hi @rst0git, Thanks for the detailed steps! But, the SUME simulation set by I think there is some error in line#97 of
|
@harshgondaliya you are right, |
Oh, I see. Thanks for pointing out! |
I am running the SUME SIMULATION for fred_basic example program by executing the following commands:
cd $NF_DESIGN_DIR/test/sim_switch_2flows && make
cd $SUME_FOLDER && ./tools/scripts/nf_test.py sim --major switch --minor 2flows
I face the following error from run.py script.
It seems like some previous step in the workflow has not worked properly. Any suggestions on debugging this?
The text was updated successfully, but these errors were encountered: