pulp-platform / pulpissimo

This is the top-level project for the PULPissimo Platform. It instantiates a PULPissimo open-source system with a PULP SoC domain, but no cluster.
Other
386 stars 165 forks source link

Simulation of hwme accelerator stuck #69

Closed vikramjain236 closed 5 years ago

vikramjain236 commented 5 years ago

I tried to run the hwme accelerator example in pulp-rt-examples. But, the simulation seems to get stuck at some point. I have successfully ran the helloworld example before. I use Questasim 10.7c.

/volume1/users/vjain/pulp-rt-examples/accelerators/hwme $ make clean all run rm -rf /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/hwme /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc/hwme.o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc//volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_conf.o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc//volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_pad_conf.o
/volume1/users/vjain/pulp-riscv-gnu-toolchain/output/riscv/bin/riscv32-unknown-elf-gcc -march=rv32imfcxpulpv2 -mfdiv -Driscv -O2 -g -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wundef -fdata-sections -ffunction-sections -I/volume1/users/vjain/pulp-builder/install/include/io -I/volume1/users/vjain/pulp-builder/install/include -include /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/fc_config.h -MMD -MP -c hwme.c -o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc/hwme.o hwme.c: In function 'main': hwme.c:40:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint32_t a = (uint8_t ) 0x1c010000; ^ hwme.c:41:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint32_t b = (uint8_t ) 0x1c010200; ^ hwme.c:42:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint32_t c = (uint8_t ) 0x1c010400; ^ hwme.c:43:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint32_t d = (uint8_t ) 0x1c010600; ^ /volume1/users/vjain/pulp-riscv-gnu-toolchain/output/riscv/bin/riscv32-unknown-elf-gcc -march=rv32imfcxpulpv2 -mfdiv -Driscv -O2 -g -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wundef -fdata-sections -ffunction-sections -I/volume1/users/vjain/pulp-builder/install/include/io -I/volume1/users/vjain/pulp-builder/install/include -include /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/fc_config.h -MMD -MP -c /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_conf.c -o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc//volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_conf.o /volume1/users/vjain/pulp-riscv-gnu-toolchain/output/riscv/bin/riscv32-unknown-elf-gcc -march=rv32imfcxpulpv2 -mfdiv -Driscv -O2 -g -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wundef -fdata-sections -ffunction-sections -I/volume1/users/vjain/pulp-builder/install/include/io -I/volume1/users/vjain/pulp-builder/install/include -include /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/fc_config.h -MMD -MP -c /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_pad_conf.c -o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc//volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_pad_conf.o mkdir -p dirname /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/hwme /volume1/users/vjain/pulp-riscv-gnu-toolchain/output/riscv/bin/riscv32-unknown-elf-gcc -march=rv32imfcxpulpv2 -mfdiv -Driscv -MMD -MP -o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/hwme /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc/hwme.o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc//volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_conf.o /volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/hwme/fc//volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo/rt_pad_conf.o -nostartfiles -nostdlib -Wl,--gc-sections -L/volume1/users/vjain/pulp-builder/install/rules -Tpulpissimo/link.ld -L/volume1/users/vjain/pulp-builder/install/lib/pulpissimo -lrt -lrtio -lrt -lgcc -lbench pulp-run --config-file=pulpissimo@config_file=chips/pulpissimo/pulpissimo.json --config-opt=platform=rtl --config-opt=rt/start-all=true --config-opt=/rt/fc-start=true --config-opt=/rt/type=pulp-rt --config-opt=rt/start-all=true --config-opt=/rt/fc-start=true --config-opt=/rt/type=pulp-rt --dir=/volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo --binary=hwme/hwme prepare pulp-run --config-file=pulpissimo@config_file=chips/pulpissimo/pulpissimo.json --config-opt=platform=rtl --config-opt=rt/start-all=true --config-opt=/rt/fc-start=true --config-opt=/rt/type=pulp-rt --config-opt=rt/start-all=true --config-opt=/rt/fc-start=true --config-opt=/rt/type=pulp-rt --dir=/volume1/users/vjain/pulp-rt-examples/accelerators/hwme/build/hwme.c/pulpissimo --binary=hwme/hwme Launching simulator with command: export VSIM_RUNNER_FLAGS="-gLOAD_L2=JTAG -permit_unmatched_virtual_intf -gBAUDRATE=115200" && vsim -64 -c -do 'source /volume1/users/vjain/pulpissimo/sim/tcl_files/config/run_and_exit.tcl' -do 'source /volume1/users/vjain/pulpissimo/sim/tcl_files/disable_tcheck_fll.do' -do 'source /volume1/users/vjain/pulpissimo/sim/tcl_files/run.tcl; set_tcheck; run_and_exit;' Reading pref.tcl

