Commit dd59b6a7 authored by Dave Newbold's avatar Dave Newbold

Adding test output

parent f9991f65
......@@ -35,8 +35,8 @@ entity top is port(
sync_in: in std_logic; -- IO via timing interface
trig_in: in std_logic;
trig_out: out std_logic;
adc_d_p: in std_logic_vector(63 downto 0); -- ADC serial input data
adc_d_n: in std_logic_vector(63 downto 0)
adc_d_p: inout std_logic_vector(63 downto 0); -- ADC serial input data
adc_d_n: inout std_logic_vector(63 downto 0)
);
end top;
......
......@@ -31,8 +31,8 @@ entity sc_chan is
rst40: in std_logic;
clk160: in std_logic;
clk280: in std_logic;
d_p: in std_logic;
d_n: in std_logic;
d_p: inout std_logic;
d_n: inout std_logic;
sync_ctrl: in std_logic_vector(3 downto 0);
zs_sel: in std_logic_vector(1 downto 0);
sctr: in std_logic_vector(47 downto 0);
......
......@@ -29,8 +29,8 @@ entity sc_daq is
led_out: out std_logic;
chan: in std_logic_vector(7 downto 0);
chan_err: out std_logic;
d_p: in std_logic_vector(N_CHAN - 1 downto 0);
d_n: in std_logic_vector(N_CHAN - 1 downto 0);
d_p: inout std_logic_vector(N_CHAN - 1 downto 0);
d_n: inout std_logic_vector(N_CHAN - 1 downto 0);
clk125: in std_logic;
rst125: in std_logic;
pllclk: in std_logic;
......
......@@ -46,8 +46,8 @@ entity payload is
sync_in: in std_logic;
trig_in: in std_logic;
trig_out: out std_logic;
adc_d_p: in std_logic_vector(63 downto 0);
adc_d_n: in std_logic_vector(63 downto 0)
adc_d_p: inout std_logic_vector(63 downto 0);
adc_d_n: inout std_logic_vector(63 downto 0)
);
end payload;
......@@ -183,6 +183,14 @@ begin
ib => adc_d_n(i),
o => open
);
bufo: OBUFTDS
port map(
i => '0',
t => '1',
o => adc_d_p(i),
ob => adc_p_n(i)
);
end generate;
......
Markdown is supported
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