


FUNC_MKDB(1ICD) 	     5/2/88		  FUNC_MKDB(1ICD)



NNNNAAAAMMMMEEEE
     func_mkdb - function block database creating program

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     ffffuuuunnnncccc____mmmmkkkkddddbbbb [-kps][-C_c__o_p_t_i_o_n_s] infile

OOOOPPPPTTTTIIIIOOOONNNNSSSS
     The following options can be specified:

     ----kkkk   The '.p' file and the '.c' file that are generated by
	  the program are nnnnooootttt removed.

     ----pppp   The C pre-processor will nnnnooootttt first be run on the input
	  file.

     ----ssss   Messages about the actions taken by the program will
	  nnnnooootttt be printed.

     ----CCCC   The characters directly following this option are used
	  as options for the C compiler.

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     _F_u_n_c__m_k_d_b can be used to place a description of a function
     block into the database.  As a description of a function
     block is contained by the database, instances of the func-
     tion block can be included in a network description and an
     appropriate _s_l_s simulator can be generated.  The latter is
     done by running the program _s_l_s__e_x_p.

     _F_u_n_c__m_k_d_b will generate a '.c' file from the input descrip-
     tion and it will use the C compiler to translate this file
     into an object file that can be linked to _s_l_s. When no
     options are specified, first the C pre-processor will be run
     on the input file and the intermediate result will be placed
     in a file with the extension '.p'.

     The input file may contain only one description of a func-
     tion block.  In addition, it may contain all other text that
     is allowed in a C file.

EEEEXXXXAAAAMMMMPPPPLLLLEEEE
     $ func_mkdb -Cg ram.fun
     cc -E ram.fun > ram.p
     Parsing ram.p ; making ram.c
     cc -c -g ram.c
     mv ram.o circuit/ram/sls.o

AAAAUUUUTTTTHHHHOOOORRRR
     O. Hol

FFFFIIIILLLLEEEESSSS
     file.fun	    input file



		   The Nelsis IC Design System			1






FUNC_MKDB(1ICD) 	     5/2/88		  FUNC_MKDB(1ICD)



     file.p	    temporary file
     file.c	    temporary file
     file.o	    object file that will be stored in the database

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     O. Hol, "FUNC_MKDB: Function Blocks in SLS: User's Manual",
     Delft University of Technology.
     cc(1), rmdb(1ICD), sls(1ICD), sls_exp(1ICD), sls_mkdb(1ICD)















































2		   The Nelsis IC Design System



