3 Gnetlist SystemC Backend
7 Transform a geda schematic into a transaction based structural systemc module.
11 1.- Only transaction based wires are considered (wire_name<user_type>).
12 2.- Unnamed wires are eliminated.
13 3.- In/out ports have to be inserted manually in the sysc code.
14 4.- Duplicated include headers are not eliminated by the backend.
15 5.- The maximum number of object constructor parameters is 31 (attr1->attr31).
19 GPL Electronic Design Automation (geda-gnetlist): http://www.geda-project.org/
20 SystemC: http://www.systemc.org
24 Based on gnet-verilog.scm by Mike Jarabek.
31 ______________ _______________ _______________
32 | source | a<user_type> | algorithm | b<float> | sink |
33 | OUT|__ _________ __|IN OUT|__ _____ __|IN |
35 | infile.data| | | | outfile.data|
36 |____________| |_____________| |_____________|
42 module_name=test_sch2sysc
48 refdes=src1 attr1=infile.data
50 refdes=snk1 attr1=outfile.data
59 #include "algorithm.h"
61 SC_MODULE (test_sch2sysc)
63 /* Port directions begin here */
65 /* Wires from the design */
67 sc_signal<packet_type> a;
69 /* Package instantiations */
74 SC_CTOR(test_sch2sysc):
75 snk1("snk1","outfile.data"),
76 src1("src1","infile.data"),