]> jspc29.x-matter.uni-frankfurt.de Git - soda.git/log
soda.git
11 years agoNew soda_hub project created and populated. Basic code is there.
Peter Lemmens [Wed, 29 Jan 2014 09:11:10 +0000 (10:11 +0100)]
New soda_hub project created and populated. Basic code is there.
Reveal files added for convenience

11 years agoSource TX-FIFO removed; mostly stable: when it works, it keeps on working
Peter Lemmens [Tue, 21 Jan 2014 13:15:38 +0000 (14:15 +0100)]
Source TX-FIFO removed; mostly stable: when it works, it keeps on working

Observed calibration delays (clocks): x3e, x3f and x40

11 years agoNo RX-FIFO's. Semi stable; trb errors can usually (?) be restored with 'trbcmd reset'.
Peter Lemmens [Tue, 21 Jan 2014 10:45:25 +0000 (11:45 +0100)]
No RX-FIFO's. Semi stable; trb errors can usually (?) be restored with 'trbcmd reset'.
Some times a fault appears that causes the calibration value to max-out (0xffff); not understood
Resets need more study.

11 years agoStable (or at least it really looks that way) but not quite synchronous
Peter Lemmens [Thu, 16 Jan 2014 14:20:53 +0000 (15:20 +0100)]
Stable (or at least it really looks that way) but not quite synchronous
All crashes (3 sofar) of trbnet have been solved with 'trbcmd reset'.

Changes to soda:
- The source now has a tx-fifo (fixed delay) but NO rx-fifo.
- Both sides have a watchdog implemented. It checks 'got_link_ready'. If this is absent the watchdog fires and resets the rx-control fsm.
- Calibration works with: 'trbcmd w 0xf355 0xbe00 0x40000000;trbcmd w 0xf355 0xbe00 0x00000000; trbcmd r 0xf355 0xbe02'
- The client still has an rx-fifo ; this will be next to go.

11 years agoBack a few steps. This is compiled including:
Peter Lemmens [Mon, 6 Jan 2014 14:55:41 +0000 (15:55 +0100)]
Back a few steps. This is compiled including:
- several syn_keep and syn_preserve attributes to keep signal names transparent
- synthesis constraints to get more control of clock resources.

This version has BOTH transmit and receive buffers and is therefore not synchronous.
However: The source-transmiter is clocked from the GPLL.
The client-receiver is clocked from rx_full (as it should be)
The client-transmiter is clocked from rx_full (max synch. with receiver)
The source-receiver is also clocked with (source-)rx_full.

This seems to work ok. Next step is to remove the rx_fifo.
As rxiclk_ch0 is clocked with rx_full aswell, this should not make any difference.
Will try first for the source, second for the client aswell.

This should then be really synchronous, as Lattice claims that the TX-fifo has a fixed latency.

Seeing is believing.

11 years agoChanges to lpf constraint file (correcting paths)
Peter Lemmens [Thu, 5 Dec 2013 06:49:04 +0000 (07:49 +0100)]
Changes to lpf constraint file (correcting paths)
Currently trying to get timing closure in CLK_GPLL_RIGHT.
For unknown reasons the compiler claims that this is NOT located on a dedicated clock-site and therefor get's excessive delay.
According to "LatticeECP3 sysCLOCK PLL/DLL Design and Usage Guide" page 10-38, Table 10-17, it is a preferred pad for feedback to the PLL.

Synthesys is complaining about undeclared clocks. Added soda_source_synconstraints.fdc. No success yet

11 years ago Changed lpf-files removing errors. Currently no working link.
Peter Lemmens [Thu, 31 Oct 2013 15:08:03 +0000 (16:08 +0100)]
Changed lpf-files removing errors. Currently no working link.

11 years agoNice soda.... crashes on first trbcmd read/write
Peter Lemmens [Wed, 30 Oct 2013 15:26:52 +0000 (16:26 +0100)]
Nice soda.... crashes on first trbcmd read/write

11 years agoMajor reconstruction ahead on tx_control data_FSM
Peter Lemmens [Wed, 30 Oct 2013 07:59:41 +0000 (08:59 +0100)]
Major reconstruction ahead on tx_control data_FSM

forgot one file

