add CLI configurability
This commit is contained in:
@@ -19,7 +19,7 @@ public:
|
||||
sc_core::sc_in<bool> clk_i{"clk_i"};
|
||||
scc::initiator_mixin<tlm::tlm_initiator_socket<32>> isck;
|
||||
scc::target_mixin<tlm::tlm_target_socket<32>> tsck;
|
||||
pkt_sender(sc_core::sc_module_name const&, unsigned dim, unsigned pos_x, unsigned pos_y);
|
||||
pkt_sender(sc_core::sc_module_name const&, unsigned dim, unsigned pos_x, unsigned pos_y, unsigned count);
|
||||
virtual ~pkt_sender() = default;
|
||||
sc_core::sc_event const& get_finish_event(){return finish_evt;}
|
||||
private:
|
||||
@@ -31,7 +31,7 @@ private:
|
||||
tlm::tlm_sync_enum nb_bw(tlm::tlm_generic_payload&, tlm::tlm_phase&, sc_core::sc_time&);
|
||||
sc_core::sc_event finish_evt;
|
||||
std::pair<unsigned, unsigned> my_pos;
|
||||
const unsigned dim;
|
||||
const unsigned dim, count;
|
||||
};
|
||||
|
||||
#endif /* _SIM_PERFORMANCE_PKT_SENDER_H_ */
|
||||
|
Reference in New Issue
Block a user