THE_TDC : TDC
generic map (
-<<<<<<< trb3_periph.vhd
CHANNEL_NUMBER => 17, -- Number of TDC channels
-=======
- CHANNEL_NUMBER => 65, -- Number of TDC channels
->>>>>>> 1.3
STATUS_REG_NR => REGIO_NUM_STAT_REGS,
CONTROL_REG_NR => REGIO_NUM_CTRL_REGS)
port map (
CLK_TDC => CLK_PCLK_LEFT, -- Clock used for the time measurement
CLK_READOUT => clk_100_i, -- Clock for the readout
REFERENCE_TIME => timing_trg_received_i, -- Reference time input
-<<<<<<< trb3_periph.vhd
HIT_IN => hit_in_i(16 downto 1), -- Channel start signals
-=======
- HIT_IN => hit_in_i(64 downto 1), -- Channel start signals
->>>>>>> 1.3
TRG_WIN_PRE => ctrl_reg(42 downto 32), -- Pre-Trigger window width
TRG_WIN_POST => ctrl_reg(58 downto 48), -- Post-Trigger window width
--
my $tpmap = $TOPNAME . "_map" ;
system("mv $TOPNAME.ncd guidefile.ncd");
-<<<<<<< compile_periph_frankfurt.pl
#-g guidefile.ncd
$c=qq|$lattice_path/ispfpga/bin/lin/map -retime -split_node -a $FAMILYNAME -p $DEVICENAME -t $PACKAGE -s $SPEEDGRADE "$TOPNAME.ngd" -o "$tpmap.ncd" -mp "$TOPNAME.mrp" "$TOPNAME.lpf"|;
-=======
-$c=qq|$lattice_path/ispfpga/bin/lin/map -retime -split_node -a $FAMILYNAME -p $DEVICENAME -t $PACKAGE -s $SPEEDGRADE "$TOPNAME.ngd" -o "$tpmap.ncd" -mp "$TOPNAME.mrp" "$TOPNAME.lpf"|;
->>>>>>> 1.2
execute($c);