DreamSourceLab / DSView

An open source multi-function instrument for everyone
www.dreamsourcelab.com
GNU General Public License v3.0
1.13k stars 417 forks source link

Port sigrok's fx2lafw #30

Open dpavlin opened 10 years ago

dpavlin commented 10 years ago

http://sigrok.org/wiki/Fx2lafw

Continuous sampling seem to be common quiestion from new DSLogic users.

Sigrok has support for it in form of http://sigrok.org/wiki/Fx2lafw

It would be quite easy to implement if we had VHDL or Verilog source for FPGA image and code for FX. (BTW, which HDL is used?). Even without it and with only pdf schema at http://www.dreamsourcelab.com/download/Schematic_of_DSLogic_core_board_v1_0.pdf

I think it should be doable. Not that I know how to do it, but I have read through source of fx2lafw, and my main reason for getting this board was FX2 with FPGA but oscilloscope extension got me into side tracked and now I don't have development board any more :-)

Looking at schema, there seems to be four pins (two differential pairs with VCC and GND in between, which might be also used (with... 3.3V limits? 1.8V ? I still have to read through Xilinx FPGA manual...) but they are not diode protected, so normal pins are much better choice.

I don't have time to start working on this any time soon, but would love to have some useful comments about this topic from people with more FPGA experience. When we can expect more documentation and all sources? (FX2, aything for AVR)

I would also love to see more code commits, even non-working versions for which we can submit patches.

maaraneasi commented 10 years ago

Definitely nothing not doable. A quick search revealed vhdl source for fx2 written in vhdl: https://github.com/makestuff/comm-fpga/tree/master/fx2/vhdl or http://dev.krll.de/cgit/fx2/

and design of the chip process: http://fpga4u.epfl.ch/wiki/FX2

Seems to be quite common implementation of the FX2 design on the fpga. If the continuos sampling is mainly about FX2, the there should be no issue implementing it....