Download Agility Compiler manual
Transcript
Examples of Agility features 10 Agility examples Agility comes with several examples. • They can be compiled to run using the OSCI simulator using Visual Studio .NET or gcc. • They can be synthesized to EDIF, Verilog, VHDL or RTL SystemC from Agility They are supplied in a single Agility workspace (examples.chw). They are also accessible from a Visual Studio .NET 2003 solution file (examples.sln) Each example comprises: • Synthesizable SystemC source code and header files • a simulation testbench in SystemC • a synthesis top-level file • an Agility project file • a Visual Studio .NET 2003 project file • a makefile for gcc Before you can run the examples under Linux, you must run the shellscript sh /usr/share/agility/copy_examples_to_home_directory.sh to copy them to your home directory. To simulate the examples within the Agility IDE, you need to ensure that you have the CELOXICA_OSCI_SIM_ROOT environment variable set up to point to the root directory of your SystemC 2.1 installation. 11 Agility examples supplied The following SystemC examples are supplied with Agility: addone sc_methods reset led sevenseg multiclock blackbox complex Page 190 www.celoxica.com