Commit 3e7d739b authored by David Schimansky's avatar David Schimansky
Browse files

In firmware:

- Change FTDI FIFO pinout constraints to match those of rev B

In software:
- Check for correct device description name (rev B) in daq class when establishing the connection to the FTDI FIFO
parent 95cc64da
......@@ -37,7 +37,7 @@ set_property PACKAGE_PIN K4 [get_ports ASIC_RESET_N]
set_property PACKAGE_PIN C18 [get_ports {FTDI\.CLK}]
set_property PACKAGE_PIN C19 [get_ports {FTDI\.CLK}]
set_property PACKAGE_PIN E21 [get_ports {FTDI\.TXE_N}]
set_property PACKAGE_PIN F21 [get_ports {FTDI\.RXF_N}]
set_property PACKAGE_PIN B22 [get_ports {FTDI\.WR_N}]
......@@ -61,7 +61,7 @@ set_property PACKAGE_PIN B15 [get_ports {FTDI\.DATA[10]}]
set_property PACKAGE_PIN B16 [get_ports {FTDI\.DATA[11]}]
set_property PACKAGE_PIN B17 [get_ports {FTDI\.DATA[12]}]
set_property PACKAGE_PIN B18 [get_ports {FTDI\.DATA[13]}]
set_property PACKAGE_PIN C19 [get_ports {FTDI\.DATA[14]}]
set_property PACKAGE_PIN C18 [get_ports {FTDI\.DATA[14]}]
set_property PACKAGE_PIN C14 [get_ports {FTDI\.DATA[15]}]
set_property PACKAGE_PIN C15 [get_ports {FTDI\.DATA[16]}]
set_property PACKAGE_PIN D16 [get_ports {FTDI\.DATA[17]}]
......
......@@ -111,7 +111,8 @@ class dataMiner(qtc.QObject):
class daq():
DEV_DESC = b'PETA DriverBoard rev.C FIFO'
#DEV_DESC = b'PETA DriverBoard rev.C FIFO'
DEV_DESC = b'PETA DriverBoard rev.B FIFO'
SYNC_WORD = np.array([103,69,35,1])
DATA_OFFSET = 1 # DATA FROM FTDI FIFO IS INCREASED BY 1 IN FIRMWARE TO AVOID ZERO SUPPRESSION FROM FTDI
NB_FES = 16
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment