Hi Cong,
Indeed, this is one of the main attractions. Overall there have been probably around 20 cores connected to OpenPiton. You can see the use of TILE_TYPE in tile.v.pyv which chooses between core instantiations. The main files I can immediately think of which need changed would be:
- define.h.pyv (adding your new tile type)
- chip.v.pyv (instantiating your new tile type)
- pyhplib.py (adding the python flag parsing the environment variable)
- tile.v.pyv (adding the actual instantiation of your core)
- sims,2.0 (adding a flag to instantiate your core instead of others)
- manycore.config (adding the flists and other config options needed by your core)
- pc_cmp.v.pyv (adding PC tracking so the tests will terminate successfully)
Are you perhaps connecting an open-source core? Might you let us know which one, if so? We've already connected quite a few as I noted.
Thanks,
Jon