//---------------------------------------------------------------------------

#ifndef generate_hdl_sourcesH
#define generate_hdl_sourcesH
//---------------------------------------------------------------------------
#include <stdio.h>
#include <string.h>
#include <math.h>

// generate const_bank.vhd file
int fce_gen_const_bank_file(int const_count,
                            int bit_size,
                            FILE *report);
// generate fft_module_pkg.vhd file
int fce_gen_def_pkg_file(int stage_count,
                         int bit_size,
                         int arith_delay,
                         FILE *report);

// copy hdl files - file list is macro in generate_hdl_sources.cpp source 
int fce_copy_files (int file_ind, FILE *report);

// generate all files - call fce_gen_const_bank_file, fce_gen_def_pkg_file,
//                           fce_copy_files functions
int fce_gen_hdl_sources (int stage_count,
                         int bit_size,
                         int arith_synch,
                         int not_use_load_reg,
                         FILE *report);

// convert integer to binary format (string)
void fce_int2bin(int const_int, int bit_size, char* _string);


#endif

