-- combined quad reset --
-------------------------
--rst_down_quad <= '1' when (rst_qd(0)='1' or rst_qd(1)='1' or rst_qd(2)='1' or rst_qd(3)='1') else '0';
-rst_down_quad <= RESET;
-serdes_rst_down_quad <= '1' when (serdes_rst_qd(0)='1' or serdes_rst_qd(1)='1' or serdes_rst_qd(2)='1' or serdes_rst_qd(3)='1') else '0';
+rst_down_quad <= RESET; -- PL: 18/06/14
+--serdes_rst_down_quad <= '1' when (serdes_rst_qd(0)='1' or serdes_rst_qd(1)='1' or serdes_rst_qd(2)='1' or serdes_rst_qd(3)='1') else '0';
+serdes_rst_down_quad <= '0'; -- PL: 23/06/14
generated_logic : for i in 0 to 3 generate
CLEAR => '0',
CLK_EN => CLK_EN,
--Internal Connection
- LINK_PHASE_IN => UPLINK_PHASE_IN,\r
- START_OF_SUPERBURST => start_of_superburst_S,
- SUPER_BURST_NR_IN => super_burst_nr_S,
+ LINK_PHASE_IN => UPLINK_PHASE_IN,\r
+ START_OF_SUPERBURST => start_of_superburst_S,
+ SUPER_BURST_NR_IN => super_burst_nr_S,
SODA_CMD_STROBE_IN => soda_cmd_valid_S,
- SODA_CMD_WORD_IN => soda_cmd_word_S,
+ SODA_CMD_WORD_IN => soda_cmd_word_S,
TX_DLM_PREVIEW_OUT => TXUP_DLM_PREVIEW_OUT,
TX_DLM_OUT => txup_dlm_out_S, --TX_DLM_OUT,
TX_DLM_WORD_OUT => TXUP_DLM_WORD_OUT
if (LINK_PHASE_IN = c_PHASE_H) then
packet_state_S <= c_CMD1;
TX_DLM_OUT <= '1';
- TX_DLM_WORD_OUT <= SODA_CMD_WORD_IN(7 downto 0);
+ TX_DLM_WORD_OUT <= '1' & SODA_CMD_WORD_IN(30 downto 24);
else
packet_state_S <= c_WAIT4CMD1;
TX_DLM_OUT <= '0';\r
packet_state_S <= c_BST1;
soda_dlm_preview_S <= '1';
TX_DLM_OUT <= '1';
- TX_DLM_WORD_OUT <= '1' & SUPER_BURST_NR_IN(30 downto 24);
+ TX_DLM_WORD_OUT <= SUPER_BURST_NR_IN(7 downto 0);
when c_BST1 =>
packet_state_S <= c_BST2;
TX_DLM_OUT <= '0';
-<Project ModBy="Inserter" SigType="0" Name="/local/lemmens/lattice/soda/soda_client_probe.rvl" Date="2014-05-27">
+<Project ModBy="Inserter" SigType="0" Name="/local/lemmens/lattice/soda/soda_client_probe.rvl" Date="2014-06-24">
<IP Version="1_5_062609"/>
<Design DesignEntry="Schematic/VHDL" Synthesis="synplify" DeviceFamily="LatticeECP3" DesignName="soda_client"/>
- <Core InsertDataset="0" Insert="1" Reveal_sig="2037822697" Name="trb3_periph_sodaclient_LA0" ID="0">
+ <Core InsertDataset="0" Insert="1" Reveal_sig="2041647785" Name="trb3_periph_sodaclient_LA0" ID="0">
<Setting>
<Clock SampleClk="clk_soda_i" SampleEnable="0" EnableClk="" EnableClk_Pri="0"/>
- <TraceBuffer Implementation="0" BitTimeStamp="0" hasTimeStamp="0" IncTrigSig="1" BufferDepth="256"/>
+ <TraceBuffer Implementation="0" BitTimeStamp="0" hasTimeStamp="0" IncTrigSig="1" BufferDepth="128"/>
<Capture Mode="0" MinSamplesPerTrig="8"/>
<Event CntEnable="0" MaxEventCnt="8"/>
<TrigOut Polarity="0" MinPulseWidth="0" TrigOutNetType="1" EnableTrigOut="0" TrigOutNet="reveal_debug_soda_client_LA0_net"/>
<Sig Type="SIG" Name="the_sync_link/wa_position:14"/>
<Sig Type="SIG" Name="the_sync_link/wa_position:15"/>
</Bus>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/soda_dlm_preview_s"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_preview_out"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_out"/>
+ <Bus Name="a_soda_client/reply_packet_builder/tx_dlm_word_out">
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:0"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:1"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:2"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:3"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:4"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:5"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:6"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/tx_dlm_word_out:7"/>
+ </Bus>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/start_of_superburst"/>
+ <Bus Name="a_soda_client/reply_packet_builder/super_burst_nr_in">
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:0"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:1"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:2"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:3"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:4"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:5"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:6"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:7"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:8"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:9"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:10"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:11"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:12"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:13"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:14"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:15"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:16"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:17"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:18"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:19"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:20"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:21"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:22"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:23"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:24"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:25"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:26"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:27"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:28"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:29"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/super_burst_nr_in:30"/>
+ </Bus>
+ <Bus Name="a_soda_client/reply_packet_builder/packet_state_s">
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/packet_state_s:0"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/packet_state_s:1"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/packet_state_s:2"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/packet_state_s:3"/>
+ <Sig Type="SIG" Name="a_soda_client/reply_packet_builder/packet_state_s:4"/>
+ </Bus>
</Trace>
<Trigger>
<TU Serialbits="0" Type="0" ID="1" Sig="the_sync_link/watchdog_trigger,"/>
<TU Serialbits="0" Type="0" ID="3" Sig="the_sync_link/rx_cdr_lol,"/>
<TU Serialbits="0" Type="0" ID="4" Sig="the_sync_link/rx_los_low,"/>
<TU Serialbits="0" Type="0" ID="5" Sig="(BUS)the_sync_link/rx_fsm_state[3:0],"/>
+ <TU Serialbits="0" Type="0" ID="6" Sig="the_sync_link/the_serdes/rx_cv_err_ch3,"/>
<TE MaxSequence="1" MaxEvnCnt="1" ID="1" Resource="1"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="2" Resource="0"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="3" Resource="0"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="4" Resource="0"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="5" Resource="0"/>
+ <TE MaxSequence="2" MaxEvnCnt="1" ID="6" Resource="0"/>
</Trigger>
</Dataset>
</Core>
-<Project ModBy="Inserter" SigType="0" Name="/local/lemmens/lattice/soda/soda_hub_probe.rvl" Date="2014-06-19">
+<Project ModBy="Inserter" SigType="0" Name="/local/lemmens/lattice/soda/soda_hub_probe.rvl" Date="2014-06-24">
<IP Version="1_5_062609"/>
<Design DesignEntry="Schematic/VHDL" Synthesis="synplify" DeviceFamily="LatticeECP3" DesignName="soda_hub"/>
- <Core InsertDataset="0" Insert="1" Reveal_sig="2040983148" Name="trb3_periph_sodahub_LA0" ID="0">
+ <Core InsertDataset="0" Insert="1" Reveal_sig="2041639764" Name="trb3_periph_sodahub_LA0" ID="0">
<Setting>
<Clock SampleClk="the_hub_sync_downlink/clk_200_txdata" SampleEnable="0" EnableClk="" EnableClk_Pri="0"/>
<TraceBuffer Implementation="0" BitTimeStamp="0" hasTimeStamp="0" IncTrigSig="1" BufferDepth="256"/>
<Sig Type="SIG" Name="the_hub_sync_uplink/tx_data:7"/>
</Bus>
<Sig Type="SIG" Name="the_hub_sync_uplink/tx_k"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_preview_out"/>
+ <Bus Name="a_soda_hub/txup_dlm_word_out">
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:0"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:1"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:2"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:3"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:4"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:5"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:6"/>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_word_out:7"/>
+ </Bus>
+ <Sig Type="SIG" Name="a_soda_hub/txup_dlm_out"/>
<Bus Name="the_hub_sync_downlink/got_link_ready_i">
<Sig Type="SIG" Name="the_hub_sync_downlink/got_link_ready_i:0"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/got_link_ready_i:1"/>
<Sig Type="SIG" Name="sfp_txdis:5"/>
<Sig Type="SIG" Name="sfp_txdis:6"/>
</Bus>
- <Bus Name="sfp_los">
- <Sig Type="SIG" Name="sfp_los:1"/>
- <Sig Type="SIG" Name="sfp_los:2"/>
- <Sig Type="SIG" Name="sfp_los:3"/>
- <Sig Type="SIG" Name="sfp_los:4"/>
- <Sig Type="SIG" Name="sfp_los:5"/>
- <Sig Type="SIG" Name="sfp_los:6"/>
- </Bus>
- <Bus Name="sfp_mod0">
- <Sig Type="SIG" Name="sfp_mod0:1"/>
- <Sig Type="SIG" Name="sfp_mod0:2"/>
- <Sig Type="SIG" Name="sfp_mod0:3"/>
- <Sig Type="SIG" Name="sfp_mod0:4"/>
- <Sig Type="SIG" Name="sfp_mod0:5"/>
- <Sig Type="SIG" Name="sfp_mod0:6"/>
- </Bus>
<Bus Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/cs">
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/cs:0"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/cs:1"/>
</Bus>
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/rx_cdr_lol_ch_s"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/rx_lol_los"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/rx_los_low_ch_s"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/rx_pcs_rst_ch_c"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/tx_pll_lol_qd_s"/>
- <Bus Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/wa_position">
- <Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/wa_position:0"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/wa_position:1"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/wa_position:2"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/wa_position:3"/>
- </Bus>
<Bus Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/state_out">
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/state_out:0"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/\generated_logic(0)\/the_rx_fsm/state_out:1"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/rx_serdes_rst:2"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/rx_serdes_rst:3"/>
</Bus>
- <Bus Name="the_hub_sync_downlink/serdes_rst_qd">
- <Sig Type="SIG" Name="the_hub_sync_downlink/serdes_rst_qd:0"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/serdes_rst_qd:1"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/serdes_rst_qd:2"/>
- <Sig Type="SIG" Name="the_hub_sync_downlink/serdes_rst_qd:3"/>
- </Bus>
<Bus Name="the_hub_sync_downlink/rst_qd">
<Sig Type="SIG" Name="the_hub_sync_downlink/rst_qd:0"/>
<Sig Type="SIG" Name="the_hub_sync_downlink/rst_qd:1"/>
<TU Serialbits="0" Type="0" ID="2" Sig="the_hub_sync_uplink/watchdog_trigger,"/>
<TU Serialbits="0" Type="0" ID="3" Sig="the_hub_sync_uplink/got_link_ready_i,"/>
<TU Serialbits="0" Type="0" ID="4" Sig="a_soda_hub/start_of_superburst_s,"/>
+ <TU Serialbits="0" Type="0" ID="5" Sig="the_hub_sync_downlink/the_serdes/rx_cv_err_ch0,"/>
+ <TU Serialbits="0" Type="0" ID="6" Sig="the_hub_sync_downlink/the_serdes/rx_cv_err_ch1,"/>
<TE MaxSequence="1" MaxEvnCnt="1" ID="1" Resource="1"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="2" Resource="0"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="3" Resource="0"/>
<TE MaxSequence="2" MaxEvnCnt="1" ID="4" Resource="0"/>
+ <TE MaxSequence="2" MaxEvnCnt="1" ID="5" Resource="0"/>
+ <TE MaxSequence="2" MaxEvnCnt="1" ID="6" Resource="0"/>
</Trigger>
</Dataset>
</Core>
<BScanLen>1</BScanLen>
<BScanVal>0</BScanVal>
</Bypass>
- <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140527.bit</File>
- <FileTime>05/27/14 11:25:29</FileTime>
+ <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140623.bit</File>
+ <FileTime>06/23/14 18:00:44</FileTime>
<Operation>Fast Program</Operation>
<Option>
<SVFVendor>JTAG STANDARD</SVFVendor>
<BScanLen>1</BScanLen>
<BScanVal>0</BScanVal>
</Bypass>
- <File>/local/lemmens/lattice/soda/trb3_periph_sodasource_20140526.bit</File>
- <FileTime>05/26/14 17:56:32</FileTime>
+ <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140623.bit</File>
+ <FileTime>06/23/14 18:00:44</FileTime>
<JedecChecksum>N/A</JedecChecksum>
<Operation>Fast Program</Operation>
<Option>
<BScanLen>1</BScanLen>
<BScanVal>0</BScanVal>
</Bypass>
- <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140617.bit</File>
- <FileTime>06/17/14 15:26:56</FileTime>
- <JedecChecksum>N/A</JedecChecksum>
+ <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140624.bit</File>
+ <FileTime>06/24/14 17:16:05</FileTime>
<Operation>Fast Program</Operation>
<Option>
<SVFVendor>JTAG STANDARD</SVFVendor>
<BScanLen>1</BScanLen>
<BScanVal>0</BScanVal>
</Bypass>
- <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140513.bit</File>
- <FileTime>05/13/14 09:58:14</FileTime>
+ <File>/local/lemmens/lattice/soda/trb3_periph_sodaclient_20140624.bit</File>
+ <FileTime>06/24/14 17:16:05</FileTime>
<Operation>Fast Program</Operation>
<Option>
<SVFVendor>JTAG STANDARD</SVFVendor>
<BScanLen>1</BScanLen>
<BScanVal>0</BScanVal>
</Bypass>
- <File>/local/lemmens/lattice/soda/trb3_periph_sodahub_20140619.bit</File>
- <FileTime>06/19/14 08:27:43</FileTime>
+ <File>/local/lemmens/lattice/soda/trb3_periph_sodahub_20140624.bit</File>
+ <FileTime>06/24/14 15:32:11</FileTime>
<Operation>Fast Program</Operation>
<Option>
<SVFVendor>JTAG STANDARD</SVFVendor>