# Help Understanding Rocket-Chip Configuration

**URL:** <https://forums.sifive.com/t/help-understanding-rocket-chip-configuration/1487>\
**Category:** RISC-V\
**Created:** [August 7, 2018, 12:33pm UTC](https://forums.sifive.com/t/help-understanding-rocket-chip-configuration/1487 "2018-08-07T12:33:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_D](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@Stefan\_D](https://forums.sifive.com/u/Stefan_D)\
**Post date:** [August 7, 2018, 12:33pm UTC](https://forums.sifive.com/t/help-understanding-rocket-chip-configuration/1487/1 "2018-08-07T12:33:56Z")

</div>

Hi all,

I am new to scala and I am trying to understand how to configure rocket-chip. Thus, I am trying to understand the config package: [https://github.com/freechipsproject/rocket-chip/blob/384096a6a73f0e94d6f7bd4bc9cc422e0a213e88/src/main/scala/config/Config.scala](https://github.com/freechipsproject/rocket-chip/blob/384096a6a73f0e94d6f7bd4bc9cc422e0a213e88/src/main/scala/config/Config.scala). I am having a lot of trouble understanding what is going on in this file.

What is the purpose of the function f: (View, View, View) =\> PartialFunction[Any,Any]? What do each of the Views represent?

I would greatly appreciate it if somebody could shed some light.

---

<div class="post-metadata">

**Author:** ![josecm](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@josecm](https://forums.sifive.com/u/josecm)\
**Post date:** [November 23, 2019, 6:05pm UTC](https://forums.sifive.com/t/help-understanding-rocket-chip-configuration/1487/2 "2019-11-23T18:05:42Z")

</div>

I have the same question. Have you found any resources related to this?

---

<div class="post-metadata">

**Author:** ![kshalle](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kshalle](https://forums.sifive.com/u/kshalle)\
**Post date:** [May 5, 2020, 9:08pm UTC](https://forums.sifive.com/t/help-understanding-rocket-chip-configuration/1487/3 "2020-05-05T21:08:09Z")

</div>

This page explains:

> **[Intensivate/learning-journey](https://github.com/Intensivate/learning-journey/wiki/Configuring-RocketChip)**
>
> Chisel Learning Journey. Contribute to Intensivate/learning-journey development by creating an account on GitHub.
