Skip to content

Commit 27013e8

Browse files
committed
adds config interface for clic instantiation
1 parent 0eb41dc commit 27013e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sysc/core_complex_if.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#define _SYSC_CORE_COMPLEX__IF_H_
3535

3636
#include <iss/vm_types.h>
37+
#include <iss/mem/clic.h>
3738
#include <scc/signal_opt_ports.h>
3839
#include <util/delegate.h>
3940

@@ -43,6 +44,10 @@ struct core_complex_if {
4344

4445
virtual ~core_complex_if() = default;
4546

47+
virtual iss::mem::clic_config get_clic_config() {
48+
return iss::mem::clic_config{.clic_base=0, .clic_int_ctl_bits=0, .clic_num_irq=0, .clic_num_trigger=0, .nmode=false};
49+
}
50+
4651
virtual bool read_mem(const iss::addr_t& addr, unsigned length, uint8_t* const data) = 0;
4752

4853
virtual bool write_mem(const iss::addr_t& addr, unsigned length, const uint8_t* const data) = 0;

0 commit comments

Comments
 (0)