URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 439 to Rev 440
- ↔ Reverse comparison
Rev 439 → Rev 440
/trunk/or1ksim/vapi/vapi.c
123,8 → 123,8
{ |
if (!runtime.vapi.vapi_file) |
return; |
if (config.vapi.log_device_id) |
fprintf (runtime.vapi.vapi_file, "%08x", devid); |
if (config.vapi.log_device_id && devid <= VAPI_MAX_DEVID) |
fprintf (runtime.vapi.vapi_file, "%04x", devid); |
fprintf (runtime.vapi.vapi_file, "%1x%08x\n", command, data); |
} |
|
/trunk/or1ksim/vapi/vapi.h
17,6 → 17,9
along with this program; if not, write to the Free Software |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
|
/* Maximum value for VAPI device id */ |
#define VAPI_MAX_DEVID 0xFFFF |
|
/* Inits the VAPI, according to sim-config */ |
int vapi_init (); |
|