misc: check address range in the SystemC example
[gem5.git] / util / tlm / examples / slave_port / sc_target.hh
index 7a2d075d9e866ff3409ec6742af3c7e794d53bcd..a10fb492d3acb167a09fa0f67b124eeb7e337a6a 100644 (file)
@@ -91,6 +91,9 @@ struct Target: sc_module
     /** Method process that runs on target_done_event */
     void execute_transaction_process();
 
+    /** Helping function that checks if a requested address is with range */
+    void check_address(unsigned long long int addr);
+
     /** Helping Variables **/
     unsigned long long int size;
     unsigned offset;