pulp-platform / pulpino

An open-source microcontroller system based on RISC-V
http://www.pulp-platform.org
Other
904 stars 298 forks source link

Fetch #285

Open Liyang131313 opened 5 years ago

Liyang131313 commented 5 years ago

Why does pupino not need to wait for fetching in the case of branch prediction misses, but can fetch instructions directly.

assign PCCR_in[4] = imiss_i & (~pc_set_i);
// cycles waiting for instruction fetches, excluding jumps and branches

input logic pc_set_i, // pc was set to a new value