11 years agoAbout to rebuild the tx_control FSM. Major reconstruction.
Peter Lemmens [Wed, 30 Oct 2013 07:57:46 +0000 (08:57 +0100)]
About to rebuild the tx_control FSM. Major reconstruction.

11 years agostatus: trbnet working when no soda traffic (K_DLMs) interfering.
Peter Lemmens [Wed, 23 Oct 2013 14:06:12 +0000 (16:06 +0200)]
status: trbnet working when no soda traffic (K_DLMs) interfering.
Maybe tx-control or rx-control FSM not working properly.
When no K_DLMs: disconnect can lead to trb-connectionloss; "trbcmd reset" can solve this

Soda traffic arbiter added (soda_cmd_window_generator)

11 years agotx_control replaced by special soda-version to remedy latancy problems.
Peter Lemmens [Thu, 10 Oct 2013 14:25:55 +0000 (16:25 +0200)]
tx_control replaced by special soda-version to remedy latancy problems.
Still occasional reset problems: got_link_ready_i sometimes goes low, indicating link-loss

Dedicated signal introduced for LINK_PHASE (for proper start of 8-bit tx in 16-bit interface) and
TX_DLM_INIT (early warning to tx_control state-machine; 1st byte loss is mended.

11 years agoThis works... now and then. Trbnet can quite reliably be started with optical link...
Peter Lemmens [Thu, 26 Sep 2013 08:15:31 +0000 (10:15 +0200)]
This works... now and then. Trbnet can quite reliably be started with optical link disconnected. Once working it is stable. Soda_source: SOB-faker is now clocked with recovered clock to make it async. This works nicely. Transmitted data is always correct. Client: often starts-up somehow out of phase. It receives the last 3 bytes of 4 and the 4th=0x00. Reset problem?

11 years agoUpdate SODA source and client
unknown [Mon, 16 Sep 2013 14:36:14 +0000 (16:36 +0200)]
Update SODA source and client

11 years agoAdded serdes_sync_upstream.lpc & serdes_sync_downstream.lpc
Peter Lemmens [Thu, 12 Sep 2013 08:52:55 +0000 (10:52 +0200)]
Added serdes_sync_upstream.lpc & serdes_sync_downstream.lpc

11 years agomediafiles added to repo.
Peter Lemmens [Thu, 12 Sep 2013 07:31:07 +0000 (09:31 +0200)]
mediafiles added to repo.

11 years agoConstraint-files added to git.
Peter Lemmens [Thu, 12 Sep 2013 06:49:42 +0000 (08:49 +0200)]
Constraint-files added to git.

11 years agoNew ipx files constructed for serdesses. Different serdes for up an downstream
Peter Lemmens [Wed, 11 Sep 2013 12:40:05 +0000 (14:40 +0200)]
New ipx files constructed for serdesses. Different serdes for up an downstream
downstream: no tx-fifo for sync operation but does have rx-fifo for reply (async)
upstream:   no rx-fifo for sync operation but does have tx-fifo for reply (asynx)

Clock domains now separated.

SOURCE:
tx-clock=fabric-clock (200MHz). THis is the origin of SODA/master-clock
rx-clock=fabric clock. Phase differences taken care of by rx-fifo

CLIENT:
rx-clock=reconstructed clock
tx-clock=rx-clock

11 years agoNew ipx files constructed for serdesses. Different serdes for up an downstream
Peter Lemmens [Wed, 11 Sep 2013 12:28:49 +0000 (14:28 +0200)]
New ipx files constructed for serdesses. Different serdes for up an downstream
downstream: no tx-fifo for sync operation but does have rx-fifo for reply (async)
upstream:   no rx-fifo for sync operation but does have tx-fifo for reply (asynx)

Clock domains now separated.

SOURCE:
tx-clock=fabric-clock (200MHz). THis is the origin of SODA/master-clock
rx-clock=fabric clock. Phase differences taken care of by rx-fifo

CLIENT:
rx-clock=reconstructed clock
tx-clock=rx-clock

11 years agoCleanup commit. Obvious bugs/typo's removed
Peter Lemmens [Mon, 9 Sep 2013 15:39:59 +0000 (17:39 +0200)]
Cleanup commit. Obvious bugs/typo's removed
Both source and client now accessible over trbnet.
No optical comm. Fiberes swapped?? Looks like both are talking on the same channel.

11 years agoNew project added that contains a soda_client instead of a source.
Peter Lemmens [Wed, 4 Sep 2013 14:28:36 +0000 (16:28 +0200)]
New project added that contains a soda_client instead of a source.

Attempting to opperate a point2point soda connection

11 years agominor update
Peter Lemmens [Wed, 4 Sep 2013 10:20:10 +0000 (12:20 +0200)]
minor update

11 years agoAdded a module to fake a start-of-burst signal with a 2.4us period
Peter Lemmens [Wed, 4 Sep 2013 10:05:28 +0000 (12:05 +0200)]
Added a module to fake a start-of-burst signal with a 2.4us period

11 years agoSource files added for a complete (?) soda-chain comprised of source, hub and client
Peter Lemmens [Wed, 4 Sep 2013 06:22:58 +0000 (08:22 +0200)]
Source files added for a complete (?) soda-chain comprised of source, hub and client

Source is tested in test-benches (functional tests)

11 years agosoda-source written into the bus structure of trb3.
Peter Lemmens [Tue, 13 Aug 2013 11:55:01 +0000 (13:55 +0200)]
soda-source written into the bus structure of trb3.
Register access is implemented making use of regIO-example  (by Peter Schakel)
controlling LEDs on trb3; i.e. slowcontrol is tested here.
No more errors in Synplify so this should result in a downloadable and working firmware.
First test is access to trb with trbcmd.

ToDo next:
- design/implement/test reply-checker
- make new project for SODA-client or use conditional synthesis ("generate if")

12 years agojaaaa, Toplevel toegevoegd!! zat niet in repo!
Peter Lemmens [Thu, 23 May 2013 08:03:33 +0000 (10:03 +0200)]
jaaaa, Toplevel toegevoegd!! zat niet in repo!

12 years agoLDF file added
Peter Lemmens [Wed, 22 May 2013 14:18:25 +0000 (16:18 +0200)]
LDF file added

12 years agoCreated new project "soda_source" because of compilation failures not understood...
Peter Lemmens [Thu, 25 Apr 2013 12:57:59 +0000 (14:57 +0200)]
Created new project "soda_source" because of compilation failures not understood. Compilation script had to be modified and is put into git. Compilation is currently still not finishing complete. Script still needs tuning. In Lattice Diamond many errors are generated by instantiation of trb_net16_regio_bus_handler : "formal bus_no_more_data_in associated individually was not in contiguous sequence" and such. Plan is to0 rewrite this instance so that it is contiguous and the Diamond GUI can be used.

12 years agoreset now working stably
Jan Michel [Thu, 18 Apr 2013 12:25:43 +0000 (14:25 +0200)]
reset now working stably

12 years agoadded debug output, changed LEDs
Jan Michel [Tue, 16 Apr 2013 09:32:25 +0000 (11:32 +0200)]
added debug output, changed LEDs

12 years agosmall changes (LED & ID)
Jan Michel [Fri, 12 Apr 2013 13:04:09 +0000 (15:04 +0200)]
small changes (LED & ID)

12 years agofirst slave implementation added
Hadaq in Frankfurt [Wed, 10 Apr 2013 14:58:07 +0000 (16:58 +0200)]
first slave implementation added

12 years agoplaceholders in empty directories
Hadaq in Frankfurt [Wed, 10 Apr 2013 13:15:26 +0000 (15:15 +0200)]
placeholders in empty directories

12 years agochanged compile projects'
Hadaq in Frankfurt [Wed, 10 Apr 2013 13:12:50 +0000 (15:12 +0200)]
changed compile projects'

12 years agofirst files
Hadaq in Frankfurt [Wed, 10 Apr 2013 10:49:12 +0000 (12:49 +0200)]
first files

12 years agoadded some files
Hadaq in Frankfurt [Wed, 10 Apr 2013 10:32:13 +0000 (12:32 +0200)]
added some files

12 years agoadded some files
Hadaq in Frankfurt [Wed, 10 Apr 2013 10:31:48 +0000 (12:31 +0200)]
added some files

12 years agoinitial directories
Hadaq in Frankfurt [Wed, 10 Apr 2013 10:19:49 +0000 (12:19 +0200)]
initial directories