10.7c

source /volume1/users/vjain/pulpissimo/sim/tcl_files/config/run_and_exit.tcl

source /volume1/users/vjain/pulpissimo/sim/tcl_files/disable_tcheck_fll.do

couldn't read file "/volume1/users/vjain/pulpissimo/sim/tcl_files/disable_tcheck_fll.do": no such file or directory

source /volume1/users/vjain/pulpissimo/sim/tcl_files/run.tcl

vsim -c -quiet vopt_tb -L models_lib -L vip_lib -t ps "+nowarnTRAN" "+nowarnTSCALE" "+nowarnTFMPC" "+TB_PATH=/volume1/users/vjain/pulpissimo/sim" "+UVM_NO_RELNOTES" -permit_unmatched_virtual_intf "+VSIM_PATH=/volume1/users/vjain/pulpissimo/sim" -gUSE_SDVT_SPI=0 -gUSE_SDVT_CPI=0 -gBAUDRATE=115200 -gENABLE_DEV_DPI=0 -gLOAD_L2=JTAG -gUSE_SDVT_I2S=0

Start time: 16:24:25 on Aug 07,2019

// Questa Sim-64

// Version 10.7c linux_x86_64 Aug 17 2018

//

// Copyright 1991-2018 Mentor Graphics Corporation

// All Rights Reserved.

//

// QuestaSim and its associated documentation contain trade

// secrets and commercial or financial information that are the property of

// Mentor Graphics Corporation and are privileged, confidential,

// and exempt from disclosure under the Freedom of Information Act,

// 5 U.S.C. Section 552. Furthermore, this information

// is prohibited from disclosure under the Trade Secrets Act,

// 18 U.S.C. Section 1905.

//

** Error: (vsim-191) Questa has encountered an unexpected internal error: ../../src/vsim/vsimfunc.c(1989).

Please contact Questa support at http://supportnet.mentor.com

** Error: (vsim-191) Questa has encountered an unexpected internal error: ../../src/vsim/vsimfunc.c(1989).

Please contact Questa support at http://supportnet.mentor.com

** Error: (vsim-191) Questa has encountered an unexpected internal error: ../../src/vsim/vsimfunc.c(1989).

Please contact Questa support at http://supportnet.mentor.com

** Error: (vsim-191) Questa has encountered an unexpected internal error: ../../src/vsim/vsimfunc.c(1989).

Please contact Questa support at http://supportnet.mentor.com

** Warning: (vsim-3015) [PCDPC] - Port size (32) does not match connection size (64) for port 'axi_slave_w_data'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/axi/axi_slice_dc/axi_slice_dc_slave.sv(56).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/dc_fifo_datain_bus_i/axi_slice_i File: /volume1/users/vjain/pulpissimo/sim/../ips/axi/axi_slice_dc/axi_slice_dc_slave_wrap.sv Line: 50

** Warning: (vsim-3015) [PCDPC] - Port size (4) does not match connection size (8) for port 'axi_slave_w_strb'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/axi/axi_slice_dc/axi_slice_dc_slave.sv(57).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/dc_fifo_datain_bus_i/axi_slice_i File: /volume1/users/vjain/pulpissimo/sim/../ips/axi/axi_slice_dc/axi_slice_dc_slave_wrap.sv Line: 50

