source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Multiplier/src/Multiplier_vhdl.cpp @ 112

Last change on this file since 112 was 112, checked in by rosiere, 15 years ago

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

  • Property svn:keywords set to Id
File size: 783 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id: Multiplier_vhdl.cpp 112 2009-03-18 22:36:26Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Multiplier/include/Multiplier.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace multiplier {
16
17
18#undef  FUNCTION
19#define FUNCTION "Multiplier::vhdl"
20  void Multiplier::vhdl (void)
21  {
22    log_begin(Multiplier,FUNCTION);
23
24    Vhdl * vhdl = new Vhdl (_name);
25
26    _interfaces->set_port(vhdl);
27    _component->vhdl_instance(vhdl);
28
29    vhdl_declaration (vhdl);
30    vhdl_body        (vhdl);
31
32    vhdl->generate_file();
33
34    delete vhdl;
35
36    log_end(Multiplier,FUNCTION);
37  };
38
39}; // end namespace multiplier
40}; // end namespace generic
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.