Entwurfseingabe

  • Entwurfseingabe
  • Systemebene
  • ...SystemC
  • ...SystemVerilog
  • RT-Ebene
  • ...Verilog
  • ...VHDL
  • Gatterebene
  • ...Gatternetzliste
  • ...Schematic Entry
  • Elektrische Ebene/ Strukturelle Sicht
  • ...Bauelementenetzliste
  • ...Schematic Entry
  • Elektrische Ebene/ Physikalische Sicht
  • ...CIF
  • ...GDSII
  • ...Layout Entry
Startseite
Eingabesprache SystemC ● C++ Klassen-Bibliothek #include"systemc.h"SC_MODULE(counter){ sc_in<bool> clock ; sc_in<bool> load ; sc_in<bool>clear ; sc_in<sc_int<8> > din ; sc_out<sc_int<8> > dout ;  int countval ;  void onetwothree() ;   SC_CTOR(counter) { SC_METHOD(onetwothree) ; sensitive_pos (clock) ; }}; // counter.cc#include " counter.h"void counter::onetwothree(){ if (clear) { countval = 0 ; } else if (load) { countval = din.read() ; } else { countval ++ ; } dot = countval ;}     ● Kompatibel und kompilierbar mit Standard-C-Compilern ● HW/SW-Co-Simulation / Co-Entwicklung möglich   #include"systemc.h"SC_MODULE(counter){ sc_in<bool> clock ; sc_in<bool> load ; sc_in<bool>clear ; sc_in<sc_int<8> > din ; sc_out<sc_int<8> > dout ;  int countval ;  void onetwothree() ;   SC_CTOR(counter) { SC_METHOD(onetwothree) ; sensitive_pos (clock) ; }}     // counter.cc#include " counter.h"void counter::onetwothree(){ if (clear) { countval = 0 ; } else if (load) { countval = din.read() ; } else { countval ++ ; } dot = countval ;}

SystemC ist eine C++ Klassen-Bibliothek. SystemC ist voll kompatibel und kompilierbar mit Standard-C++-Compilern und bietet eine einfache HW/SW-Co-Entwicklungsumgebung.