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. 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.