Ignore:
Timestamp:
Apr 5, 2007, 4:17:30 PM (17 years ago)
Author:
rosiere
Message:

Interface normalisé
Début du banc de registres multi niveaux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_port.cpp

    r2 r15  
    99#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
    1010
     11#ifdef VHDL_TESTBENCH
     12# define VHDL_SET_PORT(name,direction,size) do {vhdl.set_port (name,direction,size); _vhdl_testbench->set_port (name,direction,size);} while(0)
     13#else
     14# define VHDL_SET_PORT(name,direction,size)     vhdl.set_port (name,direction,size)
     15#endif
     16
    1117namespace morpheo                    {
    1218namespace behavioural {
     
    1824
    1925    vhdl.set_port (" in_CLOCK" , IN, 1);
    20     vhdl.set_port (" in_NRESET", IN, 1);
     26    VHDL_SET_PORT (" in_NRESET", IN, 1);
    2127
    2228    log_printf(FUNC,@COMPONENT,"vhdl_port","End");
Note: See TracChangeset for help on using the changeset viewer.