** Warning: (vsim-3015) [PCDPC] - Port size (32) does not match connection size (64) for port 'axi_slave_r_data'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/axi/axi_slice_dc/axi_slice_dc_slave.sv(64).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/dc_fifo_datain_bus_i/axi_slice_i File: /volume1/users/vjain/pulpissimo/sim/../ips/axi/axi_slice_dc/axi_slice_dc_slave_wrap.sv Line: 50

** Warning: (vsim-3015) [PCDPC] - Port size (43) does not match connection size (32) for port 'gpio_in'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv(75).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv Line: 528

** Warning: (vsim-3015) [PCDPC] - Port size (43) does not match connection size (32) for port 'gpio_out'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv(76).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv Line: 528

** Warning: (vsim-3015) [PCDPC] - Port size (43) does not match connection size (32) for port 'gpio_dir'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv(77).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv Line: 528

** Warning: (vsim-3015) [PCDPC] - Port size (172) does not match connection size (192) for port 'gpio_padcfg'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv(78).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv Line: 528

** Warning: (vsim-3015) [PCDPC] - Port size (256) does not match connection size (384) for port 'pad_cfg_o'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv(81).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv Line: 528

** Warning: (vsim-3015) [PCDPC] - Port size (43) does not match connection size (32) for port 'gpio_in_sync'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/apb/apb_gpio/./rtl/apb_gpio.sv(62).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i/apb_gpio_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv Line: 328

** Warning: (vsim-3015) [PCDPC] - Port size (2) does not match connection size (1) for port 'i2c_scl_oe'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/udma_subsystem/udma_subsystem.sv(72).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i/i_udma File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv Line: 367

** Warning: (vsim-3015) [PCDPC] - Port size (2) does not match connection size (1) for port 'i2c_sda_oe'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/udma_subsystem/udma_subsystem.sv(75).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i/i_udma File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv Line: 367

** Warning: (vsim-3015) [PCDPC] - Port size (384) does not match connection size (256) for port 'pad_cfg'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/components/apb_soc_ctrl.sv(85).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/soc_peripherals_i/apb_soc_ctrl_i File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_peripherals.sv Line: 460

** Warning: (vsim-3015) [PCDPC] - Port size (32) does not match connection size (64) for port 'AXI_Master_w_data_o'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_interconnect.sv(198).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_soc_interconnect_wrap/i_soc_interconnect File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_interconnect_wrap.sv Line: 126

** Warning: (vsim-3015) [PCDPC] - Port size (4) does not match connection size (8) for port 'AXI_Master_w_strb_o'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_interconnect.sv(199).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_soc_interconnect_wrap/i_soc_interconnect File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_interconnect_wrap.sv Line: 126

** Warning: (vsim-3015) [PCDPC] - Port size (32) does not match connection size (64) for port 'AXI_Master_r_data_i'. The port definition is at: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_interconnect.sv(229).

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_soc_interconnect_wrap/i_soc_interconnect File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/pulp_soc/soc_interconnect_wrap.sv Line: 126

** Warning: (vsim-3770) Failed to find user specified function 'jtag_tick' in DPI C/C++ source files.

Time: 0 ps Iteration: 0 Region: /SimJTAG_sv_unit File: /volume1/users/vjain/pulpissimo/sim/../rtl/tb/SimJTAG.sv

** Warning: (vsim-8683) Uninitialized out port /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_clk_rst_gen/i_fll_soc/i_FLL_digital/TQ has no driver.

This port will contribute value (U) to the signal network.

** Warning: (vsim-8683) Uninitialized out port /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_clk_rst_gen/i_fll_soc/i_FLL_digital/JTQ has no driver.

This port will contribute value (U) to the signal network.

** Warning: (vsim-8683) Uninitialized out port /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_clk_rst_gen/i_fll_per/i_FLL_digital/TQ has no driver.

This port will contribute value (U) to the signal network.

** Warning: (vsim-8683) Uninitialized out port /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_clk_rst_gen/i_fll_per/i_FLL_digital/JTQ has no driver.

This port will contribute value (U) to the signal network.

