OpenCores
URL https://opencores.org/ocsvn/sc2v/sc2v/trunk

Subversion Repositories sc2v

[/] [sc2v/] [trunk/] [src/] [sc2v_step2.l] - Diff between revs 15 and 16

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 15 Rev 16
Line 1... Line 1...
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
 *
 *
 *  SystemC to Verilog Translator v0.3
 *  SystemC to Verilog Translator v0.4
 *  Provided by OpenSoc Design
 *  Provided by OpenSoc Design
 *
 *
 *  www.opensocdesign.com
 *  www.opensocdesign.com
 *
 *
 * -----------------------------------------------------------------------------
 * -----------------------------------------------------------------------------
Line 55... Line 55...
sc_out                  if(!includefound & !linecomment & !multilinecomment) return SC_OUT;
sc_out                  if(!includefound & !linecomment & !multilinecomment) return SC_OUT;
sc_signal               if(!includefound & !linecomment & !multilinecomment) return SC_SIGNAL;
sc_signal               if(!includefound & !linecomment & !multilinecomment) return SC_SIGNAL;
"bool"                  if(!includefound & !linecomment & !multilinecomment) return BOOL;
"bool"                  if(!includefound & !linecomment & !multilinecomment) return BOOL;
"<"                     if(!includefound & !linecomment & !multilinecomment) return MENOR;
"<"                     if(!includefound & !linecomment & !multilinecomment) return MENOR;
">"                     if(!includefound & !linecomment & !multilinecomment) return MAYOR;
">"                     if(!includefound & !linecomment & !multilinecomment) return MAYOR;
sc_int                  if(!includefound & !linecomment & !multilinecomment) return SC_INT;
sc_int                  if(!includefound & !linecomment & !multilinecomment) return SC_REG;
sc_uint                 if(!includefound & !linecomment & !multilinecomment) return SC_UINT;
sc_uint                 if(!includefound & !linecomment & !multilinecomment) return SC_REG;
sc_bigint               if(!includefound & !linecomment & !multilinecomment) return SC_INT;
sc_bigint               if(!includefound & !linecomment & !multilinecomment) return SC_REG;
sc_biguint              if(!includefound & !linecomment & !multilinecomment) return SC_UINT;
sc_biguint              if(!includefound & !linecomment & !multilinecomment) return SC_REG;
\(                      if(!includefound & !linecomment & !multilinecomment) return OPENPAR;
\(                      if(!includefound & !linecomment & !multilinecomment) return OPENPAR;
\)                      if(!includefound & !linecomment & !multilinecomment) return CLOSEPAR;
\)                      if(!includefound & !linecomment & !multilinecomment) return CLOSEPAR;
;                       if(!includefound & !linecomment & !multilinecomment) return SEMICOLON;
;                       if(!includefound & !linecomment & !multilinecomment) return SEMICOLON;
"enum"                  if(!includefound & !linecomment & !multilinecomment) return ENUM;
"enum"                  if(!includefound & !linecomment & !multilinecomment) return ENUM;
","                     if(!includefound & !linecomment & !multilinecomment) return COLON;
","                     if(!includefound & !linecomment & !multilinecomment) return COLON;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.