If you've read my previous post about control hazards, you may have noticed that I talked about branches and jumps, but did not write a single word about function call or return instructions. This omission may be a bit surprising if you are not familiar with RISC-V or architectures with …read more
I've talked about the data hazards in a previous installment, now let's talk about control hazards. A control hazard is when we need to find the destination of a jump or a branch and can't fetch any new instruction until this destination is known.
When a branch instruction is fetched …read more
I'm currently working on the data multiplexer, the part that comes between the CPU and the memory and is responsible for putting the right byte at the right place, but I can't stop thinking about what comes next.
And let me tell you, there's still quite a lot of development …read more
Remember that a data hazard occurs when an instruction waits for the result of a previous instruction.
In the following example:
add a0, t0, t1 ; a0 ← t0 + t1 sub a1, a0, t2 ; a1 ← a0 + t2
addinstruction stores the result into register
a0when it reaches the Writeback stage …
I had some components to buy at Mouser for an unrelated project, but my order wasn't going to reach 50€ and I wouldn't get free shipping...
So I added a few of nearly every logic gate from the AUC family in the basket. These are like the usual 74 LS …read more
Throughout the entire processor, there are a few basic building blocks that will be used in various places. Let's have a look at some of them.
By far, the block that we'll use the most is the register. Not only in the register file, but also between each stage …read more
I would like to go more into detail about each stage of the pipeline, what they do and how they work. I know I said in the previous installment that I would not go into the details of hazards, but it looks like I will need it to document my …read more
This article is mostly a high-level overview of the Astorisc architecture, do not expect implementation tricks and gory details in here.
As I said in the presentation, I'd like to make Astorisc a pipelined processor. But what does this actually mean? I could send you to the article on Wikipedia …read more
I recently bought a Criko THD-16 drill press from 1992. It is in good general shape, except for the quill pulley bearings that get fairly noisy when I tension the belt. I thus decided to take everyhting apart, clean it thoroughly, remove the rust, and replace all the bearings. You …read more
(Ceci est une republication d'un billet posté précédemment sur mon défunt blog)
Rien que le titre, ça donne envie, vous ne trouvez pas ?
Pour la petite histoire, c'est une recette que j'ai goûtée au café/resto le Onlywood, à Louvain-la-Neuve. J'ai tellement aimé que je me suis senti obligé d'en …read more