Skip to content
Snippets Groups Projects
Commit 91de9931 authored by Pavel Pisa's avatar Pavel Pisa
Browse files

seminaries/qtrvsim/fibo-hazards: Update rest of the template texts for RISC-V.


Signed-off-by: default avatarPavel Pisa <pisa@cmp.felk.cvut.cz>
parent c3121488
No related branches found
No related tags found
No related merge requests found
// fibo-hazards.S file template, rename and implement the algorithm // fibo-hazards.S file template, rename and implement the algorithm
// Test algorithm in qtmips_gui program // Test algorithm in qtrvsim_gui program
// Select the CPU core configuration to // Select the CPU core configuration to
// Pipelined without hazard unit and cache // Pipelined without hazard unit and cache
// This option select version where RAW dependencies which leads // This option select version where RAW dependencies which leads
// to hazards are not resolved in hardware, you need to schedule // to hazards are not resolved in hardware, you need to schedule
// instruction execution according to the pipeline structure // instruction execution according to the pipeline structure
// (classical 5-stage MIPS) such way, that no dependency results // (classical 5-stage RISC-V) such way, that no dependency results
// in a hazard // in a hazard
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
// at address fibo_series, the series has to be followed by at least // at address fibo_series, the series has to be followed by at least
// one zero element // one zero element
// When tested by actual qtmips_cli version, the variant without hazard // When tested by actual qtrvsim_cli version, the variant without hazard
// unit cannot be selected (this is WIP for the test script), use qtmips_gui // unit cannot be selected (this is WIP for the test script), use qtrvsim_gui
// which is fully configurable // which is fully configurable
// Directives to make interesting windows visible // Directives to make interesting windows visible
#pragma qtmips show registers #pragma qtrvsim show registers
#pragma qtmips show memory #pragma qtrvsim show memory
.option norelax .option norelax
...@@ -51,7 +51,7 @@ end_loop: ...@@ -51,7 +51,7 @@ end_loop:
nop nop
.data .data
// .align 2 // not supported by QtMips yet // .align 2 // not supported by QtRVSim yet
fibo_limit: fibo_limit:
.word 15 .word 15
...@@ -59,4 +59,4 @@ fibo_series: ...@@ -59,4 +59,4 @@ fibo_series:
.skip 1000*4 .skip 1000*4
// Specify location to show in memory window // Specify location to show in memory window
#pragma qtmips focus memory fibo_limit #pragma qtrvsim focus memory fibo_limit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment