Example code – Sundance SMT317 User Manual
Page 23
Version 6.1
Page 23 of 24
SMT317 User Manual
18.
Example Code
Code to use with a smt335.
Comm-port 1 (SMT335) have to be connected to the Comm-port 3 (SMT317).
The SDB (SMT317) is linked with the SDB B (SMT335).
#include
#include
#include
#include "smt317v2.h"
#include "Fast_FpgaConf.c"
#include "sdb.h"
/********************** PROTOTYPES ***********************/
void fill_internal_b(void *);
void Fast_FpgaConf(int len, unsigned int *b, int link_no);
void *calloc(size_t _num, size_t _size);
/*********************************************************/
#define BURST1K_IntClk_IntTrigger_low_IntSync 0X49ea0101
SEMA internal_filled_b;
int *samplestore;
main()
{
//Corresponds to the only bitstream in the Dat2asm.bat file
extern far int fpga_count;
extern far unsigned int fpga_data[];
int control_word;
- SMT107 (16 pages)
- SMT6035 v.2.2 (39 pages)
- SMT6012 v.4.6 (22 pages)
- FC100 (12 pages)
- FC108 v.1.1 (10 pages)
- SMT6065 v.4.0 (45 pages)
- FFT v.2.1 (19 pages)
- SMT111 (18 pages)
- SMT118LT (10 pages)
- SMT118 (20 pages)
- SMT123-SHB (13 pages)
- SMT128 (15 pages)
- SMT145 (18 pages)
- SMT148 (35 pages)
- SMT130 v.1.0 (46 pages)
- SMT148FX (48 pages)
- SMT310Q (55 pages)
- PARS (70 pages)
- SMT166-FMC (52 pages)
- SMT166 (44 pages)
- SMT300Q v.1.6 (61 pages)
- SMT310 v.1.6 (50 pages)
- SMT326v2 (24 pages)
- SMT338 (19 pages)
- SMT349 (32 pages)
- SMT339 v.1.3 (27 pages)
- SMT338-VP (22 pages)
- SMT358 (25 pages)
- SMT351T (37 pages)
- SMT351 (25 pages)
- SMT350 (45 pages)
- SMT362 (30 pages)
- SMT365G (23 pages)
- SMT364 (37 pages)
- SMT373 (15 pages)
- SMT368 (24 pages)
- SMT370v3 (46 pages)
- SMT377 (22 pages)
- SMT381 2007 (31 pages)
- SMT381-VP (81 pages)
- SMT387 (42 pages)
- SMT391 (18 pages)
- SMT384 (47 pages)
- SMT390-VP (55 pages)