From fe342c347c6e22891b939bfd48085ef8a877e17e Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 23 Oct 2020 11:06:24 +0200 Subject: [PATCH] CfuBusParameter has now a few default values --- src/main/scala/vexriscv/plugin/CfuPlugin.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/scala/vexriscv/plugin/CfuPlugin.scala b/src/main/scala/vexriscv/plugin/CfuPlugin.scala index a805bff..827aba1 100644 --- a/src/main/scala/vexriscv/plugin/CfuPlugin.scala +++ b/src/main/scala/vexriscv/plugin/CfuPlugin.scala @@ -20,11 +20,11 @@ case class CfuPluginParameter( CFU_FLOW_REQ_READY_ALWAYS : Boolean, CFU_FLOW_RESP_READY_ALWAYS : Boolean) -case class CfuBusParameter(CFU_VERSION : Int, - CFU_INTERFACE_ID_W : Int, +case class CfuBusParameter(CFU_VERSION : Int = 0, + CFU_INTERFACE_ID_W : Int = 0, CFU_FUNCTION_ID_W : Int, - CFU_REORDER_ID_W : Int, - CFU_REQ_RESP_ID_W : Int, + CFU_REORDER_ID_W : Int = 0, + CFU_REQ_RESP_ID_W : Int = 0, CFU_INPUTS : Int, CFU_INPUT_DATA_W : Int, CFU_OUTPUTS : Int,