Changeset 56 for sources/test_regression/14092005/system.cpp
- Timestamp:
- May 29, 2013, 6:05:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/test_regression/14092005/system.cpp
r55 r56 10 10 11 11 struct hard : sc_module { 12 sc_in_clk 13 sc_in<bool> 14 sc_in <int> 15 sc_out<int> 16 sc_signal 12 sc_in_clk clk; 13 sc_in<bool> resetn; 14 sc_in <int> i1; 15 sc_out<int> o1; 16 sc_signal<int> r1; 17 17 18 18 void fg() { … … 49 49 hard a("a"); 50 50 51 a.clk 51 a.clk(clk1); 52 52 a.resetn(resetn); 53 53 … … 56 56 57 57 /* Open trace file */ 58 sc_trace_file * system_trace_file;59 system_trace_file = sc_create_vcd_trace_file 58 sc_trace_file * system_trace_file; 59 system_trace_file = sc_create_vcd_trace_file("trace_file"); 60 60 61 61 /* clks waveforms are always useful */
Note: See TracChangeset
for help on using the changeset viewer.