From 4458a90ffb208dfaa2d181ffc68890665173d713 Mon Sep 17 00:00:00 2001 From: Romain Broucquart <romain.broucquart@synchrotron-soleil.fr> Date: Wed, 24 Aug 2022 13:57:27 +0200 Subject: [PATCH] Add version number in RDL * Also remove the ID field --- hdl/top_combpm_electron.vhd | 1 - rdl/combpm.rdl | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hdl/top_combpm_electron.vhd b/hdl/top_combpm_electron.vhd index 66d86f7..7ca7ad4 100644 --- a/hdl/top_combpm_electron.vhd +++ b/hdl/top_combpm_electron.vhd @@ -198,7 +198,6 @@ begin ); - addrmap_w.ID.data.data <= C_ID; addrmap_w.VERSION.data.data <= C_VERSION; addrmap_w.SFP.RXLOS.data(0) <= sfp_rx_los; addrmap_w.SFP.MODABS.data(0) <= sfp_mod_abs; diff --git a/rdl/combpm.rdl b/rdl/combpm.rdl index b74207e..baf7ffd 100644 --- a/rdl/combpm.rdl +++ b/rdl/combpm.rdl @@ -7,6 +7,12 @@ addrmap combpm { name="BPM protocol decoder controller"; + reg { + field { + hw=w;sw=r; + } data[32]; + } VERSION; + reg { name="SFP status and control"; -- GitLab