** Warning: (vsim-8683) Uninitialized out port /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_clk_rst_gen/i_fll_cluster/i_FLL_digital/TQ has no driver.

This port will contribute value (U) to the signal network.

** Warning: (vsim-8683) Uninitialized out port /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/i_clk_rst_gen/i_fll_cluster/i_FLL_digital/JTQ has no driver.

This port will contribute value (U) to the signal network.

** Warning: (vsim-3040) Command line generic/parameter "USE_SDVT_I2S" not found in design.

** Warning: (vsim-3040) Command line generic/parameter "USE_SDVT_SPI" not found in design.

set_tcheck

invalid command name "set_tcheck"

run_and_exit

** Warning: (vsim-PLI-3407) Too many data words read on line 2049 of file "./boot/boot_code.cde". (Current address [2048], address range [0:2047]) : /volume1/users/vjain/pulpissimo/sim/../ips/tech_cells_generic/src/deprecated/generic_rom.sv(31)

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/boot_rom_i/rom_mem_i

[CORE] Core settings: PULP_SECURE = 1, N_PMP_ENTRIES = 16, N_PMP_CFG 4

** Warning: (vsim-8315) No condition is true in the unique/priority if/case statement.

Time: 0 ps Iteration: 0 Process: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/fc_subsystem_i/FC_CORE/lFC_CORE/RISCY_PMP/pmp_unit_i/ File: /volume1/users/vjain/pulpissimo/sim/../ips/riscv/./rtl/riscv_pmp.sv Line: 677

START_ADDR[0] = 0x1a100000; END_ADDR[0] = 0X1a400000

START_ADDR[1] = 0x10000000; END_ADDR[1] = 0X10400000

** Warning: (vsim-8315) No condition is true in the unique/priority if/case statement.

Time: 0 ps Iteration: 0 Process: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/jtag_lint_arbiter_i/ File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/components/tcdm_arbiter_2x1.sv Line: 45

[TB] 0ns - Asserting hard reset

** Warning: (vsim-3533) [FOFIW] - Failed to open file "fs/file_0_0.txt" for writing.

No such file or directory. (errno = ENOENT) : /volume1/users/vjain/pulpissimo/sim/../rtl/tb/tb_fs_handler.sv(269)

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_fs_handler/FS_PRINTF_CLUSTER

** Warning: (vsim-3533) [FOFIW] - Failed to open file "fs/file_31_0.txt" for writing.

No such file or directory. (errno = ENOENT) : /volume1/users/vjain/pulpissimo/sim/../rtl/tb/tb_fs_handler.sv(269)

Time: 0 ps Iteration: 0 Instance: /tb_pulp/i_fs_handler/FS_PRINTF_FC

** Warning: (vsim-8315) No condition is true in the unique/priority if/case statement.

Time: 0 ps Iteration: 1 Process: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/fc_subsystem_i/FC_CORE/lFC_CORE/RISCY_PMP/pmp_unit_i/ File: /volume1/users/vjain/pulpissimo/sim/../ips/riscv/./rtl/riscv_pmp.sv Line: 677

** Warning: (vsim-8315) No condition is true in the unique/priority if/case statement.

Time: 0 ps Iteration: 1 Process: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/jtag_lint_arbiter_i/ File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/components/tcdm_arbiter_2x1.sv Line: 45

** Warning: (vsim-8315) No condition is true in the unique/priority if/case statement.

Time: 0 ps Iteration: 2 Process: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/fc_subsystem_i/FC_CORE/lFC_CORE/RISCY_PMP/pmp_unit_i/ File: /volume1/users/vjain/pulpissimo/sim/../ips/riscv/./rtl/riscv_pmp.sv Line: 677

** Warning: (vsim-8315) No condition is true in the unique/priority if/case statement.

Time: 0 ps Iteration: 12 Process: /tb_pulp/i_dut/soc_domain_i/pulp_soc_i/jtag_lint_arbiter_i/ File: /volume1/users/vjain/pulpissimo/sim/../ips/pulp_soc/rtl/components/tcdm_arbiter_2x1.sv Line: 45

[TB] 1ns - Using FLL

