openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.23k stars 675 forks source link

module btb not used at all modules #39

Closed iihihiuh closed 6 years ago

iihihiuh commented 6 years ago

Hi, I am reading your code and I found out that you wrote a btb module but it is never used any where in this design. I feel like you intended to use it in pcgen_stage.sv and you already set up input and output signals for btb but somehow you decided remove btb from pcgen.

Is this intentional for future developmen?

Yongqin

zarubaf commented 6 years ago

You are right about your observation. That happened by mistake with the latest cherry-pick. On the ariane_next branch branch-prediction is still there (frontend.sv). I will add the branch prediction again in the main trunk. Thanks for pointing this out.