# Please set the following environment variables for Streams-C # Note this file is in cshrc format # For SUIF installation instructions for streamsc, please look # at the SC_INSTALL_SUIF file # Note: make sure cpp is in your PATH # MACHINE (for SUIF) and SC_MACHINE are set to linux # For SGI Altix, use ia64-linux setenv MACHINE i386-linux setenv SC_MACHINE i386-linux # SC_BASE should be set to the location of the streamsc tree setenv SC_BASE ${HOME}/streamsc # FPGA_HOME is the base of the fpga board software setenv FPGA_BASE /usr/local/annapolis # SUIFHOME is set to the path for your suif 1.3 distribution setenv SUIFHOME /n/projects/rcc/suif-1.3.0.5/suifhome # the ART library provides fixed width integers. Change to "yes" # if you plan to use the ART library, and update ART_BASE and ART_CPP setenv ART no setenv ART_BASE /data0/art/Frontier_Design/ART-r2.2d2_ixl setenv ART_CPP /usr/local/bin/g++ # the SYSTEMC library provides fixed width integers. Change to "yes" # if you plan to use the SYSTEMC library, and update SYSTEMC_BASE and # SYSTEMC_CPP setenv SYSTEMC no setenv SYSTEMC_BASE /u/cahrens/systemc-2.0.1 setenv SYSTEMC_CPP /usr/bin/g++ # set DEFAULT_CPP to the location of g++ setenv DEFAULT_CPP /usr/bin/g++ # set COMPILER_NAME for SUIF setenv COMPILER_NAME gcc # now source the .streamscrc to get the rest of the environment variables source ${SC_BASE}/.streamscrc # After you source this file, you can install Streams-C. # To do so, cd to src, and choose the type of installation you want. # "./sc-install" installs the synthesis component and the simulation # and runtime system libraries # "./sc-install-sim" installs just the simulation libraries # "./sc-install-rt" installs just the runtime libraries # "./sc-install-synth" installs just the synthesis component # "./sc-install-without-rt" installs the simulation library and synthesis component, # however without the runtime libraries which need the Firebird libraries. # This is useful if you want to use what you can of Streams-C when # you are not on a machine with the Firebird libraries. # NOTE that if you want to install the synthesis component (it # gets installed with sc-install or sc-install-synth or sc-install-without-rt), # if you do not have kgcc, you must set the environment variable CXX_OVERRIDE to # to a C++ compiler that you do have, such as g++. # Note that if you want to install the synthesis component, you # also must have SUIF version 1.3.0.5 installed. It must # include the the basesuif, suifbuilder and baseparsuif packages. # After you install Streams-C, you may compile and run # applications. First, cd to the apps directory and # then into a subdirectory, like strm1, for example. # In the strm directory, to make a simulation executable # you "make strm1_sim". Then run it by typing "strm1_sim".