[TB] 1ns - Not using CAM SDVT

Loading default stimuli

[JTAG] SoftReset Done( 701ns)

[JTAG] Bypass Test Passed ( 33301ns)

[JTAG] Tap ID: 249511c3 ( 43701ns)

[JTAG] Tap ID Test PASSED ( 43701ns)

[test_mode_if] 50301ns - Init

[TB] 50301ns - Enabling clock out via jtag

[test_mode_if] 51801ns - Setting confreg to value 003.

[TB] 51801ns - jtag_conf_reg set to 003

[TB] 51801ns - Releasing hard reset

[TB] 53401ns - Init PULP TAP

[pulp_tap_if] WRITE32 burst @1c008080 for 4 bytes.

[TB] 67501ns - Write32 PULP TAP

[JTAG] R/W test of L2 succeeded

[TB] 177701ns - Halting the Core

[TB] 236501ns - Writing the boot address into dpc

[TB] 280601ns - Loading L2

[JTAG] Loading L2 with pulp tap jtag interface

[pulp_tap_if] WRITE32 burst @1c000000 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c000400 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c000800 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c000c00 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c001000 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c001400 for 968 bytes.

[pulp_tap_if] WRITE32 burst @1c008000 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c008400 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c008800 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c008c00 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c009000 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c009400 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c009800 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c009c00 for 1024 bytes.

[pulp_tap_if] WRITE32 burst @1c00a000 for 784 bytes.

[TB] 12498501ns - Resuming the CORE

[TB] 13072001ns retrying debug reg access

[TB] 13101301ns retrying debug reg access

[TB] 13130601ns retrying debug reg access

[TB] 13159901ns retrying debug reg access

[TB] 13189201ns retrying debug reg access

[TB] 13218501ns retrying debug reg access

[TB] 13247801ns retrying debug reg access

[TB] 13277101ns retrying debug reg access

[TB] 13321101ns - Waiting for end of computation

@0 [ x, x, x, x, x, 0] UPDATE CURRENT LOOP

@1 [ x, x, x, x, x, 0] UPDATE CURRENT LOOP

@2 [ x, x, x, x, x, 0] UPDATE CURRENT LOOP

@3 [ x, x, x, x, x, 0] ITERATE CURRENT LOOP

@0 [ x, x, x, x, x, 1] UPDATE CURRENT LOOP

@1 [ x, x, x, x, x, 1] UPDATE CURRENT LOOP

@2 [ x, x, x, x, x, 1] UPDATE CURRENT LOOP

@3 [ x, x, x, x, x, 1] ITERATE CURRENT LOOP

@0 [ x, x, x, x, x, 2] UPDATE CURRENT LOOP

@1 [ x, x, x, x, x, 2] UPDATE CURRENT LOOP

@2 [ x, x, x, x, x, 2] UPDATE CURRENT LOOP

@3 [ x, x, x, x, x, 2] ITERATE CURRENT LOOP

@0 [ x, x, x, x, x, 3] UPDATE CURRENT LOOP

@1 [ x, x, x, x, x, 3] UPDATE CURRENT LOOP

@2 [ x, x, x, x, x, 3] UPDATE CURRENT LOOP

@3 [ x, x, x, x, x, 3] ITERATE CURRENT LOOP

haaani commented 5 years ago

You are lucky I fount it yesterday :) The HWPE event ID changed from 46 to 140 in the hardware, the sdk has not been updated yet putting this line at the beginning of your program should solve the issue:

define ARCHI_SOC_EVENT_FCHWPE0 140

vikramjain236 commented 5 years ago

Thanks! Works now.

kangliyu1 commented 3 years ago

You are lucky I fount it yesterday :) The HWPE event ID changed from 46 to 140 in the hardware, the sdk has not been updated yet putting this line at the beginning of your program should solve the issue:

define ARCHI_SOC_EVENT_FCHWPE0 140

@vikramjain236 @haaani Hello, I got this error when I ran the simple runtime. I want to know the beginning of which program I need to add this line of code to? I hope you can give some pointers, thanks