Questions tagged [spike]

In the Scrum agile software development framework, a Spike is a time boxed period used to research a concept and/or create a simple prototype.

A Spike is a time boxed period used to research a concept and/or create a simple prototype.

Spikes can either be planned to take place in between sprints or, for larger teams, a spike might be accepted as one of many sprint delivery objectives.

Spikes are often introduced before the delivery of large or complex product backlog items in order to secure budget, expand knowledge, and/or produce a proof of concept. The duration and objective(s) of a spike will be agreed between the Product Owner and Delivery Team before the start. Unlike sprint commitments, spikes may or may not deliver tangible, shippable, valuable functionality. For example, the objective of a spike might be to successfully reach a decision on a course of action. The spike is over when the time is up, not necessarily when the objective has been delivered.

36 questions
3
votes
1 answer

Debugging simple C and Assembly Programs with Spike (riscv-isa-sim)

I am running Simple C and Assembly programs on spike (this works fine). I am having trouble to run spikes debug mode. I always get the same output although I am trying to debug different programs. I am using the riscv64-unknown-elf-gcc to generate…
Chris
  • 135
  • 1
  • 6
2
votes
1 answer

Problems using risc-v timer interrupts and simulating with spike

I'm trying to make a timer interrupt, I have the following risc-v_tools installed riscv64-unknown-elf-gcc toolchain, spike simulate and pk . this is my code: #define MTIME *((volatile uint64_t *) 0x02000000 + 0xbff8) #define MTIMECMP …
2
votes
1 answer

How to trace dynamic instruction in spike (on RISC-V)

I’m new for spike and RISC V. I’m trying to do some dynamic instruction trace with spike. These instructions are from a sample.c file. I have tried the following commands: $ riscv64-unknown-elf-gcc simple.c -g -o simple.out $…
Rosyphoton
  • 23
  • 3
1
vote
1 answer

illegal instruction when running fp16 vector add in spike simulator

I'm new to RISC-V and Spike.I've been trying to run float16 vector addition demo on the Spike simulator recently, but when I try to run the code, I get an error message saying "An illegal instruction was executed!". I'm not sure how to solve this…
J.Lu
  • 11
  • 1
1
vote
3 answers

I have a python module and want to call all constants

I have a Lego mindstorms 51515 and like to program it with python. There are some default image in the module I'd like to loop over and use. import hub images = dir(hub.Image) print(images) Output: ['__class__', '__name__', '__bases__', '__dict__',…
Jeromba6
  • 383
  • 1
  • 2
  • 7
1
vote
0 answers

Unity3D Big Memory Spike when a png is downloaded through unitywebrequest

In profiler both device and editor - base line shifted by a diff of 27mb, but image downloaded is of size 700kb and is placed into a RawImage of size 300x300 and format RGB32. Any idea why there is such a big change in memory? Here is the code…
aderw
  • 41
  • 4
1
vote
1 answer

Meshlab Laplacian Smooth introduces spikes

I am using MeshLab to smooth a mesh obtained from a 3d numpy array through marching_cubes and pymesh. I am processing a few similar meshes and only one of them is giving me this problem. The filter used is Laplacian Smooth with…
1
vote
0 answers

Huge spike in learning after 5000 epoch (LSTM)

I'm struggling with optimizing a LSTM NN, let me explain what I'm trying to do :) --> I have a data set with lets say daily temperature of my location, since 2015. --> I want to predict the temperature of tomorrow based on the 30 last days…
1
vote
1 answer

How to generate spike trains in R?

Forgive me if this seems obvious, I am VERY new to R. So I am trying to get random Spike Train that looks like a vector [ 1 0 1 1 0 0 0 1] and for one instance, I have been able to do it using the following code: fr = 100 #Firing rate of 100Hz dt…
14thTimeLord
  • 363
  • 1
  • 14
1
vote
1 answer

How to build spike for RV32I instruction set?

I have installed riscv-gnu-toolchain with the following settings, which works as expected: ./configure --prefix=/opt/riscv --enable-multilib --with-arch=rv32i --with-abi=ilp32 Now I am trying to build a version of spike that is capable of running…
nengel
  • 136
  • 7
1
vote
2 answers

RISC-V 32bit Simulation with Spike failed with error

I just got the source from github and built pk with 32bit option and ran spike with following command: $ spike --isa=RV32 pk hello I got the following error: terminate called after throwing an instance of 'std::runtime_error' what(): could not…
bisv
  • 11
  • 3
1
vote
1 answer

How can I see the content of a float-point register on spike?

I'm working with a riscv code and I want to simulate it using the spike tool. The aim of the simulation is to see the content of some float-point registers. So, if i want to see the content of an integer register i use the next command: reg 0…
1
vote
0 answers

getting a spike in dns queries every 3rd day

About a month ago a bought a domain name from an auction. it has been all good but then about 10 days ago i started to noticed it was getting upto 200,000 dns queries every 3rd day, then would drop down to about 10,000 and spike again. And it is…
PixelPaul
  • 1,022
  • 1
  • 10
  • 18
0
votes
0 answers

rocket chip riscv rtl spike simulation

I use mmio axi4 for data store, the rtl simulation in vcs is ok, but in spike, I got error like this: (base) ubuntu@ubuntu:~/riscv/software$ spike math.elf Access exception occurred while loading payload math.elf: Memory address 0x60000000 is…
paopaopoo
  • 1
  • 1
0
votes
1 answer

The 32-bit program cannot be executed with RISC-V Spike. Can't Execute 32-Bit Program on RV64 Hot

The following software has been built, installed, and passes. RISCV-GNU-TOOLS (both 64, 32bit), Spike, Riscv-PK (32bit). If you try to execute the C language program with RISCV32 and execute it in Spike, you will get an error as follows. What should…
1
2 3