Jun 29[Chisel] Block inside "when" is always executedPhenomenon There is an array Check whether the index variable is within the size of the array, and access the element only if it is...
Jun 29[Chisel] Queue.enq.valid vs deq.validOverview When communicating data using a Queue, the following operations are possible: Queue.io.enq.valid: When set to false, data will...
Jun 29[Chisel] Don't use polymorphismWhat I want to do There are multiple similar units Most of processes are the same, only some differences. Select an appropriate unit...
Jun 29[Chisel] Exiting a loopWhat want to do ★ There are multiple modules of the same type Select one of these that meets the specified condition. To achieve this, I...
Jun 29[Chisel]What to connect to Bundle is hardwarePhenomenon When I run the following code: class Signals extends Bundle{ val pc = UInt((32.W)) ・・・ } val sig = Wire(new Signals) sig.pc...
May 5[Chisel/scala] class Module is abstract; cannot be instantiatedPhenomenon The following chisel code causes the compilation error: val parts = new Module(new MyParts()) class Module is abstract; cannot...
May 5[Chisel/scala] Adding a hardware array to a bundle memberWhat want to do As the title says, I want to add a chisel hardware array to a Bundle member. Situation is tat I want to implement...
May 1[Chisel/scala] overloaded method apply with alternativesIntroduction When writing code in chisel, I occasionally encounter the compilation error mentioned above. I wasn't really sure what this...
May 1[chisel/scala] Create an array of ModulesWhat I want to do I have a class (parts) that I created and that inherits from Module. I want to place multiple instances (components) of...
Mar 9[Chisel/Scala] Introduce decimal point dataWhat I want to do I want to introduce decimal point data (float in other languages). The background is that I'm trying to set up a...